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

#include "sipAPIkio.h"

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kdbusservicestarter.sip"
#include <kdbusservicestarter.h>
#line 12 "sipkiopart3.cpp"

#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 16 "sipkiopart3.cpp"


class sipKDBusServiceStarter : public KDBusServiceStarter
{
public:
    sipKDBusServiceStarter();
    sipKDBusServiceStarter(const KDBusServiceStarter&);
    virtual ~sipKDBusServiceStarter();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    int startServiceFor(const QString&,const QString&,QString *,QString *,int);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[1];
};

sipKDBusServiceStarter::sipKDBusServiceStarter(): KDBusServiceStarter(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKDBusServiceStarter::sipKDBusServiceStarter(const KDBusServiceStarter& a0): KDBusServiceStarter(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

int sipKDBusServiceStarter::startServiceFor(const QString& a0,const QString& a1,QString *a2,QString *a3,int a4)
{
    extern int sipVH_kio_39(sip_gilstate_t,PyObject *,const QString&,const QString&,QString *,QString *,int);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KDBusServiceStarter::startServiceFor(a0,a1,a2,a3,a4);

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


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

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            KDBusServiceStarter *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KDBusServiceStarter::self();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;
        const QString& a1def = QString();
        const QString * a1 = &a1def;
        int a1State = 0;
        QString * a2 = 0;
        int a2State = 0;
        QString * a3 = 0;
        int a3State = 0;
        int a4 = 0;
        KDBusServiceStarter *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1|J1J0J0i",&sipSelf,sipType_KDBusServiceStarter,&sipCpp,sipType_QString,&a0,&a0State,sipType_QString,&a1,&a1State,sipType_QString,&a2,&a2State,sipType_QString,&a3,&a3State,&a4))
        {
            int sipRes;

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

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

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;
        const QString& a1def = QString();
        const QString * a1 = &a1def;
        int a1State = 0;
        QString * a2 = 0;
        int a2State = 0;
        QString * a3 = 0;
        int a3State = 0;
        int a4 = 0;
        KDBusServiceStarter *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1|J1J0J0i",&sipSelf,sipType_KDBusServiceStarter,&sipCpp,sipType_QString,&a0,&a0State,sipType_QString,&a1,&a1State,sipType_QString,&a2,&a2State,sipType_QString,&a3,&a3State,&a4))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KDBusServiceStarter::startServiceFor(*a0,*a1,a2,a3,a4) : sipCpp->startServiceFor(*a0,*a1,a2,a3,a4));
            Py_END_ALLOW_THREADS

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

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    return NULL;
}


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

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKDBusServiceStarter *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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

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


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

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

    if (!sipCpp)
    {
        const KDBusServiceStarter * a0;

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

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


static PyMethodDef methods_KDBusServiceStarter[] = {
    {SIP_MLNAME_CAST(sipName_findServiceFor), meth_KDBusServiceStarter_findServiceFor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_self), meth_KDBusServiceStarter_self, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_startServiceFor), meth_KDBusServiceStarter_startServiceFor, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_kio_KDBusServiceStarter = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KDBusServiceStarter,
        {0}
    },
    sipNameNr_KDBusServiceStarter,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {0, 0, 1},
    0,
    0,
    3, methods_KDBusServiceStarter,
    0, 0,
    0, 0,
    init_KDBusServiceStarter,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KDBusServiceStarter,
    release_KDBusServiceStarter,
    cast_KDBusServiceStarter,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 72 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kdatatool.sip"
#include <kdatatool.h>
#line 309 "sipkiopart3.cpp"

#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 313 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 316 "sipkiopart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcomponentdata.sip"
#include <kcomponentdata.h>
#line 319 "sipkiopart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 322 "sipkiopart3.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 325 "sipkiopart3.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 328 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 331 "sipkiopart3.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 362 "sipkiopart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 365 "sipkiopart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 368 "sipkiopart3.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 371 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 374 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 377 "sipkiopart3.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 380 "sipkiopart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 383 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 386 "sipkiopart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 389 "sipkiopart3.cpp"


class sipKDataTool : public KDataTool
{
public:
    sipKDataTool(QObject *);
    virtual ~sipKDataTool();

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

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[8];
};

sipKDataTool::sipKDataTool(QObject *a0): KDataTool(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipKDataTool::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KDataTool);
}

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

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

    return _id;
}

void *sipKDataTool::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast && sip_kio_qt_metacast(sipPySelf,sipType_KDataTool,_clname)) ? this : KDataTool::qt_metacast(_clname);
}

bool sipKDataTool::run(const QString& a0,void *a1,const QString& a2,const QString& a3)
{
    extern bool sipVH_kio_40(sip_gilstate_t,PyObject *,const QString&,void *,const QString&,const QString&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,sipName_KDataTool,sipName_run);

    if (!meth)
        return 0;

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

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

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

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

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

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


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

    {
        char * a0;
        sipKDataTool *sipCpp;

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

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

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QTimerEvent * a0;
        sipKDataTool *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QChildEvent * a0;
        sipKDataTool *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipKDataTool *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipKDataTool *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipKDataTool *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KComponentData * a0;
        KDataTool *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_KDataTool,&sipCpp,sipType_KComponentData,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setComponentData(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KDataTool *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KComponentData(sipCpp->componentData());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;
        void * a1;
        const QString * a2;
        int a2State = 0;
        const QString * a3;
        int a3State = 0;
        KDataTool *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1vJ1J1",&sipSelf,sipType_KDataTool,&sipCpp,sipType_QString,&a0,&a0State,&a1,sipType_QString,&a2,&a2State,sipType_QString,&a3,&a3State))
        {
            bool sipRes;

            if (sipSelfWasArg)
            {
                sipAbstractMethod(sipName_KDataTool, sipName_run);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->run(*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);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_KDataTool)
        return ptr;

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

    return NULL;
}


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

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKDataTool *>(sipCppV);
    else
        delete reinterpret_cast<KDataTool *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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

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


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

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

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

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


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


static PyMethodDef methods_KDataTool[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), meth_KDataTool_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_componentData), meth_KDataTool_componentData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KDataTool_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KDataTool_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KDataTool_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_KDataTool_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_run), meth_KDataTool_run, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setComponentData), meth_KDataTool_setComponentData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KDataTool_timerEvent, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_kio_KDataTool = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KDataTool,
        {0}
    },
    sipNameNr_KDataTool,
    -1,
    -1,
    {0, 0, 1},
    supers_KDataTool,
    0,
    9, methods_KDataTool,
    0, 0,
    0, 0,
    init_KDataTool,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KDataTool,
    release_KDataTool,
    cast_KDataTool,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KDataTool::staticMetaObject,
    0,
    0
};

#line 53 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kdatatool.sip"
#include <kdatatool.h>
#line 1042 "sipkiopart3.cpp"

#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 1046 "sipkiopart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kdatatool.sip"
#include <kdatatool.h>
#line 1049 "sipkiopart3.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 1052 "sipkiopart3.cpp"
#line 136 "/usr/local/share/py-sip/QtGui/qfontdatabase.sip"
#include <qfontdatabase.h>
#include <qlist.h>
#line 66 "/usr/local/share/py-sip/QtGui/qprinterinfo.sip"
#include <qlist.h>
#line 229 "/usr/local/share/py-sip/QtGui/qwizard.sip"
#include <qwizard.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 520 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 1113 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 1116 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 1119 "sipkiopart3.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qaction.sip"
#include <qaction.h>
#line 1122 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 1125 "sipkiopart3.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 1128 "sipkiopart3.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qabstractbutton.sip"
#include <qabstractbutton.h>
#line 1131 "sipkiopart3.cpp"
#line 466 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 482 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1136 "sipkiopart3.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 1139 "sipkiopart3.cpp"
#line 99 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 1142 "sipkiopart3.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 1145 "sipkiopart3.cpp"
#line 165 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 1148 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qlistwidget.sip"
#include <qlistwidget.h>
#line 1151 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qdockwidget.sip"
#include <qdockwidget.h>
#line 1154 "sipkiopart3.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qmdisubwindow.sip"
#include <qmdisubwindow.h>
#line 1157 "sipkiopart3.cpp"
#line 334 "/usr/local/share/py-sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 1160 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtextedit.sip"
#include <qtextedit.h>
#line 56 "/usr/local/share/py-sip/QtGui/qtextedit.sip"
#include <qtextedit.h>
#line 1165 "sipkiopart3.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qprinterinfo.sip"
#include <qprinterinfo.h>
#line 1168 "sipkiopart3.cpp"
#line 202 "/usr/local/share/py-sip/QtGui/qstandarditemmodel.sip"
#include <qstandarditemmodel.h>
#line 1171 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 1174 "sipkiopart3.cpp"
#line 66 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 1177 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtextoption.sip"
#include <qtextoption.h>
#line 114 "/usr/local/share/py-sip/QtGui/qtextoption.sip"
#include <qtextoption.h>
#line 1182 "sipkiopart3.cpp"
#line 65 "/usr/local/share/py-sip/QtGui/qtextlayout.sip"
#include <qtextlayout.h>
#line 88 "/usr/local/share/py-sip/QtGui/qtextlayout.sip"
#include <qtextlayout.h>
#line 1187 "sipkiopart3.cpp"
#line 149 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 175 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 1192 "sipkiopart3.cpp"
#line 83 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 101 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 1197 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtreewidget.sip"
#include <qtreewidget.h>
#line 1200 "sipkiopart3.cpp"
#line 75 "/usr/local/share/py-sip/QtGui/qundostack.sip"
#include <qundostack.h>
#line 1203 "sipkiopart3.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qwizard.sip"
#include <qwizard.h>
#line 1206 "sipkiopart3.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qprinter.sip"
#include <qprinter.h>
#line 1209 "sipkiopart3.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontdatabase.sip"
#include <qfontdatabase.h>
#line 1212 "sipkiopart3.cpp"
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 1228 "sipkiopart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kfilemetainfoitem.sip"
#include <kfilemetainfoitem.h>
#line 1231 "sipkiopart3.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/udsentry.sip"
#include <udsentry.h>
#line 1234 "sipkiopart3.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/copyjob.sip"
#include <copyjob.h>
#line 1237 "sipkiopart3.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kfileitem.sip"
#include <kfileitem.h>
#line 1240 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 1243 "sipkiopart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kactioncollection.sip"
#include <kactioncollection.h>
#line 1246 "sipkiopart3.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1249 "sipkiopart3.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1252 "sipkiopart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1255 "sipkiopart3.cpp"
#line 53 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kgesture.sip"
#include <kgesture.h>
#line 1258 "sipkiopart3.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kaction.sip"
#include <kaction.h>
#line 1261 "sipkiopart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kgesture.sip"
#include <kgesture.h>
#line 1264 "sipkiopart3.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kaction.sip"
#include <kaction.h>
#line 1267 "sipkiopart3.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kshortcut.sip"
#include <kshortcut.h>
#line 1270 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 1273 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qfont.sip"
#include <qfont.h>
#line 1276 "sipkiopart3.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1279 "sipkiopart3.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qmenu.sip"
#include <qmenu.h>
#line 1282 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qicon.sip"
#include <qicon.h>
#line 1285 "sipkiopart3.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qactiongroup.sip"
#include <qactiongroup.h>
#line 1288 "sipkiopart3.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1291 "sipkiopart3.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1294 "sipkiopart3.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 1325 "sipkiopart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 1328 "sipkiopart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 1331 "sipkiopart3.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 1334 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 1337 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 1340 "sipkiopart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 1343 "sipkiopart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 1346 "sipkiopart3.cpp"


class sipKDataToolAction : public KDataToolAction
{
public:
    sipKDataToolAction(const QString&,const KDataToolInfo&,const QString&,QObject *);
    virtual ~sipKDataToolAction();

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

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);
    bool sipProtectVirt_eventFilter(bool,QObject *,QEvent *);
    QWidget * sipProtectVirt_createWidget(bool,QWidget *);
    void sipProtectVirt_deleteWidget(bool,QWidget *);
    QList<QWidget *> sipProtect_createdWidgets() const;
    void sipProtectVirt_slotActivated(bool);

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[10];
};

sipKDataToolAction::sipKDataToolAction(const QString& a0,const KDataToolInfo& a1,const QString& a2,QObject *a3): KDataToolAction(a0,a1,a2,a3), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipKDataToolAction::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KDataToolAction);
}

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

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

    return _id;
}

void *sipKDataToolAction::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast && sip_kio_qt_metacast(sipPySelf,sipType_KDataToolAction,_clname)) ? this : KDataToolAction::qt_metacast(_clname);
}

void sipKDataToolAction::slotActivated()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KDataToolAction::slotActivated();
        return;
    }

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

QWidget * sipKDataToolAction::createWidget(QWidget *a0)
{
    typedef QWidget * (*sipVH_QtGui_9)(sip_gilstate_t,PyObject *,QWidget *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QWidgetAction::createWidget(a0);

    return ((sipVH_QtGui_9)(sipModuleAPI_kio_QtGui->em_virthandlers[9]))(sipGILState,meth,a0);
}

void sipKDataToolAction::deleteWidget(QWidget *a0)
{
    typedef void (*sipVH_QtGui_8)(sip_gilstate_t,PyObject *,QWidget *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        QWidgetAction::deleteWidget(a0);
        return;
    }

    ((sipVH_QtGui_8)(sipModuleAPI_kio_QtGui->em_virthandlers[8]))(sipGILState,meth,a0);
}

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

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

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

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

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

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

bool sipKDataToolAction::sipProtectVirt_eventFilter(bool sipSelfWasArg,QObject *a0,QEvent *a1)
{
    return (sipSelfWasArg ? QWidgetAction::eventFilter(a0,a1) : eventFilter(a0,a1));
}

QWidget * sipKDataToolAction::sipProtectVirt_createWidget(bool sipSelfWasArg,QWidget *a0)
{
    return (sipSelfWasArg ? QWidgetAction::createWidget(a0) : createWidget(a0));
}

void sipKDataToolAction::sipProtectVirt_deleteWidget(bool sipSelfWasArg,QWidget *a0)
{
    (sipSelfWasArg ? QWidgetAction::deleteWidget(a0) : deleteWidget(a0));
}

QList<QWidget *> sipKDataToolAction::sipProtect_createdWidgets() const
{
    return QWidgetAction::createdWidgets();
}

void sipKDataToolAction::sipProtectVirt_slotActivated(bool sipSelfWasArg)
{
    (sipSelfWasArg ? KDataToolAction::slotActivated() : slotActivated());
}


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

    {
        char * a0;
        sipKDataToolAction *sipCpp;

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

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

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QTimerEvent * a0;
        sipKDataToolAction *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QChildEvent * a0;
        sipKDataToolAction *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipKDataToolAction *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipKDataToolAction *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipKDataToolAction *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QObject * a0;
        QEvent * a1;
        sipKDataToolAction *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8J8",&sipSelf,sipType_KDataToolAction,&sipCpp,sipType_QObject,&a0,sipType_QEvent,&a1))
        {
            bool sipRes;

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QWidget * a0;
        sipWrapper *sipOwner = 0;
        sipKDataToolAction *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJH",&sipSelf,sipType_KDataToolAction,&sipCpp,sipType_QWidget,&a0,&sipOwner))
        {
            QWidget *sipRes;

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

            return sipConvertFromNewType(sipRes,sipType_QWidget,(PyObject *)sipOwner);
        }
    }

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

    return NULL;
}


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

    {
        QWidget * a0;
        sipKDataToolAction *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ:",&sipSelf,sipType_KDataToolAction,&sipCpp,sipType_QWidget,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_deleteWidget(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipKDataToolAction *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<QWidget *>(sipCpp->sipProtect_createdWidgets());
            Py_END_ALLOW_THREADS

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

            return sipResObj;
        }
    }

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

    return NULL;
}


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

    {
        const QList<KDataToolInfo> * a0;
        int a0State = 0;
        const QObject * a1;
        const char * a2;
        PyObject *a2Keep;
        KActionCollection * a3;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J1J8AAJ:",sipType_QList_0200KDataToolInfo,&a0,&a0State,sipType_QObject,&a1,&a2Keep,&a2,sipType_KActionCollection,&a3))
        {
            QList<QAction *> *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<QAction *>(KDataToolAction::dataToolActionList(*a0,a1,a2,a3));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QList<KDataToolInfo> *>(a0),sipType_QList_0200KDataToolInfo,a0State);
            Py_DECREF(a2Keep);

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

            return sipResObj;
        }
    }

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

    return NULL;
}


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

    {
        sipKDataToolAction *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KDataToolAction,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_slotActivated(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_KDataToolAction)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KAction)->ctd_cast((KAction *)(KDataToolAction *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKDataToolAction *>(sipCppV);
    else
        delete reinterpret_cast<KDataToolAction *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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

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


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

    if (!sipCpp)
    {
        const QString * a0;
        int a0State = 0;
        const KDataToolInfo * a1;
        const QString * a2;
        int a2State = 0;
        QObject * a3;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J1J9J1JH",sipType_QString,&a0,&a0State,sipType_KDataToolInfo,&a1,sipType_QString,&a2,&a2State,sipType_QObject,&a3,sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKDataToolAction(*a0,*a1,*a2,a3);
            Py_END_ALLOW_THREADS

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

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KDataToolAction[] = {{5, 6, 1}};


static PyMethodDef methods_KDataToolAction[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), meth_KDataToolAction_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KDataToolAction_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_createWidget), meth_KDataToolAction_createWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_createdWidgets), meth_KDataToolAction_createdWidgets, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KDataToolAction_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dataToolActionList), meth_KDataToolAction_dataToolActionList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_deleteWidget), meth_KDataToolAction_deleteWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KDataToolAction_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_eventFilter), meth_KDataToolAction_eventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_KDataToolAction_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotActivated), meth_KDataToolAction_slotActivated, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KDataToolAction_timerEvent, METH_VARARGS, NULL}
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_KDataToolAction[] = {
    {"toolActivated(const KDataToolInfo&,const QString&)", 0},
    {0, 0}
};


pyqt4ClassTypeDef pyqt4Type_kio_KDataToolAction = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KDataToolAction,
        {0}
    },
    sipNameNr_KDataToolAction,
    -1,
    -1,
    {0, 0, 1},
    supers_KDataToolAction,
    0,
    12, methods_KDataToolAction,
    0, 0,
    0, 0,
    init_KDataToolAction,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KDataToolAction,
    release_KDataToolAction,
    cast_KDataToolAction,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KDataToolAction::staticMetaObject,
    0,
    pyqt4_signals_KDataToolAction
};

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kdatatool.sip"
#include <kdatatool.h>
#line 2169 "sipkiopart3.cpp"

