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

#include "sipAPIkio.h"

#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kio/forwardingslavebase.sip"
#include <forwardingslavebase.h>
#line 12 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"

#line 37 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 16 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 19 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kio/udsentry.sip"
#include <udsentry.h>
#line 22 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 406 "/usr/share/python3-sip/PyQt4/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 25 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 31 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 355 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 34 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 338 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 37 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 40 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 274 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 43 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 46 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 49 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 52 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 55 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 58 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 61 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtNetwork/qhostinfo.sip"
#include <qhostinfo.h>
#line 64 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kio/authinfo.sip"
#include <authinfo.h>
#line 67 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 70 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kio/kremoteencoding.sip"
#include <kremoteencoding.h>
#line 73 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 76 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 188 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kio/global.sip"
#include<qmap.h>
#line 79 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kio/slavebase.sip"
#include <slavebase.h>
#line 82 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 85 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.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 protected method for every virtual method visible from
     * this class.
     */
protected:
    void dispatchOpenCommand(int,const QByteArray&);
    void dispatch(int,const QByteArray&);
    void reparseConfiguration();
    void slave_status();
    void multiGet(const QByteArray&);
    void special(const QByteArray&);
    void setLinkDest(const KUrl&,const QString&);
    void chown(const KUrl&,const QString&,const QString&);
    void close();
    void seek(KIO::filesize_t);
    void write(const QByteArray&);
    void read(KIO::filesize_t);
    void open(const KUrl&,QIODevice::OpenMode);
    void closeConnection();
    void openConnection();
    void setSubUrl(const KUrl&);
    void setHost(const QString&,quint16,const QString&,const QString&);
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    void prepareUDSEntry(KIO::UDSEntry&,bool) const;
    bool rewriteUrl(const KUrl&,KUrl&);
    void del(const KUrl&,bool);
    void copy(const KUrl&,const KUrl&,int,KIO::JobFlags);
    void setModificationTime(const KUrl&,const QDateTime&);
    void chmod(const KUrl&,int);
    void symlink(const QString&,const KUrl&,KIO::JobFlags);
    void rename(const KUrl&,const KUrl&,KIO::JobFlags);
    void mkdir(const KUrl&,int);
    void listDir(const KUrl&);
    void mimetype(const KUrl&);
    void stat(const KUrl&);
    void put(const KUrl&,int,KIO::JobFlags);
    void get(const KUrl&);

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(sipPySelf, sipType_KIO_ForwardingSlaveBase, _clname)) ? this : KIO::ForwardingSlaveBase::qt_metacast(_clname);
}

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

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_dispatchOpenCommand);

    if (!sipMeth)
    {
        KIO::ForwardingSlaveBase::dispatchOpenCommand(a0,a1);
        return;
    }

    extern void sipVH_kio_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,const QByteArray&);

    sipVH_kio_4(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

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

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_dispatch);

    if (!sipMeth)
    {
        KIO::ForwardingSlaveBase::dispatch(a0,a1);
        return;
    }

    extern void sipVH_kio_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,const QByteArray&);

    sipVH_kio_4(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKIO_ForwardingSlaveBase::reparseConfiguration()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_reparseConfiguration);

    if (!sipMeth)
    {
        KIO::ForwardingSlaveBase::reparseConfiguration();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKIO_ForwardingSlaveBase::slave_status()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_slave_status);

    if (!sipMeth)
    {
        KIO::ForwardingSlaveBase::slave_status();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKIO_ForwardingSlaveBase::multiGet(const QByteArray& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_multiGet);

    if (!sipMeth)
    {
        KIO::ForwardingSlaveBase::multiGet(a0);
        return;
    }

    typedef void (*sipVH_QtXml_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&);

    ((sipVH_QtXml_29)(sipModuleAPI_kio_QtXml->em_virthandlers[29]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIO_ForwardingSlaveBase::special(const QByteArray& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_special);

    if (!sipMeth)
    {
        KIO::ForwardingSlaveBase::special(a0);
        return;
    }

    typedef void (*sipVH_QtXml_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&);

    ((sipVH_QtXml_29)(sipModuleAPI_kio_QtXml->em_virthandlers[29]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_setLinkDest);

    if (!sipMeth)
    {
        KIO::ForwardingSlaveBase::setLinkDest(a0,a1);
        return;
    }

    extern void sipVH_kio_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const KUrl&,const QString&);

    sipVH_kio_5(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

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

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_chown);

    if (!sipMeth)
    {
        KIO::ForwardingSlaveBase::chown(a0,a1,a2);
        return;
    }

    extern void sipVH_kio_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const KUrl&,const QString&,const QString&);

    sipVH_kio_9(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipKIO_ForwardingSlaveBase::close()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_close);

    if (!sipMeth)
    {
        KIO::ForwardingSlaveBase::close();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKIO_ForwardingSlaveBase::seek(KIO::filesize_t a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_seek);

    if (!sipMeth)
    {
        KIO::ForwardingSlaveBase::seek(a0);
        return;
    }

    extern void sipVH_kio_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, unsigned PY_LONG_LONG);

    sipVH_kio_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIO_ForwardingSlaveBase::write(const QByteArray& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_write);

    if (!sipMeth)
    {
        KIO::ForwardingSlaveBase::write(a0);
        return;
    }

    typedef void (*sipVH_QtXml_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&);

    ((sipVH_QtXml_29)(sipModuleAPI_kio_QtXml->em_virthandlers[29]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIO_ForwardingSlaveBase::read(KIO::filesize_t a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_read);

    if (!sipMeth)
    {
        KIO::ForwardingSlaveBase::read(a0);
        return;
    }

    extern void sipVH_kio_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, unsigned PY_LONG_LONG);

    sipVH_kio_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_open);

    if (!sipMeth)
    {
        KIO::ForwardingSlaveBase::open(a0,a1);
        return;
    }

    extern void sipVH_kio_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const KUrl&,QIODevice::OpenMode);

    sipVH_kio_15(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKIO_ForwardingSlaveBase::closeConnection()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_closeConnection);

    if (!sipMeth)
    {
        KIO::ForwardingSlaveBase::closeConnection();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKIO_ForwardingSlaveBase::openConnection()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_openConnection);

    if (!sipMeth)
    {
        KIO::ForwardingSlaveBase::openConnection();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKIO_ForwardingSlaveBase::setSubUrl(const KUrl& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_setSubUrl);

    if (!sipMeth)
    {
        KIO::ForwardingSlaveBase::setSubUrl(a0);
        return;
    }

    typedef void (*sipVH_kdecore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const KUrl&);

    ((sipVH_kdecore_47)(sipModuleAPI_kio_kdecore->em_virthandlers[47]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIO_ForwardingSlaveBase::setHost(const QString& a0,quint16 a1,const QString& a2,const QString& a3)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_setHost);

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

    extern void sipVH_kio_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&,unsigned short,const QString&,const QString&);

    sipVH_kio_16(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}

void sipKIO_ForwardingSlaveBase::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KIO::ForwardingSlaveBase::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIO_ForwardingSlaveBase::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KIO::ForwardingSlaveBase::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIO_ForwardingSlaveBase::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KIO::ForwardingSlaveBase::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kio_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIO_ForwardingSlaveBase::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KIO::ForwardingSlaveBase::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kio_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIO_ForwardingSlaveBase::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KIO::ForwardingSlaveBase::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kio_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKIO_ForwardingSlaveBase::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KIO::ForwardingSlaveBase::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKIO_ForwardingSlaveBase::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KIO::ForwardingSlaveBase::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_88(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KIO::UDSEntry&,bool);

    sipVH_kio_88(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

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

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,sipName_ForwardingSlaveBase,sipName_rewriteUrl);

    if (!sipMeth)
        return 0;

    extern bool sipVH_kio_89(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const KUrl&,KUrl&);

    return sipVH_kio_89(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

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

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_del_);

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

    extern void sipVH_kio_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const KUrl&,bool);

    sipVH_kio_6(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

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

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_copy);

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

    extern void sipVH_kio_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const KUrl&,const KUrl&,int,KIO::JobFlags);

    sipVH_kio_7(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}

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

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_setModificationTime);

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

    extern void sipVH_kio_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const KUrl&,const QDateTime&);

    sipVH_kio_8(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

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

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_chmod);

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

    extern void sipVH_kio_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const KUrl&,int);

    sipVH_kio_10(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

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

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_symlink);

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

    extern void sipVH_kio_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&,const KUrl&,KIO::JobFlags);

    sipVH_kio_11(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

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

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_rename);

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

    extern void sipVH_kio_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const KUrl&,const KUrl&,KIO::JobFlags);

    sipVH_kio_12(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

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

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_mkdir);

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

    extern void sipVH_kio_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const KUrl&,int);

    sipVH_kio_10(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKIO_ForwardingSlaveBase::listDir(const KUrl& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_listDir);

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

    typedef void (*sipVH_kdecore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const KUrl&);

    ((sipVH_kdecore_47)(sipModuleAPI_kio_kdecore->em_virthandlers[47]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIO_ForwardingSlaveBase::mimetype(const KUrl& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_mimetype);

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

    typedef void (*sipVH_kdecore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const KUrl&);

    ((sipVH_kdecore_47)(sipModuleAPI_kio_kdecore->em_virthandlers[47]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIO_ForwardingSlaveBase::stat(const KUrl& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_stat);

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

    typedef void (*sipVH_kdecore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const KUrl&);

    ((sipVH_kdecore_47)(sipModuleAPI_kio_kdecore->em_virthandlers[47]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_put);

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

    extern void sipVH_kio_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const KUrl&,int,KIO::JobFlags);

    sipVH_kio_13(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipKIO_ForwardingSlaveBase::get(const KUrl& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_get);

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

    typedef void (*sipVH_kdecore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const KUrl&);

    ((sipVH_kdecore_47)(sipModuleAPI_kio_kdecore->em_virthandlers[47]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}


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;
        KIO::ForwardingSlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9J9", &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->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;
        const KIO::ForwardingSlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9|b", &sipSelf, sipType_KIO_ForwardingSlaveBase, &sipCpp, sipType_KIO_UDSEntry, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::ForwardingSlaveBase::prepareUDSEntry(*a0,a1) : sipCpp->prepareUDSEntry(*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;

    {
        const KIO::ForwardingSlaveBase *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl(sipCpp->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;

    {
        const KIO::ForwardingSlaveBase *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl(sipCpp->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)
{
    KIO::ForwardingSlaveBase *sipCpp = reinterpret_cast<KIO::ForwardingSlaveBase *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    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_type_KIO_ForwardingSlaveBase(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_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[] = {{141, 0, 0}, {160, 255, 1}};


static PyMethodDef methods_KIO_ForwardingSlaveBase[] = {
    {SIP_MLNAME_CAST(sipName_chmod), meth_KIO_ForwardingSlaveBase_chmod, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_copy), meth_KIO_ForwardingSlaveBase_copy, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_del_), meth_KIO_ForwardingSlaveBase_del_, 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_rename), meth_KIO_ForwardingSlaveBase_rename, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_requestedUrl), meth_KIO_ForwardingSlaveBase_requestedUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_rewriteUrl), meth_KIO_ForwardingSlaveBase_rewriteUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setModificationTime), meth_KIO_ForwardingSlaveBase_setModificationTime, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_stat), meth_KIO_ForwardingSlaveBase_stat, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_symlink), meth_KIO_ForwardingSlaveBase_symlink, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kio_KIO_ForwardingSlaveBase = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KIO__ForwardingSlaveBase,
        {0}
    },
    {
        sipNameNr_ForwardingSlaveBase,
        {101, 255, 0},
        16, 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_type_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,
    0,
    0,
    0
},
    &KIO::ForwardingSlaveBase::staticMetaObject,
    0,
    0
};

#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kio/slavebase.sip"
#include <slavebase.h>
#line 1498 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"

#line 37 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 1502 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtNetwork/qhostinfo.sip"
#include <qhostinfo.h>
#line 1505 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 1508 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kio/authinfo.sip"
#include <authinfo.h>
#line 1511 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kio/udsentry.sip"
#include <udsentry.h>
#line 1514 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 1517 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 406 "/usr/share/python3-sip/PyQt4/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 1520 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 1523 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kio/kremoteencoding.sip"
#include <kremoteencoding.h>
#line 1526 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 1529 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 188 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kio/global.sip"
#include<qmap.h>
#line 1532 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 1535 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.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 dispatchOpenCommand(int,const QByteArray&);
    void dispatch(int,const QByteArray&);
    void reparseConfiguration();
    void slave_status();
    void multiGet(const QByteArray&);
    void special(const QByteArray&);
    void setLinkDest(const KUrl&,const QString&);
    void del(const KUrl&,bool);
    void copy(const KUrl&,const KUrl&,int,KIO::JobFlags);
    void setModificationTime(const KUrl&,const QDateTime&);
    void chown(const KUrl&,const QString&,const QString&);
    void chmod(const KUrl&,int);
    void symlink(const QString&,const KUrl&,KIO::JobFlags);
    void rename(const KUrl&,const KUrl&,KIO::JobFlags);
    void mkdir(const KUrl&,int);
    void listDir(const KUrl&);
    void mimetype(const KUrl&);
    void stat(const KUrl&);
    void put(const KUrl&,int,KIO::JobFlags);
    void close();
    void seek(KIO::filesize_t);
    void write(const QByteArray&);
    void read(KIO::filesize_t);
    void open(const KUrl&,QIODevice::OpenMode);
    void get(const KUrl&);
    void closeConnection();
    void openConnection();
    void setSubUrl(const KUrl&);
    void setHost(const QString&,quint16,const QString&,const QString&);

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::dispatchOpenCommand(int a0,const QByteArray& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_dispatchOpenCommand);

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

    extern void sipVH_kio_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,const QByteArray&);

    sipVH_kio_4(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

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

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_dispatch);

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

    extern void sipVH_kio_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,const QByteArray&);

    sipVH_kio_4(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKIO_SlaveBase::reparseConfiguration()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_reparseConfiguration);

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

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKIO_SlaveBase::slave_status()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_slave_status);

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

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKIO_SlaveBase::multiGet(const QByteArray& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_multiGet);

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

    typedef void (*sipVH_QtXml_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&);

    ((sipVH_QtXml_29)(sipModuleAPI_kio_QtXml->em_virthandlers[29]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIO_SlaveBase::special(const QByteArray& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_special);

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

    typedef void (*sipVH_QtXml_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&);

    ((sipVH_QtXml_29)(sipModuleAPI_kio_QtXml->em_virthandlers[29]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_setLinkDest);

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

    extern void sipVH_kio_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const KUrl&,const QString&);

    sipVH_kio_5(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

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

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_del_);

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

    extern void sipVH_kio_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const KUrl&,bool);

    sipVH_kio_6(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

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

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_copy);

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

    extern void sipVH_kio_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const KUrl&,const KUrl&,int,KIO::JobFlags);

    sipVH_kio_7(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}

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

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

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

    extern void sipVH_kio_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const KUrl&,const QDateTime&);

    sipVH_kio_8(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

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

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_chown);

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

    extern void sipVH_kio_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const KUrl&,const QString&,const QString&);

    sipVH_kio_9(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

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

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_chmod);

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

    extern void sipVH_kio_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const KUrl&,int);

    sipVH_kio_10(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

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

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_symlink);

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

    extern void sipVH_kio_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&,const KUrl&,KIO::JobFlags);

    sipVH_kio_11(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

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

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_rename);

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

    extern void sipVH_kio_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const KUrl&,const KUrl&,KIO::JobFlags);

    sipVH_kio_12(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

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

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

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

    extern void sipVH_kio_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const KUrl&,int);

    sipVH_kio_10(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKIO_SlaveBase::listDir(const KUrl& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_listDir);

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

    typedef void (*sipVH_kdecore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const KUrl&);

    ((sipVH_kdecore_47)(sipModuleAPI_kio_kdecore->em_virthandlers[47]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIO_SlaveBase::mimetype(const KUrl& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_mimetype);

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

    typedef void (*sipVH_kdecore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const KUrl&);

    ((sipVH_kdecore_47)(sipModuleAPI_kio_kdecore->em_virthandlers[47]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIO_SlaveBase::stat(const KUrl& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_stat);

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

    typedef void (*sipVH_kdecore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const KUrl&);

    ((sipVH_kdecore_47)(sipModuleAPI_kio_kdecore->em_virthandlers[47]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_put);

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

    extern void sipVH_kio_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const KUrl&,int,KIO::JobFlags);

    sipVH_kio_13(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipKIO_SlaveBase::close()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_close);

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

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKIO_SlaveBase::seek(KIO::filesize_t a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_seek);

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

    extern void sipVH_kio_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, unsigned PY_LONG_LONG);

    sipVH_kio_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIO_SlaveBase::write(const QByteArray& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_write);

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

    typedef void (*sipVH_QtXml_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&);

    ((sipVH_QtXml_29)(sipModuleAPI_kio_QtXml->em_virthandlers[29]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIO_SlaveBase::read(KIO::filesize_t a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_read);

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

    extern void sipVH_kio_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, unsigned PY_LONG_LONG);

    sipVH_kio_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_open);

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

    extern void sipVH_kio_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const KUrl&,QIODevice::OpenMode);

    sipVH_kio_15(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKIO_SlaveBase::get(const KUrl& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_get);

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

    typedef void (*sipVH_kdecore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const KUrl&);

    ((sipVH_kdecore_47)(sipModuleAPI_kio_kdecore->em_virthandlers[47]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIO_SlaveBase::closeConnection()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_closeConnection);

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

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKIO_SlaveBase::openConnection()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_openConnection);

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

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKIO_SlaveBase::setSubUrl(const KUrl& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_setSubUrl);

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

    typedef void (*sipVH_kdecore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const KUrl&);

    ((sipVH_kdecore_47)(sipModuleAPI_kio_kdecore->em_virthandlers[47]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIO_SlaveBase::setHost(const QString& a0,quint16 a1,const QString& a2,const QString& a3)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_setHost);

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

    extern void sipVH_kio_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&,unsigned short,const QString&,const QString&);

    sipVH_kio_16(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}


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;
        const 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;
        const 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;

    {
        const 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;

    {
        const 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_type_KIO_SlaveBase(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_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_AppConnectionMade, static_cast<int>(KIO::SlaveBase::AppConnectionMade), 162},
    {sipName_Information, static_cast<int>(KIO::SlaveBase::Information), 161},
    {sipName_QuestionYesNo, static_cast<int>(KIO::SlaveBase::QuestionYesNo), 161},
    {sipName_SSLMessageBox, static_cast<int>(KIO::SlaveBase::SSLMessageBox), 161},
    {sipName_WarningContinueCancel, static_cast<int>(KIO::SlaveBase::WarningContinueCancel), 161},
    {sipName_WarningYesNo, static_cast<int>(KIO::SlaveBase::WarningYesNo), 161},
    {sipName_WarningYesNoCancel, static_cast<int>(KIO::SlaveBase::WarningYesNoCancel), 161},
};


pyqt4ClassTypeDef sipTypeDef_kio_KIO_SlaveBase = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KIO__SlaveBase,
        {0}
    },
    {
        sipNameNr_SlaveBase,
        {101, 255, 0},
        81, methods_KIO_SlaveBase,
        7, enummembers_KIO_SlaveBase,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_type_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
},
    0,
    0,
    0
};

#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kio/fileundomanager.sip"
#include <fileundomanager.h>
#line 4726 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"

#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 4730 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kdatetime.sip"
#include <kdatetime.h>
#line 4733 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 4736 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 43 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 4739 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 4742 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.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 virtual_hook(int,void*);
    bool copiedFileWasModified(const KUrl&,const KUrl&,const KDateTime&,const KDateTime&);
    bool confirmDeletion(const KUrl::List&);
    void jobError(KIO::Job*);

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::virtual_hook(int a0,void*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_virtual_hook);

    if (!sipMeth)
    {
        KIO::FileUndoManager::UiInterface::virtual_hook(a0,a1);
        return;
    }

    extern void sipVH_kio_78(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,void*);

    sipVH_kio_78(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

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

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_copiedFileWasModified);

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

    extern bool sipVH_kio_90(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const KUrl&,const KUrl&,const KDateTime&,const KDateTime&);

    return sipVH_kio_90(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}

bool sipKIO_FileUndoManager_UiInterface::confirmDeletion(const KUrl::List& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_confirmDeletion);

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

    extern bool sipVH_kio_91(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const KUrl::List&);

    return sipVH_kio_91(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIO_FileUndoManager_UiInterface::jobError(KIO::Job*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_jobError);

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

    extern void sipVH_kio_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KIO::Job*);

    sipVH_kio_59(sipGILState, 0, sipPySelf, sipMeth, a0);
}


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;

    {
        const 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;

    {
        const 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_type_KIO_FileUndoManager_UiInterface(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_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,
        {120, 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_type_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
},
    0,
    0,
    0
};

#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kio/fileundomanager.sip"
#include <fileundomanager.h>
#line 5244 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"

#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 5248 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 51 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kio/copyjob.sip"
#include <copyjob.h>
#line 5251 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 5254 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 5257 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 43 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 5260 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kio/fileundomanager.sip"
#include <fileundomanager.h>
#line 5263 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 5266 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 355 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 5269 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 338 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 5272 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 5275 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 274 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 5278 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 5281 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 37 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 5284 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 5287 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 5290 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 5293 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 5296 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 5299 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"


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

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KIO::FileUndoManager*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::FileUndoManager::self();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KIO::FileUndoManager::UiInterface* a0;
        KIO::FileUndoManager *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KIO_FileUndoManager, &sipCpp, sipType_KIO_FileUndoManager_UiInterface, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setUiInterface(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KIO::FileUndoManager *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIO_FileUndoManager, &sipCpp))
        {
            KIO::FileUndoManager::UiInterface*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->uiInterface();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KIO::FileUndoManager::CommandType a0;
        const KUrl::List* a1;
        const KUrl* a2;
        KIO::Job* a3;
        KIO::FileUndoManager *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEJ9J9J8", &sipSelf, sipType_KIO_FileUndoManager, &sipCpp, sipType_KIO_FileUndoManager_CommandType, &a0, sipType_KUrl_List, &a1, sipType_KUrl, &a2, sipType_KIO_Job, &a3))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->recordJob(a0,*a1,*a2,a3);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KIO::CopyJob* a0;
        KIO::FileUndoManager *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KIO_FileUndoManager, &sipCpp, sipType_KIO_CopyJob, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->recordCopyJob(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KIO::FileUndoManager *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->undoAvailable();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KIO::FileUndoManager *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        KIO::FileUndoManager *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIO_FileUndoManager, &sipCpp))
        {
            quint64 sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->newCommandSerialNumber();
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLongLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KIO::FileUndoManager *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIO_FileUndoManager, &sipCpp))
        {
            quint64 sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->currentCommandSerialNumber();
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLongLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KIO::FileUndoManager *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_KIO_FileUndoManager)
        return ptr;

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

    return NULL;
}


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


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


static PyMethodDef methods_KIO_FileUndoManager[] = {
    {SIP_MLNAME_CAST(sipName_currentCommandSerialNumber), meth_KIO_FileUndoManager_currentCommandSerialNumber, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_newCommandSerialNumber), meth_KIO_FileUndoManager_newCommandSerialNumber, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_recordCopyJob), meth_KIO_FileUndoManager_recordCopyJob, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_recordJob), meth_KIO_FileUndoManager_recordJob, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_self), meth_KIO_FileUndoManager_self, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setUiInterface), meth_KIO_FileUndoManager_setUiInterface, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_uiInterface), meth_KIO_FileUndoManager_uiInterface, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_undo), meth_KIO_FileUndoManager_undo, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_undoAvailable), meth_KIO_FileUndoManager_undoAvailable, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_undoText), meth_KIO_FileUndoManager_undoText, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KIO_FileUndoManager[] = {
    {sipName_Copy, static_cast<int>(KIO::FileUndoManager::Copy), 121},
    {sipName_Link, static_cast<int>(KIO::FileUndoManager::Link), 121},
    {sipName_Mkdir, static_cast<int>(KIO::FileUndoManager::Mkdir), 121},
    {sipName_Move, static_cast<int>(KIO::FileUndoManager::Move), 121},
    {sipName_Put, static_cast<int>(KIO::FileUndoManager::Put), 121},
    {sipName_Rename, static_cast<int>(KIO::FileUndoManager::Rename), 121},
    {sipName_Trash, static_cast<int>(KIO::FileUndoManager::Trash), 121},
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KIO_FileUndoManager[] = {
    {"jobRecordingFinished(KIO::FileUndoManager::CommandType)", 0, 0, 0},
    {"jobRecordingStarted(KIO::FileUndoManager::CommandType)", 0, 0, 0},
    {"undoJobFinished()", 0, 0, 0},
    {"undoTextChanged(QString)", 0, 0, 0},
    {"undoAvailable(bool)", 0, &methods_KIO_FileUndoManager[8], 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kio_KIO_FileUndoManager = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KIO__FileUndoManager,
        {0}
    },
    {
        sipNameNr_FileUndoManager,
        {101, 255, 0},
        10, methods_KIO_FileUndoManager,
        7, enummembers_KIO_FileUndoManager,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KIO_FileUndoManager,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    0,
    0,
    0,
    0,
    release_KIO_FileUndoManager,
    cast_KIO_FileUndoManager,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KIO::FileUndoManager::staticMetaObject,
    0,
    signals_KIO_FileUndoManager,
};

#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kio/filejob.sip"
#include <filejob.h>
#line 5689 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"

#line 43 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 5693 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 5696 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 5699 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 37 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 5702 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 188 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kio/global.sip"
#include<qmap.h>
#line 5705 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 5708 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qmap.sip"
#include <qmap.h>
#line 5711 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 77 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 5714 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 5717 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 5720 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kio/jobuidelegate.sip"
#include <jobuidelegate.h>
#line 5723 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 5726 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 589 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/typedefs.sip"
#include <qpair.h>
#line 5729 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 5732 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kjobuidelegate.sip"
#include <kjobuidelegate.h>
#line 5735 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 5738 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 355 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 5741 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 338 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 5744 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 5747 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 274 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 5750 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 5753 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 5756 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 5759 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 5762 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 5765 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 5768 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "Bo", &sipSelf, sipType_KIO_FileJob, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->read(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KIO_FileJob, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->write(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KIO::FileJob *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "Bo", &sipSelf, sipType_KIO_FileJob, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->seek(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KIO::FileJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIO_FileJob, &sipCpp))
        {
            KIO::filesize_t sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->size();
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLongLong(sipRes);
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_KIO_FileJob)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KIO_SimpleJob)->ctd_cast((KIO::SimpleJob *)(KIO::FileJob *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KIO_FileJob(void *, int);}
static void release_KIO_FileJob(void *sipCppV,int)
{
    KIO::FileJob *sipCpp = reinterpret_cast<KIO::FileJob *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


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


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


static PyMethodDef methods_KIO_FileJob[] = {
    {SIP_MLNAME_CAST(sipName_close), meth_KIO_FileJob_close, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_read), meth_KIO_FileJob_read, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_seek), meth_KIO_FileJob_seek, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_size), meth_KIO_FileJob_size, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_write), meth_KIO_FileJob_write, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KIO_FileJob[] = {
    {"position(KIO::Job*,KIO::filesize_t)", 0, 0, 0},
    {"written(KIO::Job*,KIO::filesize_t)", 0, 0, 0},
    {"open(KIO::Job*)", 0, 0, 0},
    {"mimetype(KIO::Job*,QString)", 0, 0, 0},
    {"redirection(KIO::Job*,KUrl)", 0, 0, 0},
    {"data(KIO::Job*,QByteArray)", 0, 0, 0},
    {"close(KIO::Job*)", 0, &methods_KIO_FileJob[0], 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kio_KIO_FileJob = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KIO__FileJob,
        {0}
    },
    {
        sipNameNr_FileJob,
        {101, 255, 0},
        5, methods_KIO_FileJob,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KIO_FileJob,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KIO_FileJob,
    0,
    0,
    0,
    release_KIO_FileJob,
    cast_KIO_FileJob,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KIO::FileJob::staticMetaObject,
    0,
    signals_KIO_FileJob,
};

#line 91 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 6031 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"

#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 6035 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 188 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kio/global.sip"
#include<qmap.h>
#line 6038 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 6041 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 6044 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 43 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 6047 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qmap.sip"
#include <qmap.h>
#line 6050 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 77 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 6053 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 6056 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 6059 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kio/jobuidelegate.sip"
#include <jobuidelegate.h>
#line 6062 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 6065 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 589 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/typedefs.sip"
#include <qpair.h>
#line 6068 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 6071 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kjobuidelegate.sip"
#include <kjobuidelegate.h>
#line 6074 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6077 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 355 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6080 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 338 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6083 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 6086 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 274 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 6089 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 6092 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 37 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 6095 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 6098 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 6101 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 6104 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 6107 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 6110 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"


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

    {
        KIO::SimpleJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KIO_SimpleJob, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KIO::SimpleJob::doSuspend() : sipCpp->doSuspend());
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KIO::SimpleJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KIO_SimpleJob, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KIO::SimpleJob::doResume() : sipCpp->doResume());
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KIO::SimpleJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KIO_SimpleJob, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KIO::SimpleJob::doKill() : sipCpp->doKill());
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KIO::SimpleJob *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        KIO::SimpleJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIO_SimpleJob, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::SimpleJob::putOnHold() : sipCpp->putOnHold());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            KIO::SimpleJob::removeOnHold();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ1", &sipSelf, sipType_KIO_SimpleJob, &sipCpp, &a0, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->slotError(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KIO::SimpleJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KIO_SimpleJob, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::SimpleJob::slotFinished() : sipCpp->slotFinished());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1", &sipSelf, sipType_KIO_SimpleJob, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::SimpleJob::slotWarning(*a0) : sipCpp->slotWarning(*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_SimpleJob, sipName_slotWarning, NULL);

    return NULL;
}


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

    {
        const KIO::MetaData* a0;
        int a0State = 0;
        KIO::SimpleJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1", &sipSelf, sipType_KIO_SimpleJob, &sipCpp, sipType_KIO_MetaData,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::SimpleJob::slotMetaData(*a0) : sipCpp->slotMetaData(*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_SimpleJob, sipName_slotMetaData, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9", &sipSelf, sipType_KIO_SimpleJob, &sipCpp, sipType_KUrl, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->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_SimpleJob, sipName_storeSSLSessionFromJob, NULL);

    return NULL;
}


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

    {
        const KIO::SimpleJob *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isRedirectionHandlingEnabled();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        KIO::SimpleJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KIO_SimpleJob, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setRedirectionHandlingEnabled(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_SimpleJob, sipName_setRedirectionHandlingEnabled, NULL);

    return NULL;
}


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

    if (targetType == sipType_KIO_SimpleJob)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KIO_Job)->ctd_cast((KIO::Job *)(KIO::SimpleJob *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KIO_SimpleJob(void *, int);}
static void release_KIO_SimpleJob(void *sipCppV,int)
{
    KIO::SimpleJob *sipCpp = reinterpret_cast<KIO::SimpleJob *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


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


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


static PyMethodDef methods_KIO_SimpleJob[] = {
    {SIP_MLNAME_CAST(sipName_doKill), meth_KIO_SimpleJob_doKill, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_doResume), meth_KIO_SimpleJob_doResume, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_doSuspend), meth_KIO_SimpleJob_doSuspend, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isRedirectionHandlingEnabled), meth_KIO_SimpleJob_isRedirectionHandlingEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_putOnHold), meth_KIO_SimpleJob_putOnHold, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_removeOnHold), meth_KIO_SimpleJob_removeOnHold, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setRedirectionHandlingEnabled), meth_KIO_SimpleJob_setRedirectionHandlingEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotError), meth_KIO_SimpleJob_slotError, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotFinished), meth_KIO_SimpleJob_slotFinished, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotMetaData), meth_KIO_SimpleJob_slotMetaData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotWarning), meth_KIO_SimpleJob_slotWarning, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_storeSSLSessionFromJob), meth_KIO_SimpleJob_storeSSLSessionFromJob, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_url), meth_KIO_SimpleJob_url, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kio_KIO_SimpleJob = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KIO__SimpleJob,
        {0}
    },
    {
        sipNameNr_SimpleJob,
        {101, 255, 0},
        13, methods_KIO_SimpleJob,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KIO_SimpleJob,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KIO_SimpleJob,
    0,
    0,
    0,
    release_KIO_SimpleJob,
    cast_KIO_SimpleJob,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KIO::SimpleJob::staticMetaObject,
    0,
    0
};

