/*
 * Module code.
 *
 * Generated by SIP 4.12.4 on Fri Dec 30 00:37:58 2011
 */

#include "sipAPIkio.h"

#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/forwardingslavebase.sip"
#include <forwardingslavebase.h>
#line 12 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"

#line 37 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 16 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 33 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 19 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/udsentry.sip"
#include <udsentry.h>
#line 22 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 360 "/usr/local/share/py-sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 25 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 31 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 310 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 34 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 298 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 37 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 34 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 40 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 238 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 43 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 46 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 52 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 58 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 61 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 31 "/usr/local/share/py-sip/QtNetwork/qhostinfo.sip"
#include <qhostinfo.h>
#line 64 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/authinfo.sip"
#include <authinfo.h>
#line 67 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 70 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/kremoteencoding.sip"
#include <kremoteencoding.h>
#line 73 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 76 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 188 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/global.sip"
#include<qmap.h>
#line 79 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/slavebase.sip"
#include <slavebase.h>
#line 82 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 85 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/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;

    /* Expose this protected enum. */
    enum sipVirtualFunctionId {
        AppConnectionMade = KIO::SlaveBase::AppConnectionMade
    };

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject * sipProtect_sender() const;
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);
    bool sipProtect_rewriteUrl(const KUrl&,KUrl&);
    void sipProtectVirt_prepareUDSEntry(bool,KIO::UDSEntry&,bool) const;
    KUrl sipProtect_processedUrl() const;
    KUrl sipProtect_requestedUrl() const;

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[38];
};

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

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

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

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

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

    return _id;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

void sipKIO_ForwardingSlaveBase::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::ForwardingSlaveBase::setModificationTime(a0,a1);
        return;
    }

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

    sipVH_kio_8(sipGILState,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[10],sipPySelf,NULL,sipName_copy);

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

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

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

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

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

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

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

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

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

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

    if (!sipMeth)
        return 0;

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

    return sipVH_kio_88(sipGILState,sipMeth,a0,a1);
}

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

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

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

    extern void sipVH_kio_87(sip_gilstate_t,PyObject *,KIO::UDSEntry&,bool);

    sipVH_kio_87(sipGILState,sipMeth,a0,a1);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState,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[21],sipPySelf,NULL,sipName_setHost);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    sipVH_kio_14(sipGILState,sipMeth,a0);
}

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

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

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

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

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

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

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

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

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

    sipVH_kio_14(sipGILState,sipMeth,a0);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

QObject * sipKIO_ForwardingSlaveBase::sipProtect_sender() const
{
    return QObject::sender();
}

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

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

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

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

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

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

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

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

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

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


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

    {
        sipKIO_ForwardingSlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIO_ForwardingSlaveBase, &sipCpp))
        {
            QObject *sipRes = 0;

#line 632 "/usr/local/share/py-sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp->sender());
        #else
            sipRes = helper(sipCpp->sipProtect_sender());
        #endif
#line 960 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"

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

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

    return NULL;
}


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

    {
        char * a0;
        sipKIO_ForwardingSlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_KIO_ForwardingSlaveBase, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 649 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp, a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 1002 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QTimerEvent * a0;
        sipKIO_ForwardingSlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KIO_ForwardingSlaveBase, &sipCpp, sipType_QTimerEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QChildEvent * a0;
        sipKIO_ForwardingSlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KIO_ForwardingSlaveBase, &sipCpp, sipType_QChildEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipKIO_ForwardingSlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KIO_ForwardingSlaveBase, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipKIO_ForwardingSlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_KIO_ForwardingSlaveBase, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipKIO_ForwardingSlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_KIO_ForwardingSlaveBase, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KIO_ForwardingSlaveBase, &sipCpp, sipType_KUrl, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::ForwardingSlaveBase::get(*a0) : sipCpp->get(*a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KIO_ForwardingSlaveBase, &sipCpp, sipType_KUrl, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::ForwardingSlaveBase::stat(*a0) : sipCpp->stat(*a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KIO_ForwardingSlaveBase, &sipCpp, sipType_KUrl, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::ForwardingSlaveBase::mimetype(*a0) : sipCpp->mimetype(*a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KIO_ForwardingSlaveBase, &sipCpp, sipType_KUrl, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::ForwardingSlaveBase::listDir(*a0) : sipCpp->listDir(*a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9i", &sipSelf, sipType_KIO_ForwardingSlaveBase, &sipCpp, sipType_KUrl, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::ForwardingSlaveBase::mkdir(*a0,a1) : sipCpp->mkdir(*a0,a1));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9i", &sipSelf, sipType_KIO_ForwardingSlaveBase, &sipCpp, sipType_KUrl, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::ForwardingSlaveBase::chmod(*a0,a1) : sipCpp->chmod(*a0,a1));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9b", &sipSelf, sipType_KIO_ForwardingSlaveBase, &sipCpp, sipType_KUrl, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::ForwardingSlaveBase::del(*a0,a1) : sipCpp->del(*a0,a1));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

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

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

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9|b", &sipSelf, sipType_KIO_ForwardingSlaveBase, &sipCpp, sipType_KIO_UDSEntry, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_prepareUDSEntry(sipSelfWasArg,*a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipKIO_ForwardingSlaveBase *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        sipKIO_ForwardingSlaveBase *sipCpp;

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

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

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

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

    return NULL;
}


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

    if (targetType == sipType_KIO_ForwardingSlaveBase)
        return ptr;

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

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

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


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

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


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

    {
        const QByteArray * a0;
        int a0State = 0;
        const QByteArray * a1;
        int a1State = 0;
        const QByteArray * a2;
        int a2State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1J1J1", sipType_QByteArray, &a0, &a0State, sipType_QByteArray, &a1, &a1State, sipType_QByteArray, &a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKIO_ForwardingSlaveBase(*a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);
            sipReleaseType(const_cast<QByteArray *>(a1),sipType_QByteArray,a1State);
            sipReleaseType(const_cast<QByteArray *>(a2),sipType_QByteArray,a2State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KIO_ForwardingSlaveBase[] = {{134, 0, 0}, {160, 255, 1}};


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


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

#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/slavebase.sip"
#include <slavebase.h>
#line 1797 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"

#line 37 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 1801 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 31 "/usr/local/share/py-sip/QtNetwork/qhostinfo.sip"
#include <qhostinfo.h>
#line 1804 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 1807 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/authinfo.sip"
#include <authinfo.h>
#line 1810 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/udsentry.sip"
#include <udsentry.h>
#line 1813 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 33 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 1816 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 360 "/usr/local/share/py-sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 1819 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 1822 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/kremoteencoding.sip"
#include <kremoteencoding.h>
#line 1825 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 1828 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 188 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/global.sip"
#include<qmap.h>
#line 1831 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 1834 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"


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

    /* Expose this protected enum. */
    enum sipVirtualFunctionId {
        AppConnectionMade = KIO::SlaveBase::AppConnectionMade
    };

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[29];
};

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    sipVH_kio_14(sipGILState,sipMeth,a0);
}

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

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

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

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

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

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

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

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

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

    sipVH_kio_14(sipGILState,sipMeth,a0);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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,PyObject *,const KUrl&,int);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    sipVH_kio_10(sipGILState,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[18],sipPySelf,NULL,sipName_chown);

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

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

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

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

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

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

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

    sipVH_kio_8(sipGILState,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[20],sipPySelf,NULL,sipName_copy);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

    {
        KIO::SlaveBase *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KIO::SlaveBase *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KIO::SlaveBase *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KIO::SlaveBase *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KIO::SlaveBase *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KIO::SlaveBase *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KIO::SlaveBase *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KIO_SlaveBase, &sipCpp, sipType_KIO_UDSEntry, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->statEntry(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KIO_SlaveBase, &sipCpp, sipType_QList_0100KIO_UDSEntry,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->listEntries(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<KIO::UDSEntryList *>(a0),sipType_QList_0100KIO_UDSEntry,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

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

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

            return PyBool_FromLong(sipRes);
        }
    }

    {
        KIO::SlaveBase *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        float a0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bf", &sipSelf, sipType_KIO_SlaveBase, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->processedPercent(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "Bm", &sipSelf, sipType_KIO_SlaveBase, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->speed(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KIO_SlaveBase, &sipCpp, sipType_KUrl, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->redirection(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KIO::SlaveBase *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->messageBox(a0,*a1,*a2,*a3,*a4);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);
            sipReleaseType(const_cast<QString *>(a4),sipType_QString,a4State);

            return SIPLong_FromLong(sipRes);
        }
    }

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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->messageBox(*a0,a1,*a2,*a3,*a4,*a5);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);
            sipReleaseType(const_cast<QString *>(a4),sipType_QString,a4State);
            sipReleaseType(const_cast<QString *>(a5),sipType_QString,a5State);

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_KIO_SlaveBase, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMetaData(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

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

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

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

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

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

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

    return NULL;
}


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

    {
        KIO::SlaveBase *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        KIO::SlaveBase *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->config();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KIO::SlaveBase *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->remoteEncoding();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KIO_SlaveBase, &sipCpp, sipType_KUrl, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::SlaveBase::setSubUrl(*a0) : sipCpp->setSubUrl(*a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KIO::SlaveBase *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KIO::SlaveBase *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KIO_SlaveBase, &sipCpp, sipType_KUrl, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::SlaveBase::get(*a0) : sipCpp->get(*a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "Bo", &sipSelf, sipType_KIO_SlaveBase, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::SlaveBase::read(a0) : sipCpp->read(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "Bo", &sipSelf, sipType_KIO_SlaveBase, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::SlaveBase::seek(a0) : sipCpp->seek(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KIO::SlaveBase *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KIO_SlaveBase, &sipCpp, sipType_KUrl, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::SlaveBase::stat(*a0) : sipCpp->stat(*a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KIO_SlaveBase, &sipCpp, sipType_KUrl, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::SlaveBase::mimetype(*a0) : sipCpp->mimetype(*a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KIO_SlaveBase, &sipCpp, sipType_KUrl, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::SlaveBase::listDir(*a0) : sipCpp->listDir(*a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9i", &sipSelf, sipType_KIO_SlaveBase, &sipCpp, sipType_KUrl, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::SlaveBase::mkdir(*a0,a1) : sipCpp->mkdir(*a0,a1));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9i", &sipSelf, sipType_KIO_SlaveBase, &sipCpp, sipType_KUrl, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::SlaveBase::chmod(*a0,a1) : sipCpp->chmod(*a0,a1));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J1J1", &sipSelf, sipType_KIO_SlaveBase, &sipCpp, sipType_KUrl, &a0, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::SlaveBase::chown(*a0,*a1,*a2) : sipCpp->chown(*a0,*a1,*a2));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9b", &sipSelf, sipType_KIO_SlaveBase, &sipCpp, sipType_KUrl, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::SlaveBase::del(*a0,a1) : sipCpp->del(*a0,a1));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KIO::SlaveBase *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KIO::SlaveBase *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KIO::SlaveBase *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->connectTimeout();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KIO::SlaveBase *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->proxyConnectTimeout();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KIO::SlaveBase *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->responseTimeout();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KIO::SlaveBase *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->readTimeout();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->readData(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QByteArray,a0State);

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9b", &sipSelf, sipType_KIO_SlaveBase, &sipCpp, sipType_KIO_UDSEntry, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->listEntry(*a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KIO::SlaveBase *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

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

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

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

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

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

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

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

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "B|J1", &sipSelf, sipType_KIO_SlaveBase, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->dropNetwork(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

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

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

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

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

    return NULL;
}


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

    {
        KIO::SlaveBase *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KIO::SlaveBase *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KIO::SlaveBase *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->wasKilled();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KIO::SlaveBase *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

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

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

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


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

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


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

    {
        const QByteArray * a0;
        int a0State = 0;
        const QByteArray * a1;
        int a1State = 0;
        const QByteArray * a2;
        int a2State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1J1J1", sipType_QByteArray, &a0, &a0State, sipType_QByteArray, &a1, &a1State, sipType_QByteArray, &a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKIO_SlaveBase(*a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);
            sipReleaseType(const_cast<QByteArray *>(a1),sipType_QByteArray,a1State);
            sipReleaseType(const_cast<QByteArray *>(a2),sipType_QByteArray,a2State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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

static sipEnumMemberDef enummembers_KIO_SlaveBase[] = {
    {sipName_AppConnectionMade, sipKIO_SlaveBase::AppConnectionMade, 162},
    {sipName_Information, KIO::SlaveBase::Information, 161},
    {sipName_QuestionYesNo, KIO::SlaveBase::QuestionYesNo, 161},
    {sipName_SSLMessageBox, KIO::SlaveBase::SSLMessageBox, 161},
    {sipName_WarningContinueCancel, KIO::SlaveBase::WarningContinueCancel, 161},
    {sipName_WarningYesNo, KIO::SlaveBase::WarningYesNo, 161},
    {sipName_WarningYesNoCancel, 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_KIO_SlaveBase,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KIO_SlaveBase,
    0,
    0,
    0,
    release_KIO_SlaveBase,
    cast_KIO_SlaveBase,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/fileundomanager.sip"
#include <fileundomanager.h>
#line 5027 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"

#line 33 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 5031 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kdatetime.sip"
#include <kdatetime.h>
#line 5034 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 33 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 5037 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 43 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 5040 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 5043 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/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 jobError(KIO::Job *);
    bool confirmDeletion(const KUrl::List&);
    bool copiedFileWasModified(const KUrl&,const KUrl&,const KDateTime&,const KDateTime&);
    void virtual_hook(int,void *);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[4];
};

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

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

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

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

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

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

    extern void sipVH_kio_58(sip_gilstate_t,PyObject *,KIO::Job *);

    sipVH_kio_58(sipGILState,sipMeth,a0);
}

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

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

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

    extern bool sipVH_kio_90(sip_gilstate_t,PyObject *,const KUrl::List&);

    return sipVH_kio_90(sipGILState,sipMeth,a0);
}

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[2],sipPySelf,NULL,sipName_copiedFileWasModified);

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

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

    return sipVH_kio_89(sipGILState,sipMeth,a0,a1,a2,a3);
}

void sipKIO_FileUndoManager_UiInterface::virtual_hook(int a0,void *a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    extern void sipVH_kio_77(sip_gilstate_t,PyObject *,int,void *);

    sipVH_kio_77(sipGILState,sipMeth,a0,a1);
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KIO::FileUndoManager::UiInterface *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->showProgressInfo();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KIO::FileUndoManager::UiInterface *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->parentWidget();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KIO_FileUndoManager_UiInterface, &sipCpp, sipType_KIO_Job, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::FileUndoManager::UiInterface::jobError(a0) : sipCpp->jobError(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KUrl::List * a0;
        KIO::FileUndoManager::UiInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KIO_FileUndoManager_UiInterface, &sipCpp, sipType_KUrl_List, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KIO::FileUndoManager::UiInterface::confirmDeletion(*a0) : sipCpp->confirmDeletion(*a0));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KUrl * a0;
        const KUrl * a1;
        const KDateTime * a2;
        const KDateTime * a3;
        KIO::FileUndoManager::UiInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J9J9J9", &sipSelf, sipType_KIO_FileUndoManager_UiInterface, &sipCpp, sipType_KUrl, &a0, sipType_KUrl, &a1, sipType_KDateTime, &a2, sipType_KDateTime, &a3))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KIO::FileUndoManager::UiInterface::copiedFileWasModified(*a0,*a1,*a2,*a3) : sipCpp->copiedFileWasModified(*a0,*a1,*a2,*a3));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        void * a1;
        KIO::FileUndoManager::UiInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Biv", &sipSelf, sipType_KIO_FileUndoManager_UiInterface, &sipCpp, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::FileUndoManager::UiInterface::virtual_hook(a0,a1) : sipCpp->virtual_hook(a0,a1));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    return NULL;
}


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

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKIO_FileUndoManager_UiInterface *>(sipCppV);
    else
        delete reinterpret_cast<KIO::FileUndoManager::UiInterface *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


extern "C" {static void *array_KIO_FileUndoManager_UiInterface(SIP_SSIZE_T);}
static void *array_KIO_FileUndoManager_UiInterface(SIP_SSIZE_T sipNrElem)
{
    return new KIO::FileUndoManager::UiInterface[sipNrElem];
}


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


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

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


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

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

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

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_KIO_FileUndoManager_UiInterface[] = {
    {SIP_MLNAME_CAST(sipName_confirmDeletion), meth_KIO_FileUndoManager_UiInterface_confirmDeletion, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_copiedFileWasModified), meth_KIO_FileUndoManager_UiInterface_copiedFileWasModified, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_jobError), meth_KIO_FileUndoManager_UiInterface_jobError, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_parentWidget), meth_KIO_FileUndoManager_UiInterface_parentWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setParentWidget), meth_KIO_FileUndoManager_UiInterface_setParentWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setShowProgressInfo), meth_KIO_FileUndoManager_UiInterface_setShowProgressInfo, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showProgressInfo), meth_KIO_FileUndoManager_UiInterface_showProgressInfo, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_virtual_hook), meth_KIO_FileUndoManager_UiInterface_virtual_hook, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kio_KIO_FileUndoManager_UiInterface = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KIO__FileUndoManager__UiInterface,
        {0}
    },
    {
        sipNameNr_UiInterface,
        {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_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
};

#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/fileundomanager.sip"
#include <fileundomanager.h>
#line 5542 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"

#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 5546 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 51 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/copyjob.sip"
#include <copyjob.h>
#line 5549 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 33 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 5552 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 33 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 5555 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 43 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 5558 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/fileundomanager.sip"
#include <fileundomanager.h>
#line 5561 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 5564 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 310 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 5567 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 298 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 5570 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 34 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 5573 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 238 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 5576 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 5579 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 5582 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 5585 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 5588 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 5591 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 5594 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 5597 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/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;

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

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

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

    {
        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[] = {{134, 0, 1}};


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

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


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_KIO_FileUndoManager[] = {
    {"jobRecordingFinished(KIO::FileUndoManager::CommandType)", 0, 0},
    {"jobRecordingStarted(KIO::FileUndoManager::CommandType)", 0, 0},
    {"undoJobFinished()", 0, 0},
    {"undoTextChanged(QString)", 0, 0},
    {"undoAvailable(bool)", 0, &methods_KIO_FileUndoManager[8]},
    {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
},
    &KIO::FileUndoManager::staticMetaObject,
    0,
    pyqt4_signals_KIO_FileUndoManager
};

#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/filejob.sip"
#include <filejob.h>
#line 5984 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"

#line 43 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 5988 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 5991 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 33 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 5994 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 5997 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 188 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/global.sip"
#include<qmap.h>
#line 6000 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 6003 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qmap.sip"
#include <qmap.h>
#line 6006 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 77 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 6009 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 6012 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 6015 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/jobuidelegate.sip"
#include <jobuidelegate.h>
#line 6018 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 6021 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 589 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/typedefs.sip"
#include <qpair.h>
#line 6024 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 6027 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kjobuidelegate.sip"
#include <kjobuidelegate.h>
#line 6030 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6033 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 310 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6036 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 298 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6039 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 34 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 6042 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 238 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 6045 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 6048 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 6051 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 6054 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 6057 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 6060 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 6063 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/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)
{
    Py_BEGIN_ALLOW_THREADS

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

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KIO_FileJob(sipSimpleWrapper *);}
static void dealloc_KIO_FileJob(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KIO_FileJob(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 PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_KIO_FileJob[] = {
    {"position(KIO::Job *,KIO::filesize_t)", 0, 0},
    {"written(KIO::Job *,KIO::filesize_t)", 0, 0},
    {"open(KIO::Job *)", 0, 0},
    {"mimetype(KIO::Job *,QString)", 0, 0},
    {"redirection(KIO::Job *,KUrl)", 0, 0},
    {"data(KIO::Job *,QByteArray)", 0, 0},
    {"close(KIO::Job *)", 0, &methods_KIO_FileJob[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
},
    &KIO::FileJob::staticMetaObject,
    0,
    pyqt4_signals_KIO_FileJob
};

#line 91 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 6318 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"

#line 33 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 6322 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 188 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/global.sip"
#include<qmap.h>
#line 6325 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 6328 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 6331 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 43 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 6334 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qmap.sip"
#include <qmap.h>
#line 6337 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 77 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 6340 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 6343 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 6346 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/jobuidelegate.sip"
#include <jobuidelegate.h>
#line 6349 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 6352 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 589 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/typedefs.sip"
#include <qpair.h>
#line 6355 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 6358 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kjobuidelegate.sip"
#include <kjobuidelegate.h>
#line 6361 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6364 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 310 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6367 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 298 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6370 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 34 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 6373 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 238 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 6376 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 6379 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 6382 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 6385 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 6388 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 6391 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 6394 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 6397 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"


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

    {
        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_isRedirectionHandlingEnabled(PyObject *, PyObject *);}
static PyObject *meth_KIO_SimpleJob_isRedirectionHandlingEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        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)
{
    Py_BEGIN_ALLOW_THREADS

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

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KIO_SimpleJob(sipSimpleWrapper *);}
static void dealloc_KIO_SimpleJob(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KIO_SimpleJob(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_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_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},
        6, 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
},
    &KIO::SimpleJob::staticMetaObject,
    0,
    0
};

#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/directorysizejob.sip"
#include <directorysizejob.h>
#line 6666 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 6670 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 43 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 6673 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 6676 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 188 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/global.sip"
#include<qmap.h>
#line 6679 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qmap.sip"
#include <qmap.h>
#line 6682 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 77 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 6685 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 6688 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 6691 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 33 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 6694 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/jobuidelegate.sip"
#include <jobuidelegate.h>
#line 6697 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 6700 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 589 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/typedefs.sip"
#include <qpair.h>
#line 6703 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 6706 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kjobuidelegate.sip"
#include <kjobuidelegate.h>
#line 6709 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6712 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 310 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6715 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 298 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6718 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 34 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 6721 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 238 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 6724 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 6727 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 6730 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 6733 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 6736 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 6739 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 6742 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 6745 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/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;

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

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

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


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

    if (targetType == sipType_KIO_DirectorySizeJob)
        return ptr;

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

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KIO_DirectorySizeJob(sipSimpleWrapper *);}
static void dealloc_KIO_DirectorySizeJob(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KIO_DirectorySizeJob(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_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},
        3, 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
},
    &KIO::DirectorySizeJob::staticMetaObject,
    0,
    0
};

#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/deletejob.sip"
#include <deletejob.h>
#line 6930 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 6934 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 43 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 6937 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 33 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 6940 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 33 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 6943 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 6946 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 188 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/global.sip"
#include<qmap.h>
#line 6949 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qmap.sip"
#include <qmap.h>
#line 6952 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 77 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 6955 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 6958 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 6961 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/jobuidelegate.sip"
#include <jobuidelegate.h>
#line 6964 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 6967 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 589 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/typedefs.sip"
#include <qpair.h>
#line 6970 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 6973 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kjobuidelegate.sip"
#include <kjobuidelegate.h>
#line 6976 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6979 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 310 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6982 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 298 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6985 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 34 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 6988 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 238 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 6991 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 6994 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 6997 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7000 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 7003 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 7006 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 7009 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 7012 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/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;

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


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

    if (targetType == sipType_KIO_DeleteJob)
        return ptr;

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

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KIO_DeleteJob(sipSimpleWrapper *);}
static void dealloc_KIO_DeleteJob(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KIO_DeleteJob(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_urls), meth_KIO_DeleteJob_urls, METH_VARARGS, NULL}
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_KIO_DeleteJob[] = {
    {"deleting(KIO::Job *,KUrl)", 0, 0},
    {"processedDirs(KIO::Job *,unsigned long)", 0, 0},
    {"processedFiles(KIO::Job *,unsigned long)", 0, 0},
    {"totalDirs(KJob *,unsigned long)", 0, 0},
    {"totalFiles(KJob *,unsigned long)", 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},
        1, 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
},
    &KIO::DeleteJob::staticMetaObject,
    0,
    pyqt4_signals_KIO_DeleteJob
};