#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 2185 "sipkiopart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/klockfile.sip"
#include <klockfile.h>
#line 2188 "sipkiopart3.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kmimetype.sip"
#include <kmimetype.h>
#line 2191 "sipkiopart3.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservice.sip"
#include <kservice.h>
#line 2194 "sipkiopart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservicegroup.sip"
#include <kservicegroup.h>
#line 2197 "sipkiopart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservicetype.sip"
#include <kservicetype.h>
#line 2200 "sipkiopart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ksharedconfig.sip"
#include <ksharedconfig.h>
#line 2203 "sipkiopart3.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ksycocaentry.sip"
#include <ksycocaentry.h>
#line 2206 "sipkiopart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcomponentdata.sip"
#include <kcomponentdata.h>
#line 2209 "sipkiopart3.cpp"
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 2225 "sipkiopart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kfilemetainfoitem.sip"
#include <kfilemetainfoitem.h>
#line 2228 "sipkiopart3.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/udsentry.sip"
#include <udsentry.h>
#line 2231 "sipkiopart3.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/copyjob.sip"
#include <copyjob.h>
#line 2234 "sipkiopart3.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kfileitem.sip"
#include <kfileitem.h>
#line 2237 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 2240 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 2243 "sipkiopart3.cpp"
#line 72 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kdatatool.sip"
#include <kdatatool.h>
#line 2246 "sipkiopart3.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 2249 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 2252 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 2255 "sipkiopart3.cpp"


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

    {
        KDataToolInfo *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        KDataToolInfo *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        KDataToolInfo *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isReadOnly();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KDataToolInfo *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPixmap(sipCpp->icon());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KDataToolInfo *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPixmap(sipCpp->miniIcon());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KDataToolInfo *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        KDataToolInfo *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        KDataToolInfo *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        QObject * a0 = 0;
        KDataToolInfo *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B|J:",&sipSelf,sipType_KDataToolInfo,&sipCpp,sipType_QObject,&a0))
        {
            KDataTool *sipRes;

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

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

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

    return NULL;
}


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

    {
        KDataToolInfo *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KDataToolInfo,&sipCpp))
        {
            KService::Ptr *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KService::Ptr(sipCpp->service());
            Py_END_ALLOW_THREADS

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

            return sipResObj;
        }
    }

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

    return NULL;
}


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

    {
        KDataToolInfo *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KComponentData(sipCpp->componentData());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KDataToolInfo *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isValid();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J1J1J9",sipType_QString,&a0,&a0State,sipType_QString,&a1,&a1State,sipType_KComponentData,&a2))
        {
            QList<KDataToolInfo> *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<KDataToolInfo>(KDataToolInfo::query(*a0,*a1,*a2));
            Py_END_ALLOW_THREADS

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

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

            return sipResObj;
        }
    }

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

    return NULL;
}


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

    return NULL;
}


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

    delete reinterpret_cast<KDataToolInfo *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KDataToolInfo(void *, const void*);}
static void assign_KDataToolInfo(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<KDataToolInfo *>(sipDst) = *reinterpret_cast<const KDataToolInfo *>(sipSrc);
}


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


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

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

    if (!sipCpp)
    {
        const KService::Ptr * a0;
        int a0State = 0;
        const KComponentData * a1;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J1J9",sipType_KSharedPtr_0200KService,&a0,&a0State,sipType_KComponentData,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KDataToolInfo(*a0,*a1);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<KService::Ptr *>(a0),sipType_KSharedPtr_0200KService,a0State);
        }
    }

    if (!sipCpp)
    {
        const KDataToolInfo * a0;

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

    return sipCpp;
}


static PyMethodDef methods_KDataToolInfo[] = {
    {SIP_MLNAME_CAST(sipName_commands), meth_KDataToolInfo_commands, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_componentData), meth_KDataToolInfo_componentData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_createTool), meth_KDataToolInfo_createTool, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dataType), meth_KDataToolInfo_dataType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_icon), meth_KDataToolInfo_icon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_iconName), meth_KDataToolInfo_iconName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isReadOnly), meth_KDataToolInfo_isReadOnly, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isValid), meth_KDataToolInfo_isValid, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mimeTypes), meth_KDataToolInfo_mimeTypes, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_miniIcon), meth_KDataToolInfo_miniIcon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_query), meth_KDataToolInfo_query, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_service), meth_KDataToolInfo_service, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_userCommands), meth_KDataToolInfo_userCommands, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_kio_KDataToolInfo = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KDataToolInfo,
        {0}
    },
    sipNameNr_KDataToolInfo,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {0, 0, 1},
    0,
    0,
    13, methods_KDataToolInfo,
    0, 0,
    0, 0,
    init_KDataToolInfo,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KDataToolInfo,
    release_KDataToolInfo,
    cast_KDataToolInfo,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_KDataToolInfo,
    0,
    0,
    0
};

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kbuildsycocaprogressdialog.sip"
#include <kbuildsycocaprogressdialog.h>
#line 2774 "sipkiopart3.cpp"

#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 2778 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 2781 "sipkiopart3.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 2784 "sipkiopart3.cpp"
#line 412 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 2787 "sipkiopart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2790 "sipkiopart3.cpp"
#line 388 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 2793 "sipkiopart3.cpp"
#line 374 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 2796 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 2799 "sipkiopart3.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qprogressbar.sip"
#include <qprogressbar.h>
#line 2802 "sipkiopart3.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qpushbutton.sip"
#include <qpushbutton.h>
#line 2805 "sipkiopart3.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qlabel.sip"
#include <qlabel.h>
#line 2808 "sipkiopart3.cpp"
#line 436 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 2811 "sipkiopart3.cpp"
#line 296 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 2814 "sipkiopart3.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2817 "sipkiopart3.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 2820 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 2823 "sipkiopart3.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 2826 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 2829 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qregion.sip"
#include <qregion.h>
#line 2832 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 2835 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 2838 "sipkiopart3.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 2841 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 2844 "sipkiopart3.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 2847 "sipkiopart3.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 2850 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qfont.sip"
#include <qfont.h>
#line 2853 "sipkiopart3.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2856 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 2859 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 2862 "sipkiopart3.cpp"
#line 466 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 482 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 2867 "sipkiopart3.cpp"
#line 424 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 2870 "sipkiopart3.cpp"
#line 508 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 2873 "sipkiopart3.cpp"
#line 562 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 2876 "sipkiopart3.cpp"
#line 533 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 2879 "sipkiopart3.cpp"
#line 550 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 2882 "sipkiopart3.cpp"
#line 618 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 2885 "sipkiopart3.cpp"
#line 247 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 2888 "sipkiopart3.cpp"
#line 360 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 2891 "sipkiopart3.cpp"
#line 345 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 2894 "sipkiopart3.cpp"
#line 325 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 2897 "sipkiopart3.cpp"
#line 225 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 2900 "sipkiopart3.cpp"
#line 184 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 2903 "sipkiopart3.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 2906 "sipkiopart3.cpp"
#line 74 "/usr/local/share/py-sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 2909 "sipkiopart3.cpp"
#line 47 "/usr/local/share/py-sip/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 2912 "sipkiopart3.cpp"
#line 136 "/usr/local/share/py-sip/QtGui/qfontdatabase.sip"
#include <qfontdatabase.h>
#include <qlist.h>
#line 66 "/usr/local/share/py-sip/QtGui/qprinterinfo.sip"
#include <qlist.h>
#line 229 "/usr/local/share/py-sip/QtGui/qwizard.sip"
#include <qwizard.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 520 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 2973 "sipkiopart3.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qaction.sip"
#include <qaction.h>
#line 2976 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 2979 "sipkiopart3.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 2982 "sipkiopart3.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qabstractbutton.sip"
#include <qabstractbutton.h>
#line 2985 "sipkiopart3.cpp"
#line 466 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 482 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 2990 "sipkiopart3.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 2993 "sipkiopart3.cpp"
#line 99 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 2996 "sipkiopart3.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 2999 "sipkiopart3.cpp"
#line 165 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 3002 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qlistwidget.sip"
#include <qlistwidget.h>
#line 3005 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qdockwidget.sip"
#include <qdockwidget.h>
#line 3008 "sipkiopart3.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qmdisubwindow.sip"
#include <qmdisubwindow.h>
#line 3011 "sipkiopart3.cpp"
#line 334 "/usr/local/share/py-sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 3014 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtextedit.sip"
#include <qtextedit.h>
#line 56 "/usr/local/share/py-sip/QtGui/qtextedit.sip"
#include <qtextedit.h>
#line 3019 "sipkiopart3.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qprinterinfo.sip"
#include <qprinterinfo.h>
#line 3022 "sipkiopart3.cpp"
#line 202 "/usr/local/share/py-sip/QtGui/qstandarditemmodel.sip"
#include <qstandarditemmodel.h>
#line 3025 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 3028 "sipkiopart3.cpp"
#line 66 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 3031 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtextoption.sip"
#include <qtextoption.h>
#line 114 "/usr/local/share/py-sip/QtGui/qtextoption.sip"
#include <qtextoption.h>
#line 3036 "sipkiopart3.cpp"
#line 65 "/usr/local/share/py-sip/QtGui/qtextlayout.sip"
#include <qtextlayout.h>
#line 88 "/usr/local/share/py-sip/QtGui/qtextlayout.sip"
#include <qtextlayout.h>
#line 3041 "sipkiopart3.cpp"
#line 149 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 175 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 3046 "sipkiopart3.cpp"
#line 83 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 101 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 3051 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtreewidget.sip"
#include <qtreewidget.h>
#line 3054 "sipkiopart3.cpp"
#line 75 "/usr/local/share/py-sip/QtGui/qundostack.sip"
#include <qundostack.h>
#line 3057 "sipkiopart3.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qwizard.sip"
#include <qwizard.h>
#line 3060 "sipkiopart3.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qprinter.sip"
#include <qprinter.h>
#line 3063 "sipkiopart3.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontdatabase.sip"
#include <qfontdatabase.h>
#line 3066 "sipkiopart3.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qlayout.sip"
#include <qlayout.h>
#line 3069 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 3072 "sipkiopart3.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 3075 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 3078 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qicon.sip"
#include <qicon.h>
#line 3081 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 3084 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qstyle.sip"
#include <qstyle.h>
#line 3087 "sipkiopart3.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 3090 "sipkiopart3.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 3093 "sipkiopart3.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 3124 "sipkiopart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 3127 "sipkiopart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 3130 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 3133 "sipkiopart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 3136 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 3139 "sipkiopart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 3142 "sipkiopart3.cpp"


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

    {
        QWidget * a0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J:",sipType_QWidget,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            KBuildSycocaProgressDialog::rebuildKSycoca(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_KBuildSycocaProgressDialog)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QProgressDialog)->ctd_cast((QProgressDialog *)(KBuildSycocaProgressDialog *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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


/* Define this type's super-types. */
static sipEncodedClassDef supers_KBuildSycocaProgressDialog[] = {{373, 2, 1}};


static PyMethodDef methods_KBuildSycocaProgressDialog[] = {
    {SIP_MLNAME_CAST(sipName_rebuildKSycoca), meth_KBuildSycocaProgressDialog_rebuildKSycoca, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_kio_KBuildSycocaProgressDialog = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KBuildSycocaProgressDialog,
        {0}
    },
    sipNameNr_KBuildSycocaProgressDialog,
    -1,
    -1,
    {0, 0, 1},
    supers_KBuildSycocaProgressDialog,
    0,
    1, methods_KBuildSycocaProgressDialog,
    0, 0,
    0, 0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    0,
    release_KBuildSycocaProgressDialog,
    cast_KBuildSycocaProgressDialog,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KBuildSycocaProgressDialog::staticMetaObject,
    0,
    0
};

#line 45 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kautomount.sip"
#include <kautomount.h>
#line 3250 "sipkiopart3.cpp"

#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 3254 "sipkiopart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 3257 "sipkiopart3.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 3260 "sipkiopart3.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 3263 "sipkiopart3.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 3266 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 3269 "sipkiopart3.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 3300 "sipkiopart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 3303 "sipkiopart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 3306 "sipkiopart3.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 3309 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 3312 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 3315 "sipkiopart3.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 3318 "sipkiopart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 3321 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 3324 "sipkiopart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 3327 "sipkiopart3.cpp"


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

    if (targetType == sipType_KAutoUnmount)
        return ptr;

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

    return NULL;
}


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


    Py_END_ALLOW_THREADS
}


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

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

        if (sipParseArgs(sipArgsParsed,sipArgs,"J1J1",sipType_QString,&a0,&a0State,sipType_QString,&a1,&a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KAutoUnmount(*a0,*a1);
            Py_END_ALLOW_THREADS

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

    return sipCpp;
}


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


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


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

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kautomount.sip"
#include <kautomount.h>
#line 3443 "sipkiopart3.cpp"

#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 3447 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 3450 "sipkiopart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 3453 "sipkiopart3.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 3456 "sipkiopart3.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 3459 "sipkiopart3.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 3462 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 3465 "sipkiopart3.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 3496 "sipkiopart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 3499 "sipkiopart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 3502 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 3505 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 3508 "sipkiopart3.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 3511 "sipkiopart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 3514 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 3517 "sipkiopart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 3520 "sipkiopart3.cpp"


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

    if (targetType == sipType_KAutoMount)
        return ptr;

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

    return NULL;
}


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


    Py_END_ALLOW_THREADS
}


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

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

        if (sipParseArgs(sipArgsParsed,sipArgs,"bJ1J1J1J1|b",&a0,sipType_QByteArray,&a1,&a1State,sipType_QString,&a2,&a2State,sipType_QString,&a3,&a3State,sipType_QString,&a4,&a4State,&a5))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KAutoMount(a0,*a1,*a2,*a3,*a4,a5);
            Py_END_ALLOW_THREADS

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

    return sipCpp;
}


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


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


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

#line 141 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/karchive.sip"
#include <karchive.h>
#line 3644 "sipkiopart3.cpp"

#line 35 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/karchive.sip"
#include <karchive.h>
#line 3648 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 3651 "sipkiopart3.cpp"
#line 88 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/karchive.sip"
#include <karchive.h>
#line 3654 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 3657 "sipkiopart3.cpp"
#line 321 "/usr/local/share/py-sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 3660 "sipkiopart3.cpp"


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

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

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[2];
};

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

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

bool sipKArchiveDirectory::isDirectory() const
{
    typedef bool (*sipVH_QtCore_1)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

bool sipKArchiveDirectory::isFile() const
{
    typedef bool (*sipVH_QtCore_1)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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


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

    {
        sipKArchiveDirectory *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_archive();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KArchiveDirectory *sipCpp;

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

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

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

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

    return NULL;
}


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

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

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

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

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

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

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

    return NULL;
}


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

    {
        KArchiveEntry * a0;
        KArchiveDirectory *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KArchiveDirectory *sipCpp;

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

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_KArchiveDirectory)
        return ptr;

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

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


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

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


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

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

        if (sipParseArgs(sipArgsParsed,sipArgs,"J8J1iiJ1J1J1",sipType_KArchive,&a0,sipType_QString,&a1,&a1State,&a2,&a3,sipType_QString,&a4,&a4State,sipType_QString,&a5,&a5State,sipType_QString,&a6,&a6State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKArchiveDirectory(a0,*a1,a2,a3,*a4,*a5,*a6);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a4),sipType_QString,a4State);
            sipReleaseType(const_cast<QString *>(a5),sipType_QString,a5State);
            sipReleaseType(const_cast<QString *>(a6),sipType_QString,a6State);
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


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


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


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

#line 116 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/karchive.sip"
#include <karchive.h>
#line 4054 "sipkiopart3.cpp"

#line 35 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/karchive.sip"
#include <karchive.h>
#line 4058 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 4061 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 4064 "sipkiopart3.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 4067 "sipkiopart3.cpp"
#line 321 "/usr/local/share/py-sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 4070 "sipkiopart3.cpp"


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

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

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[4];
};

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

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

QByteArray sipKArchiveFile::data() const
{
    typedef QByteArray (*sipVH_QtCore_10)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    return ((sipVH_QtCore_10)(sipModuleAPI_kio_QtCore->em_virthandlers[10]))(sipGILState,meth);
}

QIODevice * sipKArchiveFile::createDevice() const
{
    extern QIODevice * sipVH_kio_20(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    return sipVH_kio_20(sipGILState,meth);
}

bool sipKArchiveFile::isFile() const
{
    typedef bool (*sipVH_QtCore_1)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

bool sipKArchiveFile::isDirectory() const
{
    typedef bool (*sipVH_QtCore_1)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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


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

    {
        sipKArchiveFile *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_archive();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KArchiveFile *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->position();
            Py_END_ALLOW_THREADS

            return PyLong_FromLongLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KArchiveFile *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->size();
            Py_END_ALLOW_THREADS

            return PyLong_FromLongLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        qint64 a0;
        KArchiveFile *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KArchiveFile *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        KArchiveFile *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        KArchiveFile *sipCpp;

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

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KArchiveFile,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->copyTo(*a0);
            Py_END_ALLOW_THREADS

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_KArchiveFile)
        return ptr;

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

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


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

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


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

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

        if (sipParseArgs(sipArgsParsed,sipArgs,"J8J1iiJ1J1J1nn",sipType_KArchive,&a0,sipType_QString,&a1,&a1State,&a2,&a3,sipType_QString,&a4,&a4State,sipType_QString,&a5,&a5State,sipType_QString,&a6,&a6State,&a7,&a8))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKArchiveFile(a0,*a1,a2,a3,*a4,*a5,*a6,a7,a8);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a4),sipType_QString,a4State);
            sipReleaseType(const_cast<QString *>(a5),sipType_QString,a5State);
            sipReleaseType(const_cast<QString *>(a6),sipType_QString,a6State);
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


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


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


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

#line 88 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/karchive.sip"
#include <karchive.h>
#line 4551 "sipkiopart3.cpp"

#line 35 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/karchive.sip"
#include <karchive.h>
#line 4555 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 4558 "sipkiopart3.cpp"
#line 321 "/usr/local/share/py-sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 4561 "sipkiopart3.cpp"


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

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

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[2];
};

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

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