#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kio/directorysizejob.sip"
#include <directorysizejob.h>
#line 6592 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 6596 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 43 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 6599 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 6602 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 188 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kio/global.sip"
#include<qmap.h>
#line 6605 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qmap.sip"
#include <qmap.h>
#line 6608 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 77 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 6611 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 6614 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 6617 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 6620 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kio/jobuidelegate.sip"
#include <jobuidelegate.h>
#line 6623 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 6626 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 589 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/typedefs.sip"
#include <qpair.h>
#line 6629 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 6632 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kjobuidelegate.sip"
#include <kjobuidelegate.h>
#line 6635 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6638 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 355 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6641 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 338 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6644 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 6647 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 274 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 6650 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 6653 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 37 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 6656 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 6659 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 6662 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 6665 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 6668 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 6671 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"


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

    {
        const KIO::DirectorySizeJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIO_DirectorySizeJob, &sipCpp))
        {
            KIO::filesize_t sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->totalSize();
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLongLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KIO::DirectorySizeJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIO_DirectorySizeJob, &sipCpp))
        {
            KIO::filesize_t sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->totalFiles();
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLongLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KIO::DirectorySizeJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIO_DirectorySizeJob, &sipCpp))
        {
            KIO::filesize_t sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->totalSubdirs();
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLongLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KJob* a0;
        KIO::DirectorySizeJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KIO_DirectorySizeJob, &sipCpp, sipType_KJob, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::DirectorySizeJob::slotResult(a0) : sipCpp->slotResult(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_DirectorySizeJob, sipName_slotResult, NULL);

    return NULL;
}


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

    if (targetType == sipType_KIO_DirectorySizeJob)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KIO_Job)->ctd_cast((KIO::Job *)(KIO::DirectorySizeJob *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KIO_DirectorySizeJob(void *, int);}
static void release_KIO_DirectorySizeJob(void *sipCppV,int)
{
    KIO::DirectorySizeJob *sipCpp = reinterpret_cast<KIO::DirectorySizeJob *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


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


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


static PyMethodDef methods_KIO_DirectorySizeJob[] = {
    {SIP_MLNAME_CAST(sipName_slotResult), meth_KIO_DirectorySizeJob_slotResult, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_totalFiles), meth_KIO_DirectorySizeJob_totalFiles, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_totalSize), meth_KIO_DirectorySizeJob_totalSize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_totalSubdirs), meth_KIO_DirectorySizeJob_totalSubdirs, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kio_KIO_DirectorySizeJob = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KIO__DirectorySizeJob,
        {0}
    },
    {
        sipNameNr_DirectorySizeJob,
        {101, 255, 0},
        4, methods_KIO_DirectorySizeJob,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KIO_DirectorySizeJob,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KIO_DirectorySizeJob,
    0,
    0,
    0,
    release_KIO_DirectorySizeJob,
    cast_KIO_DirectorySizeJob,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KIO::DirectorySizeJob::staticMetaObject,
    0,
    0
};