#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/davjob.sip"
#include <davjob.h>
#line 7152 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"

#line 37 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 7156 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 206 "/usr/local/share/py-sip/QtXml/qdom.sip"
#include <qdom.h>
#line 7159 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 188 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/global.sip"
#include<qmap.h>
#line 7162 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 7165 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 33 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 7168 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 43 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 7171 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 7174 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 360 "/usr/local/share/py-sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 7177 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qmap.sip"
#include <qmap.h>
#line 7180 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 77 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 7183 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 7186 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 7189 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/jobuidelegate.sip"
#include <jobuidelegate.h>
#line 7192 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 7195 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 589 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/typedefs.sip"
#include <qpair.h>
#line 7198 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 7201 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kjobuidelegate.sip"
#include <kjobuidelegate.h>
#line 7204 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7207 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 310 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7210 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 298 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7213 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 34 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 7216 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 238 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 7219 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 7222 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7225 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 7228 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 7231 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 7234 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 7237 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/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;
}


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

    if (targetType == sipType_KIO_DavJob)
        return ptr;

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

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KIO_DavJob(sipSimpleWrapper *);}
static void dealloc_KIO_DavJob(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KIO_DavJob(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}
};


pyqt4ClassTypeDef sipTypeDef_kio_KIO_DavJob = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KIO__DavJob,
        {0}
    },
    {
        sipNameNr_DavJob,
        {101, 255, 0},
        1, 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
},
    &KIO::DavJob::staticMetaObject,
    0,
    0
};

#line 172 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 7366 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"