bool sipKArchiveEntry::isFile() const
{
    typedef bool (*sipVH_QtCore_1)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

bool sipKArchiveEntry::isDirectory() const
{
    typedef bool (*sipVH_QtCore_1)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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


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

    {
        KArchiveEntry *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        KArchiveEntry *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->date();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KArchiveEntry *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        KArchiveEntry *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->permissions();
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KArchiveEntry *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        KArchiveEntry *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        KArchiveEntry *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        KArchiveEntry *sipCpp;

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

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KArchiveEntry *sipCpp;

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

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        sipKArchiveEntry *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_archive();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


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

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


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

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

        if (sipParseArgs(sipArgsParsed,sipArgs,"J8J1iiJ1J1J1",sipType_KArchive,&a0,sipType_QString,&a1,&a1State,&a2,&a3,sipType_QString,&a4,&a4State,sipType_QString,&a5,&a5State,sipType_QString,&a6,&a6State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKArchiveEntry(a0,*a1,a2,a3,*a4,*a5,*a6);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a4),sipType_QString,a4State);
            sipReleaseType(const_cast<QString *>(a5),sipType_QString,a5State);
            sipReleaseType(const_cast<QString *>(a6),sipType_QString,a6State);
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


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


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

#line 35 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/karchive.sip"
#include <karchive.h>
#line 5051 "sipkiopart3.cpp"

#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 5055 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 5058 "sipkiopart3.cpp"
#line 141 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/karchive.sip"
#include <karchive.h>
#line 5061 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 5064 "sipkiopart3.cpp"


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

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

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[16];
};

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

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

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

bool sipKArchive::open(QIODevice::OpenMode a0)
{
    typedef bool (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *,QIODevice::OpenMode);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    return ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState,meth,a0);
}

bool sipKArchive::close()
{
    typedef bool (*sipVH_QtCore_1)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

bool sipKArchive::prepareWriting(const QString& a0,const QString& a1,const QString& a2,qint64 a3,mode_t a4,time_t a5,time_t a6,time_t a7)
{
    extern bool sipVH_kio_22(sip_gilstate_t,PyObject *,const QString&,const QString&,const QString&,PY_LONG_LONG,unsigned,long,long,long);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

bool sipKArchive::writeData(const char *a0,qint64 a1)
{
    extern bool sipVH_kio_24(sip_gilstate_t,PyObject *,const char *,PY_LONG_LONG);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

bool sipKArchive::finishWriting(qint64 a0)
{
    typedef bool (*sipVH_QtCore_28)(sip_gilstate_t,PyObject *,PY_LONG_LONG);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    return ((sipVH_QtCore_28)(sipModuleAPI_kio_QtCore->em_virthandlers[28]))(sipGILState,meth,a0);
}

bool sipKArchive::openArchive(QIODevice::OpenMode a0)
{
    typedef bool (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *,QIODevice::OpenMode);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return 0;

    return ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState,meth,a0);
}

bool sipKArchive::closeArchive()
{
    typedef bool (*sipVH_QtCore_1)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return 0;

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

KArchiveDirectory * sipKArchive::rootDir()
{
    extern KArchiveDirectory * sipVH_kio_41(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    return sipVH_kio_41(sipGILState,meth);
}

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return 0;

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return 0;

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

bool sipKArchive::doPrepareWriting(const QString& a0,const QString& a1,const QString& a2,qint64 a3,mode_t a4,time_t a5,time_t a6,time_t a7)
{
    extern bool sipVH_kio_22(sip_gilstate_t,PyObject *,const QString&,const QString&,const QString&,PY_LONG_LONG,unsigned,long,long,long);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return 0;

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

bool sipKArchive::doFinishWriting(qint64 a0)
{
    typedef bool (*sipVH_QtCore_28)(sip_gilstate_t,PyObject *,PY_LONG_LONG);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return 0;

    return ((sipVH_QtCore_28)(sipModuleAPI_kio_QtCore->em_virthandlers[28]))(sipGILState,meth,a0);
}

bool sipKArchive::createDevice(QIODevice::OpenMode a0)
{
    typedef bool (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *,QIODevice::OpenMode);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    return ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState,meth,a0);
}

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

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

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

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

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

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

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

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

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

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

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


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

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

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

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

            sipReleaseType(a0,sipType_QIODevice_OpenMode,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KArchive *sipCpp;

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

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KArchive *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isOpen();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KArchive *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        KArchive *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->device();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KArchive *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        KArchive *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->directory();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

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

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

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

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

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

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

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KArchive::writeDir(*a0,*a1,*a2,a3,a4,a5,a6) : sipCpp->writeDir(*a0,*a1,*a2,a3,a4,a5,a6));
            Py_END_ALLOW_THREADS

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KArchive::writeSymLink(*a0,*a1,*a2,*a3,a4,a5,a6,a7) : sipCpp->writeSymLink(*a0,*a1,*a2,*a3,a4,a5,a6,a7));
            Py_END_ALLOW_THREADS

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KArchive::writeFile(*a0,*a1,*a2,a3,a4,a5,a6,a7,a8) : sipCpp->writeFile(*a0,*a1,*a2,a3,a4,a5,a6,a7,a8));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);
            Py_DECREF(a3Keep);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KArchive::prepareWriting(*a0,*a1,*a2,a3,a4,a5,a6,a7) : sipCpp->prepareWriting(*a0,*a1,*a2,a3,a4,a5,a6,a7));
            Py_END_ALLOW_THREADS

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

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

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        qint64 a0;
        KArchive *sipCpp;

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

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

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

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

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

            sipReleaseType(a0,sipType_QIODevice_OpenMode,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        sipKArchive *sipCpp;

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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_closeArchive();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        sipKArchive *sipCpp;

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

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

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

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

    return NULL;
}


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

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

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

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

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

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

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

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

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

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

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

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

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

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        qint64 a0;
        sipKArchive *sipCpp;

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

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

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

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

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

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

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

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

    return NULL;
}


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

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

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

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

            sipReleaseType(a0,sipType_QIODevice_OpenMode,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QIODevice * a0;
        sipKArchive *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KArchiveDirectory * a0;
        sipKArchive *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


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

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


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

    if (!sipCpp)
    {
        const QString * a0;
        int a0State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J1",sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKArchive(*a0);
            Py_END_ALLOW_THREADS

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

    if (!sipCpp)
    {
        QIODevice * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J8",sipType_QIODevice,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKArchive(a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


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

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


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

#line 34 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kar.sip"
#include <kar.h>
#line 6492 "sipkiopart3.cpp"

#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 6496 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 6499 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 6502 "sipkiopart3.cpp"
#line 141 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/karchive.sip"
#include <karchive.h>
#line 6505 "sipkiopart3.cpp"


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

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

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[16];
};

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

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

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

bool sipKAr::doPrepareWriting(const QString& a0,const QString& a1,const QString& a2,qint64 a3,mode_t a4,time_t a5,time_t a6,time_t a7)
{
    extern bool sipVH_kio_22(sip_gilstate_t,PyObject *,const QString&,const QString&,const QString&,PY_LONG_LONG,unsigned,long,long,long);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

bool sipKAr::doFinishWriting(qint64 a0)
{
    typedef bool (*sipVH_QtCore_28)(sip_gilstate_t,PyObject *,PY_LONG_LONG);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    return ((sipVH_QtCore_28)(sipModuleAPI_kio_QtCore->em_virthandlers[28]))(sipGILState,meth,a0);
}

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

bool sipKAr::openArchive(QIODevice::OpenMode a0)
{
    typedef bool (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *,QIODevice::OpenMode);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    return ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState,meth,a0);
}

bool sipKAr::closeArchive()
{
    typedef bool (*sipVH_QtCore_1)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

bool sipKAr::open(QIODevice::OpenMode a0)
{
    typedef bool (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *,QIODevice::OpenMode);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    return ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState,meth,a0);
}

bool sipKAr::close()
{
    typedef bool (*sipVH_QtCore_1)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

bool sipKAr::prepareWriting(const QString& a0,const QString& a1,const QString& a2,qint64 a3,mode_t a4,time_t a5,time_t a6,time_t a7)
{
    extern bool sipVH_kio_22(sip_gilstate_t,PyObject *,const QString&,const QString&,const QString&,PY_LONG_LONG,unsigned,long,long,long);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

bool sipKAr::writeData(const char *a0,qint64 a1)
{
    extern bool sipVH_kio_24(sip_gilstate_t,PyObject *,const char *,PY_LONG_LONG);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

bool sipKAr::finishWriting(qint64 a0)
{
    typedef bool (*sipVH_QtCore_28)(sip_gilstate_t,PyObject *,PY_LONG_LONG);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    return ((sipVH_QtCore_28)(sipModuleAPI_kio_QtCore->em_virthandlers[28]))(sipGILState,meth,a0);
}

KArchiveDirectory * sipKAr::rootDir()
{
    extern KArchiveDirectory * sipVH_kio_41(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    return sipVH_kio_41(sipGILState,meth);
}

bool sipKAr::createDevice(QIODevice::OpenMode a0)
{
    typedef bool (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *,QIODevice::OpenMode);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    return ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState,meth,a0);
}

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

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

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

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

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

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

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

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

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

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

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


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

    {
        sipKAr *sipCpp;

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

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

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

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

    return NULL;
}


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

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

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

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

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

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

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

    return NULL;
}


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

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

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

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

            sipReleaseType(a0,sipType_QIODevice_OpenMode,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QIODevice * a0;
        sipKAr *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KArchiveDirectory * a0;
        sipKAr *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_doPrepareWriting(sipSelfWasArg,*a0,*a1,*a2,a3,a4,a5,a6,a7);
            Py_END_ALLOW_THREADS

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        qint64 a0;
        sipKAr *sipCpp;

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

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

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

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

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_doWriteSymLink(sipSelfWasArg,*a0,*a1,*a2,*a3,a4,a5,a6,a7);
            Py_END_ALLOW_THREADS

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

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

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

            sipReleaseType(a0,sipType_QIODevice_OpenMode,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        sipKAr *sipCpp;

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

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_KAr)
        return ptr;

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

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


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

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


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

    if (!sipCpp)
    {
        const QString * a0;
        int a0State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J1",sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKAr(*a0);
            Py_END_ALLOW_THREADS

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

    if (!sipCpp)
    {
        QIODevice * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J8",sipType_QIODevice,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKAr(a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


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


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


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

#line 98 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kacl.sip"
#include <qlist.h>
#line 7387 "sipkiopart3.cpp"



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


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



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

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

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

    QString p1;
    int iserr = 0;

    for (int i = 0; i < PyList_Size (sipPy); i++)
    {
        PyObject *elem = PyList_GET_ITEM (sipPy, i);
        PyObject *pyp1 = PyTuple_GET_ITEM (elem, 0);
        p1 = *(QString *)sipForceConvertToInstance(pyp1, sipClass_QString, NULL, 0, NULL, &iserr);
        if (iserr)
        {
            *sipIsErr = 1;
            delete cpplist;
            return 0;
        }
        ushort p2 = (ushort)(PyInt_AS_LONG (PyTuple_GET_ITEM (elem, 1)));

        cpplist->append (QPair<QString, unsigned short> (p1, p2));
    }

    *sipCppPtr = cpplist;

    return 1;
#line 7442 "sipkiopart3.cpp"
}


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

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

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

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

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

    return pylist;
#line 7481 "sipkiopart3.cpp"
}


pyqt4MappedTypeDef pyqt4MappedTypeDef_kio_ACLUserPermissionsList = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_ACLUserPermissionsList,
        {0}
    },
    release_ACLUserPermissionsList,
    convertTo_ACLUserPermissionsList,
    convertFrom_ACLUserPermissionsList
},
    assign_ACLUserPermissionsList
};

#line 46 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kacl.sip"
#include <kacl.h>
#line 7504 "sipkiopart3.cpp"

#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 7508 "sipkiopart3.cpp"
#line 98 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kacl.sip"
#include <qlist.h>
#line 7511 "sipkiopart3.cpp"


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

    {
        KACL *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isValid();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KACL *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->ownerPermissions();
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        unsigned short a0;
        KACL *sipCpp;

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

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KACL *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->owningGroupPermissions();
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        unsigned short a0;
        KACL *sipCpp;

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

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KACL *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->othersPermissions();
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLong(sipRes);
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KACL_setOthersPermissions(PyObject *, PyObject *);}
static PyObject *meth_KACL_setOthersPermissions(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        unsigned short a0;
        KACL *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bt",&sipSelf,sipType_KACL,&sipCpp,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->setOthersPermissions(a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KACL,sipName_setOthersPermissions);

    return NULL;
}


extern "C" {static PyObject *meth_KACL_basePermissions(PyObject *, PyObject *);}
static PyObject *meth_KACL_basePermissions(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KACL *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KACL,&sipCpp))
        {
            mode_t sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->basePermissions();
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KACL,sipName_basePermissions);

    return NULL;
}


extern "C" {static PyObject *meth_KACL_isExtended(PyObject *, PyObject *);}
static PyObject *meth_KACL_isExtended(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KACL *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KACL,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isExtended();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KACL,sipName_isExtended);

    return NULL;
}


extern "C" {static PyObject *meth_KACL_maskPermissions(PyObject *, PyObject *);}
static PyObject *meth_KACL_maskPermissions(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0;
        KACL *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KACL,&sipCpp))
        {
            unsigned short sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->maskPermissions(a0);
            Py_END_ALLOW_THREADS

            return sipBuildResult(0,"(tb)",sipRes,a0);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KACL,sipName_maskPermissions);

    return NULL;
}


extern "C" {static PyObject *meth_KACL_setMaskPermissions(PyObject *, PyObject *);}
static PyObject *meth_KACL_setMaskPermissions(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        unsigned short a0;
        KACL *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bt",&sipSelf,sipType_KACL,&sipCpp,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->setMaskPermissions(a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KACL,sipName_setMaskPermissions);

    return NULL;
}


extern "C" {static PyObject *meth_KACL_namedUserPermissions(PyObject *, PyObject *);}
static PyObject *meth_KACL_namedUserPermissions(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        bool a1;
        KACL *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KACL,&sipCpp,sipType_QString,&a0,&a0State))
        {
            unsigned short sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->namedUserPermissions(*a0,&a1);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipBuildResult(0,"(tb)",sipRes,a1);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KACL,sipName_namedUserPermissions);

    return NULL;
}


extern "C" {static PyObject *meth_KACL_setNamedUserPermissions(PyObject *, PyObject *);}
static PyObject *meth_KACL_setNamedUserPermissions(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        unsigned short a1;
        KACL *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1t",&sipSelf,sipType_KACL,&sipCpp,sipType_QString,&a0,&a0State,&a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->setNamedUserPermissions(*a0,a1);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KACL,sipName_setNamedUserPermissions);

    return NULL;
}


extern "C" {static PyObject *meth_KACL_allUserPermissions(PyObject *, PyObject *);}
static PyObject *meth_KACL_allUserPermissions(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KACL *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KACL,&sipCpp))
        {
            ACLUserPermissionsList *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new ACLUserPermissionsList(sipCpp->allUserPermissions());
            Py_END_ALLOW_THREADS

            PyObject *sipResObj = sipConvertFromType(sipRes,sipType_ACLUserPermissionsList,NULL);
            delete sipRes;

            return sipResObj;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KACL,sipName_allUserPermissions);

    return NULL;
}


extern "C" {static PyObject *meth_KACL_setAllUserPermissions(PyObject *, PyObject *);}
static PyObject *meth_KACL_setAllUserPermissions(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const ACLUserPermissionsList * a0;
        int a0State = 0;
        KACL *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KACL,&sipCpp,sipType_ACLUserPermissionsList,&a0,&a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->setAllUserPermissions(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<ACLUserPermissionsList *>(a0),sipType_ACLUserPermissionsList,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KACL,sipName_setAllUserPermissions);

    return NULL;
}


extern "C" {static PyObject *meth_KACL_namedGroupPermissions(PyObject *, PyObject *);}
static PyObject *meth_KACL_namedGroupPermissions(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        bool a1;
        KACL *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KACL,&sipCpp,sipType_QString,&a0,&a0State))
        {
            unsigned short sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->namedGroupPermissions(*a0,&a1);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipBuildResult(0,"(tb)",sipRes,a1);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KACL,sipName_namedGroupPermissions);

    return NULL;
}


extern "C" {static PyObject *meth_KACL_setNamedGroupPermissions(PyObject *, PyObject *);}
static PyObject *meth_KACL_setNamedGroupPermissions(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        unsigned short a1;
        KACL *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1t",&sipSelf,sipType_KACL,&sipCpp,sipType_QString,&a0,&a0State,&a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->setNamedGroupPermissions(*a0,a1);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KACL,sipName_setNamedGroupPermissions);

    return NULL;
}


extern "C" {static PyObject *meth_KACL_allGroupPermissions(PyObject *, PyObject *);}
static PyObject *meth_KACL_allGroupPermissions(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KACL *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KACL,&sipCpp))
        {
            ACLGroupPermissionsList *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new ACLGroupPermissionsList(sipCpp->allGroupPermissions());
            Py_END_ALLOW_THREADS

            PyObject *sipResObj = sipConvertFromType(sipRes,sipType_ACLUserPermissionsList,NULL);
            delete sipRes;

            return sipResObj;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KACL,sipName_allGroupPermissions);

    return NULL;
}


extern "C" {static PyObject *meth_KACL_setAllGroupPermissions(PyObject *, PyObject *);}
static PyObject *meth_KACL_setAllGroupPermissions(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const ACLGroupPermissionsList * a0;
        int a0State = 0;
        KACL *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KACL,&sipCpp,sipType_ACLUserPermissionsList,&a0,&a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->setAllGroupPermissions(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<ACLGroupPermissionsList *>(a0),sipType_ACLUserPermissionsList,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KACL,sipName_setAllGroupPermissions);

    return NULL;
}


extern "C" {static PyObject *meth_KACL_setACL(PyObject *, PyObject *);}
static PyObject *meth_KACL_setACL(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        KACL *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KACL,&sipCpp,sipType_QString,&a0,&a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->setACL(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KACL,sipName_setACL);

    return NULL;
}


extern "C" {static PyObject *meth_KACL_asString(PyObject *, PyObject *);}
static PyObject *meth_KACL_asString(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KACL *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KACL,&sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->asString());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KACL,sipName_asString);

    return NULL;
}


extern "C" {static PyObject *slot_KACL___ne__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_KACL___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    KACL *sipCpp = reinterpret_cast<KACL *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KACL));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        const KACL * a0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1J9",sipType_KACL,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->KACL::operator!=(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    return sipPySlotExtend(&sipModuleAPI_kio,ne_slot,sipType_KACL,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KACL___eq__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_KACL___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    KACL *sipCpp = reinterpret_cast<KACL *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KACL));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        const KACL * a0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1J9",sipType_KACL,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->KACL::operator==(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    return sipPySlotExtend(&sipModuleAPI_kio,eq_slot,sipType_KACL,sipSelf,sipArg);
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KACL(void *, const sipTypeDef *);}
static void *cast_KACL(void *ptr,const sipTypeDef *targetType)
{
    if (targetType == sipType_KACL)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KACL(void *, int);}
static void release_KACL(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<KACL *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KACL(void *, const void*);}
static void assign_KACL(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<KACL *>(sipDst) = *reinterpret_cast<const KACL *>(sipSrc);
}


extern "C" {static void dealloc_KACL(sipSimpleWrapper *);}
static void dealloc_KACL(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KACL(sipSelf->u.cppPtr,0);
    }
}