#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kio/deletejob.sip"
#include <deletejob.h>
#line 6893 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 6897 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 43 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 6900 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 6903 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 6906 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 6909 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 188 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kio/global.sip"
#include<qmap.h>
#line 6912 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qmap.sip"
#include <qmap.h>
#line 6915 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 77 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 6918 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 6921 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 6924 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kio/jobuidelegate.sip"
#include <jobuidelegate.h>
#line 6927 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 6930 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 589 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/typedefs.sip"
#include <qpair.h>
#line 6933 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 6936 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kjobuidelegate.sip"
#include <kjobuidelegate.h>
#line 6939 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6942 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 355 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6945 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 338 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6948 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 6951 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 274 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 6954 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 6957 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 37 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 6960 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 6963 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 6966 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 6969 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 6972 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 6975 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"


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

    {
        const KIO::DeleteJob *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl::List(sipCpp->urls());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KJob* a0;
        KIO::DeleteJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KIO_DeleteJob, &sipCpp, sipType_KJob, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::DeleteJob::slotResult(a0) : sipCpp->slotResult(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_DeleteJob, sipName_slotResult, NULL);

    return NULL;
}


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

    if (targetType == sipType_KIO_DeleteJob)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KIO_Job)->ctd_cast((KIO::Job *)(KIO::DeleteJob *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KIO_DeleteJob(void *, int);}
static void release_KIO_DeleteJob(void *sipCppV,int)
{
    KIO::DeleteJob *sipCpp = reinterpret_cast<KIO::DeleteJob *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


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


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


static PyMethodDef methods_KIO_DeleteJob[] = {
    {SIP_MLNAME_CAST(sipName_slotResult), meth_KIO_DeleteJob_slotResult, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_urls), meth_KIO_DeleteJob_urls, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KIO_DeleteJob[] = {
    {"deleting(KIO::Job*,KUrl)", 0, 0, 0},
    {"processedDirs(KIO::Job*,unsigned long)", 0, 0, 0},
    {"processedFiles(KIO::Job*,unsigned long)", 0, 0, 0},
    {"totalDirs(KJob*,unsigned long)", 0, 0, 0},
    {"totalFiles(KJob*,unsigned long)", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kio_KIO_DeleteJob = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KIO__DeleteJob,
        {0}
    },
    {
        sipNameNr_DeleteJob,
        {101, 255, 0},
        2, methods_KIO_DeleteJob,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KIO_DeleteJob,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KIO_DeleteJob,
    0,
    0,
    0,
    release_KIO_DeleteJob,
    cast_KIO_DeleteJob,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KIO::DeleteJob::staticMetaObject,
    0,
    signals_KIO_DeleteJob,
};

#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kio/davjob.sip"
#include <davjob.h>
#line 7152 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"

#line 37 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 7156 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 216 "/usr/share/python3-sip/PyQt4/QtXml/qdom.sip"
#include <qdom.h>
#line 7159 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 188 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kio/global.sip"
#include<qmap.h>
#line 7162 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 7165 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 7168 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 43 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 7171 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 7174 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 406 "/usr/share/python3-sip/PyQt4/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 7177 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qmap.sip"
#include <qmap.h>
#line 7180 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 77 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 7183 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 7186 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 7189 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kio/jobuidelegate.sip"
#include <jobuidelegate.h>
#line 7192 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 7195 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 589 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/typedefs.sip"
#include <qpair.h>
#line 7198 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 7201 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kjobuidelegate.sip"
#include <kjobuidelegate.h>
#line 7204 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7207 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 355 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7210 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 338 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7213 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 7216 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 274 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 7219 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 7222 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7225 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 7228 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 7231 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 7234 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 7237 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"


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

    {
        KIO::DavJob *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        KIO::DavJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KIO_DavJob, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::DavJob::slotFinished() : sipCpp->slotFinished());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1", &sipSelf, sipType_KIO_DavJob, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::DavJob::slotData(*a0) : sipCpp->slotData(*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_DavJob, sipName_slotData, NULL);

    return NULL;
}


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

    if (targetType == sipType_KIO_DavJob)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KIO_TransferJob)->ctd_cast((KIO::TransferJob *)(KIO::DavJob *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KIO_DavJob(void *, int);}
static void release_KIO_DavJob(void *sipCppV,int)
{
    KIO::DavJob *sipCpp = reinterpret_cast<KIO::DavJob *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


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


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


static PyMethodDef methods_KIO_DavJob[] = {
    {SIP_MLNAME_CAST(sipName_response), meth_KIO_DavJob_response, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotData), meth_KIO_DavJob_slotData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotFinished), meth_KIO_DavJob_slotFinished, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kio_KIO_DavJob = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KIO__DavJob,
        {0}
    },
    {
        sipNameNr_DavJob,
        {101, 255, 0},
        3, methods_KIO_DavJob,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KIO_DavJob,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KIO_DavJob,
    0,
    0,
    0,
    release_KIO_DavJob,
    cast_KIO_DavJob,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KIO::DavJob::staticMetaObject,
    0,
    0
};

#line 172 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 7433 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"

#line 188 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kio/global.sip"
#include<qmap.h>
#line 7437 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 7440 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 37 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 7443 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 7446 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 43 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 7449 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 7452 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 406 "/usr/share/python3-sip/PyQt4/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 7455 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qmap.sip"
#include <qmap.h>
#line 7458 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 77 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 7461 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 7464 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 7467 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kio/jobuidelegate.sip"
#include <jobuidelegate.h>
#line 7470 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 7473 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 589 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/typedefs.sip"
#include <qpair.h>
#line 7476 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 7479 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kjobuidelegate.sip"
#include <kjobuidelegate.h>
#line 7482 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7485 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 355 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7488 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 338 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7491 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 7494 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 274 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 7497 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 7500 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7503 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 7506 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 7509 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 7512 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 7515 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"


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

    {
        const QDateTime* a0;
        int a0State = 0;
        KIO::TransferJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KIO_TransferJob, &sipCpp, sipType_QDateTime, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setModificationTime(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QDateTime *>(a0),sipType_QDateTime,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KIO::TransferJob *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isErrorPage();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        KIO::TransferJob *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KIO_TransferJob, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sendAsyncData(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        KIO::TransferJob *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KIO::TransferJob *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->reportDataSent();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KIO::TransferJob *sipCpp;

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

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

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "Bo", &sipSelf, sipType_KIO_TransferJob, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTotalSize(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KJob* a0;
        KIO::TransferJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KIO_TransferJob, &sipCpp, sipType_KJob, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::TransferJob::slotResult(a0) : sipCpp->slotResult(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_TransferJob, sipName_slotResult, NULL);

    return NULL;
}


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

    {
        KIO::TransferJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KIO_TransferJob, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KIO::TransferJob::doResume() : sipCpp->doResume());
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9", &sipSelf, sipType_KIO_TransferJob, &sipCpp, sipType_KUrl, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::TransferJob::slotRedirection(*a0) : sipCpp->slotRedirection(*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_TransferJob, sipName_slotRedirection, NULL);

    return NULL;
}


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

    {
        KIO::TransferJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KIO_TransferJob, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::TransferJob::slotFinished() : sipCpp->slotFinished());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1", &sipSelf, sipType_KIO_TransferJob, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::TransferJob::slotData(*a0) : sipCpp->slotData(*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_TransferJob, sipName_slotData, NULL);

    return NULL;
}


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

    {
        KIO::TransferJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KIO_TransferJob, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::TransferJob::slotDataReq() : sipCpp->slotDataReq());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1", &sipSelf, sipType_KIO_TransferJob, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::TransferJob::slotMimetype(*a0) : sipCpp->slotMimetype(*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_TransferJob, sipName_slotMimetype, NULL);

    return NULL;
}


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

    {
        const KIO::MetaData* a0;
        int a0State = 0;
        KIO::TransferJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1", &sipSelf, sipType_KIO_TransferJob, &sipCpp, sipType_KIO_MetaData,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::TransferJob::slotMetaData(*a0) : sipCpp->slotMetaData(*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_TransferJob, sipName_slotMetaData, NULL);

    return NULL;
}


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

    if (targetType == sipType_KIO_TransferJob)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KIO_SimpleJob)->ctd_cast((KIO::SimpleJob *)(KIO::TransferJob *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KIO_TransferJob(void *, int);}
static void release_KIO_TransferJob(void *sipCppV,int)
{
    KIO::TransferJob *sipCpp = reinterpret_cast<KIO::TransferJob *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


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


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


static PyMethodDef methods_KIO_TransferJob[] = {
    {SIP_MLNAME_CAST(sipName_doResume), meth_KIO_TransferJob_doResume, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isErrorPage), meth_KIO_TransferJob_isErrorPage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mimetype), meth_KIO_TransferJob_mimetype, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_reportDataSent), meth_KIO_TransferJob_reportDataSent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sendAsyncData), meth_KIO_TransferJob_sendAsyncData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAsyncDataEnabled), meth_KIO_TransferJob_setAsyncDataEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setModificationTime), meth_KIO_TransferJob_setModificationTime, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setReportDataSent), meth_KIO_TransferJob_setReportDataSent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTotalSize), meth_KIO_TransferJob_setTotalSize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotData), meth_KIO_TransferJob_slotData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotDataReq), meth_KIO_TransferJob_slotDataReq, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotFinished), meth_KIO_TransferJob_slotFinished, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotMetaData), meth_KIO_TransferJob_slotMetaData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotMimetype), meth_KIO_TransferJob_slotMimetype, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotRedirection), meth_KIO_TransferJob_slotRedirection, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotResult), meth_KIO_TransferJob_slotResult, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KIO_TransferJob[] = {
    {"canResume(KIO::Job*,KIO::filesize_t)", 0, 0, 0},
    {"permanentRedirection(KIO::Job*,KUrl,KUrl)", 0, 0, 0},
    {"redirection(KIO::Job*,KUrl)", 0, 0, 0},
    {"dataReq(KIO::Job*,QByteArray&)", 0, 0, 0},
    {"data(KIO::Job*,QByteArray)", 0, 0, 0},
    {"mimetype(KIO::Job*,QString)", 0, &methods_KIO_TransferJob[2], 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kio_KIO_TransferJob = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KIO__TransferJob,
        {0}
    },
    {
        sipNameNr_TransferJob,
        {101, 255, 0},
        16, methods_KIO_TransferJob,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KIO_TransferJob,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KIO_TransferJob,
    0,
    0,
    0,
    release_KIO_TransferJob,
    cast_KIO_TransferJob,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KIO::TransferJob::staticMetaObject,
    0,
    signals_KIO_TransferJob,
};

#line 51 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kio/copyjob.sip"
#include <copyjob.h>
#line 8100 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 8104 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 43 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 8107 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 8110 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 8113 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 8116 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kio/copyjob.sip"
#include <copyjob.h>
#line 8119 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 8122 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 188 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kio/global.sip"
#include<qmap.h>
#line 8125 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qmap.sip"
#include <qmap.h>
#line 8128 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 77 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 8131 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 8134 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 8137 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kio/jobuidelegate.sip"
#include <jobuidelegate.h>
#line 8140 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 8143 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 589 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/typedefs.sip"
#include <qpair.h>
#line 8146 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 8149 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kjobuidelegate.sip"
#include <kjobuidelegate.h>
#line 8152 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8155 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 355 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8158 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 338 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8161 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 8164 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 274 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 8167 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 8170 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 37 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 8173 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 8176 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 8179 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 8182 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 8185 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 8188 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"


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

    {
        const KIO::CopyJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIO_CopyJob, &sipCpp))
        {
            KIO::CopyJob::CopyMode sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->operationMode();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KIO_CopyJob_CopyMode);
        }
    }

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

    return NULL;
}


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

    {
        const KIO::CopyJob *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl::List(sipCpp->srcUrls());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KIO::CopyJob *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        bool a0;
        KIO::CopyJob *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        KIO::CopyJob *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        KIO::CopyJob *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KIO::CopyJob *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KIO::CopyJob::doSuspend() : sipCpp->doSuspend());
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KJob* a0;
        KIO::CopyJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KIO_CopyJob, &sipCpp, sipType_KJob, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::CopyJob::slotResult(a0) : sipCpp->slotResult(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_CopyJob, sipName_slotResult, NULL);

    return NULL;
}


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

    {
        KIO::CopyJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KIO_CopyJob, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->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_CopyJob, sipName_emitResult, NULL);

    return NULL;
}


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

    {
        bool a0;
        KIO::CopyJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KIO_CopyJob, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAutoRename(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_CopyJob, sipName_setAutoRename, NULL);

    return NULL;
}


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

    if (targetType == sipType_KIO_CopyJob)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KIO_Job)->ctd_cast((KIO::Job *)(KIO::CopyJob *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KIO_CopyJob(void *, int);}
static void release_KIO_CopyJob(void *sipCppV,int)
{
    KIO::CopyJob *sipCpp = reinterpret_cast<KIO::CopyJob *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


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


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


static PyMethodDef methods_KIO_CopyJob[] = {
    {SIP_MLNAME_CAST(sipName_destUrl), meth_KIO_CopyJob_destUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_doSuspend), meth_KIO_CopyJob_doSuspend, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_emitResult), meth_KIO_CopyJob_emitResult, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_operationMode), meth_KIO_CopyJob_operationMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAutoRename), meth_KIO_CopyJob_setAutoRename, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAutoSkip), meth_KIO_CopyJob_setAutoSkip, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDefaultPermissions), meth_KIO_CopyJob_setDefaultPermissions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setWriteIntoExistingDirectories), meth_KIO_CopyJob_setWriteIntoExistingDirectories, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotResult), meth_KIO_CopyJob_slotResult, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_srcUrls), meth_KIO_CopyJob_srcUrls, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KIO_CopyJob[] = {
    {sipName_Copy, static_cast<int>(KIO::CopyJob::Copy), 113},
    {sipName_Link, static_cast<int>(KIO::CopyJob::Link), 113},
    {sipName_Move, static_cast<int>(KIO::CopyJob::Move), 113},
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KIO_CopyJob[] = {
    {"copyingLinkDone(KIO::Job*,KUrl,QString,KUrl)", 0, 0, 0},
    {"copyingDone(KIO::Job*,KUrl,KUrl,time_t,bool,bool)", 0, 0, 0},
    {"renamed(KIO::Job*,KUrl,KUrl)", 0, 0, 0},
    {"creatingDir(KIO::Job*,KUrl)", 0, 0, 0},
    {"moving(KIO::Job*,KUrl,KUrl)", 0, 0, 0},
    {"linking(KIO::Job*,QString,KUrl)", 0, 0, 0},
    {"copying(KIO::Job*,KUrl,KUrl)", 0, 0, 0},
    {"processedDirs(KIO::Job*,unsigned long)", 0, 0, 0},
    {"processedFiles(KIO::Job*,unsigned long)", 0, 0, 0},
    {"aboutToCreate(KIO::Job*,QList<KIO::CopyInfo>)", 0, 0, 0},
    {"totalDirs(KJob*,unsigned long)", 0, 0, 0},
    {"totalFiles(KJob*,unsigned long)", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kio_KIO_CopyJob = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KIO__CopyJob,
        {0}
    },
    {
        sipNameNr_CopyJob,
        {101, 255, 0},
        10, methods_KIO_CopyJob,
        3, enummembers_KIO_CopyJob,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KIO_CopyJob,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KIO_CopyJob,
    0,
    0,
    0,
    release_KIO_CopyJob,
    cast_KIO_CopyJob,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KIO::CopyJob::staticMetaObject,
    0,
    signals_KIO_CopyJob,
};

#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kio/copyjob.sip"
#include <copyjob.h>
#line 8602 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"

#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 8606 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 8609 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"


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

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


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


extern "C" {static void *array_KIO_CopyInfo(SIP_SSIZE_T);}
static void *array_KIO_CopyInfo(SIP_SSIZE_T sipNrElem)
{
    return new KIO::CopyInfo[sipNrElem];
}


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


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


extern "C" {static void *init_type_KIO_CopyInfo(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KIO_CopyInfo(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    KIO::CopyInfo *sipCpp = 0;

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

            return sipCpp;
        }
    }

    {
        const KIO::CopyInfo* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_KIO_CopyInfo, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KIO::CopyInfo(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static PyObject *varget_KIO_CopyInfo_ctime(void *, PyObject *, PyObject *);}
static PyObject *varget_KIO_CopyInfo_ctime(void *sipSelf, PyObject *, PyObject *)
{
    time_t sipVal;
    KIO::CopyInfo *sipCpp = reinterpret_cast<KIO::CopyInfo *>(sipSelf);

    sipVal = sipCpp->ctime;

    return PyLong_FromLong(sipVal);
}


extern "C" {static int varset_KIO_CopyInfo_ctime(void *, PyObject *, PyObject *);}
static int varset_KIO_CopyInfo_ctime(void *sipSelf, PyObject *sipPy, PyObject *)
{
    time_t sipVal;
    KIO::CopyInfo *sipCpp = reinterpret_cast<KIO::CopyInfo *>(sipSelf);

    sipVal = PyLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->ctime = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_KIO_CopyInfo_linkDest(void *, PyObject *, PyObject *);}
static PyObject *varget_KIO_CopyInfo_linkDest(void *sipSelf, PyObject *, PyObject *)
{
    QString*sipVal;
    KIO::CopyInfo *sipCpp = reinterpret_cast<KIO::CopyInfo *>(sipSelf);

    sipVal = &sipCpp->linkDest;

    return sipConvertFromType(sipVal, sipType_QString, NULL);
}


extern "C" {static int varset_KIO_CopyInfo_linkDest(void *, PyObject *, PyObject *);}
static int varset_KIO_CopyInfo_linkDest(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QString*sipVal;
    KIO::CopyInfo *sipCpp = reinterpret_cast<KIO::CopyInfo *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QString *>(sipForceConvertToType(sipPy,sipType_QString,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->linkDest = *sipVal;

    sipReleaseType(sipVal, sipType_QString, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_KIO_CopyInfo_mtime(void *, PyObject *, PyObject *);}
static PyObject *varget_KIO_CopyInfo_mtime(void *sipSelf, PyObject *, PyObject *)
{
    time_t sipVal;
    KIO::CopyInfo *sipCpp = reinterpret_cast<KIO::CopyInfo *>(sipSelf);

    sipVal = sipCpp->mtime;

    return PyLong_FromLong(sipVal);
}


extern "C" {static int varset_KIO_CopyInfo_mtime(void *, PyObject *, PyObject *);}
static int varset_KIO_CopyInfo_mtime(void *sipSelf, PyObject *sipPy, PyObject *)
{
    time_t sipVal;
    KIO::CopyInfo *sipCpp = reinterpret_cast<KIO::CopyInfo *>(sipSelf);

    sipVal = PyLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->mtime = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_KIO_CopyInfo_permissions(void *, PyObject *, PyObject *);}
static PyObject *varget_KIO_CopyInfo_permissions(void *sipSelf, PyObject *, PyObject *)
{
    int sipVal;
    KIO::CopyInfo *sipCpp = reinterpret_cast<KIO::CopyInfo *>(sipSelf);

    sipVal = sipCpp->permissions;

    return SIPLong_FromLong(sipVal);
}


extern "C" {static int varset_KIO_CopyInfo_permissions(void *, PyObject *, PyObject *);}
static int varset_KIO_CopyInfo_permissions(void *sipSelf, PyObject *sipPy, PyObject *)
{
    int sipVal;
    KIO::CopyInfo *sipCpp = reinterpret_cast<KIO::CopyInfo *>(sipSelf);

    sipVal = (int)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->permissions = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_KIO_CopyInfo_size(void *, PyObject *, PyObject *);}
static PyObject *varget_KIO_CopyInfo_size(void *sipSelf, PyObject *, PyObject *)
{
    KIO::filesize_t sipVal;
    KIO::CopyInfo *sipCpp = reinterpret_cast<KIO::CopyInfo *>(sipSelf);

    sipVal = sipCpp->size;

    return PyLong_FromUnsignedLongLong(sipVal);
}


extern "C" {static int varset_KIO_CopyInfo_size(void *, PyObject *, PyObject *);}
static int varset_KIO_CopyInfo_size(void *sipSelf, PyObject *sipPy, PyObject *)
{
    KIO::filesize_t sipVal;
    KIO::CopyInfo *sipCpp = reinterpret_cast<KIO::CopyInfo *>(sipSelf);

    sipVal = PyLong_AsUnsignedLongLongMask(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->size = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_KIO_CopyInfo_uDest(void *, PyObject *, PyObject *);}
static PyObject *varget_KIO_CopyInfo_uDest(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    KUrl*sipVal;
    KIO::CopyInfo *sipCpp = reinterpret_cast<KIO::CopyInfo *>(sipSelf);

    sipVal = &sipCpp->uDest;

    sipPy = sipConvertFromType(sipVal, sipType_KUrl, NULL);
    sipKeepReference(sipPy, -1, sipPySelf);

    return sipPy;
}


extern "C" {static int varset_KIO_CopyInfo_uDest(void *, PyObject *, PyObject *);}
static int varset_KIO_CopyInfo_uDest(void *sipSelf, PyObject *sipPy, PyObject *)
{
    KUrl*sipVal;
    KIO::CopyInfo *sipCpp = reinterpret_cast<KIO::CopyInfo *>(sipSelf);

    int sipIsErr = 0;

    sipVal = reinterpret_cast<KUrl *>(sipForceConvertToType(sipPy,sipType_KUrl,NULL,SIP_NOT_NONE,NULL,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->uDest = *sipVal;

    return 0;
}


extern "C" {static PyObject *varget_KIO_CopyInfo_uSource(void *, PyObject *, PyObject *);}
static PyObject *varget_KIO_CopyInfo_uSource(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    KUrl*sipVal;
    KIO::CopyInfo *sipCpp = reinterpret_cast<KIO::CopyInfo *>(sipSelf);

    sipVal = &sipCpp->uSource;

    sipPy = sipConvertFromType(sipVal, sipType_KUrl, NULL);
    sipKeepReference(sipPy, -1, sipPySelf);

    return sipPy;
}


extern "C" {static int varset_KIO_CopyInfo_uSource(void *, PyObject *, PyObject *);}
static int varset_KIO_CopyInfo_uSource(void *sipSelf, PyObject *sipPy, PyObject *)
{
    KUrl*sipVal;
    KIO::CopyInfo *sipCpp = reinterpret_cast<KIO::CopyInfo *>(sipSelf);

    int sipIsErr = 0;

    sipVal = reinterpret_cast<KUrl *>(sipForceConvertToType(sipPy,sipType_KUrl,NULL,SIP_NOT_NONE,NULL,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->uSource = *sipVal;

    return 0;
}

sipVariableDef variables_KIO_CopyInfo[] = {
    {InstanceVariable, sipName_ctime, (PyMethodDef *)varget_KIO_CopyInfo_ctime, (PyMethodDef *)varset_KIO_CopyInfo_ctime, NULL, NULL},
    {InstanceVariable, sipName_linkDest, (PyMethodDef *)varget_KIO_CopyInfo_linkDest, (PyMethodDef *)varset_KIO_CopyInfo_linkDest, NULL, NULL},
    {InstanceVariable, sipName_mtime, (PyMethodDef *)varget_KIO_CopyInfo_mtime, (PyMethodDef *)varset_KIO_CopyInfo_mtime, NULL, NULL},
    {InstanceVariable, sipName_permissions, (PyMethodDef *)varget_KIO_CopyInfo_permissions, (PyMethodDef *)varset_KIO_CopyInfo_permissions, NULL, NULL},
    {InstanceVariable, sipName_size, (PyMethodDef *)varget_KIO_CopyInfo_size, (PyMethodDef *)varset_KIO_CopyInfo_size, NULL, NULL},
    {InstanceVariable, sipName_uDest, (PyMethodDef *)varget_KIO_CopyInfo_uDest, (PyMethodDef *)varset_KIO_CopyInfo_uDest, NULL, NULL},
    {InstanceVariable, sipName_uSource, (PyMethodDef *)varget_KIO_CopyInfo_uSource, (PyMethodDef *)varset_KIO_CopyInfo_uSource, NULL, NULL},
};


pyqt4ClassTypeDef sipTypeDef_kio_KIO_CopyInfo = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KIO__CopyInfo,
        {0}
    },
    {
        sipNameNr_CopyInfo,
        {101, 255, 0},
        0, 0,
        0, 0,
        7, variables_KIO_CopyInfo,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_type_KIO_CopyInfo,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KIO_CopyInfo,
    assign_KIO_CopyInfo,
    array_KIO_CopyInfo,
    copy_KIO_CopyInfo,
    release_KIO_CopyInfo,
    cast_KIO_CopyInfo,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 61 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kio/connection.sip"
#include <connection.h>
#line 8984 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"

#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 8988 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 30 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kio/connection.sip"
#include <connection.h>
#line 8991 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 8994 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8997 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 355 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9000 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 338 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9003 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 274 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 9006 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 9009 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 37 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 9012 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 9015 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 9018 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 9021 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 9024 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 9027 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"


class sipKIO_ConnectionServer : public KIO::ConnectionServer
{
public:
    sipKIO_ConnectionServer(QObject*);
    virtual ~sipKIO_ConnectionServer();

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

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[7];
};

sipKIO_ConnectionServer::sipKIO_ConnectionServer(QObject*a0): KIO::ConnectionServer(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipKIO_ConnectionServer::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KIO_ConnectionServer);
}

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

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

    return _id;
}

void *sipKIO_ConnectionServer::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast(sipPySelf, sipType_KIO_ConnectionServer, _clname)) ? this : KIO::ConnectionServer::qt_metacast(_clname);
}

void sipKIO_ConnectionServer::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KIO::ConnectionServer::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIO_ConnectionServer::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KIO::ConnectionServer::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIO_ConnectionServer::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KIO::ConnectionServer::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kio_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIO_ConnectionServer::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KIO::ConnectionServer::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kio_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIO_ConnectionServer::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KIO::ConnectionServer::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kio_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKIO_ConnectionServer::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KIO::ConnectionServer::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKIO_ConnectionServer::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KIO::ConnectionServer::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}


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

    {
        KIO::ConnectionServer *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KIO::ConnectionServer *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isListening();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KIO::ConnectionServer *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KIO::ConnectionServer *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        KIO::ConnectionServer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIO_ConnectionServer, &sipCpp))
        {
            KIO::Connection*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->nextPendingConnection();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KIO::Connection* a0;
        KIO::ConnectionServer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KIO_ConnectionServer, &sipCpp, sipType_KIO_Connection, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setNextPendingConnection(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_KIO_ConnectionServer)
        return ptr;

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

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KIO_ConnectionServer(void *, int);}
static void release_KIO_ConnectionServer(void *sipCppV,int)
{
    KIO::ConnectionServer *sipCpp = reinterpret_cast<KIO::ConnectionServer *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


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

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


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

    {
        QObject* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKIO_ConnectionServer(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_KIO_ConnectionServer[] = {
    {SIP_MLNAME_CAST(sipName_address), meth_KIO_ConnectionServer_address, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_close), meth_KIO_ConnectionServer_close, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isListening), meth_KIO_ConnectionServer_isListening, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_listenForRemote), meth_KIO_ConnectionServer_listenForRemote, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_nextPendingConnection), meth_KIO_ConnectionServer_nextPendingConnection, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setNextPendingConnection), meth_KIO_ConnectionServer_setNextPendingConnection, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KIO_ConnectionServer[] = {
    {"newConnection()", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kio_KIO_ConnectionServer = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KIO__ConnectionServer,
        {0}
    },
    {
        sipNameNr_ConnectionServer,
        {101, 255, 0},
        6, methods_KIO_ConnectionServer,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KIO_ConnectionServer,
    0,
    init_type_KIO_ConnectionServer,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KIO_ConnectionServer,
    0,
    0,
    0,
    release_KIO_ConnectionServer,
    cast_KIO_ConnectionServer,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KIO::ConnectionServer::staticMetaObject,
    0,
    signals_KIO_ConnectionServer,
};

#line 30 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kio/connection.sip"
#include <connection.h>
#line 9520 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"

#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 9524 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 37 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 9527 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 9530 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9533 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 355 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9536 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 338 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9539 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 274 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 9542 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 9545 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 9548 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 9551 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 9554 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 9557 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 9560 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"


class sipKIO_Connection : public KIO::Connection
{
public:
    sipKIO_Connection(QObject*);
    virtual ~sipKIO_Connection();

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

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[7];
};

sipKIO_Connection::sipKIO_Connection(QObject*a0): KIO::Connection(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipKIO_Connection::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KIO_Connection);
}

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

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

    return _id;
}

void *sipKIO_Connection::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast(sipPySelf, sipType_KIO_Connection, _clname)) ? this : KIO::Connection::qt_metacast(_clname);
}

void sipKIO_Connection::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KIO::Connection::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIO_Connection::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KIO::Connection::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIO_Connection::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KIO::Connection::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kio_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIO_Connection::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KIO::Connection::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kio_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIO_Connection::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KIO::Connection::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kio_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKIO_Connection::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KIO::Connection::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKIO_Connection::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KIO::Connection::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KIO::Connection *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KIO::Connection *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        const KIO::Connection *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isConnected();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KIO::Connection *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->inited();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi|J1", &sipSelf, sipType_KIO_Connection, &sipCpp, &a0, sipType_QByteArray, &a1, &a1State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->send(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a1),sipType_QByteArray,a1State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ1", &sipSelf, sipType_KIO_Connection, &sipCpp, &a0, sipType_QByteArray, &a1, &a1State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sendnow(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a1),sipType_QByteArray,a1State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KIO::Connection *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasTaskAvailable();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        int a0 = 30000;
        KIO::Connection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|i", &sipSelf, sipType_KIO_Connection, &sipCpp, &a0))
        {
            bool sipRes;

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KIO::Connection *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KIO::Connection *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KIO::Connection *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->suspended();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_KIO_Connection)
        return ptr;

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

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KIO_Connection(void *, int);}
static void release_KIO_Connection(void *sipCppV,int)
{
    KIO::Connection *sipCpp = reinterpret_cast<KIO::Connection *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


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

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


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

    {
        QObject* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKIO_Connection(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_KIO_Connection[] = {
    {SIP_MLNAME_CAST(sipName_close), meth_KIO_Connection_close, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectToRemote), meth_KIO_Connection_connectToRemote, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_errorString), meth_KIO_Connection_errorString, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hasTaskAvailable), meth_KIO_Connection_hasTaskAvailable, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_inited), meth_KIO_Connection_inited, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isConnected), meth_KIO_Connection_isConnected, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resume), meth_KIO_Connection_resume, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_send), meth_KIO_Connection_send, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sendnow), meth_KIO_Connection_sendnow, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_suspend), meth_KIO_Connection_suspend, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_suspended), meth_KIO_Connection_suspended, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_waitForIncomingTask), meth_KIO_Connection_waitForIncomingTask, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KIO_Connection[] = {
    {"readyRead()", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kio_KIO_Connection = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KIO__Connection,
        {0}
    },
    {
        sipNameNr_Connection,
        {101, 255, 0},
        12, methods_KIO_Connection,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KIO_Connection,
    0,
    init_type_KIO_Connection,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KIO_Connection,
    0,
    0,
    0,
    release_KIO_Connection,
    cast_KIO_Connection,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KIO::Connection::staticMetaObject,
    0,
    signals_KIO_Connection,
};

#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kio/chmodjob.sip"
#include <chmodjob.h>
#line 10232 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 10236 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 43 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 10239 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 10242 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 188 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kio/global.sip"
#include<qmap.h>
#line 10245 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qmap.sip"
#include <qmap.h>
#line 10248 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 77 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 10251 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 10254 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 10257 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 10260 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kio/jobuidelegate.sip"
#include <jobuidelegate.h>
#line 10263 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 10266 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 589 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/typedefs.sip"
#include <qpair.h>
#line 10269 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 10272 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kjobuidelegate.sip"
#include <kjobuidelegate.h>
#line 10275 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10278 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 355 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10281 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 338 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10284 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 10287 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 274 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 10290 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 10293 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 37 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 10296 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 10299 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 10302 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 10305 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 10308 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 10311 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"


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

    {
        KJob* a0;
        KIO::ChmodJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KIO_ChmodJob, &sipCpp, sipType_KJob, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::ChmodJob::slotResult(a0) : sipCpp->slotResult(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_ChmodJob, sipName_slotResult, NULL);

    return NULL;
}


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

    if (targetType == sipType_KIO_ChmodJob)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KIO_Job)->ctd_cast((KIO::Job *)(KIO::ChmodJob *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KIO_ChmodJob(void *, int);}
static void release_KIO_ChmodJob(void *sipCppV,int)
{
    KIO::ChmodJob *sipCpp = reinterpret_cast<KIO::ChmodJob *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


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


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


static PyMethodDef methods_KIO_ChmodJob[] = {
    {SIP_MLNAME_CAST(sipName_slotResult), meth_KIO_ChmodJob_slotResult, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kio_KIO_ChmodJob = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KIO__ChmodJob,
        {0}
    },
    {
        sipNameNr_ChmodJob,
        {101, 255, 0},
        1, methods_KIO_ChmodJob,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KIO_ChmodJob,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KIO_ChmodJob,
    0,
    0,
    0,
    release_KIO_ChmodJob,
    cast_KIO_ChmodJob,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KIO::ChmodJob::staticMetaObject,
    0,
    0
};

#line 43 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 10449 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 10453 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 10456 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 188 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kio/global.sip"
#include<qmap.h>
#line 10459 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qmap.sip"
#include <qmap.h>
#line 10462 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 77 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 10465 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 10468 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 10471 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 10474 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kio/jobuidelegate.sip"
#include <jobuidelegate.h>
#line 10477 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 10480 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 589 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/typedefs.sip"
#include <qpair.h>
#line 10483 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 10486 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kjobuidelegate.sip"
#include <kjobuidelegate.h>
#line 10489 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10492 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 355 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10495 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 338 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10498 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 10501 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 274 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 10504 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 10507 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 37 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 10510 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 10513 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 10516 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 10519 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 10522 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 10525 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"


class sipKIO_Job : public KIO::Job
{
public:
    sipKIO_Job();
    virtual ~sipKIO_Job();

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

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[16];
};

sipKIO_Job::sipKIO_Job(): KIO::Job(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipKIO_Job::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KIO_Job);
}

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

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

    return _id;
}

void *sipKIO_Job::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast(sipPySelf, sipType_KIO_Job, _clname)) ? this : KIO::Job::qt_metacast(_clname);
}