#line 188 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/global.sip"
#include<qmap.h>
#line 7370 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 7373 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 7376 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 33 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 7379 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 43 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 7382 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 7385 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 360 "/usr/local/share/py-sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 7388 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qmap.sip"
#include <qmap.h>
#line 7391 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 77 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 7394 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 7397 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 7400 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/jobuidelegate.sip"
#include <jobuidelegate.h>
#line 7403 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 7406 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 589 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/typedefs.sip"
#include <qpair.h>
#line 7409 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 7412 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kjobuidelegate.sip"
#include <kjobuidelegate.h>
#line 7415 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7418 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 310 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7421 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 298 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7424 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 34 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 7427 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 238 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 7430 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 7433 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7436 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 7439 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 7442 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 7445 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 7448 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/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;

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

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

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


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

    if (targetType == sipType_KIO_TransferJob)
        return ptr;

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

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KIO_TransferJob(sipSimpleWrapper *);}
static void dealloc_KIO_TransferJob(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KIO_TransferJob(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_isErrorPage), meth_KIO_TransferJob_isErrorPage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mimetype), meth_KIO_TransferJob_mimetype, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_reportDataSent), meth_KIO_TransferJob_reportDataSent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sendAsyncData), meth_KIO_TransferJob_sendAsyncData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAsyncDataEnabled), meth_KIO_TransferJob_setAsyncDataEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setModificationTime), meth_KIO_TransferJob_setModificationTime, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setReportDataSent), meth_KIO_TransferJob_setReportDataSent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTotalSize), meth_KIO_TransferJob_setTotalSize, METH_VARARGS, NULL}
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_KIO_TransferJob[] = {
    {"canResume(KIO::Job *,KIO::filesize_t)", 0, 0},
    {"permanentRedirection(KIO::Job *,KUrl,KUrl)", 0, 0},
    {"redirection(KIO::Job *,KUrl)", 0, 0},
    {"dataReq(KIO::Job *,QByteArray&)", 0, 0},
    {"data(KIO::Job *,QByteArray)", 0, 0},
    {"mimetype(KIO::Job *,QString)", 0, &methods_KIO_TransferJob[1]},
    {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},
        8, 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
},
    &KIO::TransferJob::staticMetaObject,
    0,
    pyqt4_signals_KIO_TransferJob
};

#line 51 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/copyjob.sip"
#include <copyjob.h>
#line 7789 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 7793 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 43 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 7796 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 33 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 7799 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 7802 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 7805 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/copyjob.sip"
#include <copyjob.h>
#line 7808 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 33 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 7811 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 188 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/global.sip"
#include<qmap.h>
#line 7814 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qmap.sip"
#include <qmap.h>
#line 7817 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 77 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 7820 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 7823 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 7826 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/jobuidelegate.sip"
#include <jobuidelegate.h>
#line 7829 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 7832 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 589 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/typedefs.sip"
#include <qpair.h>
#line 7835 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 7838 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kjobuidelegate.sip"
#include <kjobuidelegate.h>
#line 7841 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7844 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 310 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7847 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 298 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7850 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 34 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 7853 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 238 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 7856 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 7859 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 7862 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7865 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 7868 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 7871 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 7874 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 7877 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/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;

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

    {
        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;

    {
        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_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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<KIO::CopyJob *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KIO_CopyJob(sipSimpleWrapper *);}
static void dealloc_KIO_CopyJob(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KIO_CopyJob(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_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_srcUrls), meth_KIO_CopyJob_srcUrls, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KIO_CopyJob[] = {
    {sipName_Copy, KIO::CopyJob::Copy, 113},
    {sipName_Link, KIO::CopyJob::Link, 113},
    {sipName_Move, KIO::CopyJob::Move, 113},
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_KIO_CopyJob[] = {
    {"copyingLinkDone(KIO::Job *,KUrl,QString,KUrl)", 0, 0},
    {"copyingDone(KIO::Job *,KUrl,KUrl,time_t,bool,bool)", 0, 0},
    {"renamed(KIO::Job *,KUrl,KUrl)", 0, 0},
    {"creatingDir(KIO::Job *,KUrl)", 0, 0},
    {"moving(KIO::Job *,KUrl,KUrl)", 0, 0},
    {"linking(KIO::Job *,QString,KUrl)", 0, 0},
    {"copying(KIO::Job *,KUrl,KUrl)", 0, 0},
    {"processedDirs(KIO::Job *,unsigned long)", 0, 0},
    {"processedFiles(KIO::Job *,unsigned long)", 0, 0},
    {"aboutToCreate(KIO::Job *,QList<KIO::CopyInfo>)", 0, 0},
    {"totalDirs(KJob *,unsigned long)", 0, 0},
    {"totalFiles(KJob *,unsigned long)", 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},
        8, 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
},
    &KIO::CopyJob::staticMetaObject,
    0,
    pyqt4_signals_KIO_CopyJob
};

#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/copyjob.sip"
#include <copyjob.h>
#line 8227 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"

#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 8231 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 33 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 8234 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/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_KIO_CopyInfo(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_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 *);}
static PyObject *varget_KIO_CopyInfo_ctime(void *sipSelf, PyObject *)
{
    time_t sipVal;
    KIO::CopyInfo *sipCpp = reinterpret_cast<KIO::CopyInfo *>(sipSelf);

    sipVal = sipCpp->ctime;

    return PyLong_FromLong(sipVal);
}


extern "C" {static int varset_KIO_CopyInfo_ctime(void *, PyObject *, PyObject *);}
static int varset_KIO_CopyInfo_ctime(void *sipSelf, PyObject *sipPy, PyObject *)
{
    time_t sipVal;
    KIO::CopyInfo *sipCpp = reinterpret_cast<KIO::CopyInfo *>(sipSelf);

    sipVal = PyLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->ctime = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_KIO_CopyInfo_linkDest(void *, PyObject *);}
static PyObject *varget_KIO_CopyInfo_linkDest(void *sipSelf, PyObject *)
{
    QString *sipVal;
    KIO::CopyInfo *sipCpp = reinterpret_cast<KIO::CopyInfo *>(sipSelf);

    sipVal = &sipCpp->linkDest;

    return sipConvertFromType(sipVal,sipType_QString, NULL);
}


extern "C" {static int varset_KIO_CopyInfo_linkDest(void *, PyObject *, PyObject *);}
static int varset_KIO_CopyInfo_linkDest(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QString *sipVal;
    KIO::CopyInfo *sipCpp = reinterpret_cast<KIO::CopyInfo *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QString *>(sipForceConvertToType(sipPy,sipType_QString,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->linkDest = *sipVal;

    sipReleaseType(sipVal, sipType_QString, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_KIO_CopyInfo_mtime(void *, PyObject *);}
static PyObject *varget_KIO_CopyInfo_mtime(void *sipSelf, PyObject *)
{
    time_t sipVal;
    KIO::CopyInfo *sipCpp = reinterpret_cast<KIO::CopyInfo *>(sipSelf);

    sipVal = sipCpp->mtime;

    return PyLong_FromLong(sipVal);
}


extern "C" {static int varset_KIO_CopyInfo_mtime(void *, PyObject *, PyObject *);}
static int varset_KIO_CopyInfo_mtime(void *sipSelf, PyObject *sipPy, PyObject *)
{
    time_t sipVal;
    KIO::CopyInfo *sipCpp = reinterpret_cast<KIO::CopyInfo *>(sipSelf);

    sipVal = PyLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->mtime = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_KIO_CopyInfo_permissions(void *, PyObject *);}
static PyObject *varget_KIO_CopyInfo_permissions(void *sipSelf, PyObject *)
{
    int sipVal;
    KIO::CopyInfo *sipCpp = reinterpret_cast<KIO::CopyInfo *>(sipSelf);

    sipVal = sipCpp->permissions;

    return SIPLong_FromLong(sipVal);
}


extern "C" {static int varset_KIO_CopyInfo_permissions(void *, PyObject *, PyObject *);}
static int varset_KIO_CopyInfo_permissions(void *sipSelf, PyObject *sipPy, PyObject *)
{
    int sipVal;
    KIO::CopyInfo *sipCpp = reinterpret_cast<KIO::CopyInfo *>(sipSelf);

    sipVal = (int)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->permissions = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_KIO_CopyInfo_size(void *, PyObject *);}
static PyObject *varget_KIO_CopyInfo_size(void *sipSelf, PyObject *)
{
    KIO::filesize_t sipVal;
    KIO::CopyInfo *sipCpp = reinterpret_cast<KIO::CopyInfo *>(sipSelf);

    sipVal = sipCpp->size;

    return PyLong_FromUnsignedLongLong(sipVal);
}


extern "C" {static int varset_KIO_CopyInfo_size(void *, PyObject *, PyObject *);}
static int varset_KIO_CopyInfo_size(void *sipSelf, PyObject *sipPy, PyObject *)
{
    KIO::filesize_t sipVal;
    KIO::CopyInfo *sipCpp = reinterpret_cast<KIO::CopyInfo *>(sipSelf);

    sipVal = PyLong_AsUnsignedLongLongMask(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->size = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_KIO_CopyInfo_uDest(void *, PyObject *);}
static PyObject *varget_KIO_CopyInfo_uDest(void *sipSelf, PyObject *)
{
    KUrl *sipVal;
    KIO::CopyInfo *sipCpp = reinterpret_cast<KIO::CopyInfo *>(sipSelf);

    sipVal = &sipCpp->uDest;

    return sipConvertFromType(sipVal,sipType_KUrl, NULL);
}


extern "C" {static int varset_KIO_CopyInfo_uDest(void *, PyObject *, PyObject *);}
static int varset_KIO_CopyInfo_uDest(void *sipSelf, PyObject *sipPy, PyObject *)
{
    KUrl *sipVal;
    KIO::CopyInfo *sipCpp = reinterpret_cast<KIO::CopyInfo *>(sipSelf);

    int sipIsErr = 0;

    sipVal = reinterpret_cast<KUrl *>(sipForceConvertToType(sipPy,sipType_KUrl,NULL,SIP_NOT_NONE,NULL,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->uDest = *sipVal;

    return 0;
}


extern "C" {static PyObject *varget_KIO_CopyInfo_uSource(void *, PyObject *);}
static PyObject *varget_KIO_CopyInfo_uSource(void *sipSelf, PyObject *)
{
    KUrl *sipVal;
    KIO::CopyInfo *sipCpp = reinterpret_cast<KIO::CopyInfo *>(sipSelf);

    sipVal = &sipCpp->uSource;

    return sipConvertFromType(sipVal,sipType_KUrl, NULL);
}


extern "C" {static int varset_KIO_CopyInfo_uSource(void *, PyObject *, PyObject *);}
static int varset_KIO_CopyInfo_uSource(void *sipSelf, PyObject *sipPy, PyObject *)
{
    KUrl *sipVal;
    KIO::CopyInfo *sipCpp = reinterpret_cast<KIO::CopyInfo *>(sipSelf);

    int sipIsErr = 0;

    sipVal = reinterpret_cast<KUrl *>(sipForceConvertToType(sipPy,sipType_KUrl,NULL,SIP_NOT_NONE,NULL,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->uSource = *sipVal;

    return 0;
}

sipVariableDef variables_KIO_CopyInfo[] = {
    {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_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
};

#line 61 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/connection.sip"
#include <connection.h>
#line 8598 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"

#line 34 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 8602 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 30 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/connection.sip"
#include <connection.h>
#line 8605 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 8608 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8611 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 310 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8614 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 298 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8617 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 238 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 8620 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 8623 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 8626 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 8629 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 8632 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 8635 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 8638 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 8641 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/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 public method for every protected method visible from
     * this class.
     */
    QObject * sipProtect_sender() const;
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    bool event(QEvent *);
    bool eventFilter(QObject *,QEvent *);
    void timerEvent(QTimerEvent *);
    void childEvent(QChildEvent *);
    void customEvent(QEvent *);
    void connectNotify(const char *);
    void disconnectNotify(const char *);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKIO_ConnectionServer(const sipKIO_ConnectionServer &);
    sipKIO_ConnectionServer &operator = (const sipKIO_ConnectionServer &);

    char sipPyMethods[7];
};

sipKIO_ConnectionServer::sipKIO_ConnectionServer(QObject *a0): KIO::ConnectionServer(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKIO_ConnectionServer::~sipKIO_ConnectionServer()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKIO_ConnectionServer::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KIO_ConnectionServer);
}

int sipKIO_ConnectionServer::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KIO::ConnectionServer::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kio_qt_metacall(sipPySelf,sipType_KIO_ConnectionServer,_c,_id,_a);

    return _id;
}

void *sipKIO_ConnectionServer::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast && sip_kio_qt_metacast(sipPySelf,sipType_KIO_ConnectionServer,_clname)) ? this : KIO::ConnectionServer::qt_metacast(_clname);
}

bool sipKIO_ConnectionServer::event(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QObject::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *,QEvent *);

    return ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState,sipMeth,a0);
}

bool sipKIO_ConnectionServer::eventFilter(QObject *a0,QEvent *a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QObject::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,QObject *,QEvent *);

    return ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState,sipMeth,a0,a1);
}

void sipKIO_ConnectionServer::timerEvent(QTimerEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QObject::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t,PyObject *,QTimerEvent *);

    ((sipVH_QtCore_9)(sipModuleAPI_kio_QtCore->em_virthandlers[9]))(sipGILState,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)
    {
        QObject::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t,PyObject *,QChildEvent *);

    ((sipVH_QtCore_25)(sipModuleAPI_kio_QtCore->em_virthandlers[25]))(sipGILState,sipMeth,a0);
}

void sipKIO_ConnectionServer::customEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QObject::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t,PyObject *,QEvent *);

    ((sipVH_QtCore_17)(sipModuleAPI_kio_QtCore->em_virthandlers[17]))(sipGILState,sipMeth,a0);
}

void sipKIO_ConnectionServer::connectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QObject::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t,PyObject *,const char *);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState,sipMeth,a0);
}

void sipKIO_ConnectionServer::disconnectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QObject::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t,PyObject *,const char *);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState,sipMeth,a0);
}

QObject * sipKIO_ConnectionServer::sipProtect_sender() const
{
    return QObject::sender();
}

int sipKIO_ConnectionServer::sipProtect_receivers(const char *a0) const
{
    return QObject::receivers(a0);
}