extern "C" {static void *init_KACL(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KACL(sipSimpleWrapper *, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    KACL *sipCpp = 0;

    if (!sipCpp)
    {
        const QString * a0;
        int a0State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J1",sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KACL(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
        }
    }

    if (!sipCpp)
    {
        const KACL * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_KACL,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KACL(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        mode_t a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"u",&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KACL(a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        if (sipParseArgs(sipArgsParsed,sipArgs,""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KACL();
            Py_END_ALLOW_THREADS
        }
    }

    return sipCpp;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_KACL[] = {
    {(void *)slot_KACL___ne__, ne_slot},
    {(void *)slot_KACL___eq__, eq_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_KACL[] = {
    {SIP_MLNAME_CAST(sipName_allGroupPermissions), meth_KACL_allGroupPermissions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_allUserPermissions), meth_KACL_allUserPermissions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_asString), meth_KACL_asString, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_basePermissions), meth_KACL_basePermissions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isExtended), meth_KACL_isExtended, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isValid), meth_KACL_isValid, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_maskPermissions), meth_KACL_maskPermissions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_namedGroupPermissions), meth_KACL_namedGroupPermissions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_namedUserPermissions), meth_KACL_namedUserPermissions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_othersPermissions), meth_KACL_othersPermissions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_ownerPermissions), meth_KACL_ownerPermissions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_owningGroupPermissions), meth_KACL_owningGroupPermissions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setACL), meth_KACL_setACL, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAllGroupPermissions), meth_KACL_setAllGroupPermissions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAllUserPermissions), meth_KACL_setAllUserPermissions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMaskPermissions), meth_KACL_setMaskPermissions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setNamedGroupPermissions), meth_KACL_setNamedGroupPermissions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setNamedUserPermissions), meth_KACL_setNamedUserPermissions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setOthersPermissions), meth_KACL_setOthersPermissions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setOwnerPermissions), meth_KACL_setOwnerPermissions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setOwningGroupPermissions), meth_KACL_setOwningGroupPermissions, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_kio_KACL = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KACL,
        {0}
    },
    sipNameNr_KACL,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {0, 0, 1},
    0,
    slots_KACL,
    21, methods_KACL,
    0, 0,
    0, 0,
    init_KACL,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KACL,
    release_KACL,
    cast_KACL,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_KACL,
    0,
    0,
    0
};

#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/jobuidelegate.sip"
#include <jobuidelegate.h>
#line 8360 "sipkiopart3.cpp"

#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 8364 "sipkiopart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 8367 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 8370 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 8373 "sipkiopart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8376 "sipkiopart3.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8379 "sipkiopart3.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8382 "sipkiopart3.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 8385 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 8388 "sipkiopart3.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 8419 "sipkiopart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 8422 "sipkiopart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 8425 "sipkiopart3.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 8428 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 8431 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 8434 "sipkiopart3.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 8437 "sipkiopart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 8440 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 8443 "sipkiopart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 8446 "sipkiopart3.cpp"


class sipKIO_JobUiDelegate : public KIO::JobUiDelegate
{
public:
    sipKIO_JobUiDelegate();
    virtual ~sipKIO_JobUiDelegate();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);
    KJob * sipProtect_job();
    void sipProtectVirt_slotWarning(bool,KJob *,const QString&,const QString&);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void setWindow(QWidget *);
    KIO::RenameDialog_Result askFileRename(KJob *,const QString&,const QString&,const QString&,KIO::RenameDialog_Mode,QString&,KIO::filesize_t,KIO::filesize_t,time_t,time_t,time_t,time_t);
    KIO::SkipDialog_Result askSkip(KJob *,bool,const QString&);
    void showErrorMessage();
    void slotWarning(KJob *,const QString&,const QString&);
    bool event(QEvent *);
    bool eventFilter(QObject *,QEvent *);
    void timerEvent(QTimerEvent *);
    void childEvent(QChildEvent *);
    void customEvent(QEvent *);
    void connectNotify(const char *);
    void disconnectNotify(const char *);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKIO_JobUiDelegate(const sipKIO_JobUiDelegate &);
    sipKIO_JobUiDelegate &operator = (const sipKIO_JobUiDelegate &);

    char sipPyMethods[12];
};

sipKIO_JobUiDelegate::sipKIO_JobUiDelegate(): KIO::JobUiDelegate(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKIO_JobUiDelegate::~sipKIO_JobUiDelegate()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKIO_JobUiDelegate::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KIO_JobUiDelegate);
}

int sipKIO_JobUiDelegate::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KIO::JobUiDelegate::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kio_qt_metacall(sipPySelf,sipType_KIO_JobUiDelegate,_c,_id,_a);

    return _id;
}

void *sipKIO_JobUiDelegate::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast && sip_kio_qt_metacast(sipPySelf,sipType_KIO_JobUiDelegate,_clname)) ? this : KIO::JobUiDelegate::qt_metacast(_clname);
}

void sipKIO_JobUiDelegate::setWindow(QWidget *a0)
{
    typedef void (*sipVH_QtGui_8)(sip_gilstate_t,PyObject *,QWidget *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_setWindow);

    if (!meth)
    {
        KIO::JobUiDelegate::setWindow(a0);
        return;
    }

    ((sipVH_QtGui_8)(sipModuleAPI_kio_QtGui->em_virthandlers[8]))(sipGILState,meth,a0);
}

KIO::RenameDialog_Result sipKIO_JobUiDelegate::askFileRename(KJob *a0,const QString& a1,const QString& a2,const QString& a3,KIO::RenameDialog_Mode a4,QString& a5,KIO::filesize_t a6,KIO::filesize_t a7,time_t a8,time_t a9,time_t a10,time_t a11)
{
    extern KIO::RenameDialog_Result sipVH_kio_44(sip_gilstate_t,PyObject *,KJob *,const QString&,const QString&,const QString&,KIO::RenameDialog_Mode,QString&,unsigned PY_LONG_LONG,unsigned PY_LONG_LONG,long,long,long,long);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_askFileRename);

    if (!meth)
        return KIO::JobUiDelegate::askFileRename(a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11);

    return sipVH_kio_44(sipGILState,meth,a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11);
}

KIO::SkipDialog_Result sipKIO_JobUiDelegate::askSkip(KJob *a0,bool a1,const QString& a2)
{
    extern KIO::SkipDialog_Result sipVH_kio_43(sip_gilstate_t,PyObject *,KJob *,bool,const QString&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_askSkip);

    if (!meth)
        return KIO::JobUiDelegate::askSkip(a0,a1,a2);

    return sipVH_kio_43(sipGILState,meth,a0,a1,a2);
}

void sipKIO_JobUiDelegate::showErrorMessage()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_showErrorMessage);

    if (!meth)
    {
        KDialogJobUiDelegate::showErrorMessage();
        return;
    }

    ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

void sipKIO_JobUiDelegate::slotWarning(KJob *a0,const QString& a1,const QString& a2)
{
    typedef void (*sipVH_kdecore_14)(sip_gilstate_t,PyObject *,KJob *,const QString&,const QString&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_slotWarning);

    if (!meth)
    {
        KDialogJobUiDelegate::slotWarning(a0,a1,a2);
        return;
    }

    ((sipVH_kdecore_14)(sipModuleAPI_kio_kdecore->em_virthandlers[14]))(sipGILState,meth,a0,a1,a2);
}

bool sipKIO_JobUiDelegate::event(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_event);

    if (!meth)
        return QObject::event(a0);

    return ((sipVH_QtCore_13)(sipModuleAPI_kio_QtCore->em_virthandlers[13]))(sipGILState,meth,a0);
}

bool sipKIO_JobUiDelegate::eventFilter(QObject *a0,QEvent *a1)
{
    typedef bool (*sipVH_QtCore_21)(sip_gilstate_t,PyObject *,QObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_eventFilter);

    if (!meth)
        return QObject::eventFilter(a0,a1);

    return ((sipVH_QtCore_21)(sipModuleAPI_kio_QtCore->em_virthandlers[21]))(sipGILState,meth,a0,a1);
}

void sipKIO_JobUiDelegate::timerEvent(QTimerEvent *a0)
{
    typedef void (*sipVH_QtCore_3)(sip_gilstate_t,PyObject *,QTimerEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_timerEvent);

    if (!meth)
    {
        QObject::timerEvent(a0);
        return;
    }

    ((sipVH_QtCore_3)(sipModuleAPI_kio_QtCore->em_virthandlers[3]))(sipGILState,meth,a0);
}

void sipKIO_JobUiDelegate::childEvent(QChildEvent *a0)
{
    typedef void (*sipVH_QtCore_20)(sip_gilstate_t,PyObject *,QChildEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_childEvent);

    if (!meth)
    {
        QObject::childEvent(a0);
        return;
    }

    ((sipVH_QtCore_20)(sipModuleAPI_kio_QtCore->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipKIO_JobUiDelegate::customEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_customEvent);

    if (!meth)
    {
        QObject::customEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_kio_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipKIO_JobUiDelegate::connectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_connectNotify);

    if (!meth)
    {
        QObject::connectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipKIO_JobUiDelegate::disconnectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_disconnectNotify);

    if (!meth)
    {
        QObject::disconnectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

int sipKIO_JobUiDelegate::sipProtect_receivers(const char *a0) const
{
    return QObject::receivers(a0);
}

void sipKIO_JobUiDelegate::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipKIO_JobUiDelegate::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent *a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipKIO_JobUiDelegate::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipKIO_JobUiDelegate::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipKIO_JobUiDelegate::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

KJob * sipKIO_JobUiDelegate::sipProtect_job()
{
    return KJobUiDelegate::job();
}

void sipKIO_JobUiDelegate::sipProtectVirt_slotWarning(bool sipSelfWasArg,KJob *a0,const QString& a1,const QString& a2)
{
    (sipSelfWasArg ? KDialogJobUiDelegate::slotWarning(a0,a1,a2) : slotWarning(a0,a1,a2));
}


extern "C" {static PyObject *meth_KIO_JobUiDelegate_receivers(PyObject *, PyObject *);}
static PyObject *meth_KIO_JobUiDelegate_receivers(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        char * a0;
        sipKIO_JobUiDelegate *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KIO_JobUiDelegate,&sipCpp,&a0))
        {
            int sipRes = 0;

#line 462 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
#line 8800 "sipkiopart3.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_JobUiDelegate,sipName_receivers);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_JobUiDelegate_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_KIO_JobUiDelegate_timerEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipKIO_JobUiDelegate *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KIO_JobUiDelegate,&sipCpp,sipType_QTimerEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_JobUiDelegate,sipName_timerEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_JobUiDelegate_childEvent(PyObject *, PyObject *);}
static PyObject *meth_KIO_JobUiDelegate_childEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipKIO_JobUiDelegate *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KIO_JobUiDelegate,&sipCpp,sipType_QChildEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_JobUiDelegate,sipName_childEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_JobUiDelegate_customEvent(PyObject *, PyObject *);}
static PyObject *meth_KIO_JobUiDelegate_customEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKIO_JobUiDelegate *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KIO_JobUiDelegate,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_JobUiDelegate,sipName_customEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_JobUiDelegate_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_KIO_JobUiDelegate_connectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKIO_JobUiDelegate *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KIO_JobUiDelegate,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_JobUiDelegate,sipName_connectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_JobUiDelegate_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_KIO_JobUiDelegate_disconnectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKIO_JobUiDelegate *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KIO_JobUiDelegate,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_JobUiDelegate,sipName_disconnectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_JobUiDelegate_job(PyObject *, PyObject *);}
static PyObject *meth_KIO_JobUiDelegate_job(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKIO_JobUiDelegate *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KIO_JobUiDelegate,&sipCpp))
        {
            KJob *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_job();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KJob,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_JobUiDelegate,sipName_job);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_JobUiDelegate_slotWarning(PyObject *, PyObject *);}
static PyObject *meth_KIO_JobUiDelegate_slotWarning(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KJob * a0;
        const QString * a1;
        int a1State = 0;
        const QString * a2;
        int a2State = 0;
        sipKIO_JobUiDelegate *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8J1J1",&sipSelf,sipType_KIO_JobUiDelegate,&sipCpp,sipType_KJob,&a0,sipType_QString,&a1,&a1State,sipType_QString,&a2,&a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_slotWarning(sipSelfWasArg,a0,*a1,*a2);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_JobUiDelegate,sipName_slotWarning);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_JobUiDelegate_setWindow(PyObject *, PyObject *);}
static PyObject *meth_KIO_JobUiDelegate_setWindow(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWidget * a0;
        KIO::JobUiDelegate *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8",&sipSelf,sipType_KIO_JobUiDelegate,&sipCpp,sipType_QWidget,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::JobUiDelegate::setWindow(a0) : sipCpp->setWindow(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_JobUiDelegate,sipName_setWindow);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_JobUiDelegate_askFileRename(PyObject *, PyObject *);}
static PyObject *meth_KIO_JobUiDelegate_askFileRename(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KJob * a0;
        const QString * a1;
        int a1State = 0;
        const QString * a2;
        int a2State = 0;
        const QString * a3;
        int a3State = 0;
        KIO::RenameDialog_Mode a4;
        QString * a5;
        int a5State = 0;
        KIO::filesize_t a6 = -1;
        KIO::filesize_t a7 = -1;
        time_t a8 = -1;
        time_t a9 = -1;
        time_t a10 = -1;
        time_t a11 = -1;
        KIO::JobUiDelegate *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8J1J1J1EJ1|oollll",&sipSelf,sipType_KIO_JobUiDelegate,&sipCpp,sipType_KJob,&a0,sipType_QString,&a1,&a1State,sipType_QString,&a2,&a2State,sipType_QString,&a3,&a3State,sipType_KIO_RenameDialog_Mode,&a4,sipType_QString,&a5,&a5State,&a6,&a7,&a8,&a9,&a10,&a11))
        {
            KIO::RenameDialog_Result sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KIO::JobUiDelegate::askFileRename(a0,*a1,*a2,*a3,a4,*a5,a6,a7,a8,a9,a10,a11) : sipCpp->askFileRename(a0,*a1,*a2,*a3,a4,*a5,a6,a7,a8,a9,a10,a11));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);
            sipReleaseType(a5,sipType_QString,a5State);

            return sipConvertFromEnum(sipRes,sipType_KIO_RenameDialog_Result);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_JobUiDelegate,sipName_askFileRename);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_JobUiDelegate_askSkip(PyObject *, PyObject *);}
static PyObject *meth_KIO_JobUiDelegate_askSkip(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KJob * a0;
        bool a1;
        const QString * a2;
        int a2State = 0;
        KIO::JobUiDelegate *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8bJ1",&sipSelf,sipType_KIO_JobUiDelegate,&sipCpp,sipType_KJob,&a0,&a1,sipType_QString,&a2,&a2State))
        {
            KIO::SkipDialog_Result sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KIO::JobUiDelegate::askSkip(a0,a1,*a2) : sipCpp->askSkip(a0,a1,*a2));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

            return sipConvertFromEnum(sipRes,sipType_KIO_SkipDialog_Result);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_JobUiDelegate,sipName_askSkip);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_JobUiDelegate_askDeleteConfirmation(PyObject *, PyObject *);}