void sipKIO_Job::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KIO::Job::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIO_Job::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KIO::Job::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIO_Job::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KIO::Job::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kio_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIO_Job::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KIO::Job::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kio_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIO_Job::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KIO::Job::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kio_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKIO_Job::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KIO::Job::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKIO_Job::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KIO::Job::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QString sipKIO_Job::errorString() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KIO::Job::errorString();

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

    return ((sipVH_QtCore_62)(sipModuleAPI_kio_QtCore->em_virthandlers[62]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKIO_Job::start()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_start);

    if (!sipMeth)
    {
        KIO::Job::start();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKIO_Job::slotInfoMessage(KJob*a0,const QString& a1,const QString& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_slotInfoMessage);

    if (!sipMeth)
    {
        KIO::Job::slotInfoMessage(a0,a1,a2);
        return;
    }

    typedef void (*sipVH_kdecore_23)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KJob*,const QString&,const QString&);

    ((sipVH_kdecore_23)(sipModuleAPI_kio_kdecore->em_virthandlers[23]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipKIO_Job::slotResult(KJob*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_slotResult);

    if (!sipMeth)
    {
        KIO::Job::slotResult(a0);
        return;
    }

    typedef void (*sipVH_kdecore_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KJob*);

    ((sipVH_kdecore_27)(sipModuleAPI_kio_kdecore->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKIO_Job::removeSubjob(KJob*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_removeSubjob);

    if (!sipMeth)
        return KIO::Job::removeSubjob(a0);

    typedef bool (*sipVH_kdecore_53)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KJob*);

    return ((sipVH_kdecore_53)(sipModuleAPI_kio_kdecore->em_virthandlers[53]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKIO_Job::addSubjob(KJob*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_addSubjob);

    if (!sipMeth)
        return KIO::Job::addSubjob(a0);

    typedef bool (*sipVH_kdecore_53)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KJob*);

    return ((sipVH_kdecore_53)(sipModuleAPI_kio_kdecore->em_virthandlers[53]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKIO_Job::doResume()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_doResume);

    if (!sipMeth)
        return KIO::Job::doResume();

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

    return ((sipVH_QtCore_7)(sipModuleAPI_kio_QtCore->em_virthandlers[7]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipKIO_Job::doSuspend()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_doSuspend);

    if (!sipMeth)
        return KIO::Job::doSuspend();

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

    return ((sipVH_QtCore_7)(sipModuleAPI_kio_QtCore->em_virthandlers[7]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipKIO_Job::doKill()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_doKill);

    if (!sipMeth)
        return KIO::Job::doKill();

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

    return ((sipVH_QtCore_7)(sipModuleAPI_kio_QtCore->em_virthandlers[7]))(sipGILState, 0, sipPySelf, sipMeth);
}


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

    {
        KIO::Job *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIO_Job, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::Job::start() : sipCpp->start());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KIO::Job *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIO_Job, &sipCpp))
        {
            KIO::JobUiDelegate*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->ui();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KIO::Job *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KIO_Job, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KIO::Job::doKill() : sipCpp->doKill());
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KIO::Job *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KIO_Job, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KIO::Job::doSuspend() : sipCpp->doSuspend());
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KIO::Job *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KIO_Job, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KIO::Job::doResume() : sipCpp->doResume());
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KIO::Job *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        const KUrl* a0 = 0;
        int a1 = -1;
        const KIO::Job *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|J8i", &sipSelf, sipType_KIO_Job, &sipCpp, sipType_KUrl, &a0, &a1))
        {
            QStringList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->detailedErrorStrings(a0,a1));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        QWidget* a0 = 0;
        KIO::Job *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|J:", &sipSelf, sipType_KIO_Job, &sipCpp, sipType_QWidget, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->showErrorDialog(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KIO::Job *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isInteractive();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KIO::Job* a0;
        KIO::Job *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KIO::Job *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIO_Job, &sipCpp))
        {
            KIO::Job*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->parentJob();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KIO::MetaData* a0;
        int a0State = 0;
        KIO::Job *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KIO_Job, &sipCpp, sipType_KIO_MetaData,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMetaData(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<KIO::MetaData *>(a0),sipType_KIO_MetaData,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_KIO_Job, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addMetaData(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QMap<QString,QString>* a0;
        int a0State = 0;
        KIO::Job *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KIO_Job, &sipCpp, sipType_QMap_0100QString_0100QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addMetaData(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QMap<QString,QString> *>(a0),sipType_QMap_0100QString_0100QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QMap<QString,QString>* a0;
        int a0State = 0;
        KIO::Job *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KIO_Job, &sipCpp, sipType_QMap_0100QString_0100QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->mergeMetaData(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QMap<QString,QString> *>(a0),sipType_QMap_0100QString_0100QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KIO::Job *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        const KIO::Job *sipCpp;

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

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

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

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

    return NULL;
}


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

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

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

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

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

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

    return NULL;
}


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

    {
        KJob* a0;
        KIO::Job *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KIO::Job::addSubjob(a0) : sipCpp->addSubjob(a0));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KJob* a0;
        KIO::Job *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KIO::Job::removeSubjob(a0) : sipCpp->removeSubjob(a0));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_KIO_Job)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KCompositeJob)->ctd_cast((KCompositeJob *)(KIO::Job *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KIO_Job(void *, int);}
static void release_KIO_Job(void *sipCppV,int)
{
    KIO::Job *sipCpp = reinterpret_cast<KIO::Job *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


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

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


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

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KIO_Job[] = {{32, 3, 1}};


static PyMethodDef methods_KIO_Job[] = {
    {SIP_MLNAME_CAST(sipName_addMetaData), meth_KIO_Job_addMetaData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addSubjob), meth_KIO_Job_addSubjob, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_detailedErrorStrings), meth_KIO_Job_detailedErrorStrings, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_doKill), meth_KIO_Job_doKill, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_doResume), meth_KIO_Job_doResume, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_doSuspend), meth_KIO_Job_doSuspend, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_errorString), meth_KIO_Job_errorString, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isInteractive), meth_KIO_Job_isInteractive, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mergeMetaData), meth_KIO_Job_mergeMetaData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_metaData), meth_KIO_Job_metaData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_outgoingMetaData), meth_KIO_Job_outgoingMetaData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_parentJob), meth_KIO_Job_parentJob, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_queryMetaData), meth_KIO_Job_queryMetaData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_removeSubjob), meth_KIO_Job_removeSubjob, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMetaData), meth_KIO_Job_setMetaData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setParentJob), meth_KIO_Job_setParentJob, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showErrorDialog), meth_KIO_Job_showErrorDialog, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_start), meth_KIO_Job_start, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_ui), meth_KIO_Job_ui, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KIO_Job[] = {
    {"connected(KIO::Job*)", 0, 0, 0},
    {"canceled(KJob*)", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kio_KIO_Job = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KIO__Job,
        {0}
    },
    {
        sipNameNr_Job,
        {101, 255, 0},
        19, methods_KIO_Job,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KIO_Job,
    0,
    init_type_KIO_Job,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KIO_Job,
    0,
    0,
    0,
    release_KIO_Job,
    cast_KIO_Job,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KIO::Job::staticMetaObject,
    0,
    signals_KIO_Job,
};

#line 71 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kio/authinfo.sip"
#include <authinfo.h>
#line 11575 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"

#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 11579 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qmap.sip"
#include <qmap.h>
#line 11582 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 77 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 11585 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 56 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 11588 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"


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

    return NULL;
}


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

    delete reinterpret_cast<KIO::NetRC::AutoLogin *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KIO_NetRC_AutoLogin(void *, SIP_SSIZE_T, const void *);}
static void assign_KIO_NetRC_AutoLogin(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<KIO::NetRC::AutoLogin *>(sipDst)[sipDstIdx] = *reinterpret_cast<const KIO::NetRC::AutoLogin *>(sipSrc);
}


extern "C" {static void *array_KIO_NetRC_AutoLogin(SIP_SSIZE_T);}
static void *array_KIO_NetRC_AutoLogin(SIP_SSIZE_T sipNrElem)
{
    return new KIO::NetRC::AutoLogin[sipNrElem];
}


extern "C" {static void *copy_KIO_NetRC_AutoLogin(const void *, SIP_SSIZE_T);}
static void *copy_KIO_NetRC_AutoLogin(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new KIO::NetRC::AutoLogin(reinterpret_cast<const KIO::NetRC::AutoLogin *>(sipSrc)[sipSrcIdx]);
}


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