void sipKIO_ConnectionServer::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipKIO_ConnectionServer::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent *a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipKIO_ConnectionServer::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipKIO_ConnectionServer::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipKIO_ConnectionServer::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}


extern "C" {static PyObject *meth_KIO_ConnectionServer_sender(PyObject *, PyObject *);}
static PyObject *meth_KIO_ConnectionServer_sender(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        sipKIO_ConnectionServer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIO_ConnectionServer, &sipCpp))
        {
            QObject *sipRes = 0;

#line 632 "/usr/local/share/py-sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp->sender());
        #else
            sipRes = helper(sipCpp->sipProtect_sender());
        #endif
#line 8901 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ConnectionServer, sipName_sender, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_ConnectionServer_receivers(PyObject *, PyObject *);}
static PyObject *meth_KIO_ConnectionServer_receivers(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        char * a0;
        sipKIO_ConnectionServer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_KIO_ConnectionServer, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 649 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp, a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 8943 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ConnectionServer, sipName_receivers, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_ConnectionServer_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_KIO_ConnectionServer_timerEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipKIO_ConnectionServer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KIO_ConnectionServer, &sipCpp, sipType_QTimerEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ConnectionServer, sipName_timerEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_ConnectionServer_childEvent(PyObject *, PyObject *);}
static PyObject *meth_KIO_ConnectionServer_childEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipKIO_ConnectionServer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KIO_ConnectionServer, &sipCpp, sipType_QChildEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ConnectionServer, sipName_childEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_ConnectionServer_customEvent(PyObject *, PyObject *);}
static PyObject *meth_KIO_ConnectionServer_customEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKIO_ConnectionServer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KIO_ConnectionServer, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ConnectionServer, sipName_customEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_ConnectionServer_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_KIO_ConnectionServer_connectNotify(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKIO_ConnectionServer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_KIO_ConnectionServer, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ConnectionServer, sipName_connectNotify, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_ConnectionServer_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_KIO_ConnectionServer_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKIO_ConnectionServer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_KIO_ConnectionServer, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ConnectionServer, sipName_disconnectNotify, NULL);

    return NULL;
}


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;

    {
        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;

    {
        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 sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKIO_ConnectionServer *>(sipCppV);
    else
        delete reinterpret_cast<KIO::ConnectionServer *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KIO_ConnectionServer(sipSimpleWrapper *);}
static void dealloc_KIO_ConnectionServer(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKIO_ConnectionServer *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KIO_ConnectionServer(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_KIO_ConnectionServer(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_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[] = {{134, 0, 1}};


static PyMethodDef methods_KIO_ConnectionServer[] = {
    {SIP_MLNAME_CAST(sipName_address), meth_KIO_ConnectionServer_address, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_KIO_ConnectionServer_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_close), meth_KIO_ConnectionServer_close, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KIO_ConnectionServer_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KIO_ConnectionServer_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KIO_ConnectionServer_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isListening), meth_KIO_ConnectionServer_isListening, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_listenForRemote), meth_KIO_ConnectionServer_listenForRemote, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_nextPendingConnection), meth_KIO_ConnectionServer_nextPendingConnection, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_KIO_ConnectionServer_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), meth_KIO_ConnectionServer_sender, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setNextPendingConnection), meth_KIO_ConnectionServer_setNextPendingConnection, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KIO_ConnectionServer_timerEvent, METH_VARARGS, NULL}
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_KIO_ConnectionServer[] = {
    {"newConnection()", 0, 0},
    {0, 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},
        13, 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_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
},
    &KIO::ConnectionServer::staticMetaObject,
    0,
    pyqt4_signals_KIO_ConnectionServer
};

#line 30 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/connection.sip"
#include <connection.h>
#line 9404 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"

#line 34 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 9408 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 9411 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 9414 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9417 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 310 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9420 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 298 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9423 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 238 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 9426 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 9429 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 9432 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 9435 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 9438 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 9441 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 9444 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/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 public method for every protected method visible from
     * this class.
     */
    QObject * sipProtect_sender() const;
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    bool event(QEvent *);
    bool eventFilter(QObject *,QEvent *);
    void timerEvent(QTimerEvent *);
    void childEvent(QChildEvent *);
    void customEvent(QEvent *);
    void connectNotify(const char *);
    void disconnectNotify(const char *);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKIO_Connection(const sipKIO_Connection &);
    sipKIO_Connection &operator = (const sipKIO_Connection &);

    char sipPyMethods[7];
};

sipKIO_Connection::sipKIO_Connection(QObject *a0): KIO::Connection(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKIO_Connection::~sipKIO_Connection()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKIO_Connection::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KIO_Connection);
}

int sipKIO_Connection::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KIO::Connection::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kio_qt_metacall(sipPySelf,sipType_KIO_Connection,_c,_id,_a);

    return _id;
}

void *sipKIO_Connection::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast && sip_kio_qt_metacast(sipPySelf,sipType_KIO_Connection,_clname)) ? this : KIO::Connection::qt_metacast(_clname);
}

bool sipKIO_Connection::event(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QObject::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *,QEvent *);

    return ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState,sipMeth,a0);
}

bool sipKIO_Connection::eventFilter(QObject *a0,QEvent *a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QObject::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,QObject *,QEvent *);

    return ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState,sipMeth,a0,a1);
}

void sipKIO_Connection::timerEvent(QTimerEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QObject::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t,PyObject *,QTimerEvent *);

    ((sipVH_QtCore_9)(sipModuleAPI_kio_QtCore->em_virthandlers[9]))(sipGILState,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)
    {
        QObject::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t,PyObject *,QChildEvent *);

    ((sipVH_QtCore_25)(sipModuleAPI_kio_QtCore->em_virthandlers[25]))(sipGILState,sipMeth,a0);
}

void sipKIO_Connection::customEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QObject::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t,PyObject *,QEvent *);

    ((sipVH_QtCore_17)(sipModuleAPI_kio_QtCore->em_virthandlers[17]))(sipGILState,sipMeth,a0);
}

void sipKIO_Connection::connectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QObject::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t,PyObject *,const char *);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState,sipMeth,a0);
}

void sipKIO_Connection::disconnectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QObject::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t,PyObject *,const char *);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState,sipMeth,a0);
}

QObject * sipKIO_Connection::sipProtect_sender() const
{
    return QObject::sender();
}

int sipKIO_Connection::sipProtect_receivers(const char *a0) const
{
    return QObject::receivers(a0);
}

void sipKIO_Connection::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipKIO_Connection::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent *a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipKIO_Connection::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipKIO_Connection::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipKIO_Connection::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}


extern "C" {static PyObject *meth_KIO_Connection_sender(PyObject *, PyObject *);}
static PyObject *meth_KIO_Connection_sender(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        sipKIO_Connection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIO_Connection, &sipCpp))
        {
            QObject *sipRes = 0;

#line 632 "/usr/local/share/py-sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp->sender());
        #else
            sipRes = helper(sipCpp->sipProtect_sender());
        #endif
#line 9704 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Connection, sipName_sender, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_Connection_receivers(PyObject *, PyObject *);}
static PyObject *meth_KIO_Connection_receivers(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        char * a0;
        sipKIO_Connection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_KIO_Connection, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 649 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp, a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 9746 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Connection, sipName_receivers, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_Connection_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_KIO_Connection_timerEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipKIO_Connection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KIO_Connection, &sipCpp, sipType_QTimerEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Connection, sipName_timerEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_Connection_childEvent(PyObject *, PyObject *);}
static PyObject *meth_KIO_Connection_childEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipKIO_Connection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KIO_Connection, &sipCpp, sipType_QChildEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Connection, sipName_childEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_Connection_customEvent(PyObject *, PyObject *);}
static PyObject *meth_KIO_Connection_customEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKIO_Connection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KIO_Connection, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Connection, sipName_customEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_Connection_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_KIO_Connection_connectNotify(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKIO_Connection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_KIO_Connection, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Connection, sipName_connectNotify, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_Connection_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_KIO_Connection_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKIO_Connection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_KIO_Connection, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Connection, sipName_disconnectNotify, NULL);

    return NULL;
}


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;

    {
        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;

    {
        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;

    {
        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;

    {
        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;

    {
        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 sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKIO_Connection *>(sipCppV);
    else
        delete reinterpret_cast<KIO::Connection *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KIO_Connection(sipSimpleWrapper *);}
static void dealloc_KIO_Connection(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKIO_Connection *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KIO_Connection(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_KIO_Connection(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_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[] = {{134, 0, 1}};


static PyMethodDef methods_KIO_Connection[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), meth_KIO_Connection_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_close), meth_KIO_Connection_close, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KIO_Connection_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectToRemote), meth_KIO_Connection_connectToRemote, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KIO_Connection_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KIO_Connection_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_errorString), meth_KIO_Connection_errorString, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hasTaskAvailable), meth_KIO_Connection_hasTaskAvailable, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_inited), meth_KIO_Connection_inited, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isConnected), meth_KIO_Connection_isConnected, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_KIO_Connection_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resume), meth_KIO_Connection_resume, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_send), meth_KIO_Connection_send, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), meth_KIO_Connection_sender, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sendnow), meth_KIO_Connection_sendnow, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_suspend), meth_KIO_Connection_suspend, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_suspended), meth_KIO_Connection_suspended, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KIO_Connection_timerEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_waitForIncomingTask), meth_KIO_Connection_waitForIncomingTask, METH_VARARGS, NULL}
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_KIO_Connection[] = {
    {"readyRead()", 0, 0},
    {0, 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},
        19, 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_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
},
    &KIO::Connection::staticMetaObject,
    0,
    pyqt4_signals_KIO_Connection
};

#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/chmodjob.sip"
#include <chmodjob.h>
#line 10386 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 10390 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 43 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 10393 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 10396 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 188 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/global.sip"
#include<qmap.h>
#line 10399 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qmap.sip"
#include <qmap.h>
#line 10402 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 77 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 10405 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 10408 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 10411 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 33 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 10414 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/jobuidelegate.sip"
#include <jobuidelegate.h>
#line 10417 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 10420 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 589 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/typedefs.sip"
#include <qpair.h>
#line 10423 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 10426 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kjobuidelegate.sip"
#include <kjobuidelegate.h>
#line 10429 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10432 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 310 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10435 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 298 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10438 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 34 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 10441 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 238 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 10444 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 10447 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 10450 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 10453 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 10456 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 10459 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 10462 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 10465 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KIO_ChmodJob(void *, const sipTypeDef *);}
static void *cast_KIO_ChmodJob(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KIO_ChmodJob)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KIO_Job)->ctd_cast((KIO::Job *)(KIO::ChmodJob *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KIO_ChmodJob(void *, int);}
static void release_KIO_ChmodJob(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<KIO::ChmodJob *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KIO_ChmodJob(sipSimpleWrapper *);}
static void dealloc_KIO_ChmodJob(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KIO_ChmodJob(sipGetAddress(sipSelf),0);
    }
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KIO_ChmodJob[] = {{127, 255, 1}};


pyqt4ClassTypeDef sipTypeDef_kio_KIO_ChmodJob = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KIO__ChmodJob,
        {0}
    },
    {
        sipNameNr_ChmodJob,
        {101, 255, 0},
        0, 0,
        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
},
    &KIO::ChmodJob::staticMetaObject,
    0,
    0
};

#line 43 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 10562 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 10566 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 10569 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 188 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/global.sip"
#include<qmap.h>
#line 10572 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qmap.sip"
#include <qmap.h>
#line 10575 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 77 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 10578 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 10581 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 10584 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 33 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 10587 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/jobuidelegate.sip"
#include <jobuidelegate.h>
#line 10590 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 10593 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 589 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/typedefs.sip"
#include <qpair.h>
#line 10596 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 10599 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kjobuidelegate.sip"
#include <kjobuidelegate.h>
#line 10602 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10605 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 310 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10608 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 298 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10611 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 34 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 10614 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 238 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 10617 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 10620 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 10623 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 10626 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 10629 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 10632 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 10635 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 10638 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/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 public method for every protected method visible from
     * this class.
     */
    QObject * sipProtect_sender() const;
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);
    void sipProtect_setCapabilities(KJob::Capabilities);
    void sipProtect_setError(int);
    void sipProtect_setErrorText(const QString&);
    void sipProtect_setProcessedAmount(KJob::Unit,qulonglong);
    void sipProtect_setTotalAmount(KJob::Unit,qulonglong);
    void sipProtect_setPercent(unsigned long);
    void sipProtect_emitResult();
    void sipProtect_emitPercent(qulonglong,qulonglong);
    void sipProtect_emitSpeed(unsigned long);
    bool sipProtect_hasSubjobs();
    const QList<KJob *>& sipProtect_subjobs() const;
    void sipProtect_clearSubjobs();
    void sipProtectVirt_slotResult(bool,KJob *);
    void sipProtectVirt_slotInfoMessage(bool,KJob *,const QString&,const QString&);
    bool sipProtectVirt_doKill(bool);
    bool sipProtectVirt_doSuspend(bool);
    bool sipProtectVirt_doResume(bool);
    bool sipProtectVirt_addSubjob(bool,KJob *);
    bool sipProtectVirt_removeSubjob(bool,KJob *);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    bool doKill();
    bool doSuspend();
    bool doResume();
    bool addSubjob(KJob *);
    bool removeSubjob(KJob *);
    void slotResult(KJob *);
    void slotInfoMessage(KJob *,const QString&,const QString&);
    void start();
    QString errorString() const;
    bool event(QEvent *);
    bool eventFilter(QObject *,QEvent *);
    void timerEvent(QTimerEvent *);
    void childEvent(QChildEvent *);
    void customEvent(QEvent *);
    void connectNotify(const char *);
    void disconnectNotify(const char *);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKIO_Job(const sipKIO_Job &);
    sipKIO_Job &operator = (const sipKIO_Job &);

    char sipPyMethods[16];
};