static PyObject *meth_KIO_JobUiDelegate_askDeleteConfirmation(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KUrl::List * a0;
        KIO::JobUiDelegate::DeletionType a1;
        KIO::JobUiDelegate::ConfirmationType a2;
        KIO::JobUiDelegate *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9EE",&sipSelf,sipType_KIO_JobUiDelegate,&sipCpp,sipType_KUrl_List,&a0,sipType_KIO_JobUiDelegate_DeletionType,&a1,sipType_KIO_JobUiDelegate_ConfirmationType,&a2))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->askDeleteConfirmation(*a0,a1,a2);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_JobUiDelegate,sipName_askDeleteConfirmation);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KIO_JobUiDelegate(void *, const sipTypeDef *);}
static void *cast_KIO_JobUiDelegate(void *ptr,const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KIO_JobUiDelegate)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KDialogJobUiDelegate)->ctd_cast((KDialogJobUiDelegate *)(KIO::JobUiDelegate *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KIO_JobUiDelegate(void *, int);}
static void release_KIO_JobUiDelegate(void *sipCppV,int state)
{
    Py_BEGIN_ALLOW_THREADS

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKIO_JobUiDelegate *>(sipCppV);
    else
        delete reinterpret_cast<KIO::JobUiDelegate *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KIO_JobUiDelegate(sipSimpleWrapper *);}
static void dealloc_KIO_JobUiDelegate(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKIO_JobUiDelegate *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KIO_JobUiDelegate(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_KIO_JobUiDelegate(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KIO_JobUiDelegate(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    sipKIO_JobUiDelegate *sipCpp = 0;

    if (!sipCpp)
    {
        if (sipParseArgs(sipArgsParsed,sipArgs,""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKIO_JobUiDelegate();
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KIO_JobUiDelegate[] = {{80, 6, 1}};


static PyMethodDef methods_KIO_JobUiDelegate[] = {
    {SIP_MLNAME_CAST(sipName_askDeleteConfirmation), meth_KIO_JobUiDelegate_askDeleteConfirmation, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_askFileRename), meth_KIO_JobUiDelegate_askFileRename, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_askSkip), meth_KIO_JobUiDelegate_askSkip, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_KIO_JobUiDelegate_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KIO_JobUiDelegate_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KIO_JobUiDelegate_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KIO_JobUiDelegate_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_job), meth_KIO_JobUiDelegate_job, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_KIO_JobUiDelegate_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setWindow), meth_KIO_JobUiDelegate_setWindow, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotWarning), meth_KIO_JobUiDelegate_slotWarning, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KIO_JobUiDelegate_timerEvent, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KIO_JobUiDelegate[] = {
    {sipName_DefaultConfirmation, KIO::JobUiDelegate::DefaultConfirmation, 122},
    {sipName_Delete, KIO::JobUiDelegate::Delete, 123},
    {sipName_ForceConfirmation, KIO::JobUiDelegate::ForceConfirmation, 122},
    {sipName_Trash, KIO::JobUiDelegate::Trash, 123},
};


pyqt4ClassTypeDef pyqt4Type_kio_KIO_JobUiDelegate = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KIO__JobUiDelegate,
        {0}
    },
    sipNameNr_JobUiDelegate,
    -1,
    -1,
    {95, 255, 0},
    supers_KIO_JobUiDelegate,
    0,
    12, methods_KIO_JobUiDelegate,
    4, enummembers_KIO_JobUiDelegate,
    0, 0,
    init_KIO_JobUiDelegate,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KIO_JobUiDelegate,
    release_KIO_JobUiDelegate,
    cast_KIO_JobUiDelegate,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KIO::JobUiDelegate::staticMetaObject,
    0,
    0
};

#line 343 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 9296 "sipkiopart3.cpp"

#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 9300 "sipkiopart3.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 9303 "sipkiopart3.cpp"
#line 186 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/global.sip"
#include<qmap.h>
#line 9306 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 9309 "sipkiopart3.cpp"
#line 43 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 9312 "sipkiopart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 9315 "sipkiopart3.cpp"
#line 321 "/usr/local/share/py-sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 9318 "sipkiopart3.cpp"
#line 137 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservicetype.sip"
#include <qmap.h>
#line 43 "/usr/local/share/py-sip/QtCore/qmap.sip"
#include <qmap.h>
#line 43 "/usr/local/share/py-sip/QtCore/qmap.sip"
#include <qmap.h>
#line 9325 "sipkiopart3.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktimezone.sip"
#include <ktimezone.h>
#line 9328 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 9331 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 9334 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 9337 "sipkiopart3.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/jobuidelegate.sip"
#include <jobuidelegate.h>
#line 9340 "sipkiopart3.cpp"
#line 708 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <qlist.h>
#line 102 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservice.sip"
#include <qlist.h>
#line 81 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kmimetype.sip"
#include <qlist.h>
#line 61 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservicetype.sip"
#include <qlist.h>
#line 65 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ksycocaentry.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 9393 "sipkiopart3.cpp"
#line 136 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 9396 "sipkiopart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kplugininfo.sip"
#include <kplugininfo.h>
#line 9399 "sipkiopart3.cpp"
#line 36 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kprotocolinfo.sip"
#include <kprotocolinfo.h>
#line 9402 "sipkiopart3.cpp"
#line 184 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 9405 "sipkiopart3.cpp"
#line 184 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 9408 "sipkiopart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kserviceaction.sip"
#include <kserviceaction.h>
#line 9411 "sipkiopart3.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktimezone.sip"
#include <ktimezone.h>
#line 9414 "sipkiopart3.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktimezone.sip"
#include <ktimezone.h>
#line 9417 "sipkiopart3.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktimezone.sip"
#include <ktimezone.h>
#line 9420 "sipkiopart3.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kautosavefile.sip"
#include <kautosavefile.h>
#line 9423 "sipkiopart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kaboutdata.sip"
#include <kaboutdata.h>
#line 9426 "sipkiopart3.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/klocale.sip"
#include <klocale.h>
#line 9429 "sipkiopart3.cpp"
#line 57 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktcpsocket.sip"
#include <ktcpsocket.h>
#line 9432 "sipkiopart3.cpp"
#line 79 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktcpsocket.sip"
#include <ktcpsocket.h>
#line 9435 "sipkiopart3.cpp"
#line 83 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kuser.sip"
#include <kuser.h>
#line 9438 "sipkiopart3.cpp"
#line 34 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kuser.sip"
#include <kuser.h>
#line 9441 "sipkiopart3.cpp"
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 9456 "sipkiopart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/klockfile.sip"
#include <klockfile.h>
#line 9459 "sipkiopart3.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kmimetype.sip"
#include <kmimetype.h>
#line 9462 "sipkiopart3.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservice.sip"
#include <kservice.h>
#line 9465 "sipkiopart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservicegroup.sip"
#include <kservicegroup.h>
#line 9468 "sipkiopart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservicetype.sip"
#include <kservicetype.h>
#line 9471 "sipkiopart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ksharedconfig.sip"
#include <ksharedconfig.h>
#line 9474 "sipkiopart3.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ksycocaentry.sip"
#include <ksycocaentry.h>
#line 9477 "sipkiopart3.cpp"
#line 642 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <qpair.h>
#line 9480 "sipkiopart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 9483 "sipkiopart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kjobuidelegate.sip"
#include <kjobuidelegate.h>
#line 9486 "sipkiopart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9489 "sipkiopart3.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9492 "sipkiopart3.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9495 "sipkiopart3.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 9498 "sipkiopart3.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 9529 "sipkiopart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 9532 "sipkiopart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 9535 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 9538 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 9541 "sipkiopart3.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 9544 "sipkiopart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 9547 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 9550 "sipkiopart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 9553 "sipkiopart3.cpp"


class sipKIO_SpecialJob : public KIO::SpecialJob
{
public:
    sipKIO_SpecialJob(const KUrl&,const QByteArray&);
    virtual ~sipKIO_SpecialJob();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);
    void sipProtect_setCapabilities(KJob::Capabilities);
    void sipProtect_setError(int);
    void sipProtect_setErrorText(const QString&);
    void sipProtect_setProcessedAmount(KJob::Unit,qulonglong);
    void sipProtect_setTotalAmount(KJob::Unit,qulonglong);
    void sipProtect_setPercent(unsigned long);
    void sipProtect_emitResult();
    void sipProtect_emitPercent(qulonglong,qulonglong);
    void sipProtect_emitSpeed(unsigned long);
    bool sipProtect_hasSubjobs();
    const QList<KJob *>& sipProtect_subjobs() const;
    void sipProtect_clearSubjobs();
    void sipProtectVirt_slotInfoMessage(bool,KJob *,const QString&,const QString&);
    bool sipProtectVirt_addSubjob(bool,KJob *);
    bool sipProtectVirt_removeSubjob(bool,KJob *);
    bool sipProtectVirt_doSuspend(bool);
    bool sipProtectVirt_doKill(bool);
    void sipProtectVirt_slotWarning(bool,const QString&);
    void sipProtect_storeSSLSessionFromJob(const KUrl&);
    void sipProtectVirt_slotResult(bool,KJob *);
    bool sipProtectVirt_doResume(bool);
    void sipProtectVirt_slotRedirection(bool,const KUrl&);
    void sipProtectVirt_slotFinished(bool);
    void sipProtectVirt_slotData(bool,const QByteArray&);
    void sipProtectVirt_slotDataReq(bool);
    void sipProtectVirt_slotMimetype(bool,const QString&);
    void sipProtectVirt_slotMetaData(bool,const KIO::MetaData&);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void slotResult(KJob *);
    bool doResume();
    void slotRedirection(const KUrl&);
    void slotFinished();
    void slotData(const QByteArray&);
    void slotDataReq();
    void slotMimetype(const QString&);
    void slotMetaData(const KIO::MetaData&);
    bool doSuspend();
    bool doKill();
    void putOnHold();
    void slotWarning(const QString&);
    bool addSubjob(KJob *);
    bool removeSubjob(KJob *);
    void slotInfoMessage(KJob *,const QString&,const QString&);
    void start();
    QString errorString() const;
    bool event(QEvent *);
    bool eventFilter(QObject *,QEvent *);
    void timerEvent(QTimerEvent *);
    void childEvent(QChildEvent *);
    void customEvent(QEvent *);
    void connectNotify(const char *);
    void disconnectNotify(const char *);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKIO_SpecialJob(const sipKIO_SpecialJob &);
    sipKIO_SpecialJob &operator = (const sipKIO_SpecialJob &);

    char sipPyMethods[24];
};

sipKIO_SpecialJob::sipKIO_SpecialJob(const KUrl& a0,const QByteArray& a1): KIO::SpecialJob(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKIO_SpecialJob::~sipKIO_SpecialJob()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKIO_SpecialJob::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KIO_SpecialJob);
}

int sipKIO_SpecialJob::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KIO::SpecialJob::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kio_qt_metacall(sipPySelf,sipType_KIO_SpecialJob,_c,_id,_a);

    return _id;
}

void *sipKIO_SpecialJob::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast && sip_kio_qt_metacast(sipPySelf,sipType_KIO_SpecialJob,_clname)) ? this : KIO::SpecialJob::qt_metacast(_clname);
}

void sipKIO_SpecialJob::slotResult(KJob *a0)
{
    typedef void (*sipVH_kdecore_18)(sip_gilstate_t,PyObject *,KJob *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_slotResult);

    if (!meth)
    {
        KIO::TransferJob::slotResult(a0);
        return;
    }

    ((sipVH_kdecore_18)(sipModuleAPI_kio_kdecore->em_virthandlers[18]))(sipGILState,meth,a0);
}

bool sipKIO_SpecialJob::doResume()
{
    typedef bool (*sipVH_QtCore_1)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_doResume);

    if (!meth)
        return KIO::TransferJob::doResume();

    return ((sipVH_QtCore_1)(sipModuleAPI_kio_QtCore->em_virthandlers[1]))(sipGILState,meth);
}

void sipKIO_SpecialJob::slotRedirection(const KUrl& a0)
{
    typedef void (*sipVH_kdecore_61)(sip_gilstate_t,PyObject *,const KUrl&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_slotRedirection);

    if (!meth)
    {
        KIO::TransferJob::slotRedirection(a0);
        return;
    }

    ((sipVH_kdecore_61)(sipModuleAPI_kio_kdecore->em_virthandlers[61]))(sipGILState,meth,a0);
}

void sipKIO_SpecialJob::slotFinished()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_slotFinished);

    if (!meth)
    {
        KIO::TransferJob::slotFinished();
        return;
    }

    ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

void sipKIO_SpecialJob::slotData(const QByteArray& a0)
{
    typedef void (*sipVH_QtXml_29)(sip_gilstate_t,PyObject *,const QByteArray&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_slotData);

    if (!meth)
    {
        KIO::TransferJob::slotData(a0);
        return;
    }

    ((sipVH_QtXml_29)(sipModuleAPI_kio_QtXml->em_virthandlers[29]))(sipGILState,meth,a0);
}

void sipKIO_SpecialJob::slotDataReq()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_slotDataReq);

    if (!meth)
    {
        KIO::TransferJob::slotDataReq();
        return;
    }

    ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

void sipKIO_SpecialJob::slotMimetype(const QString& a0)
{
    typedef void (*sipVH_QtCore_29)(sip_gilstate_t,PyObject *,const QString&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_slotMimetype);

    if (!meth)
    {
        KIO::TransferJob::slotMimetype(a0);
        return;
    }

    ((sipVH_QtCore_29)(sipModuleAPI_kio_QtCore->em_virthandlers[29]))(sipGILState,meth,a0);
}

void sipKIO_SpecialJob::slotMetaData(const KIO::MetaData& a0)
{
    extern void sipVH_kio_16(sip_gilstate_t,PyObject *,const KIO::MetaData&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_slotMetaData);

    if (!meth)
    {
        KIO::TransferJob::slotMetaData(a0);
        return;
    }

    sipVH_kio_16(sipGILState,meth,a0);
}

bool sipKIO_SpecialJob::doSuspend()
{
    typedef bool (*sipVH_QtCore_1)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_doSuspend);

    if (!meth)
        return KIO::SimpleJob::doSuspend();

    return ((sipVH_QtCore_1)(sipModuleAPI_kio_QtCore->em_virthandlers[1]))(sipGILState,meth);
}

bool sipKIO_SpecialJob::doKill()
{
    typedef bool (*sipVH_QtCore_1)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_doKill);

    if (!meth)
        return KIO::SimpleJob::doKill();

    return ((sipVH_QtCore_1)(sipModuleAPI_kio_QtCore->em_virthandlers[1]))(sipGILState,meth);
}

void sipKIO_SpecialJob::putOnHold()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_putOnHold);

    if (!meth)
    {
        KIO::SimpleJob::putOnHold();
        return;
    }

    ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

void sipKIO_SpecialJob::slotWarning(const QString& a0)
{
    typedef void (*sipVH_QtCore_29)(sip_gilstate_t,PyObject *,const QString&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_slotWarning);

    if (!meth)
    {
        KIO::SimpleJob::slotWarning(a0);
        return;
    }

    ((sipVH_QtCore_29)(sipModuleAPI_kio_QtCore->em_virthandlers[29]))(sipGILState,meth,a0);
}

bool sipKIO_SpecialJob::addSubjob(KJob *a0)
{
    typedef bool (*sipVH_kdecore_19)(sip_gilstate_t,PyObject *,KJob *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_addSubjob);

    if (!meth)
        return KIO::Job::addSubjob(a0);

    return ((sipVH_kdecore_19)(sipModuleAPI_kio_kdecore->em_virthandlers[19]))(sipGILState,meth,a0);
}

bool sipKIO_SpecialJob::removeSubjob(KJob *a0)
{
    typedef bool (*sipVH_kdecore_19)(sip_gilstate_t,PyObject *,KJob *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_removeSubjob);

    if (!meth)
        return KIO::Job::removeSubjob(a0);

    return ((sipVH_kdecore_19)(sipModuleAPI_kio_kdecore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipKIO_SpecialJob::slotInfoMessage(KJob *a0,const QString& a1,const QString& a2)
{
    typedef void (*sipVH_kdecore_14)(sip_gilstate_t,PyObject *,KJob *,const QString&,const QString&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_slotInfoMessage);

    if (!meth)
    {
        KCompositeJob::slotInfoMessage(a0,a1,a2);
        return;
    }

    ((sipVH_kdecore_14)(sipModuleAPI_kio_kdecore->em_virthandlers[14]))(sipGILState,meth,a0,a1,a2);
}

void sipKIO_SpecialJob::start()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_start);

    if (!meth)
    {
        KIO::Job::start();
        return;
    }

    ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

QString sipKIO_SpecialJob::errorString() const
{
    typedef QString (*sipVH_QtCore_58)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[16]),sipPySelf,NULL,sipName_errorString);

    if (!meth)
        return KIO::Job::errorString();

    return ((sipVH_QtCore_58)(sipModuleAPI_kio_QtCore->em_virthandlers[58]))(sipGILState,meth);
}

bool sipKIO_SpecialJob::event(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_event);

    if (!meth)
        return QObject::event(a0);

    return ((sipVH_QtCore_13)(sipModuleAPI_kio_QtCore->em_virthandlers[13]))(sipGILState,meth,a0);
}

bool sipKIO_SpecialJob::eventFilter(QObject *a0,QEvent *a1)
{
    typedef bool (*sipVH_QtCore_21)(sip_gilstate_t,PyObject *,QObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_eventFilter);

    if (!meth)
        return QObject::eventFilter(a0,a1);

    return ((sipVH_QtCore_21)(sipModuleAPI_kio_QtCore->em_virthandlers[21]))(sipGILState,meth,a0,a1);
}

void sipKIO_SpecialJob::timerEvent(QTimerEvent *a0)
{
    typedef void (*sipVH_QtCore_3)(sip_gilstate_t,PyObject *,QTimerEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_timerEvent);

    if (!meth)
    {
        QObject::timerEvent(a0);
        return;
    }

    ((sipVH_QtCore_3)(sipModuleAPI_kio_QtCore->em_virthandlers[3]))(sipGILState,meth,a0);
}