extern "C" {static void *init_type_KIO_NetRC_AutoLogin(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KIO_NetRC_AutoLogin(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    KIO::NetRC::AutoLogin *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KIO::NetRC::AutoLogin();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const KIO::NetRC::AutoLogin* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_KIO_NetRC_AutoLogin, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KIO::NetRC::AutoLogin(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static PyObject *varget_KIO_NetRC_AutoLogin_login(void *, PyObject *, PyObject *);}
static PyObject *varget_KIO_NetRC_AutoLogin_login(void *sipSelf, PyObject *, PyObject *)
{
    QString*sipVal;
    KIO::NetRC::AutoLogin *sipCpp = reinterpret_cast<KIO::NetRC::AutoLogin *>(sipSelf);

    sipVal = &sipCpp->login;

    return sipConvertFromType(sipVal, sipType_QString, NULL);
}


extern "C" {static int varset_KIO_NetRC_AutoLogin_login(void *, PyObject *, PyObject *);}
static int varset_KIO_NetRC_AutoLogin_login(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QString*sipVal;
    KIO::NetRC::AutoLogin *sipCpp = reinterpret_cast<KIO::NetRC::AutoLogin *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QString *>(sipForceConvertToType(sipPy,sipType_QString,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->login = *sipVal;

    sipReleaseType(sipVal, sipType_QString, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_KIO_NetRC_AutoLogin_macdef(void *, PyObject *, PyObject *);}
static PyObject *varget_KIO_NetRC_AutoLogin_macdef(void *sipSelf, PyObject *, PyObject *)
{
    QMap<QString,QStringList>*sipVal;
    KIO::NetRC::AutoLogin *sipCpp = reinterpret_cast<KIO::NetRC::AutoLogin *>(sipSelf);

    sipVal = &sipCpp->macdef;

    return sipConvertFromType(sipVal, sipType_QMap_0100QString_0100QStringList, NULL);
}


extern "C" {static int varset_KIO_NetRC_AutoLogin_macdef(void *, PyObject *, PyObject *);}
static int varset_KIO_NetRC_AutoLogin_macdef(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QMap<QString,QStringList>*sipVal;
    KIO::NetRC::AutoLogin *sipCpp = reinterpret_cast<KIO::NetRC::AutoLogin *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QMap<QString,QStringList> *>(sipForceConvertToType(sipPy,sipType_QMap_0100QString_0100QStringList,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->macdef = *sipVal;

    sipReleaseType(sipVal, sipType_QMap_0100QString_0100QStringList, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_KIO_NetRC_AutoLogin_machine(void *, PyObject *, PyObject *);}
static PyObject *varget_KIO_NetRC_AutoLogin_machine(void *sipSelf, PyObject *, PyObject *)
{
    QString*sipVal;
    KIO::NetRC::AutoLogin *sipCpp = reinterpret_cast<KIO::NetRC::AutoLogin *>(sipSelf);

    sipVal = &sipCpp->machine;

    return sipConvertFromType(sipVal, sipType_QString, NULL);
}


extern "C" {static int varset_KIO_NetRC_AutoLogin_machine(void *, PyObject *, PyObject *);}
static int varset_KIO_NetRC_AutoLogin_machine(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QString*sipVal;
    KIO::NetRC::AutoLogin *sipCpp = reinterpret_cast<KIO::NetRC::AutoLogin *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QString *>(sipForceConvertToType(sipPy,sipType_QString,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->machine = *sipVal;

    sipReleaseType(sipVal, sipType_QString, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_KIO_NetRC_AutoLogin_password(void *, PyObject *, PyObject *);}
static PyObject *varget_KIO_NetRC_AutoLogin_password(void *sipSelf, PyObject *, PyObject *)
{
    QString*sipVal;
    KIO::NetRC::AutoLogin *sipCpp = reinterpret_cast<KIO::NetRC::AutoLogin *>(sipSelf);

    sipVal = &sipCpp->password;

    return sipConvertFromType(sipVal, sipType_QString, NULL);
}


extern "C" {static int varset_KIO_NetRC_AutoLogin_password(void *, PyObject *, PyObject *);}
static int varset_KIO_NetRC_AutoLogin_password(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QString*sipVal;
    KIO::NetRC::AutoLogin *sipCpp = reinterpret_cast<KIO::NetRC::AutoLogin *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QString *>(sipForceConvertToType(sipPy,sipType_QString,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->password = *sipVal;

    sipReleaseType(sipVal, sipType_QString, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_KIO_NetRC_AutoLogin_type(void *, PyObject *, PyObject *);}
static PyObject *varget_KIO_NetRC_AutoLogin_type(void *sipSelf, PyObject *, PyObject *)
{
    QString*sipVal;
    KIO::NetRC::AutoLogin *sipCpp = reinterpret_cast<KIO::NetRC::AutoLogin *>(sipSelf);

    sipVal = &sipCpp->type;

    return sipConvertFromType(sipVal, sipType_QString, NULL);
}


extern "C" {static int varset_KIO_NetRC_AutoLogin_type(void *, PyObject *, PyObject *);}
static int varset_KIO_NetRC_AutoLogin_type(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QString*sipVal;
    KIO::NetRC::AutoLogin *sipCpp = reinterpret_cast<KIO::NetRC::AutoLogin *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QString *>(sipForceConvertToType(sipPy,sipType_QString,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->type = *sipVal;

    sipReleaseType(sipVal, sipType_QString, sipValState);

    return 0;
}

sipVariableDef variables_KIO_NetRC_AutoLogin[] = {
    {InstanceVariable, sipName_login, (PyMethodDef *)varget_KIO_NetRC_AutoLogin_login, (PyMethodDef *)varset_KIO_NetRC_AutoLogin_login, NULL, NULL},
    {InstanceVariable, sipName_macdef, (PyMethodDef *)varget_KIO_NetRC_AutoLogin_macdef, (PyMethodDef *)varset_KIO_NetRC_AutoLogin_macdef, NULL, NULL},
    {InstanceVariable, sipName_machine, (PyMethodDef *)varget_KIO_NetRC_AutoLogin_machine, (PyMethodDef *)varset_KIO_NetRC_AutoLogin_machine, NULL, NULL},
    {InstanceVariable, sipName_password, (PyMethodDef *)varget_KIO_NetRC_AutoLogin_password, (PyMethodDef *)varset_KIO_NetRC_AutoLogin_password, NULL, NULL},
    {InstanceVariable, sipName_type, (PyMethodDef *)varget_KIO_NetRC_AutoLogin_type, (PyMethodDef *)varset_KIO_NetRC_AutoLogin_type, NULL, NULL},
};


pyqt4ClassTypeDef sipTypeDef_kio_KIO_NetRC_AutoLogin = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KIO__NetRC__AutoLogin,
        {0}
    },
    {
        sipNameNr_AutoLogin,
        {142, 255, 0},
        0, 0,
        0, 0,
        5, variables_KIO_NetRC_AutoLogin,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_type_KIO_NetRC_AutoLogin,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KIO_NetRC_AutoLogin,
    assign_KIO_NetRC_AutoLogin,
    array_KIO_NetRC_AutoLogin,
    copy_KIO_NetRC_AutoLogin,
    release_KIO_NetRC_AutoLogin,
    cast_KIO_NetRC_AutoLogin,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 71 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kio/authinfo.sip"
#include <authinfo.h>
#line 11911 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"

#line 71 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kio/authinfo.sip"
#include <authinfo.h>
#line 11915 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"


extern "C" {static int slot_KIO_NetRC_LookUpMode___bool__(PyObject *);}
static int slot_KIO_NetRC_LookUpMode___bool__(PyObject *sipSelf)
{
    KIO::NetRC::LookUpMode *sipCpp = reinterpret_cast<KIO::NetRC::LookUpMode *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KIO_NetRC_LookUpMode));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 370 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KIO::NetRC::LookUpMode::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 11937 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KIO_NetRC_LookUpMode___ne__(PyObject *,PyObject *);}
static PyObject *slot_KIO_NetRC_LookUpMode___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    KIO::NetRC::LookUpMode *sipCpp = reinterpret_cast<KIO::NetRC::LookUpMode *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KIO_NetRC_LookUpMode));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KIO::NetRC::LookUpMode* a0;
        int a0State = 0;

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

#line 361 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KIO::NetRC::LookUpMode::Int() != a0->operator KIO::NetRC::LookUpMode::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 11971 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
            sipReleaseType(const_cast<KIO::NetRC::LookUpMode *>(a0),sipType_KIO_NetRC_LookUpMode,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


extern "C" {static PyObject *slot_KIO_NetRC_LookUpMode___eq__(PyObject *,PyObject *);}
static PyObject *slot_KIO_NetRC_LookUpMode___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    KIO::NetRC::LookUpMode *sipCpp = reinterpret_cast<KIO::NetRC::LookUpMode *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KIO_NetRC_LookUpMode));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KIO::NetRC::LookUpMode* a0;
        int a0State = 0;

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

#line 352 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KIO::NetRC::LookUpMode::Int() == a0->operator KIO::NetRC::LookUpMode::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 12011 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
            sipReleaseType(const_cast<KIO::NetRC::LookUpMode *>(a0),sipType_KIO_NetRC_LookUpMode,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


extern "C" {static PyObject *slot_KIO_NetRC_LookUpMode___invert__(PyObject *);}
static PyObject *slot_KIO_NetRC_LookUpMode___invert__(PyObject *sipSelf)
{
    KIO::NetRC::LookUpMode *sipCpp = reinterpret_cast<KIO::NetRC::LookUpMode *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KIO_NetRC_LookUpMode));

    if (!sipCpp)
        return 0;


    {
        {
            KIO::NetRC::LookUpMode*sipRes;

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

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

    return 0;
}


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

    {
        KIO::NetRC::LookUpMode* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KIO_NetRC_LookUpMode, &a0, &a0State, &a1))
        {
            KIO::NetRC::LookUpMode*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KIO::NetRC::LookUpMode((*a0 & a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KIO_NetRC_LookUpMode,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


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

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

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_KIO_NetRC_LookUpMode, &a0, &a0State, sipType_KIO_NetRC_LookUpMode, &a1, &a1State))
        {
            KIO::NetRC::LookUpMode*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KIO::NetRC::LookUpMode((*a0 ^ *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KIO_NetRC_LookUpMode,a0State);
            sipReleaseType(a1,sipType_KIO_NetRC_LookUpMode,a1State);

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

    {
        KIO::NetRC::LookUpMode* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KIO_NetRC_LookUpMode, &a0, &a0State, &a1))
        {
            KIO::NetRC::LookUpMode*sipRes = 0;

#line 346 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
        sipRes = new KIO::NetRC::LookUpMode(*a0 ^ a1);
#line 12120 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
            sipReleaseType(a0,sipType_KIO_NetRC_LookUpMode,a0State);

            return sipConvertFromNewType(sipRes,sipType_KIO_NetRC_LookUpMode,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_NetRC_LookUpMode___or__(PyObject *,PyObject *);}
static PyObject *slot_KIO_NetRC_LookUpMode___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

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

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_KIO_NetRC_LookUpMode, &a0, &a0State, sipType_KIO_NetRC_LookUpMode, &a1, &a1State))
        {
            KIO::NetRC::LookUpMode*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KIO::NetRC::LookUpMode((*a0 | *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KIO_NetRC_LookUpMode,a0State);
            sipReleaseType(a1,sipType_KIO_NetRC_LookUpMode,a1State);

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

    {
        KIO::NetRC::LookUpMode* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KIO_NetRC_LookUpMode, &a0, &a0State, &a1))
        {
            KIO::NetRC::LookUpMode*sipRes = 0;

#line 341 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
        sipRes = new KIO::NetRC::LookUpMode(*a0 | a1);
#line 12172 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
            sipReleaseType(a0,sipType_KIO_NetRC_LookUpMode,a0State);

            return sipConvertFromNewType(sipRes,sipType_KIO_NetRC_LookUpMode,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_NetRC_LookUpMode___int__(PyObject *);}
static PyObject *slot_KIO_NetRC_LookUpMode___int__(PyObject *sipSelf)
{
    KIO::NetRC::LookUpMode *sipCpp = reinterpret_cast<KIO::NetRC::LookUpMode *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KIO_NetRC_LookUpMode));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


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

    KIO::NetRC::LookUpMode *sipCpp = reinterpret_cast<KIO::NetRC::LookUpMode *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KIO_NetRC_LookUpMode));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        KIO::NetRC::LookUpMode* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KIO_NetRC_LookUpMode, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KIO::NetRC::LookUpMode::operator^=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KIO_NetRC_LookUpMode,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    KIO::NetRC::LookUpMode *sipCpp = reinterpret_cast<KIO::NetRC::LookUpMode *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KIO_NetRC_LookUpMode));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        KIO::NetRC::LookUpMode* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KIO_NetRC_LookUpMode, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KIO::NetRC::LookUpMode::operator|=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KIO_NetRC_LookUpMode,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    KIO::NetRC::LookUpMode *sipCpp = reinterpret_cast<KIO::NetRC::LookUpMode *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KIO_NetRC_LookUpMode));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KIO::NetRC::LookUpMode::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_NetRC_LookUpMode(void *, const sipTypeDef *);}
static void *cast_KIO_NetRC_LookUpMode(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_KIO_NetRC_LookUpMode)
        return ptr;

    return NULL;
}


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

    delete reinterpret_cast<KIO::NetRC::LookUpMode *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KIO_NetRC_LookUpMode(void *, SIP_SSIZE_T, const void *);}
static void assign_KIO_NetRC_LookUpMode(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<KIO::NetRC::LookUpMode *>(sipDst)[sipDstIdx] = *reinterpret_cast<const KIO::NetRC::LookUpMode *>(sipSrc);
}


extern "C" {static void *array_KIO_NetRC_LookUpMode(SIP_SSIZE_T);}
static void *array_KIO_NetRC_LookUpMode(SIP_SSIZE_T sipNrElem)
{
    return new KIO::NetRC::LookUpMode[sipNrElem];
}


extern "C" {static void *copy_KIO_NetRC_LookUpMode(const void *, SIP_SSIZE_T);}
static void *copy_KIO_NetRC_LookUpMode(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new KIO::NetRC::LookUpMode(reinterpret_cast<const KIO::NetRC::LookUpMode *>(sipSrc)[sipSrcIdx]);
}


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


extern "C" {static void *init_type_KIO_NetRC_LookUpMode(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KIO_NetRC_LookUpMode(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    KIO::NetRC::LookUpMode *sipCpp = 0;

    {
        const KIO::NetRC::LookUpMode* a0;
        int a0State = 0;

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

            return sipCpp;
        }
    }

    {
        int a0;

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

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KIO::NetRC::LookUpMode();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


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

#line 379 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a KIO::NetRC::LookUpMode is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KIO_NetRC_LookUpModeFlag)) ||
            sipCanConvertToType(sipPy, sipType_KIO_NetRC_LookUpMode, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KIO_NetRC_LookUpModeFlag)))
{
    *sipCppPtr = new KIO::NetRC::LookUpMode(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<KIO::NetRC::LookUpMode *>(sipConvertToType(sipPy, sipType_KIO_NetRC_LookUpMode, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 12467 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_KIO_NetRC_LookUpMode[] = {
    {(void *)slot_KIO_NetRC_LookUpMode___bool__, bool_slot},
    {(void *)slot_KIO_NetRC_LookUpMode___ne__, ne_slot},
    {(void *)slot_KIO_NetRC_LookUpMode___eq__, eq_slot},
    {(void *)slot_KIO_NetRC_LookUpMode___invert__, invert_slot},
    {(void *)slot_KIO_NetRC_LookUpMode___and__, and_slot},
    {(void *)slot_KIO_NetRC_LookUpMode___xor__, xor_slot},
    {(void *)slot_KIO_NetRC_LookUpMode___or__, or_slot},
    {(void *)slot_KIO_NetRC_LookUpMode___int__, int_slot},
    {(void *)slot_KIO_NetRC_LookUpMode___ixor__, ixor_slot},
    {(void *)slot_KIO_NetRC_LookUpMode___ior__, ior_slot},
    {(void *)slot_KIO_NetRC_LookUpMode___iand__, iand_slot},
    {0, (sipPySlotType)0}
};


pyqt4ClassTypeDef sipTypeDef_kio_KIO_NetRC_LookUpMode = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KIO__NetRC__LookUpMode,
        {0}
    },
    {
        sipNameNr_LookUpMode,
        {142, 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_NetRC_LookUpMode,
    init_type_KIO_NetRC_LookUpMode,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KIO_NetRC_LookUpMode,
    assign_KIO_NetRC_LookUpMode,
    array_KIO_NetRC_LookUpMode,
    copy_KIO_NetRC_LookUpMode,
    release_KIO_NetRC_LookUpMode,
    cast_KIO_NetRC_LookUpMode,
    convertTo_KIO_NetRC_LookUpMode,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0
};

#line 71 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kio/authinfo.sip"
#include <authinfo.h>
#line 12543 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"

#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 12547 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 71 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kio/authinfo.sip"
#include <authinfo.h>
#line 12550 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 12553 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 71 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kio/authinfo.sip"
#include <authinfo.h>
#line 12556 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"


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

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KIO::NetRC*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::NetRC::self();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KIO::NetRC *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1", &sipSelf, sipType_KIO_NetRC, &sipCpp, sipType_QString,&a0, &a0State))
        {
            int sipRes;

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

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        KIO::NetRC *sipCpp;

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

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KUrl* a0;
        KIO::NetRC::AutoLogin* a1;
        bool a2;
        const QString* a3;
        int a3State = 0;
        KIO::NetRC::LookUpMode* a4;
        int a4State = 0;
        KIO::NetRC *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J9bJ1J1", &sipSelf, sipType_KIO_NetRC, &sipCpp, sipType_KUrl, &a0, sipType_KIO_NetRC_AutoLogin, &a1, &a2, sipType_QString,&a3, &a3State, sipType_KIO_NetRC_LookUpMode, &a4, &a4State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->lookup(*a0,*a1,a2,*a3,*a4);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);
            sipReleaseType(a4,sipType_KIO_NetRC_LookUpMode,a4State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    return NULL;
}


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


static PyMethodDef methods_KIO_NetRC[] = {
    {SIP_MLNAME_CAST(sipName_lookup), meth_KIO_NetRC_lookup, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_openf), meth_KIO_NetRC_openf, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_parse), meth_KIO_NetRC_parse, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_reload), meth_KIO_NetRC_reload, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_self), meth_KIO_NetRC_self, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KIO_NetRC[] = {
    {sipName_defaultOnly, static_cast<int>(KIO::NetRC::defaultOnly), 145},
    {sipName_exactOnly, static_cast<int>(KIO::NetRC::exactOnly), 145},
    {sipName_presetOnly, static_cast<int>(KIO::NetRC::presetOnly), 145},
};


pyqt4ClassTypeDef sipTypeDef_kio_KIO_NetRC = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KIO__NetRC,
        {0}
    },
    {
        sipNameNr_NetRC,
        {101, 255, 0},
        5, methods_KIO_NetRC,
        3, enummembers_KIO_NetRC,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    0,
    0,
    0,
    0,
    release_KIO_NetRC,
    cast_KIO_NetRC,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kio/authinfo.sip"
#include <authinfo.h>
#line 12792 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"

#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 12796 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 12799 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 274 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 12802 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"


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

    {
        const KIO::AuthInfo *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isModified();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        KIO::AuthInfo *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_KIO_AuthInfo, &sipCpp, sipType_QString,&a0, &a0State, sipType_QVariant,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setExtraField(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QVariant *>(a1),sipType_QVariant,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QString* a0;
        int a0State = 0;
        KIO::AuthInfo::FieldFlags a1;
        KIO::AuthInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1E", &sipSelf, sipType_KIO_AuthInfo, &sipCpp, sipType_QString,&a0, &a0State, sipType_KIO_AuthInfo_FieldFlags, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setExtraFieldFlags(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

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

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

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KIO_AuthInfo, &sipCpp, sipType_QString,&a0, &a0State))
        {
            KIO::AuthInfo::FieldFlags sipRes;

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

            return sipConvertFromEnum(sipRes,sipType_KIO_AuthInfo_FieldFlags);
        }
    }

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

    return NULL;
}


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

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            KIO::AuthInfo::registerMetaTypes();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


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


extern "C" {static void *array_KIO_AuthInfo(SIP_SSIZE_T);}
static void *array_KIO_AuthInfo(SIP_SSIZE_T sipNrElem)
{
    return new KIO::AuthInfo[sipNrElem];
}


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


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


extern "C" {static void *init_type_KIO_AuthInfo(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KIO_AuthInfo(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    KIO::AuthInfo *sipCpp = 0;

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

            return sipCpp;
        }
    }

    {
        const KIO::AuthInfo* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_KIO_AuthInfo, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KIO::AuthInfo(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_KIO_AuthInfo[] = {
    {SIP_MLNAME_CAST(sipName_getExtraField), meth_KIO_AuthInfo_getExtraField, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_getExtraFieldFlags), meth_KIO_AuthInfo_getExtraFieldFlags, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isModified), meth_KIO_AuthInfo_isModified, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_registerMetaTypes), meth_KIO_AuthInfo_registerMetaTypes, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setExtraField), meth_KIO_AuthInfo_setExtraField, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setExtraFieldFlags), meth_KIO_AuthInfo_setExtraFieldFlags, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setModified), meth_KIO_AuthInfo_setModified, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KIO_AuthInfo[] = {
    {sipName_ExtraFieldMandatory, static_cast<int>(KIO::AuthInfo::ExtraFieldMandatory), 105},
    {sipName_ExtraFieldNoFlags, static_cast<int>(KIO::AuthInfo::ExtraFieldNoFlags), 105},
    {sipName_ExtraFieldReadOnly, static_cast<int>(KIO::AuthInfo::ExtraFieldReadOnly), 105},
};


extern "C" {static PyObject *varget_KIO_AuthInfo_caption(void *, PyObject *, PyObject *);}
static PyObject *varget_KIO_AuthInfo_caption(void *sipSelf, PyObject *, PyObject *)
{
    QString*sipVal;
    KIO::AuthInfo *sipCpp = reinterpret_cast<KIO::AuthInfo *>(sipSelf);

    sipVal = &sipCpp->caption;

    return sipConvertFromType(sipVal, sipType_QString, NULL);
}


extern "C" {static int varset_KIO_AuthInfo_caption(void *, PyObject *, PyObject *);}
static int varset_KIO_AuthInfo_caption(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QString*sipVal;
    KIO::AuthInfo *sipCpp = reinterpret_cast<KIO::AuthInfo *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QString *>(sipForceConvertToType(sipPy,sipType_QString,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->caption = *sipVal;

    sipReleaseType(sipVal, sipType_QString, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_KIO_AuthInfo_comment(void *, PyObject *, PyObject *);}
static PyObject *varget_KIO_AuthInfo_comment(void *sipSelf, PyObject *, PyObject *)
{
    QString*sipVal;
    KIO::AuthInfo *sipCpp = reinterpret_cast<KIO::AuthInfo *>(sipSelf);

    sipVal = &sipCpp->comment;

    return sipConvertFromType(sipVal, sipType_QString, NULL);
}


extern "C" {static int varset_KIO_AuthInfo_comment(void *, PyObject *, PyObject *);}
static int varset_KIO_AuthInfo_comment(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QString*sipVal;
    KIO::AuthInfo *sipCpp = reinterpret_cast<KIO::AuthInfo *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QString *>(sipForceConvertToType(sipPy,sipType_QString,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->comment = *sipVal;

    sipReleaseType(sipVal, sipType_QString, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_KIO_AuthInfo_commentLabel(void *, PyObject *, PyObject *);}
static PyObject *varget_KIO_AuthInfo_commentLabel(void *sipSelf, PyObject *, PyObject *)
{
    QString*sipVal;
    KIO::AuthInfo *sipCpp = reinterpret_cast<KIO::AuthInfo *>(sipSelf);

    sipVal = &sipCpp->commentLabel;

    return sipConvertFromType(sipVal, sipType_QString, NULL);
}


extern "C" {static int varset_KIO_AuthInfo_commentLabel(void *, PyObject *, PyObject *);}
static int varset_KIO_AuthInfo_commentLabel(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QString*sipVal;
    KIO::AuthInfo *sipCpp = reinterpret_cast<KIO::AuthInfo *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QString *>(sipForceConvertToType(sipPy,sipType_QString,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->commentLabel = *sipVal;

    sipReleaseType(sipVal, sipType_QString, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_KIO_AuthInfo_digestInfo(void *, PyObject *, PyObject *);}
static PyObject *varget_KIO_AuthInfo_digestInfo(void *sipSelf, PyObject *, PyObject *)
{
    QString*sipVal;
    KIO::AuthInfo *sipCpp = reinterpret_cast<KIO::AuthInfo *>(sipSelf);

    sipVal = &sipCpp->digestInfo;

    return sipConvertFromType(sipVal, sipType_QString, NULL);
}


extern "C" {static int varset_KIO_AuthInfo_digestInfo(void *, PyObject *, PyObject *);}
static int varset_KIO_AuthInfo_digestInfo(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QString*sipVal;
    KIO::AuthInfo *sipCpp = reinterpret_cast<KIO::AuthInfo *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QString *>(sipForceConvertToType(sipPy,sipType_QString,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->digestInfo = *sipVal;

    sipReleaseType(sipVal, sipType_QString, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_KIO_AuthInfo_keepPassword(void *, PyObject *, PyObject *);}
static PyObject *varget_KIO_AuthInfo_keepPassword(void *sipSelf, PyObject *, PyObject *)
{
    bool sipVal;
    KIO::AuthInfo *sipCpp = reinterpret_cast<KIO::AuthInfo *>(sipSelf);

    sipVal = sipCpp->keepPassword;

    return PyBool_FromLong(sipVal);
}


extern "C" {static int varset_KIO_AuthInfo_keepPassword(void *, PyObject *, PyObject *);}
static int varset_KIO_AuthInfo_keepPassword(void *sipSelf, PyObject *sipPy, PyObject *)
{
    bool sipVal;
    KIO::AuthInfo *sipCpp = reinterpret_cast<KIO::AuthInfo *>(sipSelf);

    sipVal = (bool)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->keepPassword = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_KIO_AuthInfo_password(void *, PyObject *, PyObject *);}
static PyObject *varget_KIO_AuthInfo_password(void *sipSelf, PyObject *, PyObject *)
{
    QString*sipVal;
    KIO::AuthInfo *sipCpp = reinterpret_cast<KIO::AuthInfo *>(sipSelf);

    sipVal = &sipCpp->password;

    return sipConvertFromType(sipVal, sipType_QString, NULL);
}


extern "C" {static int varset_KIO_AuthInfo_password(void *, PyObject *, PyObject *);}
static int varset_KIO_AuthInfo_password(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QString*sipVal;
    KIO::AuthInfo *sipCpp = reinterpret_cast<KIO::AuthInfo *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QString *>(sipForceConvertToType(sipPy,sipType_QString,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->password = *sipVal;

    sipReleaseType(sipVal, sipType_QString, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_KIO_AuthInfo_prompt(void *, PyObject *, PyObject *);}
static PyObject *varget_KIO_AuthInfo_prompt(void *sipSelf, PyObject *, PyObject *)
{
    QString*sipVal;
    KIO::AuthInfo *sipCpp = reinterpret_cast<KIO::AuthInfo *>(sipSelf);

    sipVal = &sipCpp->prompt;

    return sipConvertFromType(sipVal, sipType_QString, NULL);
}


extern "C" {static int varset_KIO_AuthInfo_prompt(void *, PyObject *, PyObject *);}
static int varset_KIO_AuthInfo_prompt(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QString*sipVal;
    KIO::AuthInfo *sipCpp = reinterpret_cast<KIO::AuthInfo *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QString *>(sipForceConvertToType(sipPy,sipType_QString,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->prompt = *sipVal;

    sipReleaseType(sipVal, sipType_QString, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_KIO_AuthInfo_readOnly(void *, PyObject *, PyObject *);}
static PyObject *varget_KIO_AuthInfo_readOnly(void *sipSelf, PyObject *, PyObject *)
{
    bool sipVal;
    KIO::AuthInfo *sipCpp = reinterpret_cast<KIO::AuthInfo *>(sipSelf);

    sipVal = sipCpp->readOnly;

    return PyBool_FromLong(sipVal);
}


extern "C" {static int varset_KIO_AuthInfo_readOnly(void *, PyObject *, PyObject *);}
static int varset_KIO_AuthInfo_readOnly(void *sipSelf, PyObject *sipPy, PyObject *)
{
    bool sipVal;
    KIO::AuthInfo *sipCpp = reinterpret_cast<KIO::AuthInfo *>(sipSelf);

    sipVal = (bool)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->readOnly = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_KIO_AuthInfo_realmValue(void *, PyObject *, PyObject *);}
static PyObject *varget_KIO_AuthInfo_realmValue(void *sipSelf, PyObject *, PyObject *)
{
    QString*sipVal;
    KIO::AuthInfo *sipCpp = reinterpret_cast<KIO::AuthInfo *>(sipSelf);

    sipVal = &sipCpp->realmValue;

    return sipConvertFromType(sipVal, sipType_QString, NULL);
}


extern "C" {static int varset_KIO_AuthInfo_realmValue(void *, PyObject *, PyObject *);}
static int varset_KIO_AuthInfo_realmValue(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QString*sipVal;
    KIO::AuthInfo *sipCpp = reinterpret_cast<KIO::AuthInfo *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QString *>(sipForceConvertToType(sipPy,sipType_QString,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->realmValue = *sipVal;

    sipReleaseType(sipVal, sipType_QString, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_KIO_AuthInfo_url(void *, PyObject *, PyObject *);}
static PyObject *varget_KIO_AuthInfo_url(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    KUrl*sipVal;
    KIO::AuthInfo *sipCpp = reinterpret_cast<KIO::AuthInfo *>(sipSelf);

    sipVal = &sipCpp->url;

    sipPy = sipConvertFromType(sipVal, sipType_KUrl, NULL);
    sipKeepReference(sipPy, -1, sipPySelf);

    return sipPy;
}


extern "C" {static int varset_KIO_AuthInfo_url(void *, PyObject *, PyObject *);}
static int varset_KIO_AuthInfo_url(void *sipSelf, PyObject *sipPy, PyObject *)
{
    KUrl*sipVal;
    KIO::AuthInfo *sipCpp = reinterpret_cast<KIO::AuthInfo *>(sipSelf);

    int sipIsErr = 0;

    sipVal = reinterpret_cast<KUrl *>(sipForceConvertToType(sipPy,sipType_KUrl,NULL,SIP_NOT_NONE,NULL,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->url = *sipVal;

    return 0;
}


extern "C" {static PyObject *varget_KIO_AuthInfo_username(void *, PyObject *, PyObject *);}
static PyObject *varget_KIO_AuthInfo_username(void *sipSelf, PyObject *, PyObject *)
{
    QString*sipVal;
    KIO::AuthInfo *sipCpp = reinterpret_cast<KIO::AuthInfo *>(sipSelf);

    sipVal = &sipCpp->username;

    return sipConvertFromType(sipVal, sipType_QString, NULL);
}


extern "C" {static int varset_KIO_AuthInfo_username(void *, PyObject *, PyObject *);}
static int varset_KIO_AuthInfo_username(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QString*sipVal;
    KIO::AuthInfo *sipCpp = reinterpret_cast<KIO::AuthInfo *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QString *>(sipForceConvertToType(sipPy,sipType_QString,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->username = *sipVal;

    sipReleaseType(sipVal, sipType_QString, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_KIO_AuthInfo_verifyPath(void *, PyObject *, PyObject *);}
static PyObject *varget_KIO_AuthInfo_verifyPath(void *sipSelf, PyObject *, PyObject *)
{
    bool sipVal;
    KIO::AuthInfo *sipCpp = reinterpret_cast<KIO::AuthInfo *>(sipSelf);

    sipVal = sipCpp->verifyPath;

    return PyBool_FromLong(sipVal);
}


extern "C" {static int varset_KIO_AuthInfo_verifyPath(void *, PyObject *, PyObject *);}
static int varset_KIO_AuthInfo_verifyPath(void *sipSelf, PyObject *sipPy, PyObject *)
{
    bool sipVal;
    KIO::AuthInfo *sipCpp = reinterpret_cast<KIO::AuthInfo *>(sipSelf);

    sipVal = (bool)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->verifyPath = sipVal;

    return 0;
}

sipVariableDef variables_KIO_AuthInfo[] = {
    {InstanceVariable, sipName_caption, (PyMethodDef *)varget_KIO_AuthInfo_caption, (PyMethodDef *)varset_KIO_AuthInfo_caption, NULL, NULL},
    {InstanceVariable, sipName_comment, (PyMethodDef *)varget_KIO_AuthInfo_comment, (PyMethodDef *)varset_KIO_AuthInfo_comment, NULL, NULL},
    {InstanceVariable, sipName_commentLabel, (PyMethodDef *)varget_KIO_AuthInfo_commentLabel, (PyMethodDef *)varset_KIO_AuthInfo_commentLabel, NULL, NULL},
    {InstanceVariable, sipName_digestInfo, (PyMethodDef *)varget_KIO_AuthInfo_digestInfo, (PyMethodDef *)varset_KIO_AuthInfo_digestInfo, NULL, NULL},
    {InstanceVariable, sipName_keepPassword, (PyMethodDef *)varget_KIO_AuthInfo_keepPassword, (PyMethodDef *)varset_KIO_AuthInfo_keepPassword, NULL, NULL},
    {InstanceVariable, sipName_password, (PyMethodDef *)varget_KIO_AuthInfo_password, (PyMethodDef *)varset_KIO_AuthInfo_password, NULL, NULL},
    {InstanceVariable, sipName_prompt, (PyMethodDef *)varget_KIO_AuthInfo_prompt, (PyMethodDef *)varset_KIO_AuthInfo_prompt, NULL, NULL},
    {InstanceVariable, sipName_readOnly, (PyMethodDef *)varget_KIO_AuthInfo_readOnly, (PyMethodDef *)varset_KIO_AuthInfo_readOnly, NULL, NULL},
    {InstanceVariable, sipName_realmValue, (PyMethodDef *)varget_KIO_AuthInfo_realmValue, (PyMethodDef *)varset_KIO_AuthInfo_realmValue, NULL, NULL},
    {InstanceVariable, sipName_url, (PyMethodDef *)varget_KIO_AuthInfo_url, (PyMethodDef *)varset_KIO_AuthInfo_url, NULL, NULL},
    {InstanceVariable, sipName_username, (PyMethodDef *)varget_KIO_AuthInfo_username, (PyMethodDef *)varset_KIO_AuthInfo_username, NULL, NULL},
    {InstanceVariable, sipName_verifyPath, (PyMethodDef *)varget_KIO_AuthInfo_verifyPath, (PyMethodDef *)varset_KIO_AuthInfo_verifyPath, NULL, NULL},
};


pyqt4ClassTypeDef sipTypeDef_kio_KIO_AuthInfo = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KIO__AuthInfo,
        {0}
    },
    {
        sipNameNr_AuthInfo,
        {101, 255, 0},
        7, methods_KIO_AuthInfo,
        3, enummembers_KIO_AuthInfo,
        12, variables_KIO_AuthInfo,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_type_KIO_AuthInfo,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KIO_AuthInfo,
    assign_KIO_AuthInfo,
    array_KIO_AuthInfo,
    copy_KIO_AuthInfo,
    release_KIO_AuthInfo,
    cast_KIO_AuthInfo,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};


#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kio/chmodjob.sip"
#include <chmodjob.h>
#line 13574 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 134 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kio/kfileitem.sip"
#include <kfileitem.h>
#line 13577 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 13580 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 51 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kio/copyjob.sip"
#include <copyjob.h>
#line 13583 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 13586 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 13589 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kio/davjob.sip"
#include <davjob.h>
#line 13592 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 216 "/usr/share/python3-sip/PyQt4/QtXml/qdom.sip"
#include <qdom.h>
#line 13595 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kio/deletejob.sip"
#include <deletejob.h>
#line 13598 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kio/directorysizejob.sip"
#include <directorysizejob.h>
#line 13601 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 250 "/usr/share/python3-sip/PyQt4/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 13604 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 37 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 13607 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kjobtrackerinterface.sip"
#include <kjobtrackerinterface.h>
#line 13610 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 91 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 13613 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 406 "/usr/share/python3-sip/PyQt4/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 13616 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 130 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 13619 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 172 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 13622 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kio/filejob.sip"
#include <filejob.h>
#line 13625 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 13628 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 222 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 13631 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 248 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 13634 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 188 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kio/global.sip"
#include<qmap.h>
#line 13637 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 282 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 13640 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 305 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 13643 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 339 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 13646 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 13649 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kio/metainfojob.sip"
#include <metainfojob.h>
#include <kfileitem.h>
#include <jobclasses.h>
#line 13654 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 43 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 13657 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 13660 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 13663 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kio/previewjob.sip"
#include <previewjob.h>
#line 13666 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 13669 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 13672 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kio/sipkiopart7.cpp"


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

    {
        const KFileItemList* a0;
        int a1;
        int a2 = 0;
        int a3 = 0;
        int a4 = 70;
        bool a5 = 1;
        bool a6 = 1;
        const QStringList* a7 = 0;
        int a7State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9i|iiibbJ0", sipType_KFileItemList, &a0, &a1, &a2, &a3, &a4, &a5, &a6, sipType_QStringList,&a7, &a7State))
        {
            KIO::PreviewJob*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::filePreview(*a0,a1,a2,a3,a4,a5,a6,a7);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QStringList *>(a7),sipType_QStringList,a7State);

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

    {
        const KUrl::List* a0;
        int a1;
        int a2 = 0;
        int a3 = 0;
        int a4 = 70;
        bool a5 = 1;
        bool a6 = 1;
        const QStringList* a7 = 0;
        int a7State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9i|iiibbJ0", sipType_KUrl_List, &a0, &a1, &a2, &a3, &a4, &a5, &a6, sipType_QStringList,&a7, &a7State))
        {
            KIO::PreviewJob*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::filePreview(*a0,a1,a2,a3,a4,a5,a6,a7);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QStringList *>(a7),sipType_QStringList,a7State);

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

    {
        const KFileItemList* a0;
        const QSize* a1;
        const QStringList* a2 = 0;
        int a2State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9J9|J0", sipType_KFileItemList, &a0, sipType_QSize, &a1, sipType_QStringList,&a2, &a2State))
        {
            KIO::PreviewJob*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::filePreview(*a0,*a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QStringList *>(a2),sipType_QStringList,a2State);

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

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

    return NULL;
}


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

    {
        const QMimeData* a0;
        const KUrl* a1;
        const QString* a2;
        int a2State = 0;
        QWidget* a3;

        if (sipParseArgs(&sipParseErr, sipArgs, "J8J9J1J8", sipType_QMimeData, &a0, sipType_KUrl, &a1, sipType_QString,&a2, &a2State, sipType_QWidget, &a3))
        {
            KIO::Job*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::pasteMimeData(a0,*a1,*a2,a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

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

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

    return NULL;
}


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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KIO::pasteActionText());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const QMimeData* a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J8", sipType_QMimeData, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::canPasteMimeSource(a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const QMimeData* a0;
        const KUrl* a1;
        const QString* a2;
        int a2State = 0;
        QWidget* a3;
        bool a4 = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J8J9J1J8|b", sipType_QMimeData, &a0, sipType_KUrl, &a1, sipType_QString,&a2, &a2State, sipType_QWidget, &a3, &a4))
        {
            KIO::CopyJob*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::pasteMimeSource(a0,*a1,*a2,a3,a4);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

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

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

    return NULL;
}


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

    {
        const KUrl* a0;
        const QByteArray* a1;
        int a1State = 0;
        QWidget* a2;
        const QString& a3def = QString();
        const QString* a3 = &a3def;
        int a3State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9J1J8|J1", sipType_KUrl, &a0, sipType_QByteArray, &a1, &a1State, sipType_QWidget, &a2, sipType_QString,&a3, &a3State))
        {
            KIO::CopyJob*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::pasteDataAsync(*a0,*a1,a2,*a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a1),sipType_QByteArray,a1State);
            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);

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

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

    return NULL;
}


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

    {
        const KUrl* a0;
        const QByteArray* a1;
        int a1State = 0;
        QWidget* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9J1J8", sipType_KUrl, &a0, sipType_QByteArray, &a1, &a1State, sipType_QWidget, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            KIO::pasteData(*a0,*a1,a2);
            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. */
    sipNoFunction(sipParseErr, sipName_pasteData, NULL);

    return NULL;
}


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

    {
        const KUrl* a0;
        QWidget* a1;
        bool a2 = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9J8|b", sipType_KUrl, &a0, sipType_QWidget, &a1, &a2))
        {
            KIO::Job*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::pasteClipboard(*a0,a1,a2);
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KFileItemList* a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9", sipType_KFileItemList, &a0))
        {
            KIO::MetaInfoJob*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::fileMetaInfo(*a0);
            Py_END_ALLOW_THREADS

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

    {
        const KUrl::List* a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9", sipType_KUrl_List, &a0))
        {
            KIO::MetaInfoJob*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::fileMetaInfo(*a0);
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KUrl* a0;
        KIO::JobFlags a1def = KIO::DefaultFlags;
        KIO::JobFlags* a1 = &a1def;
        int a1State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9|J1", sipType_KUrl, &a0, sipType_KIO_JobFlags, &a1, &a1State))
        {
            KIO::TransferJob*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::http_delete(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(a1,sipType_KIO_JobFlags,a1State);

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

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

    return NULL;
}


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

    {
        const KUrl* a0;
        KIO::JobFlags a1def = KIO::DefaultFlags;
        KIO::JobFlags* a1 = &a1def;
        int a1State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9|J1", sipType_KUrl, &a0, sipType_KIO_JobFlags, &a1, &a1State))
        {
            KIO::StatJob*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::mostLocalUrl(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(a1,sipType_KIO_JobFlags,a1State);

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

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

    return NULL;
}


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

    {
        const KUrl* a0;
        KIO::JobFlags a1def = KIO::DefaultFlags;
        KIO::JobFlags* a1 = &a1def;
        int a1State = 0;
        bool a2 = 1;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9|J1b", sipType_KUrl, &a0, sipType_KIO_JobFlags, &a1, &a1State, &a2))
        {
            KIO::ListJob*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::listRecursive(*a0,*a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(a1,sipType_KIO_JobFlags,a1State);

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

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

    return NULL;
}


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

    {
        const KUrl* a0;
        KIO::JobFlags a1def = KIO::DefaultFlags;
        KIO::JobFlags* a1 = &a1def;
        int a1State = 0;
        bool a2 = 1;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9|J1b", sipType_KUrl, &a0, sipType_KIO_JobFlags, &a1, &a1State, &a2))
        {
            KIO::ListJob*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::listDir(*a0,*a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(a1,sipType_KIO_JobFlags,a1State);

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

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

    return NULL;
}


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

    {
        const KUrl* a0;
        KIO::JobFlags a1def = KIO::DefaultFlags;
        KIO::JobFlags* a1 = &a1def;
        int a1State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9|J1", sipType_KUrl, &a0, sipType_KIO_JobFlags, &a1, &a1State))
        {
            KIO::SimpleJob*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::file_delete(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(a1,sipType_KIO_JobFlags,a1State);

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

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

    return NULL;
}


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

    {
        const KUrl* a0;
        const KUrl* a1;
        int a2 = -1;
        KIO::JobFlags a3def = KIO::DefaultFlags;
        KIO::JobFlags* a3 = &a3def;
        int a3State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9J9|iJ1", sipType_KUrl, &a0, sipType_KUrl, &a1, &a2, sipType_KIO_JobFlags, &a3, &a3State))
        {
            KIO::FileCopyJob*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::file_move(*a0,*a1,a2,*a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(a3,sipType_KIO_JobFlags,a3State);

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

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

    return NULL;
}


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

    {
        const KUrl* a0;
        const KUrl* a1;
        int a2 = -1;
        KIO::JobFlags a3def = KIO::DefaultFlags;
        KIO::JobFlags* a3 = &a3def;
        int a3State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9J9|iJ1", sipType_KUrl, &a0, sipType_KUrl, &a1, &a2, sipType_KIO_JobFlags, &a3, &a3State))
        {
            KIO::FileCopyJob*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::file_copy(*a0,*a1,a2,*a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(a3,sipType_KIO_JobFlags,a3State);

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

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

    return NULL;
}


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

    {
        const KUrl* a0;
        KIO::JobFlags a1def = KIO::DefaultFlags;
        KIO::JobFlags* a1 = &a1def;
        int a1State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9|J1", sipType_KUrl, &a0, sipType_KIO_JobFlags, &a1, &a1State))
        {
            KIO::MimetypeJob*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::mimetype(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(a1,sipType_KIO_JobFlags,a1State);

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

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

    return NULL;
}


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

    {
        long a0;
        const KUrl* a1;
        const KIO::MetaData* a2;
        int a2State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "lJ9J1", &a0, sipType_KUrl, &a1, sipType_KIO_MetaData,&a2, &a2State))
        {
            KIO::MultiGetJob*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::multi_get(a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<KIO::MetaData *>(a2),sipType_KIO_MetaData,a2State);

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

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

    return NULL;
}


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

    {
        const QByteArray* a0;
        int a0State = 0;
        const KUrl* a1;
        KIO::JobFlags a2def = KIO::DefaultFlags;
        KIO::JobFlags* a2 = &a2def;
        int a2State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1J9|J1", sipType_QByteArray, &a0, &a0State, sipType_KUrl, &a1, sipType_KIO_JobFlags, &a2, &a2State))
        {
            KIO::StoredTransferJob*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::storedHttpPost(*a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);
            sipReleaseType(a2,sipType_KIO_JobFlags,a2State);

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

    {
        QIODevice* a0;
        const KUrl* a1;
        qint64 a2 = -1;
        KIO::JobFlags a3def = KIO::DefaultFlags;
        KIO::JobFlags* a3 = &a3def;
        int a3State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J8J9|nJ1", sipType_QIODevice, &a0, sipType_KUrl, &a1, &a2, sipType_KIO_JobFlags, &a3, &a3State))
        {
            KIO::StoredTransferJob*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::storedHttpPost(a0,*a1,a2,*a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(a3,sipType_KIO_JobFlags,a3State);

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

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

    return NULL;
}


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

    {
        const QByteArray* a0;
        int a0State = 0;
        const KUrl* a1;
        int a2;
        KIO::JobFlags a3def = KIO::DefaultFlags;
        KIO::JobFlags* a3 = &a3def;
        int a3State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1J9i|J1", sipType_QByteArray, &a0, &a0State, sipType_KUrl, &a1, &a2, sipType_KIO_JobFlags, &a3, &a3State))
        {
            KIO::StoredTransferJob*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::storedPut(*a0,*a1,a2,*a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);
            sipReleaseType(a3,sipType_KIO_JobFlags,a3State);

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

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

    return NULL;
}


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

    {
        const KUrl* a0;
        KIO::LoadType a1 = KIO::NoReload;
        KIO::JobFlags a2def = KIO::DefaultFlags;
        KIO::JobFlags* a2 = &a2def;
        int a2State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9|EJ1", sipType_KUrl, &a0, sipType_KIO_LoadType, &a1, sipType_KIO_JobFlags, &a2, &a2State))
        {
            KIO::StoredTransferJob*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::storedGet(*a0,a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(a2,sipType_KIO_JobFlags,a2State);

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

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

    return NULL;
}


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

    {
        const KUrl* a0;
        const QByteArray* a1;
        int a1State = 0;
        KIO::JobFlags a2def = KIO::DefaultFlags;
        KIO::JobFlags* a2 = &a2def;
        int a2State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9J1|J1", sipType_KUrl, &a0, sipType_QByteArray, &a1, &a1State, sipType_KIO_JobFlags, &a2, &a2State))
        {
            KIO::TransferJob*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::http_post(*a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a1),sipType_QByteArray,a1State);
            sipReleaseType(a2,sipType_KIO_JobFlags,a2State);

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

    {
        const KUrl* a0;
        QIODevice* a1;
        qint64 a2 = -1;
        KIO::JobFlags a3def = KIO::DefaultFlags;
        KIO::JobFlags* a3 = &a3def;
        int a3State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9J8|nJ1", sipType_KUrl, &a0, sipType_QIODevice, &a1, &a2, sipType_KIO_JobFlags, &a3, &a3State))
        {
            KIO::TransferJob*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::http_post(*a0,a1,a2,*a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(a3,sipType_KIO_JobFlags,a3State);

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

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

    return NULL;
}


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

    {
        const KUrl* a0;
        int a1;
        KIO::JobFlags a2def = KIO::DefaultFlags;
        KIO::JobFlags* a2 = &a2def;
        int a2State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9i|J1", sipType_KUrl, &a0, &a1, sipType_KIO_JobFlags, &a2, &a2State))
        {
            KIO::TransferJob*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::put(*a0,a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(a2,sipType_KIO_JobFlags,a2State);

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "J9J1", sipType_KUrl, &a0, sipType_QIODevice_OpenMode, &a1, &a1State))
        {
            KIO::FileJob*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::open(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(a1,sipType_QIODevice_OpenMode,a1State);

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

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

    return NULL;
}


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

    {
        const KUrl* a0;
        KIO::LoadType a1 = KIO::NoReload;
        KIO::JobFlags a2def = KIO::DefaultFlags;
        KIO::JobFlags* a2 = &a2def;
        int a2State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9|EJ1", sipType_KUrl, &a0, sipType_KIO_LoadType, &a1, sipType_KIO_JobFlags, &a2, &a2State))
        {
            KIO::TransferJob*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::get(*a0,a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(a2,sipType_KIO_JobFlags,a2State);

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

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

    return NULL;
}


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

    {
        const KUrl* a0;
        KIO::JobFlags a1def = KIO::DefaultFlags;
        KIO::JobFlags* a1 = &a1def;
        int a1State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9|J1", sipType_KUrl, &a0, sipType_KIO_JobFlags, &a1, &a1State))
        {
            KIO::StatJob*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::stat(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(a1,sipType_KIO_JobFlags,a1State);

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

    {
        const KUrl* a0;
        KIO::StatJob::StatSide a1;
        short a2;
        KIO::JobFlags a3def = KIO::DefaultFlags;
        KIO::JobFlags* a3 = &a3def;
        int a3State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9Eh|J1", sipType_KUrl, &a0, sipType_KIO_StatJob_StatSide, &a1, &a2, sipType_KIO_JobFlags, &a3, &a3State))
        {
            KIO::StatJob*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::stat(*a0,a1,a2,*a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(a3,sipType_KIO_JobFlags,a3State);

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

    {
        const KUrl* a0;
        bool a1;
        short a2;
        KIO::JobFlags a3def = KIO::DefaultFlags;
        KIO::JobFlags* a3 = &a3def;
        int a3State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9Xbh|J1", sipType_KUrl, &a0, &a1, &a2, sipType_KIO_JobFlags, &a3, &a3State))
        {
            KIO::StatJob*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::stat(*a0,a1,a2,*a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(a3,sipType_KIO_JobFlags,a3State);

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

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

    return NULL;
}


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

    {
        const KUrl* a0;
        bool a1;
        time_t a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9bl", sipType_KUrl, &a0, &a1, &a2))
        {
            KIO::SimpleJob*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::http_update_cache(*a0,a1,a2);
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const QString* a0;
        int a0State = 0;
        KIO::JobFlags a1def = KIO::DefaultFlags;
        KIO::JobFlags* a1 = &a1def;
        int a1State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1|J1", sipType_QString,&a0, &a0State, sipType_KIO_JobFlags, &a1, &a1State))
        {
            KIO::SimpleJob*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::unmount(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(a1,sipType_KIO_JobFlags,a1State);

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

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

    return NULL;
}


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

    {
        bool a0;
        const QByteArray* a1;
        int a1State = 0;
        const QString* a2;
        int a2State = 0;
        const QString* a3;
        int a3State = 0;
        KIO::JobFlags a4def = KIO::DefaultFlags;
        KIO::JobFlags* a4 = &a4def;
        int a4State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "bJ1J1J1|J1", &a0, sipType_QByteArray, &a1, &a1State, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State, sipType_KIO_JobFlags, &a4, &a4State))
        {
            KIO::SimpleJob*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::mount(a0,*a1,*a2,*a3,*a4);
            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(a4,sipType_KIO_JobFlags,a4State);

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

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

    return NULL;
}


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

    {
        const KUrl* a0;
        const QByteArray* a1;
        int a1State = 0;
        KIO::JobFlags a2def = KIO::DefaultFlags;
        KIO::JobFlags* a2 = &a2def;
        int a2State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9J1|J1", sipType_KUrl, &a0, sipType_QByteArray, &a1, &a1State, sipType_KIO_JobFlags, &a2, &a2State))
        {
            KIO::SimpleJob*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::special(*a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a1),sipType_QByteArray,a1State);
            sipReleaseType(a2,sipType_KIO_JobFlags,a2State);

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

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

    return NULL;
}


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

    {
        const QString* a0;
        int a0State = 0;
        const KUrl* a1;
        KIO::JobFlags a2def = KIO::DefaultFlags;
        KIO::JobFlags* a2 = &a2def;
        int a2State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1J9|J1", sipType_QString,&a0, &a0State, sipType_KUrl, &a1, sipType_KIO_JobFlags, &a2, &a2State))
        {
            KIO::SimpleJob*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::symlink(*a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(a2,sipType_KIO_JobFlags,a2State);

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

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

    return NULL;
}


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

    {
        const KUrl* a0;
        const KUrl* a1;
        KIO::JobFlags a2def = KIO::DefaultFlags;
        KIO::JobFlags* a2 = &a2def;
        int a2State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9J9|J1", sipType_KUrl, &a0, sipType_KUrl, &a1, sipType_KIO_JobFlags, &a2, &a2State))
        {
            KIO::SimpleJob*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::rename(*a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(a2,sipType_KIO_JobFlags,a2State);

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

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

    return NULL;
}


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

    {
        const KUrl* a0;
        const QDateTime* a1;
        int a1State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9J1", sipType_KUrl, &a0, sipType_QDateTime, &a1, &a1State))
        {
            KIO::SimpleJob*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::setModificationTime(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QDateTime *>(a1),sipType_QDateTime,a1State);

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

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

    return NULL;
}


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

    {
        const KUrl* a0;
        const QString* a1;
        int a1State = 0;
        const QString* a2;
        int a2State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9J1J1", sipType_KUrl, &a0, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State))
        {
            KIO::SimpleJob*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::chown(*a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

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

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

    return NULL;
}


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

    {
        const KUrl* a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9", sipType_KUrl, &a0))
        {
            KIO::SimpleJob*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::rmdir(*a0);
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KUrl* a0;
        int a1 = -1;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9|i", sipType_KUrl, &a0, &a1))
        {
            KIO::SimpleJob*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::mkdir(*a0,a1);
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::getJobTracker();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KIO::CacheControl a0;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KIO::getCacheControlString(a0));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
            KIO::CacheControl sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::parseCacheControl(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromEnum(sipRes,sipType_KIO_CacheControl);
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "J1i", sipType_QString,&a0, &a0State, &a1))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KIO::unsupportedActionErrorString(*a0,a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

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

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

    return NULL;
}


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

    {
        int a0;
        const QString* a1;
        int a1State = 0;
        const KUrl* a2 = 0;
        int a3 = -1;

        if (sipParseArgs(&sipParseErr, sipArgs, "iJ1|J8i", &a0, sipType_QString,&a1, &a1State, sipType_KUrl, &a2, &a3))
        {
            QByteArray*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray(KIO::rawErrorDetail(a0,*a1,a2,a3));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "iJ1", &a0, sipType_QString,&a1, &a1State))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KIO::buildErrorString(a0,*a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

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

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

    return NULL;
}


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

    {
        const QString* a0;
        int a0State = 0;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KIO::decodeFileName(*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. */
    sipNoFunction(sipParseErr, sipName_decodeFileName, NULL);

    return NULL;
}


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

    {
        const QString* a0;
        int a0State = 0;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KIO::encodeFileName(*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. */
    sipNoFunction(sipParseErr, sipName_encodeFileName, NULL);

    return NULL;
}


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

    {
        uint a0;
        uint a1;
        uint a2;
        KIO::filesize_t a3;
        bool a4;

        if (sipParseArgs(&sipParseErr, sipArgs, "uuuob", &a0, &a1, &a2, &a3, &a4))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KIO::itemsSummaryString(a0,a1,a2,a3,a4));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KIO::filesize_t a0;
        KIO::filesize_t a1;
        KIO::filesize_t a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "ooo", &a0, &a1, &a2))
        {
            QTime*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QTime(KIO::calculateRemaining(a0,a1,a2));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        uint a0;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KIO::convertSeconds(a0));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KIO::filesize_t a0;
        KIO::filesize_t a1;
        KIO::filesize_t a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "ooo", &a0, &a1, &a2))
        {
            uint sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::calculateRemainingSeconds(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KIO::filesize_t a0;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KIO::convertSizeFromKiB(a0));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KIO::filesize_t a0;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KIO::number(a0));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KIO::filesize_t a0;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KIO::convertSize(a0));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KUrl* a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9", sipType_KUrl, &a0))
        {
            KIO::DirectorySizeJob*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::directorySize(*a0);
            Py_END_ALLOW_THREADS

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

    {
        const KFileItemList* a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9", sipType_KFileItemList, &a0))
        {
            KIO::DirectorySizeJob*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::directorySize(*a0);
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KUrl* a0;
        KIO::JobFlags a1def = KIO::DefaultFlags;
        KIO::JobFlags* a1 = &a1def;
        int a1State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9|J1", sipType_KUrl, &a0, sipType_KIO_JobFlags, &a1, &a1State))
        {
            KIO::DeleteJob*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::del(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(a1,sipType_KIO_JobFlags,a1State);

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

    {
        const KUrl::List* a0;
        KIO::JobFlags a1def = KIO::DefaultFlags;
        KIO::JobFlags* a1 = &a1def;
        int a1State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9|J1", sipType_KUrl_List, &a0, sipType_KIO_JobFlags, &a1, &a1State))
        {
            KIO::DeleteJob*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::del(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(a1,sipType_KIO_JobFlags,a1State);

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

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

    return NULL;
}


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

    {
        const KUrl* a0;
        const QString* a1;
        int a1State = 0;
        const QString* a2;
        int a2State = 0;
        KIO::JobFlags a3def = KIO::DefaultFlags;
        KIO::JobFlags* a3 = &a3def;
        int a3State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9J1J1|J1", sipType_KUrl, &a0, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_KIO_JobFlags, &a3, &a3State))
        {
            KIO::DavJob*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::davReport(*a0,*a1,*a2,*a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);
            sipReleaseType(a3,sipType_KIO_JobFlags,a3State);

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

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

    return NULL;
}


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

    {
        const KUrl* a0;
        const QString* a1;
        int a1State = 0;
        const QString* a2;
        int a2State = 0;
        const QString* a3;
        int a3State = 0;
        KIO::JobFlags a4def = KIO::DefaultFlags;
        KIO::JobFlags* a4 = &a4def;
        int a4State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9J1J1J1|J1", sipType_KUrl, &a0, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State, sipType_KIO_JobFlags, &a4, &a4State))
        {
            KIO::DavJob*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::davSearch(*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(a4,sipType_KIO_JobFlags,a4State);

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

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

    return NULL;
}


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

    {
        const KUrl* a0;
        const QDomDocument* a1;
        KIO::JobFlags a2def = KIO::DefaultFlags;
        KIO::JobFlags* a2 = &a2def;
        int a2State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9J9|J1", sipType_KUrl, &a0, sipType_QDomDocument, &a1, sipType_KIO_JobFlags, &a2, &a2State))
        {
            KIO::DavJob*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::davPropPatch(*a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(a2,sipType_KIO_JobFlags,a2State);

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

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

    return NULL;
}


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

    {
        const KUrl* a0;
        const QDomDocument* a1;
        const QString* a2;
        int a2State = 0;
        KIO::JobFlags a3def = KIO::DefaultFlags;
        KIO::JobFlags* a3 = &a3def;
        int a3State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9J9J1|J1", sipType_KUrl, &a0, sipType_QDomDocument, &a1, sipType_QString,&a2, &a2State, sipType_KIO_JobFlags, &a3, &a3State))
        {
            KIO::DavJob*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::davPropFind(*a0,*a1,*a2,*a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);
            sipReleaseType(a3,sipType_KIO_JobFlags,a3State);

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

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

    return NULL;
}


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

    {
        const KUrl* a0;
        KIO::JobFlags a1def = KIO::DefaultFlags;
        KIO::JobFlags* a1 = &a1def;
        int a1State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9|J1", sipType_KUrl, &a0, sipType_KIO_JobFlags, &a1, &a1State))
        {
            KIO::CopyJob*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::trash(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(a1,sipType_KIO_JobFlags,a1State);

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

    {
        const KUrl::List* a0;
        KIO::JobFlags a1def = KIO::DefaultFlags;
        KIO::JobFlags* a1 = &a1def;
        int a1State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9|J1", sipType_KUrl_List, &a0, sipType_KIO_JobFlags, &a1, &a1State))
        {
            KIO::CopyJob*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::trash(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(a1,sipType_KIO_JobFlags,a1State);

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

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

    return NULL;
}


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

    {
        const KUrl* a0;
        const KUrl* a1;
        KIO::JobFlags a2def = KIO::DefaultFlags;
        KIO::JobFlags* a2 = &a2def;
        int a2State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9J9|J1", sipType_KUrl, &a0, sipType_KUrl, &a1, sipType_KIO_JobFlags, &a2, &a2State))
        {
            KIO::CopyJob*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::linkAs(*a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(a2,sipType_KIO_JobFlags,a2State);

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

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

    return NULL;
}


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

    {
        const KUrl* a0;
        const KUrl* a1;
        KIO::JobFlags a2def = KIO::DefaultFlags;
        KIO::JobFlags* a2 = &a2def;
        int a2State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9J9|J1", sipType_KUrl, &a0, sipType_KUrl, &a1, sipType_KIO_JobFlags, &a2, &a2State))
        {
            KIO::CopyJob*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::link(*a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(a2,sipType_KIO_JobFlags,a2State);

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

    {
        const KUrl::List* a0;
        const KUrl* a1;
        KIO::JobFlags a2def = KIO::DefaultFlags;
        KIO::JobFlags* a2 = &a2def;
        int a2State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9J9|J1", sipType_KUrl_List, &a0, sipType_KUrl, &a1, sipType_KIO_JobFlags, &a2, &a2State))
        {
            KIO::CopyJob*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::link(*a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(a2,sipType_KIO_JobFlags,a2State);

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

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

    return NULL;
}


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

    {
        const KUrl* a0;
        const KUrl* a1;
        KIO::JobFlags a2def = KIO::DefaultFlags;
        KIO::JobFlags* a2 = &a2def;
        int a2State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9J9|J1", sipType_KUrl, &a0, sipType_KUrl, &a1, sipType_KIO_JobFlags, &a2, &a2State))
        {
            KIO::CopyJob*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::moveAs(*a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(a2,sipType_KIO_JobFlags,a2State);

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

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

    return NULL;
}


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

    {
        const KUrl* a0;
        const KUrl* a1;
        KIO::JobFlags a2def = KIO::DefaultFlags;
        KIO::JobFlags* a2 = &a2def;
        int a2State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9J9|J1", sipType_KUrl, &a0, sipType_KUrl, &a1, sipType_KIO_JobFlags, &a2, &a2State))
        {
            KIO::CopyJob*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::move(*a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(a2,sipType_KIO_JobFlags,a2State);

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

    {
        const KUrl::List* a0;
        const KUrl* a1;
        KIO::JobFlags a2def = KIO::DefaultFlags;
        KIO::JobFlags* a2 = &a2def;
        int a2State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9J9|J1", sipType_KUrl_List, &a0, sipType_KUrl, &a1, sipType_KIO_JobFlags, &a2, &a2State))
        {
            KIO::CopyJob*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::move(*a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(a2,sipType_KIO_JobFlags,a2State);

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

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

    return NULL;
}


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

    {
        const KUrl* a0;
        const KUrl* a1;
        KIO::JobFlags a2def = KIO::DefaultFlags;
        KIO::JobFlags* a2 = &a2def;
        int a2State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9J9|J1", sipType_KUrl, &a0, sipType_KUrl, &a1, sipType_KIO_JobFlags, &a2, &a2State))
        {
            KIO::CopyJob*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::copyAs(*a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(a2,sipType_KIO_JobFlags,a2State);

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

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

    return NULL;
}


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

    {
        const KUrl* a0;
        const KUrl* a1;
        KIO::JobFlags a2def = KIO::DefaultFlags;
        KIO::JobFlags* a2 = &a2def;
        int a2State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9J9|J1", sipType_KUrl, &a0, sipType_KUrl, &a1, sipType_KIO_JobFlags, &a2, &a2State))
        {
            KIO::CopyJob*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::copy(*a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(a2,sipType_KIO_JobFlags,a2State);

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

    {
        const KUrl::List* a0;
        const KUrl* a1;
        KIO::JobFlags a2def = KIO::DefaultFlags;
        KIO::JobFlags* a2 = &a2def;
        int a2State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9J9|J1", sipType_KUrl_List, &a0, sipType_KUrl, &a1, sipType_KIO_JobFlags, &a2, &a2State))
        {
            KIO::CopyJob*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::copy(*a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(a2,sipType_KIO_JobFlags,a2State);

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

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

    return NULL;
}


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

    {
        const KFileItemList* a0;
        int a1;
        int a2;
        const QString* a3;
        int a3State = 0;
        const QString* a4;
        int a4State = 0;
        bool a5;
        KIO::JobFlags a6def = KIO::DefaultFlags;
        KIO::JobFlags* a6 = &a6def;
        int a6State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9iiJ1J1b|J1", sipType_KFileItemList, &a0, &a1, &a2, sipType_QString,&a3, &a3State, sipType_QString,&a4, &a4State, &a5, sipType_KIO_JobFlags, &a6, &a6State))
        {
            KIO::ChmodJob*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::chmod(*a0,a1,a2,*a3,*a4,a5,*a6);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);
            sipReleaseType(const_cast<QString *>(a4),sipType_QString,a4State);
            sipReleaseType(a6,sipType_KIO_JobFlags,a6State);

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

    {
        const KUrl* a0;
        int a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9i", sipType_KUrl, &a0, &a1))
        {
            KIO::SimpleJob*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::chmod(*a0,a1);
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


static PyMethodDef methods_KIO[] = {
    {SIP_MLNAME_CAST(sipName_buildErrorString), meth_KIO_buildErrorString, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_calculateRemaining), meth_KIO_calculateRemaining, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_calculateRemainingSeconds), meth_KIO_calculateRemainingSeconds, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_canPasteMimeSource), meth_KIO_canPasteMimeSource, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_chmod), meth_KIO_chmod, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_chown), meth_KIO_chown, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_convertSeconds), meth_KIO_convertSeconds, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_convertSize), meth_KIO_convertSize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_convertSizeFromKiB), meth_KIO_convertSizeFromKiB, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_copy), meth_KIO_copy, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_copyAs), meth_KIO_copyAs, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_davPropFind), meth_KIO_davPropFind, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_davPropPatch), meth_KIO_davPropPatch, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_davReport), meth_KIO_davReport, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_davSearch), meth_KIO_davSearch, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_decodeFileName), meth_KIO_decodeFileName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_del_), meth_KIO_del_, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_directorySize), meth_KIO_directorySize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_encodeFileName), meth_KIO_encodeFileName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fileMetaInfo), meth_KIO_fileMetaInfo, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_filePreview), meth_KIO_filePreview, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_file_copy), meth_KIO_file_copy, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_file_delete), meth_KIO_file_delete, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_file_move), meth_KIO_file_move, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_get), meth_KIO_get, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_getCacheControlString), meth_KIO_getCacheControlString, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_getJobTracker), meth_KIO_getJobTracker, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_http_delete), meth_KIO_http_delete, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_http_post), meth_KIO_http_post, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_http_update_cache), meth_KIO_http_update_cache, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_itemsSummaryString), meth_KIO_itemsSummaryString, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_link), meth_KIO_link, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_linkAs), meth_KIO_linkAs, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_listDir), meth_KIO_listDir, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_listRecursive), meth_KIO_listRecursive, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mimetype), meth_KIO_mimetype, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mkdir), meth_KIO_mkdir, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mostLocalUrl), meth_KIO_mostLocalUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mount), meth_KIO_mount, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_move), meth_KIO_move, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_moveAs), meth_KIO_moveAs, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_multi_get), meth_KIO_multi_get, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_number), meth_KIO_number, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_open), meth_KIO_open, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_parseCacheControl), meth_KIO_parseCacheControl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_pasteActionText), meth_KIO_pasteActionText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_pasteClipboard), meth_KIO_pasteClipboard, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_pasteData), meth_KIO_pasteData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_pasteDataAsync), meth_KIO_pasteDataAsync, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_pasteMimeData), meth_KIO_pasteMimeData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_pasteMimeSource), meth_KIO_pasteMimeSource, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_put), meth_KIO_put, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_rawErrorDetail), meth_KIO_rawErrorDetail, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_rename), meth_KIO_rename, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_rmdir), meth_KIO_rmdir, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setModificationTime), meth_KIO_setModificationTime, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_special), meth_KIO_special, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_stat), meth_KIO_stat, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_storedGet), meth_KIO_storedGet, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_storedHttpPost), meth_KIO_storedHttpPost, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_storedPut), meth_KIO_storedPut, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_symlink), meth_KIO_symlink, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_trash), meth_KIO_trash, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_unmount), meth_KIO_unmount, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_unsupportedActionErrorString), meth_KIO_unsupportedActionErrorString, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KIO[] = {
    {sipName_CC_Cache, static_cast<int>(KIO::CC_Cache), 106},
    {sipName_CC_CacheOnly, static_cast<int>(KIO::CC_CacheOnly), 106},
    {sipName_CC_Refresh, static_cast<int>(KIO::CC_Refresh), 106},
    {sipName_CC_Reload, static_cast<int>(KIO::CC_Reload), 106},
    {sipName_CC_Verify, static_cast<int>(KIO::CC_Verify), 106},
    {sipName_CMD_CHMOD, static_cast<int>(KIO::CMD_CHMOD), 108},
    {sipName_CMD_CHOWN, static_cast<int>(KIO::CMD_CHOWN), 108},
    {sipName_CMD_CLOSE, static_cast<int>(KIO::CMD_CLOSE), 108},
    {sipName_CMD_CONFIG, static_cast<int>(KIO::CMD_CONFIG), 108},
    {sipName_CMD_CONNECT, static_cast<int>(KIO::CMD_CONNECT), 108},
    {sipName_CMD_COPY, static_cast<int>(KIO::CMD_COPY), 108},
    {sipName_CMD_DEL, static_cast<int>(KIO::CMD_DEL), 108},
    {sipName_CMD_DISCONNECT, static_cast<int>(KIO::CMD_DISCONNECT), 108},
    {sipName_CMD_GET, static_cast<int>(KIO::CMD_GET), 108},
    {sipName_CMD_HOST, static_cast<int>(KIO::CMD_HOST), 108},
    {sipName_CMD_HOST_INFO, static_cast<int>(KIO::CMD_HOST_INFO), 108},
    {sipName_CMD_LISTDIR, static_cast<int>(KIO::CMD_LISTDIR), 108},
    {sipName_CMD_MESSAGEBOXANSWER, static_cast<int>(KIO::CMD_MESSAGEBOXANSWER), 108},
    {sipName_CMD_META_DATA, static_cast<int>(KIO::CMD_META_DATA), 108},
    {sipName_CMD_MIMETYPE, static_cast<int>(KIO::CMD_MIMETYPE), 108},
    {sipName_CMD_MKDIR, static_cast<int>(KIO::CMD_MKDIR), 108},
    {sipName_CMD_MULTI_GET, static_cast<int>(KIO::CMD_MULTI_GET), 108},
    {sipName_CMD_NONE, static_cast<int>(KIO::CMD_NONE), 108},
    {sipName_CMD_OPEN, static_cast<int>(KIO::CMD_OPEN), 108},
    {sipName_CMD_PUT, static_cast<int>(KIO::CMD_PUT), 108},
    {sipName_CMD_READ, static_cast<int>(KIO::CMD_READ), 108},
    {sipName_CMD_RENAME, static_cast<int>(KIO::CMD_RENAME), 108},
    {sipName_CMD_REPARSECONFIGURATION, static_cast<int>(KIO::CMD_REPARSECONFIGURATION), 108},
    {sipName_CMD_RESUMEANSWER, static_cast<int>(KIO::CMD_RESUMEANSWER), 108},
    {sipName_CMD_SEEK, static_cast<int>(KIO::CMD_SEEK), 108},
    {sipName_CMD_SETLINKDEST, static_cast<int>(KIO::CMD_SETLINKDEST), 108},
    {sipName_CMD_SETMODIFICATIONTIME, static_cast<int>(KIO::CMD_SETMODIFICATIONTIME), 108},
    {sipName_CMD_SLAVE_CONNECT, static_cast<int>(KIO::CMD_SLAVE_CONNECT), 108},
    {sipName_CMD_SLAVE_HOLD, static_cast<int>(KIO::CMD_SLAVE_HOLD), 108},
    {sipName_CMD_SLAVE_STATUS, static_cast<int>(KIO::CMD_SLAVE_STATUS), 108},
    {sipName_CMD_SPECIAL, static_cast<int>(KIO::CMD_SPECIAL), 108},
    {sipName_CMD_STAT, static_cast<int>(KIO::CMD_STAT), 108},
    {sipName_CMD_SUBURL, static_cast<int>(KIO::CMD_SUBURL), 108},
    {sipName_CMD_SYMLINK, static_cast<int>(KIO::CMD_SYMLINK), 108},
    {sipName_CMD_TESTDIR, static_cast<int>(KIO::CMD_TESTDIR), 108},
    {sipName_CMD_WRITE, static_cast<int>(KIO::CMD_WRITE), 108},
    {sipName_DefaultFlags, static_cast<int>(KIO::DefaultFlags), 128},
    {sipName_ERR_ABORTED, static_cast<int>(KIO::ERR_ABORTED), 117},
    {sipName_ERR_ACCESS_DENIED, static_cast<int>(KIO::ERR_ACCESS_DENIED), 117},
    {sipName_ERR_CANNOT_CHMOD, static_cast<int>(KIO::ERR_CANNOT_CHMOD), 117},
    {sipName_ERR_CANNOT_CHOWN, static_cast<int>(KIO::ERR_CANNOT_CHOWN), 117},
    {sipName_ERR_CANNOT_DELETE, static_cast<int>(KIO::ERR_CANNOT_DELETE), 117},
    {sipName_ERR_CANNOT_DELETE_ORIGINAL, static_cast<int>(KIO::ERR_CANNOT_DELETE_ORIGINAL), 117},
    {sipName_ERR_CANNOT_DELETE_PARTIAL, static_cast<int>(KIO::ERR_CANNOT_DELETE_PARTIAL), 117},
    {sipName_ERR_CANNOT_ENTER_DIRECTORY, static_cast<int>(KIO::ERR_CANNOT_ENTER_DIRECTORY), 117},
    {sipName_ERR_CANNOT_LAUNCH_PROCESS, static_cast<int>(KIO::ERR_CANNOT_LAUNCH_PROCESS), 117},
    {sipName_ERR_CANNOT_OPEN_FOR_READING, static_cast<int>(KIO::ERR_CANNOT_OPEN_FOR_READING), 117},
    {sipName_ERR_CANNOT_OPEN_FOR_WRITING, static_cast<int>(KIO::ERR_CANNOT_OPEN_FOR_WRITING), 117},
    {sipName_ERR_CANNOT_RENAME, static_cast<int>(KIO::ERR_CANNOT_RENAME), 117},
    {sipName_ERR_CANNOT_RENAME_ORIGINAL, static_cast<int>(KIO::ERR_CANNOT_RENAME_ORIGINAL), 117},
    {sipName_ERR_CANNOT_RENAME_PARTIAL, static_cast<int>(KIO::ERR_CANNOT_RENAME_PARTIAL), 117},
    {sipName_ERR_CANNOT_RESUME, static_cast<int>(KIO::ERR_CANNOT_RESUME), 117},
    {sipName_ERR_CANNOT_SETTIME, static_cast<int>(KIO::ERR_CANNOT_SETTIME), 117},
    {sipName_ERR_CANNOT_SYMLINK, static_cast<int>(KIO::ERR_CANNOT_SYMLINK), 117},
    {sipName_ERR_CONNECTION_BROKEN, static_cast<int>(KIO::ERR_CONNECTION_BROKEN), 117},
    {sipName_ERR_COULD_NOT_ACCEPT, static_cast<int>(KIO::ERR_COULD_NOT_ACCEPT), 117},
    {sipName_ERR_COULD_NOT_AUTHENTICATE, static_cast<int>(KIO::ERR_COULD_NOT_AUTHENTICATE), 117},
    {sipName_ERR_COULD_NOT_BIND, static_cast<int>(KIO::ERR_COULD_NOT_BIND), 117},
    {sipName_ERR_COULD_NOT_CLOSEDIR, static_cast<int>(KIO::ERR_COULD_NOT_CLOSEDIR), 117},
    {sipName_ERR_COULD_NOT_CONNECT, static_cast<int>(KIO::ERR_COULD_NOT_CONNECT), 117},
    {sipName_ERR_COULD_NOT_CREATE_SOCKET, static_cast<int>(KIO::ERR_COULD_NOT_CREATE_SOCKET), 117},
    {sipName_ERR_COULD_NOT_LISTEN, static_cast<int>(KIO::ERR_COULD_NOT_LISTEN), 117},
    {sipName_ERR_COULD_NOT_LOGIN, static_cast<int>(KIO::ERR_COULD_NOT_LOGIN), 117},
    {sipName_ERR_COULD_NOT_MKDIR, static_cast<int>(KIO::ERR_COULD_NOT_MKDIR), 117},
    {sipName_ERR_COULD_NOT_MOUNT, static_cast<int>(KIO::ERR_COULD_NOT_MOUNT), 117},
    {sipName_ERR_COULD_NOT_READ, static_cast<int>(KIO::ERR_COULD_NOT_READ), 117},
    {sipName_ERR_COULD_NOT_RMDIR, static_cast<int>(KIO::ERR_COULD_NOT_RMDIR), 117},
    {sipName_ERR_COULD_NOT_SEEK, static_cast<int>(KIO::ERR_COULD_NOT_SEEK), 117},
    {sipName_ERR_COULD_NOT_STAT, static_cast<int>(KIO::ERR_COULD_NOT_STAT), 117},
    {sipName_ERR_COULD_NOT_UNMOUNT, static_cast<int>(KIO::ERR_COULD_NOT_UNMOUNT), 117},
    {sipName_ERR_COULD_NOT_WRITE, static_cast<int>(KIO::ERR_COULD_NOT_WRITE), 117},
    {sipName_ERR_CYCLIC_COPY, static_cast<int>(KIO::ERR_CYCLIC_COPY), 117},
    {sipName_ERR_CYCLIC_LINK, static_cast<int>(KIO::ERR_CYCLIC_LINK), 117},
    {sipName_ERR_DIR_ALREADY_EXIST, static_cast<int>(KIO::ERR_DIR_ALREADY_EXIST), 117},
    {sipName_ERR_DISK_FULL, static_cast<int>(KIO::ERR_DISK_FULL), 117},
    {sipName_ERR_DOES_NOT_EXIST, static_cast<int>(KIO::ERR_DOES_NOT_EXIST), 117},
    {sipName_ERR_FILE_ALREADY_EXIST, static_cast<int>(KIO::ERR_FILE_ALREADY_EXIST), 117},
    {sipName_ERR_IDENTICAL_FILES, static_cast<int>(KIO::ERR_IDENTICAL_FILES), 117},
    {sipName_ERR_INTERNAL, static_cast<int>(KIO::ERR_INTERNAL), 117},
    {sipName_ERR_INTERNAL_SERVER, static_cast<int>(KIO::ERR_INTERNAL_SERVER), 117},
    {sipName_ERR_IS_DIRECTORY, static_cast<int>(KIO::ERR_IS_DIRECTORY), 117},
    {sipName_ERR_IS_FILE, static_cast<int>(KIO::ERR_IS_FILE), 117},
    {sipName_ERR_MALFORMED_URL, static_cast<int>(KIO::ERR_MALFORMED_URL), 117},
    {sipName_ERR_NEED_PASSWD, static_cast<int>(KIO::ERR_NEED_PASSWD), 117},
    {sipName_ERR_NOT_FILTER_PROTOCOL, static_cast<int>(KIO::ERR_NOT_FILTER_PROTOCOL), 117},
    {sipName_ERR_NO_CONTENT, static_cast<int>(KIO::ERR_NO_CONTENT), 117},
    {sipName_ERR_NO_SOURCE_PROTOCOL, static_cast<int>(KIO::ERR_NO_SOURCE_PROTOCOL), 117},
    {sipName_ERR_OUT_OF_MEMORY, static_cast<int>(KIO::ERR_OUT_OF_MEMORY), 117},
    {sipName_ERR_POST_DENIED, static_cast<int>(KIO::ERR_POST_DENIED), 117},
    {sipName_ERR_POST_NO_SIZE, static_cast<int>(KIO::ERR_POST_NO_SIZE), 117},
    {sipName_ERR_PROTOCOL_IS_NOT_A_FILESYSTEM, static_cast<int>(KIO::ERR_PROTOCOL_IS_NOT_A_FILESYSTEM), 117},
    {sipName_ERR_SERVER_TIMEOUT, static_cast<int>(KIO::ERR_SERVER_TIMEOUT), 117},
    {sipName_ERR_SERVICE_NOT_AVAILABLE, static_cast<int>(KIO::ERR_SERVICE_NOT_AVAILABLE), 117},
    {sipName_ERR_SLAVE_DEFINED, static_cast<int>(KIO::ERR_SLAVE_DEFINED), 117},
    {sipName_ERR_SLAVE_DIED, static_cast<int>(KIO::ERR_SLAVE_DIED), 117},
    {sipName_ERR_UNKNOWN, static_cast<int>(KIO::ERR_UNKNOWN), 117},
    {sipName_ERR_UNKNOWN_HOST, static_cast<int>(KIO::ERR_UNKNOWN_HOST), 117},
    {sipName_ERR_UNKNOWN_INTERRUPT, static_cast<int>(KIO::ERR_UNKNOWN_INTERRUPT), 117},
    {sipName_ERR_UNKNOWN_PROXY_HOST, static_cast<int>(KIO::ERR_UNKNOWN_PROXY_HOST), 117},
    {sipName_ERR_UNSUPPORTED_ACTION, static_cast<int>(KIO::ERR_UNSUPPORTED_ACTION), 117},
    {sipName_ERR_UNSUPPORTED_PROTOCOL, static_cast<int>(KIO::ERR_UNSUPPORTED_PROTOCOL), 117},
    {sipName_ERR_UPGRADE_REQUIRED, static_cast<int>(KIO::ERR_UPGRADE_REQUIRED), 117},
    {sipName_ERR_USER_CANCELED, static_cast<int>(KIO::ERR_USER_CANCELED), 117},
    {sipName_ERR_WRITE_ACCESS_DENIED, static_cast<int>(KIO::ERR_WRITE_ACCESS_DENIED), 117},
    {sipName_HideProgressInfo, static_cast<int>(KIO::HideProgressInfo), 128},
    {sipName_INF_ERROR_PAGE, static_cast<int>(KIO::INF_ERROR_PAGE), 124},
    {sipName_INF_GETTING_FILE, static_cast<int>(KIO::INF_GETTING_FILE), 124},
    {sipName_INF_INFOMESSAGE, static_cast<int>(KIO::INF_INFOMESSAGE), 124},
    {sipName_INF_MESSAGEBOX, static_cast<int>(KIO::INF_MESSAGEBOX), 124},
    {sipName_INF_META_DATA, static_cast<int>(KIO::INF_META_DATA), 124},
    {sipName_INF_MIME_TYPE, static_cast<int>(KIO::INF_MIME_TYPE), 124},
    {sipName_INF_NETWORK_STATUS, static_cast<int>(KIO::INF_NETWORK_STATUS), 124},
    {sipName_INF_POSITION, static_cast<int>(KIO::INF_POSITION), 124},
    {sipName_INF_PROCESSED_SIZE, static_cast<int>(KIO::INF_PROCESSED_SIZE), 124},
    {sipName_INF_REDIRECTION, static_cast<int>(KIO::INF_REDIRECTION), 124},
    {sipName_INF_SPEED, static_cast<int>(KIO::INF_SPEED), 124},
    {sipName_INF_TOTAL_SIZE, static_cast<int>(KIO::INF_TOTAL_SIZE), 124},
    {sipName_INF_UNUSED, static_cast<int>(KIO::INF_UNUSED), 124},
    {sipName_INF_WARNING, static_cast<int>(KIO::INF_WARNING), 124},
    {sipName_MSG_AUTH_KEY, static_cast<int>(KIO::MSG_AUTH_KEY), 135},
    {sipName_MSG_CANRESUME, static_cast<int>(KIO::MSG_CANRESUME), 135},
    {sipName_MSG_CONNECTED, static_cast<int>(KIO::MSG_CONNECTED), 135},
    {sipName_MSG_DATA, static_cast<int>(KIO::MSG_DATA), 135},
    {sipName_MSG_DATA_REQ, static_cast<int>(KIO::MSG_DATA_REQ), 135},
    {sipName_MSG_DEL_AUTH_KEY, static_cast<int>(KIO::MSG_DEL_AUTH_KEY), 135},
    {sipName_MSG_ERROR, static_cast<int>(KIO::MSG_ERROR), 135},
    {sipName_MSG_FINISHED, static_cast<int>(KIO::MSG_FINISHED), 135},
    {sipName_MSG_HOST_INFO_REQ, static_cast<int>(KIO::MSG_HOST_INFO_REQ), 135},
    {sipName_MSG_LIST_ENTRIES, static_cast<int>(KIO::MSG_LIST_ENTRIES), 135},
    {sipName_MSG_NEED_SUBURL_DATA, static_cast<int>(KIO::MSG_NEED_SUBURL_DATA), 135},
    {sipName_MSG_NET_DROP, static_cast<int>(KIO::MSG_NET_DROP), 135},
    {sipName_MSG_NET_REQUEST, static_cast<int>(KIO::MSG_NET_REQUEST), 135},
    {sipName_MSG_OPENED, static_cast<int>(KIO::MSG_OPENED), 135},
    {sipName_MSG_RENAMED, static_cast<int>(KIO::MSG_RENAMED), 135},
    {sipName_MSG_RESUME, static_cast<int>(KIO::MSG_RESUME), 135},
    {sipName_MSG_SLAVE_ACK, static_cast<int>(KIO::MSG_SLAVE_ACK), 135},
    {sipName_MSG_SLAVE_STATUS, static_cast<int>(KIO::MSG_SLAVE_STATUS), 135},
    {sipName_MSG_STAT_ENTRY, static_cast<int>(KIO::MSG_STAT_ENTRY), 135},
    {sipName_MSG_WRITTEN, static_cast<int>(KIO::MSG_WRITTEN), 135},
    {sipName_M_ISDIR, static_cast<int>(KIO::M_ISDIR), 152},
    {sipName_M_MULTI, static_cast<int>(KIO::M_MULTI), 152},
    {sipName_M_NORENAME, static_cast<int>(KIO::M_NORENAME), 152},
    {sipName_M_OVERWRITE, static_cast<int>(KIO::M_OVERWRITE), 152},
    {sipName_M_OVERWRITE_ITSELF, static_cast<int>(KIO::M_OVERWRITE_ITSELF), 152},
    {sipName_M_RESUME, static_cast<int>(KIO::M_RESUME), 152},
    {sipName_M_SINGLE, static_cast<int>(KIO::M_SINGLE), 152},
    {sipName_M_SKIP, static_cast<int>(KIO::M_SKIP), 152},
    {sipName_NoReload, static_cast<int>(KIO::NoReload), 134},
    {sipName_Overwrite, static_cast<int>(KIO::Overwrite), 128},
    {sipName_R_AUTO_RENAME, static_cast<int>(KIO::R_AUTO_RENAME), 153},
    {sipName_R_AUTO_SKIP, static_cast<int>(KIO::R_AUTO_SKIP), 153},
    {sipName_R_CANCEL, static_cast<int>(KIO::R_CANCEL), 153},
    {sipName_R_OVERWRITE, static_cast<int>(KIO::R_OVERWRITE), 153},
    {sipName_R_OVERWRITE_ALL, static_cast<int>(KIO::R_OVERWRITE_ALL), 153},
    {sipName_R_RENAME, static_cast<int>(KIO::R_RENAME), 153},
    {sipName_R_RESUME, static_cast<int>(KIO::R_RESUME), 153},
    {sipName_R_RESUME_ALL, static_cast<int>(KIO::R_RESUME_ALL), 153},
    {sipName_R_SKIP, static_cast<int>(KIO::R_SKIP), 153},
    {sipName_Reload, static_cast<int>(KIO::Reload), 134},
    {sipName_Resume, static_cast<int>(KIO::Resume), 128},
    {sipName_S_AUTO_SKIP, static_cast<int>(KIO::S_AUTO_SKIP), 158},
    {sipName_S_CANCEL, static_cast<int>(KIO::S_CANCEL), 158},
    {sipName_S_SKIP, static_cast<int>(KIO::S_SKIP), 158},
};


pyqt4ClassTypeDef sipTypeDef_kio_KIO = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_NAMESPACE,
        sipNameNr_KIO,
        {0}
    },
    {
        sipNameNr_KIO,
        {0, 0, 1},
        65, methods_KIO,
        168, enummembers_KIO,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    0,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};