sipKIO_Job::sipKIO_Job(): KIO::Job(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKIO_Job::~sipKIO_Job()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKIO_Job::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KIO_Job);
}

int sipKIO_Job::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KIO::Job::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kio_qt_metacall(sipPySelf,sipType_KIO_Job,_c,_id,_a);

    return _id;
}

void *sipKIO_Job::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast && sip_kio_qt_metacast(sipPySelf,sipType_KIO_Job,_clname)) ? this : KIO::Job::qt_metacast(_clname);
}

bool sipKIO_Job::doKill()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_doKill);

    if (!sipMeth)
        return KIO::Job::doKill();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_kio_QtCore->em_virthandlers[7]))(sipGILState,sipMeth);
}

bool sipKIO_Job::doSuspend()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_doSuspend);

    if (!sipMeth)
        return KIO::Job::doSuspend();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_kio_QtCore->em_virthandlers[7]))(sipGILState,sipMeth);
}

bool sipKIO_Job::doResume()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_doResume);

    if (!sipMeth)
        return KIO::Job::doResume();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_kio_QtCore->em_virthandlers[7]))(sipGILState,sipMeth);
}

bool sipKIO_Job::addSubjob(KJob *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_addSubjob);

    if (!sipMeth)
        return KIO::Job::addSubjob(a0);

    typedef bool (*sipVH_kdecore_53)(sip_gilstate_t,PyObject *,KJob *);

    return ((sipVH_kdecore_53)(sipModuleAPI_kio_kdecore->em_virthandlers[53]))(sipGILState,sipMeth,a0);
}

bool sipKIO_Job::removeSubjob(KJob *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_removeSubjob);

    if (!sipMeth)
        return KIO::Job::removeSubjob(a0);

    typedef bool (*sipVH_kdecore_53)(sip_gilstate_t,PyObject *,KJob *);

    return ((sipVH_kdecore_53)(sipModuleAPI_kio_kdecore->em_virthandlers[53]))(sipGILState,sipMeth,a0);
}

void sipKIO_Job::slotResult(KJob *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_slotResult);

    if (!sipMeth)
    {
        KCompositeJob::slotResult(a0);
        return;
    }

    typedef void (*sipVH_kdecore_27)(sip_gilstate_t,PyObject *,KJob *);

    ((sipVH_kdecore_27)(sipModuleAPI_kio_kdecore->em_virthandlers[27]))(sipGILState,sipMeth,a0);
}

void sipKIO_Job::slotInfoMessage(KJob *a0,const QString& a1,const QString& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_slotInfoMessage);

    if (!sipMeth)
    {
        KCompositeJob::slotInfoMessage(a0,a1,a2);
        return;
    }

    typedef void (*sipVH_kdecore_23)(sip_gilstate_t,PyObject *,KJob *,const QString&,const QString&);

    ((sipVH_kdecore_23)(sipModuleAPI_kio_kdecore->em_virthandlers[23]))(sipGILState,sipMeth,a0,a1,a2);
}

void sipKIO_Job::start()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_start);

    if (!sipMeth)
    {
        KIO::Job::start();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState,sipMeth);
}

QString sipKIO_Job::errorString() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_errorString);

    if (!sipMeth)
        return KIO::Job::errorString();

    typedef QString (*sipVH_QtCore_62)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtCore_62)(sipModuleAPI_kio_QtCore->em_virthandlers[62]))(sipGILState,sipMeth);
}

bool sipKIO_Job::event(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QObject::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *,QEvent *);

    return ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState,sipMeth,a0);
}

bool sipKIO_Job::eventFilter(QObject *a0,QEvent *a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QObject::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,QObject *,QEvent *);

    return ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState,sipMeth,a0,a1);
}

void sipKIO_Job::timerEvent(QTimerEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QObject::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t,PyObject *,QTimerEvent *);

    ((sipVH_QtCore_9)(sipModuleAPI_kio_QtCore->em_virthandlers[9]))(sipGILState,sipMeth,a0);
}

void sipKIO_Job::childEvent(QChildEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QObject::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t,PyObject *,QChildEvent *);

    ((sipVH_QtCore_25)(sipModuleAPI_kio_QtCore->em_virthandlers[25]))(sipGILState,sipMeth,a0);
}

void sipKIO_Job::customEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QObject::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t,PyObject *,QEvent *);

    ((sipVH_QtCore_17)(sipModuleAPI_kio_QtCore->em_virthandlers[17]))(sipGILState,sipMeth,a0);
}

void sipKIO_Job::connectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QObject::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t,PyObject *,const char *);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState,sipMeth,a0);
}

void sipKIO_Job::disconnectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QObject::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t,PyObject *,const char *);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState,sipMeth,a0);
}

QObject * sipKIO_Job::sipProtect_sender() const
{
    return QObject::sender();
}

int sipKIO_Job::sipProtect_receivers(const char *a0) const
{
    return QObject::receivers(a0);
}

void sipKIO_Job::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipKIO_Job::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent *a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipKIO_Job::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipKIO_Job::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipKIO_Job::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

void sipKIO_Job::sipProtect_setCapabilities(KJob::Capabilities a0)
{
    KJob::setCapabilities(a0);
}

void sipKIO_Job::sipProtect_setError(int a0)
{
    KJob::setError(a0);
}

void sipKIO_Job::sipProtect_setErrorText(const QString& a0)
{
    KJob::setErrorText(a0);
}

void sipKIO_Job::sipProtect_setProcessedAmount(KJob::Unit a0,qulonglong a1)
{
    KJob::setProcessedAmount(a0,a1);
}

void sipKIO_Job::sipProtect_setTotalAmount(KJob::Unit a0,qulonglong a1)
{
    KJob::setTotalAmount(a0,a1);
}

void sipKIO_Job::sipProtect_setPercent(unsigned long a0)
{
    KJob::setPercent(a0);
}

void sipKIO_Job::sipProtect_emitResult()
{
    KJob::emitResult();
}

void sipKIO_Job::sipProtect_emitPercent(qulonglong a0,qulonglong a1)
{
    KJob::emitPercent(a0,a1);
}

void sipKIO_Job::sipProtect_emitSpeed(unsigned long a0)
{
    KJob::emitSpeed(a0);
}

bool sipKIO_Job::sipProtect_hasSubjobs()
{
    return KCompositeJob::hasSubjobs();
}

const QList<KJob *>& sipKIO_Job::sipProtect_subjobs() const
{
    return KCompositeJob::subjobs();
}

void sipKIO_Job::sipProtect_clearSubjobs()
{
    KCompositeJob::clearSubjobs();
}

void sipKIO_Job::sipProtectVirt_slotResult(bool sipSelfWasArg,KJob *a0)
{
    (sipSelfWasArg ? KCompositeJob::slotResult(a0) : slotResult(a0));
}

void sipKIO_Job::sipProtectVirt_slotInfoMessage(bool sipSelfWasArg,KJob *a0,const QString& a1,const QString& a2)
{
    (sipSelfWasArg ? KCompositeJob::slotInfoMessage(a0,a1,a2) : slotInfoMessage(a0,a1,a2));
}

bool sipKIO_Job::sipProtectVirt_doKill(bool sipSelfWasArg)
{
    return (sipSelfWasArg ? KIO::Job::doKill() : doKill());
}

bool sipKIO_Job::sipProtectVirt_doSuspend(bool sipSelfWasArg)
{
    return (sipSelfWasArg ? KIO::Job::doSuspend() : doSuspend());
}

bool sipKIO_Job::sipProtectVirt_doResume(bool sipSelfWasArg)
{
    return (sipSelfWasArg ? KIO::Job::doResume() : doResume());
}

bool sipKIO_Job::sipProtectVirt_addSubjob(bool sipSelfWasArg,KJob *a0)
{
    return (sipSelfWasArg ? KIO::Job::addSubjob(a0) : addSubjob(a0));
}

bool sipKIO_Job::sipProtectVirt_removeSubjob(bool sipSelfWasArg,KJob *a0)
{
    return (sipSelfWasArg ? KIO::Job::removeSubjob(a0) : removeSubjob(a0));
}


extern "C" {static PyObject *meth_KIO_Job_sender(PyObject *, PyObject *);}
static PyObject *meth_KIO_Job_sender(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        sipKIO_Job *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIO_Job, &sipCpp))
        {
            QObject *sipRes = 0;

#line 632 "/usr/local/share/py-sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp->sender());
        #else
            sipRes = helper(sipCpp->sipProtect_sender());
        #endif
#line 11165 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Job, sipName_sender, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_Job_receivers(PyObject *, PyObject *);}
static PyObject *meth_KIO_Job_receivers(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        char * a0;
        sipKIO_Job *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_KIO_Job, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 649 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp, a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 11207 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Job, sipName_receivers, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_Job_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_KIO_Job_timerEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipKIO_Job *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KIO_Job, &sipCpp, sipType_QTimerEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Job, sipName_timerEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_Job_childEvent(PyObject *, PyObject *);}
static PyObject *meth_KIO_Job_childEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipKIO_Job *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KIO_Job, &sipCpp, sipType_QChildEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Job, sipName_childEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_Job_customEvent(PyObject *, PyObject *);}
static PyObject *meth_KIO_Job_customEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKIO_Job *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KIO_Job, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Job, sipName_customEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_Job_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_KIO_Job_connectNotify(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKIO_Job *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_KIO_Job, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Job, sipName_connectNotify, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_Job_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_KIO_Job_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKIO_Job *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_KIO_Job, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Job, sipName_disconnectNotify, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_Job_setCapabilities(PyObject *, PyObject *);}
static PyObject *meth_KIO_Job_setCapabilities(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KJob::Capabilities * a0;
        int a0State = 0;
        sipKIO_Job *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KIO_Job, &sipCpp, sipType_KJob_Capabilities, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setCapabilities(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KJob_Capabilities,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Job, sipName_setCapabilities, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_Job_setError(PyObject *, PyObject *);}
static PyObject *meth_KIO_Job_setError(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        sipKIO_Job *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KIO_Job, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setError(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Job, sipName_setError, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_Job_setErrorText(PyObject *, PyObject *);}
static PyObject *meth_KIO_Job_setErrorText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString * a0;
        int a0State = 0;
        sipKIO_Job *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KIO_Job, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setErrorText(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Job, sipName_setErrorText, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_Job_setProcessedAmount(PyObject *, PyObject *);}
static PyObject *meth_KIO_Job_setProcessedAmount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KJob::Unit a0;
        qulonglong a1;
        sipKIO_Job *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEo", &sipSelf, sipType_KIO_Job, &sipCpp, sipType_KJob_Unit, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setProcessedAmount(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Job, sipName_setProcessedAmount, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_Job_setTotalAmount(PyObject *, PyObject *);}
static PyObject *meth_KIO_Job_setTotalAmount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KJob::Unit a0;
        qulonglong a1;
        sipKIO_Job *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEo", &sipSelf, sipType_KIO_Job, &sipCpp, sipType_KJob_Unit, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setTotalAmount(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Job, sipName_setTotalAmount, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_Job_setPercent(PyObject *, PyObject *);}
static PyObject *meth_KIO_Job_setPercent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        unsigned long a0;
        sipKIO_Job *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bm", &sipSelf, sipType_KIO_Job, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setPercent(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Job, sipName_setPercent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_Job_emitResult(PyObject *, PyObject *);}
static PyObject *meth_KIO_Job_emitResult(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        sipKIO_Job *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIO_Job, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_emitResult();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Job, sipName_emitResult, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_Job_emitPercent(PyObject *, PyObject *);}
static PyObject *meth_KIO_Job_emitPercent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        qulonglong a0;
        qulonglong a1;
        sipKIO_Job *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Boo", &sipSelf, sipType_KIO_Job, &sipCpp, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_emitPercent(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Job, sipName_emitPercent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_Job_emitSpeed(PyObject *, PyObject *);}
static PyObject *meth_KIO_Job_emitSpeed(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        unsigned long a0;
        sipKIO_Job *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bm", &sipSelf, sipType_KIO_Job, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_emitSpeed(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Job, sipName_emitSpeed, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_Job_hasSubjobs(PyObject *, PyObject *);}
static PyObject *meth_KIO_Job_hasSubjobs(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        sipKIO_Job *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIO_Job, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_hasSubjobs();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Job, sipName_hasSubjobs, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_Job_subjobs(PyObject *, PyObject *);}
static PyObject *meth_KIO_Job_subjobs(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        sipKIO_Job *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIO_Job, &sipCpp))
        {
            QList<KJob *> *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<KJob *>(sipCpp->sipProtect_subjobs());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QList_0101KJob,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Job, sipName_subjobs, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_Job_clearSubjobs(PyObject *, PyObject *);}
static PyObject *meth_KIO_Job_clearSubjobs(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        sipKIO_Job *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIO_Job, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_clearSubjobs();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Job, sipName_clearSubjobs, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_Job_slotResult(PyObject *, PyObject *);}
static PyObject *meth_KIO_Job_slotResult(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KJob * a0;
        sipKIO_Job *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KIO_Job, &sipCpp, sipType_KJob, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_slotResult(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Job, sipName_slotResult, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_Job_slotInfoMessage(PyObject *, PyObject *);}
static PyObject *meth_KIO_Job_slotInfoMessage(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KJob * a0;
        const QString * a1;
        int a1State = 0;
        const QString * a2;
        int a2State = 0;
        sipKIO_Job *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J1J1", &sipSelf, sipType_KIO_Job, &sipCpp, sipType_KJob, &a0, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_slotInfoMessage(sipSelfWasArg,a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Job, sipName_slotInfoMessage, NULL);

    return NULL;
}


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;

    {
        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));

    {
        sipKIO_Job *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIO_Job, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_doKill(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(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));

    {
        sipKIO_Job *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIO_Job, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_doSuspend(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(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));

    {
        sipKIO_Job *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIO_Job, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_doResume(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(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));

    {
        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;
        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;

    {
        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;

    {
        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;

    {
        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;

    {
        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;
        sipKIO_Job *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KIO_Job, &sipCpp, sipType_KJob, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_addSubjob(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(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;
        sipKIO_Job *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KIO_Job, &sipCpp, sipType_KJob, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_removeSubjob(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(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 sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKIO_Job *>(sipCppV);
    else
        delete reinterpret_cast<KIO::Job *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KIO_Job(sipSimpleWrapper *);}
static void dealloc_KIO_Job(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKIO_Job *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KIO_Job(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_KIO_Job(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_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_childEvent), meth_KIO_Job_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_clearSubjobs), meth_KIO_Job_clearSubjobs, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KIO_Job_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KIO_Job_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_detailedErrorStrings), meth_KIO_Job_detailedErrorStrings, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KIO_Job_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_doKill), meth_KIO_Job_doKill, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_doResume), meth_KIO_Job_doResume, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_doSuspend), meth_KIO_Job_doSuspend, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_emitPercent), meth_KIO_Job_emitPercent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_emitResult), meth_KIO_Job_emitResult, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_emitSpeed), meth_KIO_Job_emitSpeed, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_errorString), meth_KIO_Job_errorString, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hasSubjobs), meth_KIO_Job_hasSubjobs, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isInteractive), meth_KIO_Job_isInteractive, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mergeMetaData), meth_KIO_Job_mergeMetaData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_metaData), meth_KIO_Job_metaData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_outgoingMetaData), meth_KIO_Job_outgoingMetaData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_parentJob), meth_KIO_Job_parentJob, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_queryMetaData), meth_KIO_Job_queryMetaData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_KIO_Job_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_removeSubjob), meth_KIO_Job_removeSubjob, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), meth_KIO_Job_sender, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCapabilities), meth_KIO_Job_setCapabilities, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setError), meth_KIO_Job_setError, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setErrorText), meth_KIO_Job_setErrorText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMetaData), meth_KIO_Job_setMetaData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setParentJob), meth_KIO_Job_setParentJob, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPercent), meth_KIO_Job_setPercent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setProcessedAmount), meth_KIO_Job_setProcessedAmount, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTotalAmount), meth_KIO_Job_setTotalAmount, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showErrorDialog), meth_KIO_Job_showErrorDialog, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotInfoMessage), meth_KIO_Job_slotInfoMessage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotResult), meth_KIO_Job_slotResult, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_start), meth_KIO_Job_start, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_subjobs), meth_KIO_Job_subjobs, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KIO_Job_timerEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_ui), meth_KIO_Job_ui, METH_VARARGS, NULL}
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_KIO_Job[] = {
    {"connected(KIO::Job *)", 0, 0},
    {"canceled(KJob *)", 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},
        40, 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_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
},
    &KIO::Job::staticMetaObject,
    0,
    pyqt4_signals_KIO_Job
};