void sipKIO_SpecialJob::childEvent(QChildEvent *a0)
{
    typedef void (*sipVH_QtCore_20)(sip_gilstate_t,PyObject *,QChildEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_childEvent);

    if (!meth)
    {
        QObject::childEvent(a0);
        return;
    }

    ((sipVH_QtCore_20)(sipModuleAPI_kio_QtCore->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipKIO_SpecialJob::customEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_customEvent);

    if (!meth)
    {
        QObject::customEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_kio_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipKIO_SpecialJob::connectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_connectNotify);

    if (!meth)
    {
        QObject::connectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipKIO_SpecialJob::disconnectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_disconnectNotify);

    if (!meth)
    {
        QObject::disconnectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

int sipKIO_SpecialJob::sipProtect_receivers(const char *a0) const
{
    return QObject::receivers(a0);
}

void sipKIO_SpecialJob::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipKIO_SpecialJob::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent *a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipKIO_SpecialJob::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipKIO_SpecialJob::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipKIO_SpecialJob::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

void sipKIO_SpecialJob::sipProtect_setCapabilities(KJob::Capabilities a0)
{
    KJob::setCapabilities(a0);
}

void sipKIO_SpecialJob::sipProtect_setError(int a0)
{
    KJob::setError(a0);
}

void sipKIO_SpecialJob::sipProtect_setErrorText(const QString& a0)
{
    KJob::setErrorText(a0);
}

void sipKIO_SpecialJob::sipProtect_setProcessedAmount(KJob::Unit a0,qulonglong a1)
{
    KJob::setProcessedAmount(a0,a1);
}

void sipKIO_SpecialJob::sipProtect_setTotalAmount(KJob::Unit a0,qulonglong a1)
{
    KJob::setTotalAmount(a0,a1);
}

void sipKIO_SpecialJob::sipProtect_setPercent(unsigned long a0)
{
    KJob::setPercent(a0);
}

void sipKIO_SpecialJob::sipProtect_emitResult()
{
    KJob::emitResult();
}

void sipKIO_SpecialJob::sipProtect_emitPercent(qulonglong a0,qulonglong a1)
{
    KJob::emitPercent(a0,a1);
}

void sipKIO_SpecialJob::sipProtect_emitSpeed(unsigned long a0)
{
    KJob::emitSpeed(a0);
}

bool sipKIO_SpecialJob::sipProtect_hasSubjobs()
{
    return KCompositeJob::hasSubjobs();
}

const QList<KJob *>& sipKIO_SpecialJob::sipProtect_subjobs() const
{
    return KCompositeJob::subjobs();
}

void sipKIO_SpecialJob::sipProtect_clearSubjobs()
{
    KCompositeJob::clearSubjobs();
}

void sipKIO_SpecialJob::sipProtectVirt_slotInfoMessage(bool sipSelfWasArg,KJob *a0,const QString& a1,const QString& a2)
{
    (sipSelfWasArg ? KCompositeJob::slotInfoMessage(a0,a1,a2) : slotInfoMessage(a0,a1,a2));
}

bool sipKIO_SpecialJob::sipProtectVirt_addSubjob(bool sipSelfWasArg,KJob *a0)
{
    return (sipSelfWasArg ? KIO::Job::addSubjob(a0) : addSubjob(a0));
}

bool sipKIO_SpecialJob::sipProtectVirt_removeSubjob(bool sipSelfWasArg,KJob *a0)
{
    return (sipSelfWasArg ? KIO::Job::removeSubjob(a0) : removeSubjob(a0));
}

bool sipKIO_SpecialJob::sipProtectVirt_doSuspend(bool sipSelfWasArg)
{
    return (sipSelfWasArg ? KIO::SimpleJob::doSuspend() : doSuspend());
}

bool sipKIO_SpecialJob::sipProtectVirt_doKill(bool sipSelfWasArg)
{
    return (sipSelfWasArg ? KIO::SimpleJob::doKill() : doKill());
}

void sipKIO_SpecialJob::sipProtectVirt_slotWarning(bool sipSelfWasArg,const QString& a0)
{
    (sipSelfWasArg ? KIO::SimpleJob::slotWarning(a0) : slotWarning(a0));
}

void sipKIO_SpecialJob::sipProtect_storeSSLSessionFromJob(const KUrl& a0)
{
    KIO::SimpleJob::storeSSLSessionFromJob(a0);
}

void sipKIO_SpecialJob::sipProtectVirt_slotResult(bool sipSelfWasArg,KJob *a0)
{
    (sipSelfWasArg ? KIO::TransferJob::slotResult(a0) : slotResult(a0));
}

bool sipKIO_SpecialJob::sipProtectVirt_doResume(bool sipSelfWasArg)
{
    return (sipSelfWasArg ? KIO::TransferJob::doResume() : doResume());
}

void sipKIO_SpecialJob::sipProtectVirt_slotRedirection(bool sipSelfWasArg,const KUrl& a0)
{
    (sipSelfWasArg ? KIO::TransferJob::slotRedirection(a0) : slotRedirection(a0));
}

void sipKIO_SpecialJob::sipProtectVirt_slotFinished(bool sipSelfWasArg)
{
    (sipSelfWasArg ? KIO::TransferJob::slotFinished() : slotFinished());
}

void sipKIO_SpecialJob::sipProtectVirt_slotData(bool sipSelfWasArg,const QByteArray& a0)
{
    (sipSelfWasArg ? KIO::TransferJob::slotData(a0) : slotData(a0));
}

void sipKIO_SpecialJob::sipProtectVirt_slotDataReq(bool sipSelfWasArg)
{
    (sipSelfWasArg ? KIO::TransferJob::slotDataReq() : slotDataReq());
}

void sipKIO_SpecialJob::sipProtectVirt_slotMimetype(bool sipSelfWasArg,const QString& a0)
{
    (sipSelfWasArg ? KIO::TransferJob::slotMimetype(a0) : slotMimetype(a0));
}

void sipKIO_SpecialJob::sipProtectVirt_slotMetaData(bool sipSelfWasArg,const KIO::MetaData& a0)
{
    (sipSelfWasArg ? KIO::TransferJob::slotMetaData(a0) : slotMetaData(a0));
}


extern "C" {static PyObject *meth_KIO_SpecialJob_receivers(PyObject *, PyObject *);}
static PyObject *meth_KIO_SpecialJob_receivers(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        char * a0;
        sipKIO_SpecialJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KIO_SpecialJob,&sipCpp,&a0))
        {
            int sipRes = 0;

#line 462 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
#line 10273 "sipkiopart3.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_SpecialJob,sipName_receivers);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SpecialJob_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_KIO_SpecialJob_timerEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipKIO_SpecialJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KIO_SpecialJob,&sipCpp,sipType_QTimerEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_SpecialJob,sipName_timerEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SpecialJob_childEvent(PyObject *, PyObject *);}
static PyObject *meth_KIO_SpecialJob_childEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipKIO_SpecialJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KIO_SpecialJob,&sipCpp,sipType_QChildEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_SpecialJob,sipName_childEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SpecialJob_customEvent(PyObject *, PyObject *);}
static PyObject *meth_KIO_SpecialJob_customEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKIO_SpecialJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KIO_SpecialJob,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_SpecialJob,sipName_customEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SpecialJob_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_KIO_SpecialJob_connectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKIO_SpecialJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KIO_SpecialJob,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_SpecialJob,sipName_connectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SpecialJob_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_KIO_SpecialJob_disconnectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKIO_SpecialJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KIO_SpecialJob,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_SpecialJob,sipName_disconnectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SpecialJob_setCapabilities(PyObject *, PyObject *);}
static PyObject *meth_KIO_SpecialJob_setCapabilities(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KJob::Capabilities * a0;
        int a0State = 0;
        sipKIO_SpecialJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1",&sipSelf,sipType_KIO_SpecialJob,&sipCpp,sipType_KJob_Capabilities,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setCapabilities(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_KJob_Capabilities,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_SpecialJob,sipName_setCapabilities);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SpecialJob_setError(PyObject *, PyObject *);}
static PyObject *meth_KIO_SpecialJob_setError(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        int a0;
        sipKIO_SpecialJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pi",&sipSelf,sipType_KIO_SpecialJob,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setError(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_SpecialJob,sipName_setError);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SpecialJob_setErrorText(PyObject *, PyObject *);}
static PyObject *meth_KIO_SpecialJob_setErrorText(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        sipKIO_SpecialJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1",&sipSelf,sipType_KIO_SpecialJob,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setErrorText(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_SpecialJob,sipName_setErrorText);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SpecialJob_setProcessedAmount(PyObject *, PyObject *);}
static PyObject *meth_KIO_SpecialJob_setProcessedAmount(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KJob::Unit a0;
        qulonglong a1;
        sipKIO_SpecialJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pEo",&sipSelf,sipType_KIO_SpecialJob,&sipCpp,sipType_KJob_Unit,&a0,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setProcessedAmount(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_SpecialJob,sipName_setProcessedAmount);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SpecialJob_setTotalAmount(PyObject *, PyObject *);}
static PyObject *meth_KIO_SpecialJob_setTotalAmount(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KJob::Unit a0;
        qulonglong a1;
        sipKIO_SpecialJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pEo",&sipSelf,sipType_KIO_SpecialJob,&sipCpp,sipType_KJob_Unit,&a0,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setTotalAmount(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_SpecialJob,sipName_setTotalAmount);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SpecialJob_setPercent(PyObject *, PyObject *);}
static PyObject *meth_KIO_SpecialJob_setPercent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        unsigned long a0;
        sipKIO_SpecialJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pm",&sipSelf,sipType_KIO_SpecialJob,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setPercent(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_SpecialJob,sipName_setPercent);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SpecialJob_emitResult(PyObject *, PyObject *);}
static PyObject *meth_KIO_SpecialJob_emitResult(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKIO_SpecialJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KIO_SpecialJob,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_emitResult();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_SpecialJob,sipName_emitResult);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SpecialJob_emitPercent(PyObject *, PyObject *);}
static PyObject *meth_KIO_SpecialJob_emitPercent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        qulonglong a0;
        qulonglong a1;
        sipKIO_SpecialJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"poo",&sipSelf,sipType_KIO_SpecialJob,&sipCpp,&a0,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_emitPercent(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_SpecialJob,sipName_emitPercent);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SpecialJob_emitSpeed(PyObject *, PyObject *);}
static PyObject *meth_KIO_SpecialJob_emitSpeed(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        unsigned long a0;
        sipKIO_SpecialJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pm",&sipSelf,sipType_KIO_SpecialJob,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_emitSpeed(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_SpecialJob,sipName_emitSpeed);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SpecialJob_hasSubjobs(PyObject *, PyObject *);}
static PyObject *meth_KIO_SpecialJob_hasSubjobs(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKIO_SpecialJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KIO_SpecialJob,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_hasSubjobs();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_SpecialJob,sipName_hasSubjobs);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SpecialJob_subjobs(PyObject *, PyObject *);}
static PyObject *meth_KIO_SpecialJob_subjobs(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKIO_SpecialJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KIO_SpecialJob,&sipCpp))
        {
            QList<KJob *> *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<KJob *>(sipCpp->sipProtect_subjobs());
            Py_END_ALLOW_THREADS

            PyObject *sipResObj = sipConvertFromType(sipRes,sipType_QList_0201KJob,NULL);
            delete sipRes;

            return sipResObj;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_SpecialJob,sipName_subjobs);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SpecialJob_clearSubjobs(PyObject *, PyObject *);}
static PyObject *meth_KIO_SpecialJob_clearSubjobs(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKIO_SpecialJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KIO_SpecialJob,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_clearSubjobs();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_SpecialJob,sipName_clearSubjobs);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SpecialJob_slotInfoMessage(PyObject *, PyObject *);}
static PyObject *meth_KIO_SpecialJob_slotInfoMessage(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KJob * a0;
        const QString * a1;
        int a1State = 0;
        const QString * a2;
        int a2State = 0;
        sipKIO_SpecialJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8J1J1",&sipSelf,sipType_KIO_SpecialJob,&sipCpp,sipType_KJob,&a0,sipType_QString,&a1,&a1State,sipType_QString,&a2,&a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_slotInfoMessage(sipSelfWasArg,a0,*a1,*a2);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_SpecialJob,sipName_slotInfoMessage);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SpecialJob_addSubjob(PyObject *, PyObject *);}
static PyObject *meth_KIO_SpecialJob_addSubjob(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KJob * a0;
        sipKIO_SpecialJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KIO_SpecialJob,&sipCpp,sipType_KJob,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_addSubjob(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_SpecialJob,sipName_addSubjob);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SpecialJob_removeSubjob(PyObject *, PyObject *);}
static PyObject *meth_KIO_SpecialJob_removeSubjob(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KJob * a0;
        sipKIO_SpecialJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KIO_SpecialJob,&sipCpp,sipType_KJob,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_removeSubjob(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_SpecialJob,sipName_removeSubjob);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SpecialJob_doSuspend(PyObject *, PyObject *);}
static PyObject *meth_KIO_SpecialJob_doSuspend(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipKIO_SpecialJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KIO_SpecialJob,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_doSuspend(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_SpecialJob,sipName_doSuspend);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SpecialJob_doKill(PyObject *, PyObject *);}
static PyObject *meth_KIO_SpecialJob_doKill(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipKIO_SpecialJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KIO_SpecialJob,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_doKill(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_SpecialJob,sipName_doKill);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SpecialJob_slotWarning(PyObject *, PyObject *);}
static PyObject *meth_KIO_SpecialJob_slotWarning(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString * a0;
        int a0State = 0;
        sipKIO_SpecialJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1",&sipSelf,sipType_KIO_SpecialJob,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_slotWarning(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_SpecialJob,sipName_slotWarning);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SpecialJob_storeSSLSessionFromJob(PyObject *, PyObject *);}
static PyObject *meth_KIO_SpecialJob_storeSSLSessionFromJob(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KUrl * a0;
        sipKIO_SpecialJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&sipSelf,sipType_KIO_SpecialJob,&sipCpp,sipType_KUrl,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_storeSSLSessionFromJob(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_SpecialJob,sipName_storeSSLSessionFromJob);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SpecialJob_slotResult(PyObject *, PyObject *);}
static PyObject *meth_KIO_SpecialJob_slotResult(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KJob * a0;
        sipKIO_SpecialJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KIO_SpecialJob,&sipCpp,sipType_KJob,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_slotResult(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_SpecialJob,sipName_slotResult);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SpecialJob_doResume(PyObject *, PyObject *);}
static PyObject *meth_KIO_SpecialJob_doResume(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipKIO_SpecialJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KIO_SpecialJob,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_doResume(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_SpecialJob,sipName_doResume);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SpecialJob_slotRedirection(PyObject *, PyObject *);}
static PyObject *meth_KIO_SpecialJob_slotRedirection(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KUrl * a0;
        sipKIO_SpecialJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&sipSelf,sipType_KIO_SpecialJob,&sipCpp,sipType_KUrl,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_slotRedirection(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_SpecialJob,sipName_slotRedirection);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SpecialJob_slotFinished(PyObject *, PyObject *);}
static PyObject *meth_KIO_SpecialJob_slotFinished(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipKIO_SpecialJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KIO_SpecialJob,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_slotFinished(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_SpecialJob,sipName_slotFinished);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SpecialJob_slotData(PyObject *, PyObject *);}
static PyObject *meth_KIO_SpecialJob_slotData(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray * a0;
        int a0State = 0;
        sipKIO_SpecialJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1",&sipSelf,sipType_KIO_SpecialJob,&sipCpp,sipType_QByteArray,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_slotData(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_SpecialJob,sipName_slotData);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SpecialJob_slotDataReq(PyObject *, PyObject *);}
static PyObject *meth_KIO_SpecialJob_slotDataReq(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipKIO_SpecialJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KIO_SpecialJob,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_slotDataReq(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_SpecialJob,sipName_slotDataReq);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SpecialJob_slotMimetype(PyObject *, PyObject *);}
static PyObject *meth_KIO_SpecialJob_slotMimetype(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString * a0;
        int a0State = 0;
        sipKIO_SpecialJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1",&sipSelf,sipType_KIO_SpecialJob,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_slotMimetype(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_SpecialJob,sipName_slotMimetype);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SpecialJob_slotMetaData(PyObject *, PyObject *);}
static PyObject *meth_KIO_SpecialJob_slotMetaData(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KIO::MetaData * a0;
        int a0State = 0;
        sipKIO_SpecialJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1",&sipSelf,sipType_KIO_SpecialJob,&sipCpp,sipType_KIO_MetaData,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_slotMetaData(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<KIO::MetaData *>(a0),sipType_KIO_MetaData,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_SpecialJob,sipName_slotMetaData);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SpecialJob_setArguments(PyObject *, PyObject *);}
static PyObject *meth_KIO_SpecialJob_setArguments(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QByteArray * a0;
        int a0State = 0;
        KIO::SpecialJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KIO_SpecialJob,&sipCpp,sipType_QByteArray,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setArguments(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_SpecialJob,sipName_setArguments);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SpecialJob_arguments(PyObject *, PyObject *);}
static PyObject *meth_KIO_SpecialJob_arguments(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KIO::SpecialJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KIO_SpecialJob,&sipCpp))
        {
            QByteArray *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray(sipCpp->arguments());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_SpecialJob,sipName_arguments);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KIO_SpecialJob(void *, const sipTypeDef *);}
static void *cast_KIO_SpecialJob(void *ptr,const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KIO_SpecialJob)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KIO_TransferJob)->ctd_cast((KIO::TransferJob *)(KIO::SpecialJob *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KIO_SpecialJob(void *, int);}
static void release_KIO_SpecialJob(void *sipCppV,int state)
{
    Py_BEGIN_ALLOW_THREADS

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKIO_SpecialJob *>(sipCppV);
    else
        delete reinterpret_cast<KIO::SpecialJob *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KIO_SpecialJob(sipSimpleWrapper *);}
static void dealloc_KIO_SpecialJob(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKIO_SpecialJob *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KIO_SpecialJob(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_KIO_SpecialJob(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KIO_SpecialJob(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    sipKIO_SpecialJob *sipCpp = 0;

    if (!sipCpp)
    {
        const KUrl * a0;
        const QByteArray& a1def = QByteArray();
        const QByteArray * a1 = &a1def;
        int a1State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9|J1",sipType_KUrl,&a0,sipType_QByteArray,&a1,&a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKIO_SpecialJob(*a0,*a1);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QByteArray *>(a1),sipType_QByteArray,a1State);
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KIO_SpecialJob[] = {{162, 255, 1}};


static PyMethodDef methods_KIO_SpecialJob[] = {
    {SIP_MLNAME_CAST(sipName_addSubjob), meth_KIO_SpecialJob_addSubjob, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_arguments), meth_KIO_SpecialJob_arguments, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_KIO_SpecialJob_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_clearSubjobs), meth_KIO_SpecialJob_clearSubjobs, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KIO_SpecialJob_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KIO_SpecialJob_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KIO_SpecialJob_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_doKill), meth_KIO_SpecialJob_doKill, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_doResume), meth_KIO_SpecialJob_doResume, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_doSuspend), meth_KIO_SpecialJob_doSuspend, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_emitPercent), meth_KIO_SpecialJob_emitPercent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_emitResult), meth_KIO_SpecialJob_emitResult, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_emitSpeed), meth_KIO_SpecialJob_emitSpeed, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hasSubjobs), meth_KIO_SpecialJob_hasSubjobs, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_KIO_SpecialJob_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_removeSubjob), meth_KIO_SpecialJob_removeSubjob, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setArguments), meth_KIO_SpecialJob_setArguments, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCapabilities), meth_KIO_SpecialJob_setCapabilities, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setError), meth_KIO_SpecialJob_setError, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setErrorText), meth_KIO_SpecialJob_setErrorText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPercent), meth_KIO_SpecialJob_setPercent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setProcessedAmount), meth_KIO_SpecialJob_setProcessedAmount, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTotalAmount), meth_KIO_SpecialJob_setTotalAmount, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotData), meth_KIO_SpecialJob_slotData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotDataReq), meth_KIO_SpecialJob_slotDataReq, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotFinished), meth_KIO_SpecialJob_slotFinished, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotInfoMessage), meth_KIO_SpecialJob_slotInfoMessage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotMetaData), meth_KIO_SpecialJob_slotMetaData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotMimetype), meth_KIO_SpecialJob_slotMimetype, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotRedirection), meth_KIO_SpecialJob_slotRedirection, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotResult), meth_KIO_SpecialJob_slotResult, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotWarning), meth_KIO_SpecialJob_slotWarning, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_storeSSLSessionFromJob), meth_KIO_SpecialJob_storeSSLSessionFromJob, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_subjobs), meth_KIO_SpecialJob_subjobs, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KIO_SpecialJob_timerEvent, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_kio_KIO_SpecialJob = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KIO__SpecialJob,
        {0}
    },
    sipNameNr_SpecialJob,
    -1,
    -1,
    {95, 255, 0},
    supers_KIO_SpecialJob,
    0,
    35, methods_KIO_SpecialJob,
    0, 0,
    0, 0,
    init_KIO_SpecialJob,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KIO_SpecialJob,
    release_KIO_SpecialJob,
    cast_KIO_SpecialJob,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KIO::SpecialJob::staticMetaObject,
    0,
    0
};

#line 312 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 11418 "sipkiopart3.cpp"

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 11422 "sipkiopart3.cpp"
#line 186 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/global.sip"
#include<qmap.h>
#line 11425 "sipkiopart3.cpp"
#line 43 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 11428 "sipkiopart3.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 11431 "sipkiopart3.cpp"
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 11447 "sipkiopart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kfilemetainfoitem.sip"
#include <kfilemetainfoitem.h>
#line 11450 "sipkiopart3.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/udsentry.sip"
#include <udsentry.h>
#line 11453 "sipkiopart3.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/copyjob.sip"
#include <copyjob.h>
#line 11456 "sipkiopart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kdatatool.sip"
#include <kdatatool.h>
#line 11459 "sipkiopart3.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kfileitem.sip"
#include <kfileitem.h>
#line 11462 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 11465 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 11468 "sipkiopart3.cpp"
#line 137 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservicetype.sip"
#include <qmap.h>
#line 43 "/usr/local/share/py-sip/QtCore/qmap.sip"
#include <qmap.h>
#line 43 "/usr/local/share/py-sip/QtCore/qmap.sip"
#include <qmap.h>
#line 11475 "sipkiopart3.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktimezone.sip"
#include <ktimezone.h>
#line 11478 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 11481 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 11484 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 11487 "sipkiopart3.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/jobuidelegate.sip"
#include <jobuidelegate.h>
#line 11490 "sipkiopart3.cpp"
#line 708 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <qlist.h>
#line 102 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservice.sip"
#include <qlist.h>
#line 81 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kmimetype.sip"
#include <qlist.h>
#line 61 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservicetype.sip"
#include <qlist.h>
#line 65 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ksycocaentry.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 11543 "sipkiopart3.cpp"
#line 136 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 11546 "sipkiopart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kplugininfo.sip"
#include <kplugininfo.h>
#line 11549 "sipkiopart3.cpp"
#line 36 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kprotocolinfo.sip"
#include <kprotocolinfo.h>
#line 11552 "sipkiopart3.cpp"
#line 184 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 11555 "sipkiopart3.cpp"
#line 184 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 11558 "sipkiopart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kserviceaction.sip"
#include <kserviceaction.h>
#line 11561 "sipkiopart3.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktimezone.sip"
#include <ktimezone.h>
#line 11564 "sipkiopart3.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktimezone.sip"
#include <ktimezone.h>
#line 11567 "sipkiopart3.cpp"
#line 321 "/usr/local/share/py-sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 11570 "sipkiopart3.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktimezone.sip"
#include <ktimezone.h>
#line 11573 "sipkiopart3.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kautosavefile.sip"
#include <kautosavefile.h>
#line 11576 "sipkiopart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kaboutdata.sip"
#include <kaboutdata.h>
#line 11579 "sipkiopart3.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/klocale.sip"
#include <klocale.h>
#line 11582 "sipkiopart3.cpp"
#line 57 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktcpsocket.sip"
#include <ktcpsocket.h>
#line 11585 "sipkiopart3.cpp"
#line 79 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktcpsocket.sip"
#include <ktcpsocket.h>
#line 11588 "sipkiopart3.cpp"
#line 83 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kuser.sip"
#include <kuser.h>
#line 11591 "sipkiopart3.cpp"
#line 34 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kuser.sip"
#include <kuser.h>
#line 11594 "sipkiopart3.cpp"
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 11609 "sipkiopart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/klockfile.sip"
#include <klockfile.h>
#line 11612 "sipkiopart3.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kmimetype.sip"
#include <kmimetype.h>
#line 11615 "sipkiopart3.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservice.sip"
#include <kservice.h>
#line 11618 "sipkiopart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservicegroup.sip"
#include <kservicegroup.h>
#line 11621 "sipkiopart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservicetype.sip"
#include <kservicetype.h>
#line 11624 "sipkiopart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ksharedconfig.sip"
#include <ksharedconfig.h>
#line 11627 "sipkiopart3.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ksycocaentry.sip"
#include <ksycocaentry.h>
#line 11630 "sipkiopart3.cpp"
#line 642 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <qpair.h>
#line 11633 "sipkiopart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 11636 "sipkiopart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kjobuidelegate.sip"
#include <kjobuidelegate.h>
#line 11639 "sipkiopart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11642 "sipkiopart3.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11645 "sipkiopart3.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11648 "sipkiopart3.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 11651 "sipkiopart3.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 11682 "sipkiopart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 11685 "sipkiopart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 11688 "sipkiopart3.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 11691 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 11694 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 11697 "sipkiopart3.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 11700 "sipkiopart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 11703 "sipkiopart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 11706 "sipkiopart3.cpp"


extern "C" {static PyObject *meth_KIO_ListJob_redirectionUrl(PyObject *, PyObject *);}
static PyObject *meth_KIO_ListJob_redirectionUrl(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KIO::ListJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KIO_ListJob,&sipCpp))
        {
            KUrl *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl(sipCpp->redirectionUrl());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KUrl,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ListJob,sipName_redirectionUrl);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_ListJob_setUnrestricted(PyObject *, PyObject *);}
static PyObject *meth_KIO_ListJob_setUnrestricted(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0;
        KIO::ListJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_KIO_ListJob,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setUnrestricted(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ListJob,sipName_setUnrestricted);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KIO_ListJob(void *, const sipTypeDef *);}
static void *cast_KIO_ListJob(void *ptr,const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KIO_ListJob)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KIO_SimpleJob)->ctd_cast((KIO::SimpleJob *)(KIO::ListJob *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KIO_ListJob(void *, int);}
static void release_KIO_ListJob(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<KIO::ListJob *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KIO_ListJob(sipSimpleWrapper *);}
static void dealloc_KIO_ListJob(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KIO_ListJob(sipSelf->u.cppPtr,0);
    }
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KIO_ListJob[] = {{146, 255, 1}};


static PyMethodDef methods_KIO_ListJob[] = {
    {SIP_MLNAME_CAST(sipName_redirectionUrl), meth_KIO_ListJob_redirectionUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setUnrestricted), meth_KIO_ListJob_setUnrestricted, METH_VARARGS, NULL}
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_KIO_ListJob[] = {
    {"permanentRedirection(KIO::Job *,const KUrl&,const KUrl&)", 0},
    {"redirection(KIO::Job *,const KUrl&)", 0},
    {"entries(KIO::Job *,const KIO::UDSEntryList&)", 0},
    {0, 0}
};


pyqt4ClassTypeDef pyqt4Type_kio_KIO_ListJob = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KIO__ListJob,
        {0}
    },
    sipNameNr_ListJob,
    -1,
    -1,
    {95, 255, 0},
    supers_KIO_ListJob,
    0,
    2, methods_KIO_ListJob,
    0, 0,
    0, 0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KIO_ListJob,
    release_KIO_ListJob,
    cast_KIO_ListJob,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KIO::ListJob::staticMetaObject,
    0,
    pyqt4_signals_KIO_ListJob
};

#line 281 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 11867 "sipkiopart3.cpp"

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 11871 "sipkiopart3.cpp"
#line 43 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 11874 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 11877 "sipkiopart3.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 11880 "sipkiopart3.cpp"
#line 321 "/usr/local/share/py-sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 11883 "sipkiopart3.cpp"
#line 186 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/global.sip"
#include<qmap.h>
#line 11886 "sipkiopart3.cpp"
#line 137 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservicetype.sip"
#include <qmap.h>
#line 43 "/usr/local/share/py-sip/QtCore/qmap.sip"
#include <qmap.h>
#line 43 "/usr/local/share/py-sip/QtCore/qmap.sip"
#include <qmap.h>
#line 11893 "sipkiopart3.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktimezone.sip"
#include <ktimezone.h>
#line 11896 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 11899 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 11902 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 11905 "sipkiopart3.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/jobuidelegate.sip"
#include <jobuidelegate.h>
#line 11908 "sipkiopart3.cpp"
#line 708 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <qlist.h>
#line 102 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservice.sip"
#include <qlist.h>
#line 81 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kmimetype.sip"
#include <qlist.h>
#line 61 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservicetype.sip"
#include <qlist.h>
#line 65 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ksycocaentry.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 11961 "sipkiopart3.cpp"
#line 136 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 11964 "sipkiopart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kplugininfo.sip"
#include <kplugininfo.h>
#line 11967 "sipkiopart3.cpp"
#line 36 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kprotocolinfo.sip"
#include <kprotocolinfo.h>
#line 11970 "sipkiopart3.cpp"
#line 184 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 11973 "sipkiopart3.cpp"
#line 184 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 11976 "sipkiopart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kserviceaction.sip"
#include <kserviceaction.h>
#line 11979 "sipkiopart3.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktimezone.sip"
#include <ktimezone.h>
#line 11982 "sipkiopart3.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktimezone.sip"
#include <ktimezone.h>
#line 11985 "sipkiopart3.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktimezone.sip"
#include <ktimezone.h>
#line 11988 "sipkiopart3.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kautosavefile.sip"
#include <kautosavefile.h>
#line 11991 "sipkiopart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kaboutdata.sip"
#include <kaboutdata.h>
#line 11994 "sipkiopart3.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/klocale.sip"
#include <klocale.h>
#line 11997 "sipkiopart3.cpp"
#line 57 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktcpsocket.sip"
#include <ktcpsocket.h>
#line 12000 "sipkiopart3.cpp"
#line 79 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktcpsocket.sip"
#include <ktcpsocket.h>
#line 12003 "sipkiopart3.cpp"
#line 83 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kuser.sip"
#include <kuser.h>
#line 12006 "sipkiopart3.cpp"
#line 34 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kuser.sip"
#include <kuser.h>
#line 12009 "sipkiopart3.cpp"
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 12024 "sipkiopart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/klockfile.sip"
#include <klockfile.h>
#line 12027 "sipkiopart3.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kmimetype.sip"
#include <kmimetype.h>
#line 12030 "sipkiopart3.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservice.sip"
#include <kservice.h>
#line 12033 "sipkiopart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservicegroup.sip"
#include <kservicegroup.h>
#line 12036 "sipkiopart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservicetype.sip"
#include <kservicetype.h>
#line 12039 "sipkiopart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ksharedconfig.sip"
#include <ksharedconfig.h>
#line 12042 "sipkiopart3.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ksycocaentry.sip"
#include <ksycocaentry.h>
#line 12045 "sipkiopart3.cpp"
#line 642 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <qpair.h>
#line 12048 "sipkiopart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 12051 "sipkiopart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kjobuidelegate.sip"
#include <kjobuidelegate.h>
#line 12054 "sipkiopart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 12057 "sipkiopart3.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 12060 "sipkiopart3.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 12063 "sipkiopart3.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 12066 "sipkiopart3.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 12097 "sipkiopart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 12100 "sipkiopart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 12103 "sipkiopart3.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 12106 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 12109 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 12112 "sipkiopart3.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 12115 "sipkiopart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 12118 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 12121 "sipkiopart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 12124 "sipkiopart3.cpp"


extern "C" {static PyObject *meth_KIO_FileCopyJob_setSourceSize(PyObject *, PyObject *);}
static PyObject *meth_KIO_FileCopyJob_setSourceSize(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KIO::filesize_t a0;
        KIO::FileCopyJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bo",&sipSelf,sipType_KIO_FileCopyJob,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSourceSize(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_FileCopyJob,sipName_setSourceSize);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_FileCopyJob_setModificationTime(PyObject *, PyObject *);}
static PyObject *meth_KIO_FileCopyJob_setModificationTime(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QDateTime * a0;
        int a0State = 0;
        KIO::FileCopyJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KIO_FileCopyJob,&sipCpp,sipType_QDateTime,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setModificationTime(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QDateTime *>(a0),sipType_QDateTime,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_FileCopyJob,sipName_setModificationTime);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_FileCopyJob_srcUrl(PyObject *, PyObject *);}
static PyObject *meth_KIO_FileCopyJob_srcUrl(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KIO::FileCopyJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KIO_FileCopyJob,&sipCpp))
        {
            KUrl *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl(sipCpp->srcUrl());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KUrl,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_FileCopyJob,sipName_srcUrl);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_FileCopyJob_destUrl(PyObject *, PyObject *);}
static PyObject *meth_KIO_FileCopyJob_destUrl(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KIO::FileCopyJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KIO_FileCopyJob,&sipCpp))
        {
            KUrl *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl(sipCpp->destUrl());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KUrl,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_FileCopyJob,sipName_destUrl);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_FileCopyJob_doSuspend(PyObject *, PyObject *);}
static PyObject *meth_KIO_FileCopyJob_doSuspend(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KIO::FileCopyJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KIO_FileCopyJob,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->doSuspend();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_FileCopyJob,sipName_doSuspend);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_FileCopyJob_doResume(PyObject *, PyObject *);}
static PyObject *meth_KIO_FileCopyJob_doResume(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KIO::FileCopyJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KIO_FileCopyJob,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->doResume();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_FileCopyJob,sipName_doResume);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KIO_FileCopyJob(void *, const sipTypeDef *);}
static void *cast_KIO_FileCopyJob(void *ptr,const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KIO_FileCopyJob)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KIO_Job)->ctd_cast((KIO::Job *)(KIO::FileCopyJob *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KIO_FileCopyJob(void *, int);}
static void release_KIO_FileCopyJob(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<KIO::FileCopyJob *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KIO_FileCopyJob(sipSimpleWrapper *);}
static void dealloc_KIO_FileCopyJob(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KIO_FileCopyJob(sipSelf->u.cppPtr,0);
    }
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KIO_FileCopyJob[] = {{118, 255, 1}};


static PyMethodDef methods_KIO_FileCopyJob[] = {
    {SIP_MLNAME_CAST(sipName_destUrl), meth_KIO_FileCopyJob_destUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_doResume), meth_KIO_FileCopyJob_doResume, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_doSuspend), meth_KIO_FileCopyJob_doSuspend, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setModificationTime), meth_KIO_FileCopyJob_setModificationTime, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSourceSize), meth_KIO_FileCopyJob_setSourceSize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_srcUrl), meth_KIO_FileCopyJob_srcUrl, METH_VARARGS, NULL}
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_KIO_FileCopyJob[] = {
    {"mimetype(KIO::Job *,const QString&)", 0},
    {0, 0}
};


pyqt4ClassTypeDef pyqt4Type_kio_KIO_FileCopyJob = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KIO__FileCopyJob,
        {0}
    },
    sipNameNr_FileCopyJob,
    -1,
    -1,
    {95, 255, 0},
    supers_KIO_FileCopyJob,
    0,
    6, methods_KIO_FileCopyJob,
    0, 0,
    0, 0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KIO_FileCopyJob,
    release_KIO_FileCopyJob,
    cast_KIO_FileCopyJob,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KIO::FileCopyJob::staticMetaObject,
    0,
    pyqt4_signals_KIO_FileCopyJob
};

#line 261 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 12398 "sipkiopart3.cpp"

#line 186 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/global.sip"
#include<qmap.h>
#line 12402 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 12405 "sipkiopart3.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 12408 "sipkiopart3.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 12411 "sipkiopart3.cpp"
#line 43 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 12414 "sipkiopart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 12417 "sipkiopart3.cpp"
#line 321 "/usr/local/share/py-sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 12420 "sipkiopart3.cpp"
#line 137 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservicetype.sip"
#include <qmap.h>
#line 43 "/usr/local/share/py-sip/QtCore/qmap.sip"
#include <qmap.h>
#line 43 "/usr/local/share/py-sip/QtCore/qmap.sip"
#include <qmap.h>
#line 12427 "sipkiopart3.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktimezone.sip"
#include <ktimezone.h>
#line 12430 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 12433 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 12436 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 12439 "sipkiopart3.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/jobuidelegate.sip"
#include <jobuidelegate.h>
#line 12442 "sipkiopart3.cpp"
#line 708 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <qlist.h>
#line 102 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservice.sip"
#include <qlist.h>
#line 81 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kmimetype.sip"
#include <qlist.h>
#line 61 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservicetype.sip"
#include <qlist.h>
#line 65 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ksycocaentry.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 12495 "sipkiopart3.cpp"
#line 136 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 12498 "sipkiopart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kplugininfo.sip"
#include <kplugininfo.h>
#line 12501 "sipkiopart3.cpp"
#line 36 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kprotocolinfo.sip"
#include <kprotocolinfo.h>
#line 12504 "sipkiopart3.cpp"
#line 184 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 12507 "sipkiopart3.cpp"
#line 184 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 12510 "sipkiopart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kserviceaction.sip"
#include <kserviceaction.h>
#line 12513 "sipkiopart3.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktimezone.sip"
#include <ktimezone.h>
#line 12516 "sipkiopart3.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktimezone.sip"
#include <ktimezone.h>
#line 12519 "sipkiopart3.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktimezone.sip"
#include <ktimezone.h>
#line 12522 "sipkiopart3.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kautosavefile.sip"
#include <kautosavefile.h>
#line 12525 "sipkiopart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kaboutdata.sip"
#include <kaboutdata.h>
#line 12528 "sipkiopart3.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/klocale.sip"
#include <klocale.h>
#line 12531 "sipkiopart3.cpp"
#line 57 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktcpsocket.sip"
#include <ktcpsocket.h>
#line 12534 "sipkiopart3.cpp"
#line 79 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktcpsocket.sip"
#include <ktcpsocket.h>
#line 12537 "sipkiopart3.cpp"
#line 83 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kuser.sip"
#include <kuser.h>
#line 12540 "sipkiopart3.cpp"
#line 34 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kuser.sip"
#include <kuser.h>
#line 12543 "sipkiopart3.cpp"
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 12558 "sipkiopart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/klockfile.sip"
#include <klockfile.h>
#line 12561 "sipkiopart3.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kmimetype.sip"
#include <kmimetype.h>
#line 12564 "sipkiopart3.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservice.sip"
#include <kservice.h>
#line 12567 "sipkiopart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservicegroup.sip"
#include <kservicegroup.h>
#line 12570 "sipkiopart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservicetype.sip"
#include <kservicetype.h>
#line 12573 "sipkiopart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ksharedconfig.sip"
#include <ksharedconfig.h>
#line 12576 "sipkiopart3.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ksycocaentry.sip"
#include <ksycocaentry.h>
#line 12579 "sipkiopart3.cpp"
#line 642 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <qpair.h>
#line 12582 "sipkiopart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 12585 "sipkiopart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kjobuidelegate.sip"
#include <kjobuidelegate.h>
#line 12588 "sipkiopart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 12591 "sipkiopart3.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 12594 "sipkiopart3.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 12597 "sipkiopart3.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 12600 "sipkiopart3.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 12631 "sipkiopart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 12634 "sipkiopart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 12637 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 12640 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 12643 "sipkiopart3.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 12646 "sipkiopart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 12649 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 12652 "sipkiopart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 12655 "sipkiopart3.cpp"


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KIO_MimetypeJob(void *, const sipTypeDef *);}
static void *cast_KIO_MimetypeJob(void *ptr,const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KIO_MimetypeJob)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KIO_TransferJob)->ctd_cast((KIO::TransferJob *)(KIO::MimetypeJob *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KIO_MimetypeJob(void *, int);}
static void release_KIO_MimetypeJob(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<KIO::MimetypeJob *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KIO_MimetypeJob(sipSimpleWrapper *);}
static void dealloc_KIO_MimetypeJob(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KIO_MimetypeJob(sipSelf->u.cppPtr,0);
    }
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KIO_MimetypeJob[] = {{162, 255, 1}};


pyqt4ClassTypeDef pyqt4Type_kio_KIO_MimetypeJob = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KIO__MimetypeJob,
        {0}
    },
    sipNameNr_MimetypeJob,
    -1,
    -1,
    {95, 255, 0},
    supers_KIO_MimetypeJob,
    0,
    0, 0,
    0, 0,
    0, 0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KIO_MimetypeJob,
    release_KIO_MimetypeJob,
    cast_KIO_MimetypeJob,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KIO::MimetypeJob::staticMetaObject,
    0,
    0
};

#line 230 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 12747 "sipkiopart3.cpp"