#line 71 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/authinfo.sip"
#include <authinfo.h>
#line 12477 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"

#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 12481 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qmap.sip"
#include <qmap.h>
#line 12484 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 77 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 12487 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 56 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 12490 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/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_KIO_NetRC_AutoLogin(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_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 *);}
static PyObject *varget_KIO_NetRC_AutoLogin_login(void *sipSelf, PyObject *)
{
    QString *sipVal;
    KIO::NetRC::AutoLogin *sipCpp = reinterpret_cast<KIO::NetRC::AutoLogin *>(sipSelf);

    sipVal = &sipCpp->login;

    return sipConvertFromType(sipVal,sipType_QString, NULL);
}


extern "C" {static int varset_KIO_NetRC_AutoLogin_login(void *, PyObject *, PyObject *);}
static int varset_KIO_NetRC_AutoLogin_login(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QString *sipVal;
    KIO::NetRC::AutoLogin *sipCpp = reinterpret_cast<KIO::NetRC::AutoLogin *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QString *>(sipForceConvertToType(sipPy,sipType_QString,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->login = *sipVal;

    sipReleaseType(sipVal, sipType_QString, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_KIO_NetRC_AutoLogin_macdef(void *, PyObject *);}
static PyObject *varget_KIO_NetRC_AutoLogin_macdef(void *sipSelf, PyObject *)
{
    QMap<QString,QStringList> *sipVal;
    KIO::NetRC::AutoLogin *sipCpp = reinterpret_cast<KIO::NetRC::AutoLogin *>(sipSelf);

    sipVal = &sipCpp->macdef;

    return sipConvertFromType(sipVal,sipType_QMap_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 *);}
static PyObject *varget_KIO_NetRC_AutoLogin_machine(void *sipSelf, PyObject *)
{
    QString *sipVal;
    KIO::NetRC::AutoLogin *sipCpp = reinterpret_cast<KIO::NetRC::AutoLogin *>(sipSelf);

    sipVal = &sipCpp->machine;

    return sipConvertFromType(sipVal,sipType_QString, NULL);
}


extern "C" {static int varset_KIO_NetRC_AutoLogin_machine(void *, PyObject *, PyObject *);}
static int varset_KIO_NetRC_AutoLogin_machine(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QString *sipVal;
    KIO::NetRC::AutoLogin *sipCpp = reinterpret_cast<KIO::NetRC::AutoLogin *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QString *>(sipForceConvertToType(sipPy,sipType_QString,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->machine = *sipVal;

    sipReleaseType(sipVal, sipType_QString, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_KIO_NetRC_AutoLogin_password(void *, PyObject *);}
static PyObject *varget_KIO_NetRC_AutoLogin_password(void *sipSelf, PyObject *)
{
    QString *sipVal;
    KIO::NetRC::AutoLogin *sipCpp = reinterpret_cast<KIO::NetRC::AutoLogin *>(sipSelf);

    sipVal = &sipCpp->password;

    return sipConvertFromType(sipVal,sipType_QString, NULL);
}


extern "C" {static int varset_KIO_NetRC_AutoLogin_password(void *, PyObject *, PyObject *);}
static int varset_KIO_NetRC_AutoLogin_password(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QString *sipVal;
    KIO::NetRC::AutoLogin *sipCpp = reinterpret_cast<KIO::NetRC::AutoLogin *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QString *>(sipForceConvertToType(sipPy,sipType_QString,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->password = *sipVal;

    sipReleaseType(sipVal, sipType_QString, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_KIO_NetRC_AutoLogin_type(void *, PyObject *);}
static PyObject *varget_KIO_NetRC_AutoLogin_type(void *sipSelf, PyObject *)
{
    QString *sipVal;
    KIO::NetRC::AutoLogin *sipCpp = reinterpret_cast<KIO::NetRC::AutoLogin *>(sipSelf);

    sipVal = &sipCpp->type;

    return sipConvertFromType(sipVal,sipType_QString, NULL);
}


extern "C" {static int varset_KIO_NetRC_AutoLogin_type(void *, PyObject *, PyObject *);}
static int varset_KIO_NetRC_AutoLogin_type(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QString *sipVal;
    KIO::NetRC::AutoLogin *sipCpp = reinterpret_cast<KIO::NetRC::AutoLogin *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QString *>(sipForceConvertToType(sipPy,sipType_QString,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->type = *sipVal;

    sipReleaseType(sipVal, sipType_QString, sipValState);

    return 0;
}

sipVariableDef variables_KIO_NetRC_AutoLogin[] = {
    {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_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
};

#line 71 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/authinfo.sip"
#include <authinfo.h>
#line 12810 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"

#line 71 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/authinfo.sip"
#include <authinfo.h>
#line 12814 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/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 331 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() != 0);
#line 12832 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/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 326 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() != a0->operator int());
#line 12862 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/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 321 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() == a0->operator int());
#line 12898 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/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 315 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = new KIO::NetRC::LookUpMode(*a0 ^ a1);
#line 13007 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/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 310 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = new KIO::NetRC::LookUpMode(*a0 | a1);
#line 13059 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/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_KIO_NetRC_LookUpMode(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_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 336 "/usr/local/share/py-sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a KIO::NetRC::LookUpMode is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KIO_NetRC_LookUpModeFlag)) ||
            sipCanConvertToType(sipPy, sipType_KIO_NetRC_LookUpMode, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KIO_NetRC_LookUpModeFlag)))
{
    *sipCppPtr = new KIO::NetRC::LookUpMode(SIPLong_AsLong(sipPy));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<KIO::NetRC::LookUpMode *>(sipConvertToType(sipPy, sipType_KIO_NetRC_LookUpMode, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 13354 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/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_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,
    1,
    0
};

#line 71 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/authinfo.sip"
#include <authinfo.h>
#line 13427 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"

#line 33 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 13431 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 71 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/authinfo.sip"
#include <authinfo.h>
#line 13434 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 13437 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 71 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/authinfo.sip"
#include <authinfo.h>
#line 13440 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/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_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_reload), meth_KIO_NetRC_reload, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_self), meth_KIO_NetRC_self, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KIO_NetRC[] = {
    {sipName_defaultOnly, KIO::NetRC::defaultOnly, 145},
    {sipName_exactOnly, KIO::NetRC::exactOnly, 145},
    {sipName_presetOnly, KIO::NetRC::presetOnly, 145},
};


pyqt4ClassTypeDef sipTypeDef_kio_KIO_NetRC = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KIO__NetRC,
        {0}
    },
    {
        sipNameNr_NetRC,
        {101, 255, 0},
        3, 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
};

#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/authinfo.sip"
#include <authinfo.h>
#line 13613 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"

#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 13617 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 33 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 13620 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 238 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 13623 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/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;

    {
        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;
        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;
        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_KIO_AuthInfo(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_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, KIO::AuthInfo::ExtraFieldMandatory, 105},
    {sipName_ExtraFieldNoFlags, KIO::AuthInfo::ExtraFieldNoFlags, 105},
    {sipName_ExtraFieldReadOnly, KIO::AuthInfo::ExtraFieldReadOnly, 105},
};


extern "C" {static PyObject *varget_KIO_AuthInfo_caption(void *, PyObject *);}
static PyObject *varget_KIO_AuthInfo_caption(void *sipSelf, PyObject *)
{
    QString *sipVal;
    KIO::AuthInfo *sipCpp = reinterpret_cast<KIO::AuthInfo *>(sipSelf);

    sipVal = &sipCpp->caption;

    return sipConvertFromType(sipVal,sipType_QString, NULL);
}


extern "C" {static int varset_KIO_AuthInfo_caption(void *, PyObject *, PyObject *);}
static int varset_KIO_AuthInfo_caption(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QString *sipVal;
    KIO::AuthInfo *sipCpp = reinterpret_cast<KIO::AuthInfo *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QString *>(sipForceConvertToType(sipPy,sipType_QString,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->caption = *sipVal;

    sipReleaseType(sipVal, sipType_QString, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_KIO_AuthInfo_comment(void *, PyObject *);}
static PyObject *varget_KIO_AuthInfo_comment(void *sipSelf, PyObject *)
{
    QString *sipVal;
    KIO::AuthInfo *sipCpp = reinterpret_cast<KIO::AuthInfo *>(sipSelf);

    sipVal = &sipCpp->comment;

    return sipConvertFromType(sipVal,sipType_QString, NULL);
}


extern "C" {static int varset_KIO_AuthInfo_comment(void *, PyObject *, PyObject *);}
static int varset_KIO_AuthInfo_comment(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QString *sipVal;
    KIO::AuthInfo *sipCpp = reinterpret_cast<KIO::AuthInfo *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QString *>(sipForceConvertToType(sipPy,sipType_QString,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->comment = *sipVal;

    sipReleaseType(sipVal, sipType_QString, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_KIO_AuthInfo_commentLabel(void *, PyObject *);}
static PyObject *varget_KIO_AuthInfo_commentLabel(void *sipSelf, PyObject *)
{
    QString *sipVal;
    KIO::AuthInfo *sipCpp = reinterpret_cast<KIO::AuthInfo *>(sipSelf);

    sipVal = &sipCpp->commentLabel;

    return sipConvertFromType(sipVal,sipType_QString, NULL);
}


extern "C" {static int varset_KIO_AuthInfo_commentLabel(void *, PyObject *, PyObject *);}
static int varset_KIO_AuthInfo_commentLabel(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QString *sipVal;
    KIO::AuthInfo *sipCpp = reinterpret_cast<KIO::AuthInfo *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QString *>(sipForceConvertToType(sipPy,sipType_QString,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->commentLabel = *sipVal;

    sipReleaseType(sipVal, sipType_QString, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_KIO_AuthInfo_digestInfo(void *, PyObject *);}
static PyObject *varget_KIO_AuthInfo_digestInfo(void *sipSelf, PyObject *)
{
    QString *sipVal;
    KIO::AuthInfo *sipCpp = reinterpret_cast<KIO::AuthInfo *>(sipSelf);

    sipVal = &sipCpp->digestInfo;

    return sipConvertFromType(sipVal,sipType_QString, NULL);
}


extern "C" {static int varset_KIO_AuthInfo_digestInfo(void *, PyObject *, PyObject *);}
static int varset_KIO_AuthInfo_digestInfo(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QString *sipVal;
    KIO::AuthInfo *sipCpp = reinterpret_cast<KIO::AuthInfo *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QString *>(sipForceConvertToType(sipPy,sipType_QString,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->digestInfo = *sipVal;

    sipReleaseType(sipVal, sipType_QString, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_KIO_AuthInfo_keepPassword(void *, PyObject *);}
static PyObject *varget_KIO_AuthInfo_keepPassword(void *sipSelf, PyObject *)
{
    bool sipVal;
    KIO::AuthInfo *sipCpp = reinterpret_cast<KIO::AuthInfo *>(sipSelf);

    sipVal = sipCpp->keepPassword;

    return PyBool_FromLong(sipVal);
}


extern "C" {static int varset_KIO_AuthInfo_keepPassword(void *, PyObject *, PyObject *);}
static int varset_KIO_AuthInfo_keepPassword(void *sipSelf, PyObject *sipPy, PyObject *)
{
    bool sipVal;
    KIO::AuthInfo *sipCpp = reinterpret_cast<KIO::AuthInfo *>(sipSelf);

    sipVal = (bool)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->keepPassword = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_KIO_AuthInfo_password(void *, PyObject *);}
static PyObject *varget_KIO_AuthInfo_password(void *sipSelf, PyObject *)
{
    QString *sipVal;
    KIO::AuthInfo *sipCpp = reinterpret_cast<KIO::AuthInfo *>(sipSelf);

    sipVal = &sipCpp->password;

    return sipConvertFromType(sipVal,sipType_QString, NULL);
}


extern "C" {static int varset_KIO_AuthInfo_password(void *, PyObject *, PyObject *);}
static int varset_KIO_AuthInfo_password(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QString *sipVal;
    KIO::AuthInfo *sipCpp = reinterpret_cast<KIO::AuthInfo *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QString *>(sipForceConvertToType(sipPy,sipType_QString,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->password = *sipVal;

    sipReleaseType(sipVal, sipType_QString, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_KIO_AuthInfo_prompt(void *, PyObject *);}
static PyObject *varget_KIO_AuthInfo_prompt(void *sipSelf, PyObject *)
{
    QString *sipVal;
    KIO::AuthInfo *sipCpp = reinterpret_cast<KIO::AuthInfo *>(sipSelf);

    sipVal = &sipCpp->prompt;

    return sipConvertFromType(sipVal,sipType_QString, NULL);
}


extern "C" {static int varset_KIO_AuthInfo_prompt(void *, PyObject *, PyObject *);}
static int varset_KIO_AuthInfo_prompt(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QString *sipVal;
    KIO::AuthInfo *sipCpp = reinterpret_cast<KIO::AuthInfo *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QString *>(sipForceConvertToType(sipPy,sipType_QString,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->prompt = *sipVal;

    sipReleaseType(sipVal, sipType_QString, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_KIO_AuthInfo_readOnly(void *, PyObject *);}
static PyObject *varget_KIO_AuthInfo_readOnly(void *sipSelf, PyObject *)
{
    bool sipVal;
    KIO::AuthInfo *sipCpp = reinterpret_cast<KIO::AuthInfo *>(sipSelf);

    sipVal = sipCpp->readOnly;

    return PyBool_FromLong(sipVal);
}


extern "C" {static int varset_KIO_AuthInfo_readOnly(void *, PyObject *, PyObject *);}
static int varset_KIO_AuthInfo_readOnly(void *sipSelf, PyObject *sipPy, PyObject *)
{
    bool sipVal;
    KIO::AuthInfo *sipCpp = reinterpret_cast<KIO::AuthInfo *>(sipSelf);

    sipVal = (bool)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->readOnly = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_KIO_AuthInfo_realmValue(void *, PyObject *);}
static PyObject *varget_KIO_AuthInfo_realmValue(void *sipSelf, PyObject *)
{
    QString *sipVal;
    KIO::AuthInfo *sipCpp = reinterpret_cast<KIO::AuthInfo *>(sipSelf);

    sipVal = &sipCpp->realmValue;

    return sipConvertFromType(sipVal,sipType_QString, NULL);
}


extern "C" {static int varset_KIO_AuthInfo_realmValue(void *, PyObject *, PyObject *);}
static int varset_KIO_AuthInfo_realmValue(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QString *sipVal;
    KIO::AuthInfo *sipCpp = reinterpret_cast<KIO::AuthInfo *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QString *>(sipForceConvertToType(sipPy,sipType_QString,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->realmValue = *sipVal;

    sipReleaseType(sipVal, sipType_QString, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_KIO_AuthInfo_url(void *, PyObject *);}
static PyObject *varget_KIO_AuthInfo_url(void *sipSelf, PyObject *)
{
    KUrl *sipVal;
    KIO::AuthInfo *sipCpp = reinterpret_cast<KIO::AuthInfo *>(sipSelf);

    sipVal = &sipCpp->url;

    return sipConvertFromType(sipVal,sipType_KUrl, NULL);
}


extern "C" {static int varset_KIO_AuthInfo_url(void *, PyObject *, PyObject *);}
static int varset_KIO_AuthInfo_url(void *sipSelf, PyObject *sipPy, PyObject *)
{
    KUrl *sipVal;
    KIO::AuthInfo *sipCpp = reinterpret_cast<KIO::AuthInfo *>(sipSelf);

    int sipIsErr = 0;

    sipVal = reinterpret_cast<KUrl *>(sipForceConvertToType(sipPy,sipType_KUrl,NULL,SIP_NOT_NONE,NULL,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->url = *sipVal;

    return 0;
}


extern "C" {static PyObject *varget_KIO_AuthInfo_username(void *, PyObject *);}
static PyObject *varget_KIO_AuthInfo_username(void *sipSelf, PyObject *)
{
    QString *sipVal;
    KIO::AuthInfo *sipCpp = reinterpret_cast<KIO::AuthInfo *>(sipSelf);

    sipVal = &sipCpp->username;

    return sipConvertFromType(sipVal,sipType_QString, NULL);
}


extern "C" {static int varset_KIO_AuthInfo_username(void *, PyObject *, PyObject *);}
static int varset_KIO_AuthInfo_username(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QString *sipVal;
    KIO::AuthInfo *sipCpp = reinterpret_cast<KIO::AuthInfo *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QString *>(sipForceConvertToType(sipPy,sipType_QString,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->username = *sipVal;

    sipReleaseType(sipVal, sipType_QString, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_KIO_AuthInfo_verifyPath(void *, PyObject *);}
static PyObject *varget_KIO_AuthInfo_verifyPath(void *sipSelf, PyObject *)
{
    bool sipVal;
    KIO::AuthInfo *sipCpp = reinterpret_cast<KIO::AuthInfo *>(sipSelf);

    sipVal = sipCpp->verifyPath;

    return PyBool_FromLong(sipVal);
}


extern "C" {static int varset_KIO_AuthInfo_verifyPath(void *, PyObject *, PyObject *);}
static int varset_KIO_AuthInfo_verifyPath(void *sipSelf, PyObject *sipPy, PyObject *)
{
    bool sipVal;
    KIO::AuthInfo *sipCpp = reinterpret_cast<KIO::AuthInfo *>(sipSelf);

    sipVal = (bool)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->verifyPath = sipVal;

    return 0;
}

sipVariableDef variables_KIO_AuthInfo[] = {
    {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_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
};


#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/chmodjob.sip"
#include <chmodjob.h>
#line 14388 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 133 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/kfileitem.sip"
#include <kfileitem.h>
#line 14391 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 14394 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 51 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/copyjob.sip"
#include <copyjob.h>
#line 14397 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 33 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 14400 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 33 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 14403 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/davjob.sip"
#include <davjob.h>
#line 14406 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 206 "/usr/local/share/py-sip/QtXml/qdom.sip"
#include <qdom.h>
#line 14409 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/deletejob.sip"
#include <deletejob.h>
#line 14412 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/directorysizejob.sip"
#include <directorysizejob.h>
#line 14415 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 204 "/usr/local/share/py-sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 14418 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 14421 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kjobtrackerinterface.sip"
#include <kjobtrackerinterface.h>
#line 14424 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 91 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 14427 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 360 "/usr/local/share/py-sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 14430 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 130 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 14433 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 172 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 14436 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/filejob.sip"
#include <filejob.h>
#line 14439 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 14442 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 222 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 14445 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 248 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 14448 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 188 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/global.sip"
#include<qmap.h>
#line 14451 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 282 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 14454 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 305 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 14457 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 339 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 14460 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 14463 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/metainfojob.sip"
#include <metainfojob.h>
#include <kfileitem.h>
#include <jobclasses.h>
#line 14468 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 43 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 14471 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 14474 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 14477 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/previewjob.sip"
#include <previewjob.h>
#line 14480 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 14483 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart7.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 14486 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/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_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_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, KIO::CC_Cache, 106},
    {sipName_CC_CacheOnly, KIO::CC_CacheOnly, 106},
    {sipName_CC_Refresh, KIO::CC_Refresh, 106},
    {sipName_CC_Reload, KIO::CC_Reload, 106},
    {sipName_CC_Verify, KIO::CC_Verify, 106},
    {sipName_CMD_CHMOD, KIO::CMD_CHMOD, 108},
    {sipName_CMD_CHOWN, KIO::CMD_CHOWN, 108},
    {sipName_CMD_CLOSE, KIO::CMD_CLOSE, 108},
    {sipName_CMD_CONFIG, KIO::CMD_CONFIG, 108},
    {sipName_CMD_CONNECT, KIO::CMD_CONNECT, 108},
    {sipName_CMD_COPY, KIO::CMD_COPY, 108},
    {sipName_CMD_DEL, KIO::CMD_DEL, 108},
    {sipName_CMD_DISCONNECT, KIO::CMD_DISCONNECT, 108},
    {sipName_CMD_GET, KIO::CMD_GET, 108},
    {sipName_CMD_HOST, KIO::CMD_HOST, 108},
    {sipName_CMD_HOST_INFO, KIO::CMD_HOST_INFO, 108},
    {sipName_CMD_LISTDIR, KIO::CMD_LISTDIR, 108},
    {sipName_CMD_MESSAGEBOXANSWER, KIO::CMD_MESSAGEBOXANSWER, 108},
    {sipName_CMD_META_DATA, KIO::CMD_META_DATA, 108},
    {sipName_CMD_MIMETYPE, KIO::CMD_MIMETYPE, 108},
    {sipName_CMD_MKDIR, KIO::CMD_MKDIR, 108},
    {sipName_CMD_MULTI_GET, KIO::CMD_MULTI_GET, 108},
    {sipName_CMD_NONE, KIO::CMD_NONE, 108},
    {sipName_CMD_OPEN, KIO::CMD_OPEN, 108},
    {sipName_CMD_PUT, KIO::CMD_PUT, 108},
    {sipName_CMD_READ, KIO::CMD_READ, 108},
    {sipName_CMD_RENAME, KIO::CMD_RENAME, 108},
    {sipName_CMD_REPARSECONFIGURATION, KIO::CMD_REPARSECONFIGURATION, 108},
    {sipName_CMD_RESUMEANSWER, KIO::CMD_RESUMEANSWER, 108},
    {sipName_CMD_SEEK, KIO::CMD_SEEK, 108},
    {sipName_CMD_SETLINKDEST, KIO::CMD_SETLINKDEST, 108},
    {sipName_CMD_SETMODIFICATIONTIME, KIO::CMD_SETMODIFICATIONTIME, 108},
    {sipName_CMD_SLAVE_CONNECT, KIO::CMD_SLAVE_CONNECT, 108},
    {sipName_CMD_SLAVE_HOLD, KIO::CMD_SLAVE_HOLD, 108},
    {sipName_CMD_SLAVE_STATUS, KIO::CMD_SLAVE_STATUS, 108},
    {sipName_CMD_SPECIAL, KIO::CMD_SPECIAL, 108},
    {sipName_CMD_STAT, KIO::CMD_STAT, 108},
    {sipName_CMD_SUBURL, KIO::CMD_SUBURL, 108},
    {sipName_CMD_SYMLINK, KIO::CMD_SYMLINK, 108},
    {sipName_CMD_TESTDIR, KIO::CMD_TESTDIR, 108},
    {sipName_CMD_WRITE, KIO::CMD_WRITE, 108},
    {sipName_DefaultFlags, KIO::DefaultFlags, 128},
    {sipName_ERR_ABORTED, KIO::ERR_ABORTED, 117},
    {sipName_ERR_ACCESS_DENIED, KIO::ERR_ACCESS_DENIED, 117},
    {sipName_ERR_CANNOT_CHMOD, KIO::ERR_CANNOT_CHMOD, 117},
    {sipName_ERR_CANNOT_CHOWN, KIO::ERR_CANNOT_CHOWN, 117},
    {sipName_ERR_CANNOT_DELETE, KIO::ERR_CANNOT_DELETE, 117},
    {sipName_ERR_CANNOT_DELETE_ORIGINAL, KIO::ERR_CANNOT_DELETE_ORIGINAL, 117},
    {sipName_ERR_CANNOT_DELETE_PARTIAL, KIO::ERR_CANNOT_DELETE_PARTIAL, 117},
    {sipName_ERR_CANNOT_ENTER_DIRECTORY, KIO::ERR_CANNOT_ENTER_DIRECTORY, 117},
    {sipName_ERR_CANNOT_LAUNCH_PROCESS, KIO::ERR_CANNOT_LAUNCH_PROCESS, 117},
    {sipName_ERR_CANNOT_OPEN_FOR_READING, KIO::ERR_CANNOT_OPEN_FOR_READING, 117},
    {sipName_ERR_CANNOT_OPEN_FOR_WRITING, KIO::ERR_CANNOT_OPEN_FOR_WRITING, 117},
    {sipName_ERR_CANNOT_RENAME, KIO::ERR_CANNOT_RENAME, 117},
    {sipName_ERR_CANNOT_RENAME_ORIGINAL, KIO::ERR_CANNOT_RENAME_ORIGINAL, 117},
    {sipName_ERR_CANNOT_RENAME_PARTIAL, KIO::ERR_CANNOT_RENAME_PARTIAL, 117},
    {sipName_ERR_CANNOT_RESUME, KIO::ERR_CANNOT_RESUME, 117},
    {sipName_ERR_CANNOT_SETTIME, KIO::ERR_CANNOT_SETTIME, 117},
    {sipName_ERR_CANNOT_SYMLINK, KIO::ERR_CANNOT_SYMLINK, 117},
    {sipName_ERR_CONNECTION_BROKEN, KIO::ERR_CONNECTION_BROKEN, 117},
    {sipName_ERR_COULD_NOT_ACCEPT, KIO::ERR_COULD_NOT_ACCEPT, 117},
    {sipName_ERR_COULD_NOT_AUTHENTICATE, KIO::ERR_COULD_NOT_AUTHENTICATE, 117},
    {sipName_ERR_COULD_NOT_BIND, KIO::ERR_COULD_NOT_BIND, 117},
    {sipName_ERR_COULD_NOT_CLOSEDIR, KIO::ERR_COULD_NOT_CLOSEDIR, 117},
    {sipName_ERR_COULD_NOT_CONNECT, KIO::ERR_COULD_NOT_CONNECT, 117},
    {sipName_ERR_COULD_NOT_CREATE_SOCKET, KIO::ERR_COULD_NOT_CREATE_SOCKET, 117},
    {sipName_ERR_COULD_NOT_LISTEN, KIO::ERR_COULD_NOT_LISTEN, 117},
    {sipName_ERR_COULD_NOT_LOGIN, KIO::ERR_COULD_NOT_LOGIN, 117},
    {sipName_ERR_COULD_NOT_MKDIR, KIO::ERR_COULD_NOT_MKDIR, 117},
    {sipName_ERR_COULD_NOT_MOUNT, KIO::ERR_COULD_NOT_MOUNT, 117},
    {sipName_ERR_COULD_NOT_READ, KIO::ERR_COULD_NOT_READ, 117},
    {sipName_ERR_COULD_NOT_RMDIR, KIO::ERR_COULD_NOT_RMDIR, 117},
    {sipName_ERR_COULD_NOT_SEEK, KIO::ERR_COULD_NOT_SEEK, 117},
    {sipName_ERR_COULD_NOT_STAT, KIO::ERR_COULD_NOT_STAT, 117},
    {sipName_ERR_COULD_NOT_UNMOUNT, KIO::ERR_COULD_NOT_UNMOUNT, 117},
    {sipName_ERR_COULD_NOT_WRITE, KIO::ERR_COULD_NOT_WRITE, 117},
    {sipName_ERR_CYCLIC_COPY, KIO::ERR_CYCLIC_COPY, 117},
    {sipName_ERR_CYCLIC_LINK, KIO::ERR_CYCLIC_LINK, 117},
    {sipName_ERR_DIR_ALREADY_EXIST, KIO::ERR_DIR_ALREADY_EXIST, 117},
    {sipName_ERR_DISK_FULL, KIO::ERR_DISK_FULL, 117},
    {sipName_ERR_DOES_NOT_EXIST, KIO::ERR_DOES_NOT_EXIST, 117},
    {sipName_ERR_FILE_ALREADY_EXIST, KIO::ERR_FILE_ALREADY_EXIST, 117},
    {sipName_ERR_IDENTICAL_FILES, KIO::ERR_IDENTICAL_FILES, 117},
    {sipName_ERR_INTERNAL, KIO::ERR_INTERNAL, 117},
    {sipName_ERR_INTERNAL_SERVER, KIO::ERR_INTERNAL_SERVER, 117},
    {sipName_ERR_IS_DIRECTORY, KIO::ERR_IS_DIRECTORY, 117},
    {sipName_ERR_IS_FILE, KIO::ERR_IS_FILE, 117},
    {sipName_ERR_MALFORMED_URL, KIO::ERR_MALFORMED_URL, 117},
    {sipName_ERR_NEED_PASSWD, KIO::ERR_NEED_PASSWD, 117},
    {sipName_ERR_NOT_FILTER_PROTOCOL, KIO::ERR_NOT_FILTER_PROTOCOL, 117},
    {sipName_ERR_NO_CONTENT, KIO::ERR_NO_CONTENT, 117},
    {sipName_ERR_NO_SOURCE_PROTOCOL, KIO::ERR_NO_SOURCE_PROTOCOL, 117},
    {sipName_ERR_OUT_OF_MEMORY, KIO::ERR_OUT_OF_MEMORY, 117},
    {sipName_ERR_POST_DENIED, KIO::ERR_POST_DENIED, 117},
    {sipName_ERR_POST_NO_SIZE, KIO::ERR_POST_NO_SIZE, 117},
    {sipName_ERR_PROTOCOL_IS_NOT_A_FILESYSTEM, KIO::ERR_PROTOCOL_IS_NOT_A_FILESYSTEM, 117},
    {sipName_ERR_SERVER_TIMEOUT, KIO::ERR_SERVER_TIMEOUT, 117},
    {sipName_ERR_SERVICE_NOT_AVAILABLE, KIO::ERR_SERVICE_NOT_AVAILABLE, 117},
    {sipName_ERR_SLAVE_DEFINED, KIO::ERR_SLAVE_DEFINED, 117},
    {sipName_ERR_SLAVE_DIED, KIO::ERR_SLAVE_DIED, 117},
    {sipName_ERR_UNKNOWN, KIO::ERR_UNKNOWN, 117},
    {sipName_ERR_UNKNOWN_HOST, KIO::ERR_UNKNOWN_HOST, 117},
    {sipName_ERR_UNKNOWN_INTERRUPT, KIO::ERR_UNKNOWN_INTERRUPT, 117},
    {sipName_ERR_UNKNOWN_PROXY_HOST, KIO::ERR_UNKNOWN_PROXY_HOST, 117},
    {sipName_ERR_UNSUPPORTED_ACTION, KIO::ERR_UNSUPPORTED_ACTION, 117},
    {sipName_ERR_UNSUPPORTED_PROTOCOL, KIO::ERR_UNSUPPORTED_PROTOCOL, 117},
    {sipName_ERR_UPGRADE_REQUIRED, KIO::ERR_UPGRADE_REQUIRED, 117},
    {sipName_ERR_USER_CANCELED, KIO::ERR_USER_CANCELED, 117},
    {sipName_ERR_WRITE_ACCESS_DENIED, KIO::ERR_WRITE_ACCESS_DENIED, 117},
    {sipName_HideProgressInfo, KIO::HideProgressInfo, 128},
    {sipName_INF_ERROR_PAGE, KIO::INF_ERROR_PAGE, 124},
    {sipName_INF_GETTING_FILE, KIO::INF_GETTING_FILE, 124},
    {sipName_INF_INFOMESSAGE, KIO::INF_INFOMESSAGE, 124},
    {sipName_INF_MESSAGEBOX, KIO::INF_MESSAGEBOX, 124},
    {sipName_INF_META_DATA, KIO::INF_META_DATA, 124},
    {sipName_INF_MIME_TYPE, KIO::INF_MIME_TYPE, 124},
    {sipName_INF_NETWORK_STATUS, KIO::INF_NETWORK_STATUS, 124},
    {sipName_INF_POSITION, KIO::INF_POSITION, 124},
    {sipName_INF_PROCESSED_SIZE, KIO::INF_PROCESSED_SIZE, 124},
    {sipName_INF_REDIRECTION, KIO::INF_REDIRECTION, 124},
    {sipName_INF_SPEED, KIO::INF_SPEED, 124},
    {sipName_INF_TOTAL_SIZE, KIO::INF_TOTAL_SIZE, 124},
    {sipName_INF_UNUSED, KIO::INF_UNUSED, 124},
    {sipName_INF_WARNING, KIO::INF_WARNING, 124},
    {sipName_MSG_AUTH_KEY, KIO::MSG_AUTH_KEY, 135},
    {sipName_MSG_CANRESUME, KIO::MSG_CANRESUME, 135},
    {sipName_MSG_CONNECTED, KIO::MSG_CONNECTED, 135},
    {sipName_MSG_DATA, KIO::MSG_DATA, 135},
    {sipName_MSG_DATA_REQ, KIO::MSG_DATA_REQ, 135},
    {sipName_MSG_DEL_AUTH_KEY, KIO::MSG_DEL_AUTH_KEY, 135},
    {sipName_MSG_ERROR, KIO::MSG_ERROR, 135},
    {sipName_MSG_FINISHED, KIO::MSG_FINISHED, 135},
    {sipName_MSG_HOST_INFO_REQ, KIO::MSG_HOST_INFO_REQ, 135},
    {sipName_MSG_LIST_ENTRIES, KIO::MSG_LIST_ENTRIES, 135},
    {sipName_MSG_NEED_SUBURL_DATA, KIO::MSG_NEED_SUBURL_DATA, 135},
    {sipName_MSG_NET_DROP, KIO::MSG_NET_DROP, 135},
    {sipName_MSG_NET_REQUEST, KIO::MSG_NET_REQUEST, 135},
    {sipName_MSG_OPENED, KIO::MSG_OPENED, 135},
    {sipName_MSG_RENAMED, KIO::MSG_RENAMED, 135},
    {sipName_MSG_RESUME, KIO::MSG_RESUME, 135},
    {sipName_MSG_SLAVE_ACK, KIO::MSG_SLAVE_ACK, 135},
    {sipName_MSG_SLAVE_STATUS, KIO::MSG_SLAVE_STATUS, 135},
    {sipName_MSG_STAT_ENTRY, KIO::MSG_STAT_ENTRY, 135},
    {sipName_MSG_WRITTEN, KIO::MSG_WRITTEN, 135},
    {sipName_M_ISDIR, KIO::M_ISDIR, 152},
    {sipName_M_MULTI, KIO::M_MULTI, 152},
    {sipName_M_NORENAME, KIO::M_NORENAME, 152},
    {sipName_M_OVERWRITE, KIO::M_OVERWRITE, 152},
    {sipName_M_OVERWRITE_ITSELF, KIO::M_OVERWRITE_ITSELF, 152},
    {sipName_M_RESUME, KIO::M_RESUME, 152},
    {sipName_M_SINGLE, KIO::M_SINGLE, 152},
    {sipName_M_SKIP, KIO::M_SKIP, 152},
    {sipName_NoReload, KIO::NoReload, 134},
    {sipName_Overwrite, KIO::Overwrite, 128},
    {sipName_R_AUTO_RENAME, KIO::R_AUTO_RENAME, 153},
    {sipName_R_AUTO_SKIP, KIO::R_AUTO_SKIP, 153},
    {sipName_R_CANCEL, KIO::R_CANCEL, 153},
    {sipName_R_OVERWRITE, KIO::R_OVERWRITE, 153},
    {sipName_R_OVERWRITE_ALL, KIO::R_OVERWRITE_ALL, 153},
    {sipName_R_RENAME, KIO::R_RENAME, 153},
    {sipName_R_RESUME, KIO::R_RESUME, 153},
    {sipName_R_RESUME_ALL, KIO::R_RESUME_ALL, 153},
    {sipName_R_SKIP, KIO::R_SKIP, 153},
    {sipName_Reload, KIO::Reload, 134},
    {sipName_Resume, KIO::Resume, 128},
    {sipName_S_AUTO_SKIP, KIO::S_AUTO_SKIP, 158},
    {sipName_S_CANCEL, KIO::S_CANCEL, 158},
    {sipName_S_SKIP, KIO::S_SKIP, 158},
};


pyqt4ClassTypeDef sipTypeDef_kio_KIO = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_NAMESPACE,
        sipNameNr_KIO,
        {0}
    },
    {
        sipNameNr_KIO,
        {0, 0, 1},
        64, 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
};