#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 12751 "sipkiopart3.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 12754 "sipkiopart3.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 12757 "sipkiopart3.cpp"
#line 186 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/global.sip"
#include<qmap.h>
#line 12760 "sipkiopart3.cpp"
#line 43 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 12763 "sipkiopart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 12766 "sipkiopart3.cpp"
#line 321 "/usr/local/share/py-sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 12769 "sipkiopart3.cpp"
#line 137 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservicetype.sip"
#include <qmap.h>
#line 43 "/usr/local/share/py-sip/QtCore/qmap.sip"
#include <qmap.h>
#line 43 "/usr/local/share/py-sip/QtCore/qmap.sip"
#include <qmap.h>
#line 12776 "sipkiopart3.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktimezone.sip"
#include <ktimezone.h>
#line 12779 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 12782 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 12785 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 12788 "sipkiopart3.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/jobuidelegate.sip"
#include <jobuidelegate.h>
#line 12791 "sipkiopart3.cpp"
#line 708 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <qlist.h>
#line 102 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservice.sip"
#include <qlist.h>
#line 81 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kmimetype.sip"
#include <qlist.h>
#line 61 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservicetype.sip"
#include <qlist.h>
#line 65 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ksycocaentry.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 12844 "sipkiopart3.cpp"
#line 136 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 12847 "sipkiopart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kplugininfo.sip"
#include <kplugininfo.h>
#line 12850 "sipkiopart3.cpp"
#line 36 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kprotocolinfo.sip"
#include <kprotocolinfo.h>
#line 12853 "sipkiopart3.cpp"
#line 184 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 12856 "sipkiopart3.cpp"
#line 184 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 12859 "sipkiopart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kserviceaction.sip"
#include <kserviceaction.h>
#line 12862 "sipkiopart3.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktimezone.sip"
#include <ktimezone.h>
#line 12865 "sipkiopart3.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktimezone.sip"
#include <ktimezone.h>
#line 12868 "sipkiopart3.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktimezone.sip"
#include <ktimezone.h>
#line 12871 "sipkiopart3.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kautosavefile.sip"
#include <kautosavefile.h>
#line 12874 "sipkiopart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kaboutdata.sip"
#include <kaboutdata.h>
#line 12877 "sipkiopart3.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/klocale.sip"
#include <klocale.h>
#line 12880 "sipkiopart3.cpp"
#line 57 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktcpsocket.sip"
#include <ktcpsocket.h>
#line 12883 "sipkiopart3.cpp"
#line 79 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktcpsocket.sip"
#include <ktcpsocket.h>
#line 12886 "sipkiopart3.cpp"
#line 83 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kuser.sip"
#include <kuser.h>
#line 12889 "sipkiopart3.cpp"
#line 34 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kuser.sip"
#include <kuser.h>
#line 12892 "sipkiopart3.cpp"
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 12907 "sipkiopart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/klockfile.sip"
#include <klockfile.h>
#line 12910 "sipkiopart3.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kmimetype.sip"
#include <kmimetype.h>
#line 12913 "sipkiopart3.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservice.sip"
#include <kservice.h>
#line 12916 "sipkiopart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservicegroup.sip"
#include <kservicegroup.h>
#line 12919 "sipkiopart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservicetype.sip"
#include <kservicetype.h>
#line 12922 "sipkiopart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ksharedconfig.sip"
#include <ksharedconfig.h>
#line 12925 "sipkiopart3.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ksycocaentry.sip"
#include <ksycocaentry.h>
#line 12928 "sipkiopart3.cpp"
#line 642 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <qpair.h>
#line 12931 "sipkiopart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 12934 "sipkiopart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kjobuidelegate.sip"
#include <kjobuidelegate.h>
#line 12937 "sipkiopart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 12940 "sipkiopart3.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 12943 "sipkiopart3.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 12946 "sipkiopart3.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 12949 "sipkiopart3.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 12980 "sipkiopart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 12983 "sipkiopart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 12986 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 12989 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 12992 "sipkiopart3.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 12995 "sipkiopart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 12998 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 13001 "sipkiopart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 13004 "sipkiopart3.cpp"


extern "C" {static PyObject *meth_KIO_MultiGetJob_get(PyObject *, PyObject *);}
static PyObject *meth_KIO_MultiGetJob_get(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        long a0;
        const KUrl * a1;
        const KIO::MetaData * a2;
        int a2State = 0;
        KIO::MultiGetJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BlJ9J1",&sipSelf,sipType_KIO_MultiGetJob,&sipCpp,&a0,sipType_KUrl,&a1,sipType_KIO_MetaData,&a2,&a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->get(a0,*a1,*a2);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<KIO::MetaData *>(a2),sipType_KIO_MetaData,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_MultiGetJob,sipName_get);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KIO_MultiGetJob(void *, const sipTypeDef *);}
static void *cast_KIO_MultiGetJob(void *ptr,const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KIO_MultiGetJob)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KIO_TransferJob)->ctd_cast((KIO::TransferJob *)(KIO::MultiGetJob *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KIO_MultiGetJob(void *, int);}
static void release_KIO_MultiGetJob(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<KIO::MultiGetJob *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KIO_MultiGetJob(sipSimpleWrapper *);}
static void dealloc_KIO_MultiGetJob(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KIO_MultiGetJob(sipSelf->u.cppPtr,0);
    }
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KIO_MultiGetJob[] = {{162, 255, 1}};


static PyMethodDef methods_KIO_MultiGetJob[] = {
    {SIP_MLNAME_CAST(sipName_get), meth_KIO_MultiGetJob_get, METH_VARARGS, NULL}
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_KIO_MultiGetJob[] = {
    {"result(long)", 0},
    {"mimetype(long,const QString&)", 0},
    {"data(long,const QByteArray&)", 0},
    {0, 0}
};


pyqt4ClassTypeDef pyqt4Type_kio_KIO_MultiGetJob = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KIO__MultiGetJob,
        {0}
    },
    sipNameNr_MultiGetJob,
    -1,
    -1,
    {95, 255, 0},
    supers_KIO_MultiGetJob,
    0,
    1, methods_KIO_MultiGetJob,
    0, 0,
    0, 0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KIO_MultiGetJob,
    release_KIO_MultiGetJob,
    cast_KIO_MultiGetJob,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KIO::MultiGetJob::staticMetaObject,
    0,
    pyqt4_signals_KIO_MultiGetJob
};

#line 207 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 13142 "sipkiopart3.cpp"

#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 13146 "sipkiopart3.cpp"
#line 186 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/global.sip"
#include<qmap.h>
#line 13149 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 13152 "sipkiopart3.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 13155 "sipkiopart3.cpp"
#line 43 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 13158 "sipkiopart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 13161 "sipkiopart3.cpp"
#line 321 "/usr/local/share/py-sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 13164 "sipkiopart3.cpp"
#line 137 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservicetype.sip"
#include <qmap.h>
#line 43 "/usr/local/share/py-sip/QtCore/qmap.sip"
#include <qmap.h>
#line 43 "/usr/local/share/py-sip/QtCore/qmap.sip"
#include <qmap.h>
#line 13171 "sipkiopart3.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktimezone.sip"
#include <ktimezone.h>
#line 13174 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 13177 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 13180 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 13183 "sipkiopart3.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/jobuidelegate.sip"
#include <jobuidelegate.h>
#line 13186 "sipkiopart3.cpp"
#line 708 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <qlist.h>
#line 102 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservice.sip"
#include <qlist.h>
#line 81 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kmimetype.sip"
#include <qlist.h>
#line 61 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservicetype.sip"
#include <qlist.h>
#line 65 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ksycocaentry.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 13239 "sipkiopart3.cpp"
#line 136 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 13242 "sipkiopart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kplugininfo.sip"
#include <kplugininfo.h>
#line 13245 "sipkiopart3.cpp"
#line 36 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kprotocolinfo.sip"
#include <kprotocolinfo.h>
#line 13248 "sipkiopart3.cpp"
#line 184 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 13251 "sipkiopart3.cpp"
#line 184 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 13254 "sipkiopart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kserviceaction.sip"
#include <kserviceaction.h>
#line 13257 "sipkiopart3.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktimezone.sip"
#include <ktimezone.h>
#line 13260 "sipkiopart3.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktimezone.sip"
#include <ktimezone.h>
#line 13263 "sipkiopart3.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktimezone.sip"
#include <ktimezone.h>
#line 13266 "sipkiopart3.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kautosavefile.sip"
#include <kautosavefile.h>
#line 13269 "sipkiopart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kaboutdata.sip"
#include <kaboutdata.h>
#line 13272 "sipkiopart3.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/klocale.sip"
#include <klocale.h>
#line 13275 "sipkiopart3.cpp"
#line 57 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktcpsocket.sip"
#include <ktcpsocket.h>
#line 13278 "sipkiopart3.cpp"
#line 79 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktcpsocket.sip"
#include <ktcpsocket.h>
#line 13281 "sipkiopart3.cpp"
#line 83 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kuser.sip"
#include <kuser.h>
#line 13284 "sipkiopart3.cpp"
#line 34 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kuser.sip"
#include <kuser.h>
#line 13287 "sipkiopart3.cpp"
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 13302 "sipkiopart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/klockfile.sip"
#include <klockfile.h>
#line 13305 "sipkiopart3.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kmimetype.sip"
#include <kmimetype.h>
#line 13308 "sipkiopart3.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservice.sip"
#include <kservice.h>
#line 13311 "sipkiopart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservicegroup.sip"
#include <kservicegroup.h>
#line 13314 "sipkiopart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservicetype.sip"
#include <kservicetype.h>
#line 13317 "sipkiopart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ksharedconfig.sip"
#include <ksharedconfig.h>
#line 13320 "sipkiopart3.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ksycocaentry.sip"
#include <ksycocaentry.h>
#line 13323 "sipkiopart3.cpp"
#line 642 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <qpair.h>
#line 13326 "sipkiopart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 13329 "sipkiopart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kjobuidelegate.sip"
#include <kjobuidelegate.h>
#line 13332 "sipkiopart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13335 "sipkiopart3.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13338 "sipkiopart3.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13341 "sipkiopart3.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 13344 "sipkiopart3.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 13375 "sipkiopart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 13378 "sipkiopart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 13381 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 13384 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 13387 "sipkiopart3.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 13390 "sipkiopart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 13393 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 13396 "sipkiopart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 13399 "sipkiopart3.cpp"


extern "C" {static PyObject *meth_KIO_StoredTransferJob_setData(PyObject *, PyObject *);}
static PyObject *meth_KIO_StoredTransferJob_setData(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QByteArray * a0;
        int a0State = 0;
        KIO::StoredTransferJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KIO_StoredTransferJob,&sipCpp,sipType_QByteArray,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setData(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_StoredTransferJob,sipName_setData);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_StoredTransferJob_data(PyObject *, PyObject *);}
static PyObject *meth_KIO_StoredTransferJob_data(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KIO::StoredTransferJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KIO_StoredTransferJob,&sipCpp))
        {
            QByteArray *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray(sipCpp->data());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_StoredTransferJob,sipName_data);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KIO_StoredTransferJob(void *, const sipTypeDef *);}
static void *cast_KIO_StoredTransferJob(void *ptr,const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KIO_StoredTransferJob)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KIO_TransferJob)->ctd_cast((KIO::TransferJob *)(KIO::StoredTransferJob *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KIO_StoredTransferJob(void *, int);}
static void release_KIO_StoredTransferJob(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<KIO::StoredTransferJob *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KIO_StoredTransferJob(sipSimpleWrapper *);}
static void dealloc_KIO_StoredTransferJob(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KIO_StoredTransferJob(sipSelf->u.cppPtr,0);
    }
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KIO_StoredTransferJob[] = {{162, 255, 1}};


static PyMethodDef methods_KIO_StoredTransferJob[] = {
    {SIP_MLNAME_CAST(sipName_data), meth_KIO_StoredTransferJob_data, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setData), meth_KIO_StoredTransferJob_setData, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_kio_KIO_StoredTransferJob = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KIO__StoredTransferJob,
        {0}
    },
    sipNameNr_StoredTransferJob,
    -1,
    -1,
    {95, 255, 0},
    supers_KIO_StoredTransferJob,
    0,
    2, methods_KIO_StoredTransferJob,
    0, 0,
    0, 0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KIO_StoredTransferJob,
    release_KIO_StoredTransferJob,
    cast_KIO_StoredTransferJob,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KIO::StoredTransferJob::staticMetaObject,
    0,
    0
};

#line 122 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 13554 "sipkiopart3.cpp"

#line 186 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/global.sip"
#include<qmap.h>
#line 13558 "sipkiopart3.cpp"
#line 43 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 13561 "sipkiopart3.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 13564 "sipkiopart3.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/udsentry.sip"
#include <udsentry.h>
#line 13567 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 13570 "sipkiopart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 13573 "sipkiopart3.cpp"
#line 137 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservicetype.sip"
#include <qmap.h>
#line 43 "/usr/local/share/py-sip/QtCore/qmap.sip"
#include <qmap.h>
#line 43 "/usr/local/share/py-sip/QtCore/qmap.sip"
#include <qmap.h>
#line 13580 "sipkiopart3.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktimezone.sip"
#include <ktimezone.h>
#line 13583 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 13586 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 13589 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 13592 "sipkiopart3.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/jobuidelegate.sip"
#include <jobuidelegate.h>
#line 13595 "sipkiopart3.cpp"
#line 708 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <qlist.h>
#line 102 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservice.sip"
#include <qlist.h>
#line 81 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kmimetype.sip"
#include <qlist.h>
#line 61 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservicetype.sip"
#include <qlist.h>
#line 65 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ksycocaentry.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 13648 "sipkiopart3.cpp"
#line 136 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 13651 "sipkiopart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kplugininfo.sip"
#include <kplugininfo.h>
#line 13654 "sipkiopart3.cpp"
#line 36 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kprotocolinfo.sip"
#include <kprotocolinfo.h>
#line 13657 "sipkiopart3.cpp"
#line 184 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 13660 "sipkiopart3.cpp"
#line 184 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 13663 "sipkiopart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kserviceaction.sip"
#include <kserviceaction.h>
#line 13666 "sipkiopart3.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktimezone.sip"
#include <ktimezone.h>
#line 13669 "sipkiopart3.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktimezone.sip"
#include <ktimezone.h>
#line 13672 "sipkiopart3.cpp"
#line 321 "/usr/local/share/py-sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 13675 "sipkiopart3.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktimezone.sip"
#include <ktimezone.h>
#line 13678 "sipkiopart3.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kautosavefile.sip"
#include <kautosavefile.h>
#line 13681 "sipkiopart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kaboutdata.sip"
#include <kaboutdata.h>
#line 13684 "sipkiopart3.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/klocale.sip"
#include <klocale.h>
#line 13687 "sipkiopart3.cpp"
#line 57 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktcpsocket.sip"
#include <ktcpsocket.h>
#line 13690 "sipkiopart3.cpp"
#line 79 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktcpsocket.sip"
#include <ktcpsocket.h>
#line 13693 "sipkiopart3.cpp"
#line 83 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kuser.sip"
#include <kuser.h>
#line 13696 "sipkiopart3.cpp"
#line 34 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kuser.sip"
#include <kuser.h>
#line 13699 "sipkiopart3.cpp"
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 13714 "sipkiopart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/klockfile.sip"
#include <klockfile.h>
#line 13717 "sipkiopart3.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kmimetype.sip"
#include <kmimetype.h>
#line 13720 "sipkiopart3.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservice.sip"
#include <kservice.h>
#line 13723 "sipkiopart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservicegroup.sip"
#include <kservicegroup.h>
#line 13726 "sipkiopart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservicetype.sip"
#include <kservicetype.h>
#line 13729 "sipkiopart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ksharedconfig.sip"
#include <ksharedconfig.h>
#line 13732 "sipkiopart3.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ksycocaentry.sip"
#include <ksycocaentry.h>
#line 13735 "sipkiopart3.cpp"
#line 642 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <qpair.h>
#line 13738 "sipkiopart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 13741 "sipkiopart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kjobuidelegate.sip"
#include <kjobuidelegate.h>
#line 13744 "sipkiopart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13747 "sipkiopart3.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13750 "sipkiopart3.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13753 "sipkiopart3.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 13756 "sipkiopart3.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 13787 "sipkiopart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 13790 "sipkiopart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 13793 "sipkiopart3.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 13796 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 13799 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 13802 "sipkiopart3.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 13805 "sipkiopart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 13808 "sipkiopart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 13811 "sipkiopart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 13814 "sipkiopart3.cpp"


extern "C" {static PyObject *meth_KIO_StatJob_setSide(PyObject *, PyObject *);}
static PyObject *meth_KIO_StatJob_setSide(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KIO::StatJob::StatSide a0;
        KIO::StatJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BE",&sipSelf,sipType_KIO_StatJob,&sipCpp,sipType_KIO_StatJob_StatSide,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSide(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        bool a0;
        KIO::StatJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BXb",&sipSelf,sipType_KIO_StatJob,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSide(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_StatJob,sipName_setSide);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_StatJob_setDetails(PyObject *, PyObject *);}
static PyObject *meth_KIO_StatJob_setDetails(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        short a0;
        KIO::StatJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bh",&sipSelf,sipType_KIO_StatJob,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDetails(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_StatJob,sipName_setDetails);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_StatJob_statResult(PyObject *, PyObject *);}
static PyObject *meth_KIO_StatJob_statResult(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KIO::StatJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KIO_StatJob,&sipCpp))
        {
            KIO::UDSEntry *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KIO::UDSEntry(sipCpp->statResult());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KIO_UDSEntry,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_StatJob,sipName_statResult);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KIO_StatJob(void *, const sipTypeDef *);}
static void *cast_KIO_StatJob(void *ptr,const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KIO_StatJob)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KIO_SimpleJob)->ctd_cast((KIO::SimpleJob *)(KIO::StatJob *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KIO_StatJob(void *, int);}
static void release_KIO_StatJob(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<KIO::StatJob *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KIO_StatJob(sipSimpleWrapper *);}
static void dealloc_KIO_StatJob(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KIO_StatJob(sipSelf->u.cppPtr,0);
    }
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KIO_StatJob[] = {{146, 255, 1}};


static PyMethodDef methods_KIO_StatJob[] = {
    {SIP_MLNAME_CAST(sipName_setDetails), meth_KIO_StatJob_setDetails, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSide), meth_KIO_StatJob_setSide, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_statResult), meth_KIO_StatJob_statResult, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KIO_StatJob[] = {
    {sipName_DestinationSide, KIO::StatJob::DestinationSide, 158},
    {sipName_SourceSide, KIO::StatJob::SourceSide, 158},
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_KIO_StatJob[] = {
    {"permanentRedirection(KIO::Job *,const KUrl&,const KUrl&)", 0},
    {"redirection(KIO::Job *,const KUrl&)", 0},
    {0, 0}
};


pyqt4ClassTypeDef pyqt4Type_kio_KIO_StatJob = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KIO__StatJob,
        {0}
    },
    sipNameNr_StatJob,
    -1,
    -1,
    {95, 255, 0},
    supers_KIO_StatJob,
    0,
    3, methods_KIO_StatJob,
    2, enummembers_KIO_StatJob,
    0, 0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KIO_StatJob,
    release_KIO_StatJob,
    cast_KIO_StatJob,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KIO::StatJob::staticMetaObject,
    0,
    pyqt4_signals_KIO_StatJob
};
