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

#include "sipAPIkparts.h"

#line 81 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kparts/event.sip"
#include <kparts/event.h>
#line 12 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kparts/sipkpartspart5.cpp"

#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 16 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kparts/sipkpartspart5.cpp"


class sipKParts_GUIActivateEvent : public  ::KParts::GUIActivateEvent
{
public:
    sipKParts_GUIActivateEvent(bool);
    virtual ~sipKParts_GUIActivateEvent();

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[1];
};

sipKParts_GUIActivateEvent::sipKParts_GUIActivateEvent(bool a0):  ::KParts::GUIActivateEvent(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKParts_GUIActivateEvent::~sipKParts_GUIActivateEvent()
{
    sipInstanceDestroyed(sipPySelf);
}

const char* sipKParts_GUIActivateEvent::eventName() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::KParts::GUIActivateEvent::eventName();

    extern const char* sipVH_kparts_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_kparts_11(sipGILState, 0, sipPySelf, sipMeth, -3);
}


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

    {
        const  ::KParts::GUIActivateEvent *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->activated();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const  ::QEvent* a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J8", sipType_QEvent, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::KParts::GUIActivateEvent::test(a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_KParts_GUIActivateEvent(void *, const sipTypeDef *);}
static void *cast_KParts_GUIActivateEvent(void *sipCppV, const sipTypeDef *targetType)
{
     ::KParts::GUIActivateEvent *sipCpp = reinterpret_cast< ::KParts::GUIActivateEvent *>(sipCppV);

    if (targetType == sipType_KParts_Event)
        return static_cast< ::KParts::Event *>(sipCpp);

    if (targetType == sipType_QEvent)
        return static_cast< ::QEvent *>(sipCpp);

    return sipCppV;
}


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

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKParts_GUIActivateEvent *>(sipCppV);
    else
        delete reinterpret_cast< ::KParts::GUIActivateEvent *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KParts_GUIActivateEvent(sipSimpleWrapper *);}
static void dealloc_KParts_GUIActivateEvent(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKParts_GUIActivateEvent *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KParts_GUIActivateEvent(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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

    {
        bool a0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_KParts_GUIActivateEvent[] = {
    {SIP_MLNAME_CAST(sipName_activated), meth_KParts_GUIActivateEvent_activated, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_test), meth_KParts_GUIActivateEvent_test, METH_VARARGS, NULL}
};


static pyqt4ClassPluginDef plugin_KParts_GUIActivateEvent = {
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_kparts_KParts_GUIActivateEvent = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KParts__GUIActivateEvent,
        {0},
        &plugin_KParts_GUIActivateEvent
    },
    {
        sipNameNr_GUIActivateEvent,
        {0, 255, 0},
        2, methods_KParts_GUIActivateEvent,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KParts_GUIActivateEvent,
    0,
    init_type_KParts_GUIActivateEvent,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KParts_GUIActivateEvent,
    0,
    0,
    0,
    release_KParts_GUIActivateEvent,
    cast_KParts_GUIActivateEvent,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 28 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kparts/browserrun.sip"
#include <kparts/browserrun.h>
#line 258 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kparts/sipkpartspart5.cpp"

#line 33 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 262 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kparts/sipkpartspart5.cpp"
#line 113 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kparts/part.sip"
#include <kparts/part.h>
#line 265 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kparts/sipkpartspart5.cpp"
#line 47 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kparts/browserextension.sip"
#include <kparts/browserextension.h>
#line 268 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kparts/sipkpartspart5.cpp"
#line 142 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kparts/part.sip"
#include <kparts/part.h>
#line 271 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kparts/sipkpartspart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 274 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kparts/sipkpartspart5.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 277 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kparts/sipkpartspart5.cpp"
#line 340 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 280 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kparts/sipkpartspart5.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kservice.sip"
#include <kservice.h>
#line 283 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kparts/sipkpartspart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qmap.sip"
#include <qmap.h>
#line 286 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kparts/sipkpartspart5.cpp"
#line 68 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 289 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kparts/sipkpartspart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 292 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kparts/sipkpartspart5.cpp"
#line 43 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 295 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kparts/sipkpartspart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qtimer.sip"
#include <qtimer.h>
#line 298 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kparts/sipkpartspart5.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 301 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kparts/sipkpartspart5.cpp"
#line 33 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 304 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kparts/sipkpartspart5.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 307 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kparts/sipkpartspart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 310 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kparts/sipkpartspart5.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 313 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kparts/sipkpartspart5.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 316 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kparts/sipkpartspart5.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 319 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kparts/sipkpartspart5.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 322 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kparts/sipkpartspart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 325 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kparts/sipkpartspart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 328 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kparts/sipkpartspart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 331 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kparts/sipkpartspart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 334 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kparts/sipkpartspart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 337 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kparts/sipkpartspart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 340 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kparts/sipkpartspart5.cpp"


class sipKParts_BrowserRun : public  ::KParts::BrowserRun
{
public:
    sipKParts_BrowserRun(const  ::KUrl&,const  ::KParts::OpenUrlArguments&,const  ::KParts::BrowserArguments&, ::KParts::ReadOnlyPart*, ::QWidget*,bool,bool,bool);
    virtual ~sipKParts_BrowserRun();

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

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void handleError( ::KJob*);
    void save(const  ::KUrl&,const  ::QString&);
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    void slotStatResult( ::KJob*);
    void init();
    void scanFile();
    void foundMimeType(const  ::QString&);
    void killJob();

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[14];
};

sipKParts_BrowserRun::sipKParts_BrowserRun(const  ::KUrl& a0,const  ::KParts::OpenUrlArguments& a1,const  ::KParts::BrowserArguments& a2, ::KParts::ReadOnlyPart*a3, ::QWidget*a4,bool a5,bool a6,bool a7):  ::KParts::BrowserRun(a0,a1,a2,a3,a4,a5,a6,a7), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKParts_BrowserRun::~sipKParts_BrowserRun()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipKParts_BrowserRun::metaObject() const
{
    return sip_kparts_qt_metaobject(sipPySelf,sipType_KParts_BrowserRun);
}

int sipKParts_BrowserRun::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::KParts::BrowserRun::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kparts_qt_metacall(sipPySelf,sipType_KParts_BrowserRun,_c,_id,_a);

    return _id;
}

void *sipKParts_BrowserRun::qt_metacast(const char *_clname)
{
    return (sip_kparts_qt_metacast(sipPySelf, sipType_KParts_BrowserRun, _clname)) ? this :  ::KParts::BrowserRun::qt_metacast(_clname);
}

void sipKParts_BrowserRun::handleError( ::KJob*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KParts::BrowserRun::handleError(a0);
        return;
    }

    extern void sipVH_kparts_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::KJob*);

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

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

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

    if (!sipMeth)
    {
         ::KParts::BrowserRun::save(a0,a1);
        return;
    }

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

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

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

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

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

    extern void sipVH_kparts_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

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

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

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

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

    extern void sipVH_kparts_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

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

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

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

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

    extern void sipVH_kparts_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

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

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

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

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

    extern void sipVH_kparts_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

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

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

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

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

    extern void sipVH_kparts_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

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

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

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

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

    extern bool sipVH_kparts_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

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

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

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

    if (!sipMeth)
        return  ::KParts::BrowserRun::event(a0);

    extern bool sipVH_kparts_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

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

void sipKParts_BrowserRun::slotStatResult( ::KJob*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KParts::BrowserRun::slotStatResult(a0);
        return;
    }

    extern void sipVH_kparts_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::KJob*);

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

void sipKParts_BrowserRun::init()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KParts::BrowserRun::init();
        return;
    }

    extern void sipVH_kparts_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kparts_2(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKParts_BrowserRun::scanFile()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KParts::BrowserRun::scanFile();
        return;
    }

    extern void sipVH_kparts_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kparts_2(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKParts_BrowserRun::foundMimeType(const  ::QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KParts::BrowserRun::foundMimeType(a0);
        return;
    }

    extern void sipVH_kparts_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&);

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

void sipKParts_BrowserRun::killJob()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KParts::BrowserRun::killJob();
        return;
    }

    extern void sipVH_kparts_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kparts_2(sipGILState, 0, sipPySelf, sipMeth);
}


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

    {
         ::KParts::BrowserRun *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KParts_BrowserRun, &sipCpp))
        {
             ::KParts::OpenUrlArguments*sipRes;

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

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

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

    return NULL;
}


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

    {
         ::KParts::BrowserRun *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KParts_BrowserRun, &sipCpp))
        {
             ::KParts::BrowserArguments*sipRes;

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

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

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

    return NULL;
}


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

    {
        const  ::KParts::BrowserRun *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KParts_BrowserRun, &sipCpp))
        {
             ::KParts::ReadOnlyPart*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->part();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const  ::KParts::BrowserRun *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        const  ::KParts::BrowserRun *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hideErrorDialog();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const  ::KParts::BrowserRun *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        const  ::KParts::BrowserRun *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->serverSuggestsSave();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const  ::KUrl* a0;
         ::KService::Ptr* a1;
        int a1State = 0;
        const  ::QString* a2;
        int a2State = 0;
        const  ::QString& a3def = QString();
        const  ::QString* a3 = &a3def;
        int a3State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9J1J1|J1", sipType_KUrl, &a0, sipType_KSharedPtr_0100KService,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State))
        {
             ::KParts::BrowserRun::AskSaveResult sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::KParts::BrowserRun::askSave(*a0,*a1,*a2,*a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(a1,sipType_KSharedPtr_0100KService,a1State);
            sipReleaseType(const_cast< ::QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast< ::QString *>(a3),sipType_QString,a3State);

            return sipConvertFromEnum(sipRes,sipType_KParts_BrowserRun_AskSaveResult);
        }
    }

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

    return NULL;
}


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

    {
        const  ::KUrl* a0;
        const  ::QString* a1;
        int a1State = 0;
        const  ::QString& a2def = QString();
        const  ::QString* a2 = &a2def;
        int a2State = 0;
        int a3 = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9J1|J1i", sipType_KUrl, &a0, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, &a3))
        {
             ::KParts::BrowserRun::AskSaveResult sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::KParts::BrowserRun::askEmbedOrSave(*a0,*a1,*a2,a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast< ::QString *>(a2),sipType_QString,a2State);

            return sipConvertFromEnum(sipRes,sipType_KParts_BrowserRun_AskSaveResult);
        }
    }

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

    return NULL;
}


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

    {
        const  ::KUrl* a0;
        const  ::QString* a1;
        int a1State = 0;
         ::KParts::BrowserRun *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J1", &sipSelf, sipType_KParts_BrowserRun, &sipCpp, sipType_KUrl, &a0, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KParts::BrowserRun::save(*a0,*a1) : sipCpp->save(*a0,*a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const  ::KUrl* a0;
        const  ::QString* a1;
        int a1State = 0;
         ::QWidget* a2 = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9J1|J8", sipType_KUrl, &a0, sipType_QString,&a1, &a1State, sipType_QWidget, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
             ::KParts::BrowserRun::simpleSave(*a0,*a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::KUrl* a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1J9", sipType_QString,&a0, &a0State, sipType_KUrl, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::KParts::BrowserRun::allowExecution(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const  ::QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::KParts::BrowserRun::isTextExecutable(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
         ::KParts::BrowserRun *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KParts_BrowserRun, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KParts::BrowserRun::scanFile() : sipCpp->scanFile());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::KParts::BrowserRun *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KParts_BrowserRun, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KParts::BrowserRun::init() : sipCpp->init());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::KJob* a0;
         ::KParts::BrowserRun *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KParts_BrowserRun, &sipCpp, sipType_KJob, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KParts::BrowserRun::handleError(a0) : sipCpp->handleError(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::KJob* a0;
         ::KParts::BrowserRun *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KParts_BrowserRun, &sipCpp, sipType_KJob, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->slotBrowserScanFinished(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::KIO::Job* a0;
        const  ::QString* a1;
        int a1State = 0;
         ::KParts::BrowserRun *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8J1", &sipSelf, sipType_KParts_BrowserRun, &sipCpp, sipType_KIO_Job, &a0, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->slotBrowserMimetype(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::KJob* a0;
         ::KParts::BrowserRun *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KParts_BrowserRun, &sipCpp, sipType_KJob, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->slotCopyToTempFileResult(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::KJob* a0;
         ::KParts::BrowserRun *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KParts_BrowserRun, &sipCpp, sipType_KJob, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KParts::BrowserRun::slotStatResult(a0) : sipCpp->slotStatResult(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const  ::KUrl* a0;
        const  ::QString* a1;
        int a1State = 0;
         ::QWidget* a2;
        const  ::KParts::OpenUrlArguments* a3;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9J1J8J9", sipType_KUrl, &a0, sipType_QString,&a1, &a1State, sipType_QWidget, &a2, sipType_KParts_OpenUrlArguments, &a3))
        {
            Py_BEGIN_ALLOW_THREADS
             ::KParts::BrowserRun::saveUrl(*a0,*a1,a2,*a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const  ::KUrl* a0;
        const  ::KUrl* a1;
         ::QWidget* a2;
        const QMap< ::QString, ::QString>* a3;
        int a3State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9J9J8J1", sipType_KUrl, &a0, sipType_KUrl, &a1, sipType_QWidget, &a2, sipType_QMap_0100QString_0100QString,&a3, &a3State))
        {
            Py_BEGIN_ALLOW_THREADS
             ::KParts::BrowserRun::saveUrlUsingKIO(*a0,*a1,a2,*a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QMap< ::QString, ::QString> *>(a3),sipType_QMap_0100QString_0100QString,a3State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const  ::QString* a0;
        int a0State = 0;
         ::KService::Ptr* a1;
        int a1State = 0;
         ::KParts::BrowserRun *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1J0", &sipSelf, sipType_KParts_BrowserRun, &sipCpp, sipType_QString,&a0, &a0State, sipType_KSharedPtr_0100KService,&a1, &a1State))
        {
             ::KParts::BrowserRun::NonEmbeddableResult sipRes;

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

            return sipConvertFromEnum(sipRes,sipType_KParts_BrowserRun_NonEmbeddableResult);
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        const  ::QString* a1;
        int a1State = 0;
        const  ::QString* a2;
        int a2State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "iJ1J1", &a0, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State))
        {
             ::KUrl*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::KUrl( ::KParts::BrowserRun::makeErrorUrl(a0,*a1,*a2));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast< ::QString *>(a2),sipType_QString,a2State);

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

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

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_KParts_BrowserRun(void *, const sipTypeDef *);}
static void *cast_KParts_BrowserRun(void *sipCppV, const sipTypeDef *targetType)
{
     ::KParts::BrowserRun *sipCpp = reinterpret_cast< ::KParts::BrowserRun *>(sipCppV);

    if (targetType == sipType_KRun)
        return static_cast< ::KRun *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


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

    Py_BEGIN_ALLOW_THREADS

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

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KParts_BrowserRun(sipSimpleWrapper *);}
static void dealloc_KParts_BrowserRun(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKParts_BrowserRun *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KParts_BrowserRun(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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

    {
        const  ::KUrl* a0;
        const  ::KParts::OpenUrlArguments* a1;
        const  ::KParts::BrowserArguments* a2;
         ::KParts::ReadOnlyPart* a3;
         ::QWidget* a4;
        bool a5;
        bool a6;
        bool a7 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9J9J9J8J8bb|b", sipType_KUrl, &a0, sipType_KParts_OpenUrlArguments, &a1, sipType_KParts_BrowserArguments, &a2, sipType_KParts_ReadOnlyPart, &a3, sipType_QWidget, &a4, &a5, &a6, &a7))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKParts_BrowserRun(*a0,*a1,*a2,a3,a4,a5,a6,a7);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_KParts_BrowserRun[] = {
    {SIP_MLNAME_CAST(sipName_allowExecution), meth_KParts_BrowserRun_allowExecution, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_arguments), meth_KParts_BrowserRun_arguments, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_askEmbedOrSave), meth_KParts_BrowserRun_askEmbedOrSave, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_askSave), meth_KParts_BrowserRun_askSave, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_browserArguments), meth_KParts_BrowserRun_browserArguments, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contentDisposition), meth_KParts_BrowserRun_contentDisposition, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_handleError), meth_KParts_BrowserRun_handleError, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_handleNonEmbeddable), meth_KParts_BrowserRun_handleNonEmbeddable, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hideErrorDialog), meth_KParts_BrowserRun_hideErrorDialog, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_init), meth_KParts_BrowserRun_init, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isTextExecutable), meth_KParts_BrowserRun_isTextExecutable, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_makeErrorUrl), meth_KParts_BrowserRun_makeErrorUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_part), meth_KParts_BrowserRun_part, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_save), meth_KParts_BrowserRun_save, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_saveUrl), meth_KParts_BrowserRun_saveUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_saveUrlUsingKIO), meth_KParts_BrowserRun_saveUrlUsingKIO, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_scanFile), meth_KParts_BrowserRun_scanFile, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_serverSuggestsSave), meth_KParts_BrowserRun_serverSuggestsSave, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_simpleSave), meth_KParts_BrowserRun_simpleSave, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotBrowserMimetype), meth_KParts_BrowserRun_slotBrowserMimetype, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotBrowserScanFinished), meth_KParts_BrowserRun_slotBrowserScanFinished, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotCopyToTempFileResult), meth_KParts_BrowserRun_slotCopyToTempFileResult, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotStatResult), meth_KParts_BrowserRun_slotStatResult, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_url), meth_KParts_BrowserRun_url, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KParts_BrowserRun[] = {
    {sipName_AttachmentDisposition, static_cast<int>( ::KParts::BrowserRun::AttachmentDisposition), 12},
    {sipName_Cancel, static_cast<int>( ::KParts::BrowserRun::Cancel), 13},
    {sipName_Delayed, static_cast<int>( ::KParts::BrowserRun::Delayed), 14},
    {sipName_Handled, static_cast<int>( ::KParts::BrowserRun::Handled), 14},
    {sipName_InlineDisposition, static_cast<int>( ::KParts::BrowserRun::InlineDisposition), 12},
    {sipName_NotHandled, static_cast<int>( ::KParts::BrowserRun::NotHandled), 14},
    {sipName_Open, static_cast<int>( ::KParts::BrowserRun::Open), 13},
    {sipName_Save, static_cast<int>( ::KParts::BrowserRun::Save), 13},
};


static pyqt4ClassPluginDef plugin_KParts_BrowserRun = {
    & ::KParts::BrowserRun::staticMetaObject,
    0,
    0
};


sipClassTypeDef sipTypeDef_kparts_KParts_BrowserRun = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KParts__BrowserRun,
        {0},
        &plugin_KParts_BrowserRun
    },
    {
        sipNameNr_BrowserRun,
        {0, 255, 0},
        24, methods_KParts_BrowserRun,
        8, enummembers_KParts_BrowserRun,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KParts_BrowserRun,
    0,
    init_type_KParts_BrowserRun,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KParts_BrowserRun,
    0,
    0,
    0,
    release_KParts_BrowserRun,
    cast_KParts_BrowserRun,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 25 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kparts/browseropenorsavequestion.sip"
#include <kparts/browseropenorsavequestion.h>
#line 1541 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kparts/sipkpartspart5.cpp"

#line 25 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kparts/browseropenorsavequestion.sip"
#include <kparts/browseropenorsavequestion.h>
#line 1545 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kparts/sipkpartspart5.cpp"


extern "C" {static int slot_KParts_BrowserOpenOrSaveQuestion_Features___bool__(PyObject *);}
static int slot_KParts_BrowserOpenOrSaveQuestion_Features___bool__(PyObject *sipSelf)
{
     ::KParts::BrowserOpenOrSaveQuestion::Features *sipCpp = reinterpret_cast< ::KParts::BrowserOpenOrSaveQuestion::Features *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KParts_BrowserOpenOrSaveQuestion_Features));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 381 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KParts::BrowserOpenOrSaveQuestion::Features::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 1567 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kparts/sipkpartspart5.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KParts_BrowserOpenOrSaveQuestion_Features___ne__(PyObject *,PyObject *);}
static PyObject *slot_KParts_BrowserOpenOrSaveQuestion_Features___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::KParts::BrowserOpenOrSaveQuestion::Features *sipCpp = reinterpret_cast< ::KParts::BrowserOpenOrSaveQuestion::Features *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KParts_BrowserOpenOrSaveQuestion_Features));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::KParts::BrowserOpenOrSaveQuestion::Features* a0;
        int a0State = 0;

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

#line 372 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KParts::BrowserOpenOrSaveQuestion::Features::Int() != a0->operator KParts::BrowserOpenOrSaveQuestion::Features::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 1601 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kparts/sipkpartspart5.cpp"
            sipReleaseType(const_cast< ::KParts::BrowserOpenOrSaveQuestion::Features *>(a0),sipType_KParts_BrowserOpenOrSaveQuestion_Features,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kparts, ne_slot, sipType_KParts_BrowserOpenOrSaveQuestion_Features, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_KParts_BrowserOpenOrSaveQuestion_Features___eq__(PyObject *,PyObject *);}
static PyObject *slot_KParts_BrowserOpenOrSaveQuestion_Features___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::KParts::BrowserOpenOrSaveQuestion::Features *sipCpp = reinterpret_cast< ::KParts::BrowserOpenOrSaveQuestion::Features *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KParts_BrowserOpenOrSaveQuestion_Features));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::KParts::BrowserOpenOrSaveQuestion::Features* a0;
        int a0State = 0;

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

#line 363 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KParts::BrowserOpenOrSaveQuestion::Features::Int() == a0->operator KParts::BrowserOpenOrSaveQuestion::Features::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 1641 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kparts/sipkpartspart5.cpp"
            sipReleaseType(const_cast< ::KParts::BrowserOpenOrSaveQuestion::Features *>(a0),sipType_KParts_BrowserOpenOrSaveQuestion_Features,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kparts, eq_slot, sipType_KParts_BrowserOpenOrSaveQuestion_Features, sipSelf, sipArg);
}


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

     ::KParts::BrowserOpenOrSaveQuestion::Features *sipCpp = reinterpret_cast< ::KParts::BrowserOpenOrSaveQuestion::Features *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KParts_BrowserOpenOrSaveQuestion_Features));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 357 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
        *sipCpp = KParts::BrowserOpenOrSaveQuestion::Features(*sipCpp ^ a0);
#line 1680 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kparts/sipkpartspart5.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_KParts_BrowserOpenOrSaveQuestion_Features___xor__(PyObject *,PyObject *);}
static PyObject *slot_KParts_BrowserOpenOrSaveQuestion_Features___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::KParts::BrowserOpenOrSaveQuestion::Features* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KParts_BrowserOpenOrSaveQuestion_Features, &a0, &a0State, &a1))
        {
             ::KParts::BrowserOpenOrSaveQuestion::Features*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::KParts::BrowserOpenOrSaveQuestion::Features((*a0 ^ a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KParts_BrowserOpenOrSaveQuestion_Features,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


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

     ::KParts::BrowserOpenOrSaveQuestion::Features *sipCpp = reinterpret_cast< ::KParts::BrowserOpenOrSaveQuestion::Features *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KParts_BrowserOpenOrSaveQuestion_Features));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 351 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
        *sipCpp = KParts::BrowserOpenOrSaveQuestion::Features(*sipCpp | a0);
#line 1754 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kparts/sipkpartspart5.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_KParts_BrowserOpenOrSaveQuestion_Features___or__(PyObject *,PyObject *);}
static PyObject *slot_KParts_BrowserOpenOrSaveQuestion_Features___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::KParts::BrowserOpenOrSaveQuestion::Features* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KParts_BrowserOpenOrSaveQuestion_Features, &a0, &a0State, &a1))
        {
             ::KParts::BrowserOpenOrSaveQuestion::Features*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::KParts::BrowserOpenOrSaveQuestion::Features((*a0 | a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KParts_BrowserOpenOrSaveQuestion_Features,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


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

     ::KParts::BrowserOpenOrSaveQuestion::Features *sipCpp = reinterpret_cast< ::KParts::BrowserOpenOrSaveQuestion::Features *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KParts_BrowserOpenOrSaveQuestion_Features));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp-> ::KParts::BrowserOpenOrSaveQuestion::Features::operator&=(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_KParts_BrowserOpenOrSaveQuestion_Features___and__(PyObject *,PyObject *);}
static PyObject *slot_KParts_BrowserOpenOrSaveQuestion_Features___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::KParts::BrowserOpenOrSaveQuestion::Features* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KParts_BrowserOpenOrSaveQuestion_Features, &a0, &a0State, &a1))
        {
             ::KParts::BrowserOpenOrSaveQuestion::Features*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::KParts::BrowserOpenOrSaveQuestion::Features((*a0 & a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KParts_BrowserOpenOrSaveQuestion_Features,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


extern "C" {static PyObject *slot_KParts_BrowserOpenOrSaveQuestion_Features___invert__(PyObject *);}
static PyObject *slot_KParts_BrowserOpenOrSaveQuestion_Features___invert__(PyObject *sipSelf)
{
     ::KParts::BrowserOpenOrSaveQuestion::Features *sipCpp = reinterpret_cast< ::KParts::BrowserOpenOrSaveQuestion::Features *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KParts_BrowserOpenOrSaveQuestion_Features));

    if (!sipCpp)
        return 0;


    {
        {
             ::KParts::BrowserOpenOrSaveQuestion::Features*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::KParts::BrowserOpenOrSaveQuestion::Features(~(*sipCpp));
            Py_END_ALLOW_THREADS

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

    return 0;
}


extern "C" {static PyObject *slot_KParts_BrowserOpenOrSaveQuestion_Features___int__(PyObject *);}
static PyObject *slot_KParts_BrowserOpenOrSaveQuestion_Features___int__(PyObject *sipSelf)
{
     ::KParts::BrowserOpenOrSaveQuestion::Features *sipCpp = reinterpret_cast< ::KParts::BrowserOpenOrSaveQuestion::Features *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KParts_BrowserOpenOrSaveQuestion_Features));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


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

    delete reinterpret_cast< ::KParts::BrowserOpenOrSaveQuestion::Features *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KParts_BrowserOpenOrSaveQuestion_Features(void *, SIP_SSIZE_T, const void *);}
static void assign_KParts_BrowserOpenOrSaveQuestion_Features(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::KParts::BrowserOpenOrSaveQuestion::Features *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::KParts::BrowserOpenOrSaveQuestion::Features *>(sipSrc);
}


extern "C" {static void *array_KParts_BrowserOpenOrSaveQuestion_Features(SIP_SSIZE_T);}
static void *array_KParts_BrowserOpenOrSaveQuestion_Features(SIP_SSIZE_T sipNrElem)
{
    return new  ::KParts::BrowserOpenOrSaveQuestion::Features[sipNrElem];
}


extern "C" {static void *copy_KParts_BrowserOpenOrSaveQuestion_Features(const void *, SIP_SSIZE_T);}
static void *copy_KParts_BrowserOpenOrSaveQuestion_Features(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::KParts::BrowserOpenOrSaveQuestion::Features(reinterpret_cast<const  ::KParts::BrowserOpenOrSaveQuestion::Features *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_KParts_BrowserOpenOrSaveQuestion_Features(sipSimpleWrapper *);}
static void dealloc_KParts_BrowserOpenOrSaveQuestion_Features(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_KParts_BrowserOpenOrSaveQuestion_Features(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_KParts_BrowserOpenOrSaveQuestion_Features(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KParts_BrowserOpenOrSaveQuestion_Features(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::KParts::BrowserOpenOrSaveQuestion::Features *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::KParts::BrowserOpenOrSaveQuestion::Features();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::KParts::BrowserOpenOrSaveQuestion::Features(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const  ::KParts::BrowserOpenOrSaveQuestion::Features* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_KParts_BrowserOpenOrSaveQuestion_Features, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::KParts::BrowserOpenOrSaveQuestion::Features(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::KParts::BrowserOpenOrSaveQuestion::Features *>(a0),sipType_KParts_BrowserOpenOrSaveQuestion_Features,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_KParts_BrowserOpenOrSaveQuestion_Features(PyObject *, void **, int *, PyObject *);}
static int convertTo_KParts_BrowserOpenOrSaveQuestion_Features(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::KParts::BrowserOpenOrSaveQuestion::Features **sipCppPtr = reinterpret_cast< ::KParts::BrowserOpenOrSaveQuestion::Features **>(sipCppPtrV);

#line 390 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a KParts::BrowserOpenOrSaveQuestion::Features is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KParts_BrowserOpenOrSaveQuestion_Feature)) ||
            sipCanConvertToType(sipPy, sipType_KParts_BrowserOpenOrSaveQuestion_Features, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KParts_BrowserOpenOrSaveQuestion_Feature)))
{
    *sipCppPtr = new KParts::BrowserOpenOrSaveQuestion::Features(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<KParts::BrowserOpenOrSaveQuestion::Features *>(sipConvertToType(sipPy, sipType_KParts_BrowserOpenOrSaveQuestion_Features, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 2042 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kparts/sipkpartspart5.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_KParts_BrowserOpenOrSaveQuestion_Features[] = {
    {(void *)slot_KParts_BrowserOpenOrSaveQuestion_Features___bool__, bool_slot},
    {(void *)slot_KParts_BrowserOpenOrSaveQuestion_Features___ne__, ne_slot},
    {(void *)slot_KParts_BrowserOpenOrSaveQuestion_Features___eq__, eq_slot},
    {(void *)slot_KParts_BrowserOpenOrSaveQuestion_Features___ixor__, ixor_slot},
    {(void *)slot_KParts_BrowserOpenOrSaveQuestion_Features___xor__, xor_slot},
    {(void *)slot_KParts_BrowserOpenOrSaveQuestion_Features___ior__, ior_slot},
    {(void *)slot_KParts_BrowserOpenOrSaveQuestion_Features___or__, or_slot},
    {(void *)slot_KParts_BrowserOpenOrSaveQuestion_Features___iand__, iand_slot},
    {(void *)slot_KParts_BrowserOpenOrSaveQuestion_Features___and__, and_slot},
    {(void *)slot_KParts_BrowserOpenOrSaveQuestion_Features___invert__, invert_slot},
    {(void *)slot_KParts_BrowserOpenOrSaveQuestion_Features___int__, int_slot},
    {0, (sipPySlotType)0}
};


static pyqt4ClassPluginDef plugin_KParts_BrowserOpenOrSaveQuestion_Features = {
    0,
    1,
    0
};


sipClassTypeDef sipTypeDef_kparts_KParts_BrowserOpenOrSaveQuestion_Features = {
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KParts__BrowserOpenOrSaveQuestion__Features,
        {0},
        &plugin_KParts_BrowserOpenOrSaveQuestion_Features
    },
    {
        sipNameNr_Features,
        {7, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    slots_KParts_BrowserOpenOrSaveQuestion_Features,
    init_type_KParts_BrowserOpenOrSaveQuestion_Features,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KParts_BrowserOpenOrSaveQuestion_Features,
    assign_KParts_BrowserOpenOrSaveQuestion_Features,
    array_KParts_BrowserOpenOrSaveQuestion_Features,
    copy_KParts_BrowserOpenOrSaveQuestion_Features,
    release_KParts_BrowserOpenOrSaveQuestion_Features,
    0,
    convertTo_KParts_BrowserOpenOrSaveQuestion_Features,
    0,
    0,
    0,
    0,
    0
};

#line 25 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kparts/browseropenorsavequestion.sip"
#include <kparts/browseropenorsavequestion.h>
#line 2121 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kparts/sipkpartspart5.cpp"

#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 2125 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kparts/sipkpartspart5.cpp"
#line 33 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 2128 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kparts/sipkpartspart5.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 2131 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kparts/sipkpartspart5.cpp"
#line 340 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 2134 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kparts/sipkpartspart5.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kservice.sip"
#include <kservice.h>
#line 2137 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kparts/sipkpartspart5.cpp"
#line 25 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kparts/browseropenorsavequestion.sip"
#include <kparts/browseropenorsavequestion.h>
#line 2140 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kparts/sipkpartspart5.cpp"


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

    {
        const  ::QString* a0;
        int a0State = 0;
         ::KParts::BrowserOpenOrSaveQuestion *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::KParts::BrowserOpenOrSaveQuestion::Features* a0;
        int a0State = 0;
         ::KParts::BrowserOpenOrSaveQuestion *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KParts_BrowserOpenOrSaveQuestion, &sipCpp, sipType_KParts_BrowserOpenOrSaveQuestion_Features, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setFeatures(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KParts_BrowserOpenOrSaveQuestion_Features,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::KParts::BrowserOpenOrSaveQuestion *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KParts_BrowserOpenOrSaveQuestion, &sipCpp))
        {
             ::KParts::BrowserOpenOrSaveQuestion::Result sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->askOpenOrSave();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KParts_BrowserOpenOrSaveQuestion_Result);
        }
    }

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

    return NULL;
}


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

    {
        int a0 = 0;
         ::KParts::BrowserOpenOrSaveQuestion *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|i", &sipSelf, sipType_KParts_BrowserOpenOrSaveQuestion, &sipCpp, &a0))
        {
             ::KParts::BrowserOpenOrSaveQuestion::Result sipRes;

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

            return sipConvertFromEnum(sipRes,sipType_KParts_BrowserOpenOrSaveQuestion_Result);
        }
    }

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

    return NULL;
}


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

    {
        const  ::KParts::BrowserOpenOrSaveQuestion *sipCpp;

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

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

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

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

    return NULL;
}


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

    delete reinterpret_cast< ::KParts::BrowserOpenOrSaveQuestion *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KParts_BrowserOpenOrSaveQuestion(sipSimpleWrapper *);}
static void dealloc_KParts_BrowserOpenOrSaveQuestion(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_KParts_BrowserOpenOrSaveQuestion(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_KParts_BrowserOpenOrSaveQuestion(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KParts_BrowserOpenOrSaveQuestion(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
     ::KParts::BrowserOpenOrSaveQuestion *sipCpp = 0;

    {
         ::QWidget* a0;
        const  ::KUrl* a1;
        const  ::QString* a2;
        int a2State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "JHJ9J1", sipType_QWidget, &a0, sipOwner, sipType_KUrl, &a1, sipType_QString,&a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::KParts::BrowserOpenOrSaveQuestion(a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a2),sipType_QString,a2State);

            return sipCpp;
        }
    }

    {
        const  ::KParts::BrowserOpenOrSaveQuestion* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_KParts_BrowserOpenOrSaveQuestion, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::KParts::BrowserOpenOrSaveQuestion(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_KParts_BrowserOpenOrSaveQuestion[] = {
    {SIP_MLNAME_CAST(sipName_askEmbedOrSave), meth_KParts_BrowserOpenOrSaveQuestion_askEmbedOrSave, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_askOpenOrSave), meth_KParts_BrowserOpenOrSaveQuestion_askOpenOrSave, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_selectedService), meth_KParts_BrowserOpenOrSaveQuestion_selectedService, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setFeatures), meth_KParts_BrowserOpenOrSaveQuestion_setFeatures, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSuggestedFileName), meth_KParts_BrowserOpenOrSaveQuestion_setSuggestedFileName, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KParts_BrowserOpenOrSaveQuestion[] = {
    {sipName_BasicFeatures, static_cast<int>( ::KParts::BrowserOpenOrSaveQuestion::BasicFeatures), 8},
    {sipName_Cancel, static_cast<int>( ::KParts::BrowserOpenOrSaveQuestion::Cancel), 10},
    {sipName_Embed, static_cast<int>( ::KParts::BrowserOpenOrSaveQuestion::Embed), 10},
    {sipName_Open, static_cast<int>( ::KParts::BrowserOpenOrSaveQuestion::Open), 10},
    {sipName_Save, static_cast<int>( ::KParts::BrowserOpenOrSaveQuestion::Save), 10},
    {sipName_ServiceSelection, static_cast<int>( ::KParts::BrowserOpenOrSaveQuestion::ServiceSelection), 8},
};


static pyqt4ClassPluginDef plugin_KParts_BrowserOpenOrSaveQuestion = {
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_kparts_KParts_BrowserOpenOrSaveQuestion = {
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KParts__BrowserOpenOrSaveQuestion,
        {0},
        &plugin_KParts_BrowserOpenOrSaveQuestion
    },
    {
        sipNameNr_BrowserOpenOrSaveQuestion,
        {0, 255, 0},
        5, methods_KParts_BrowserOpenOrSaveQuestion,
        6, enummembers_KParts_BrowserOpenOrSaveQuestion,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_type_KParts_BrowserOpenOrSaveQuestion,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KParts_BrowserOpenOrSaveQuestion,
    0,
    0,
    0,
    release_KParts_BrowserOpenOrSaveQuestion,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 28 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kparts/browserinterface.sip"
#include <kparts/browserinterface.h>
#line 2420 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kparts/sipkpartspart5.cpp"

#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 2424 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kparts/sipkpartspart5.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 2427 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kparts/sipkpartspart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2430 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kparts/sipkpartspart5.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2433 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kparts/sipkpartspart5.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2436 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kparts/sipkpartspart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 2439 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kparts/sipkpartspart5.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 2442 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kparts/sipkpartspart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2445 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kparts/sipkpartspart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 2448 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kparts/sipkpartspart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 2451 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kparts/sipkpartspart5.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 2454 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kparts/sipkpartspart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 2457 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kparts/sipkpartspart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 2460 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kparts/sipkpartspart5.cpp"


class sipKParts_BrowserInterface : public  ::KParts::BrowserInterface
{
public:
    sipKParts_BrowserInterface( ::QObject*);
    virtual ~sipKParts_BrowserInterface();

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

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    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:
    sipKParts_BrowserInterface(const sipKParts_BrowserInterface &);
    sipKParts_BrowserInterface &operator = (const sipKParts_BrowserInterface &);

    char sipPyMethods[7];
};

sipKParts_BrowserInterface::sipKParts_BrowserInterface( ::QObject*a0):  ::KParts::BrowserInterface(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKParts_BrowserInterface::~sipKParts_BrowserInterface()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipKParts_BrowserInterface::metaObject() const
{
    return sip_kparts_qt_metaobject(sipPySelf,sipType_KParts_BrowserInterface);
}

int sipKParts_BrowserInterface::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::KParts::BrowserInterface::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kparts_qt_metacall(sipPySelf,sipType_KParts_BrowserInterface,_c,_id,_a);

    return _id;
}

void *sipKParts_BrowserInterface::qt_metacast(const char *_clname)
{
    return (sip_kparts_qt_metacast(sipPySelf, sipType_KParts_BrowserInterface, _clname)) ? this :  ::KParts::BrowserInterface::qt_metacast(_clname);
}

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

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

    if (!sipMeth)
        return  ::KParts::BrowserInterface::event(a0);

    extern bool sipVH_kparts_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

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

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

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

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

    extern bool sipVH_kparts_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

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

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

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

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

    extern void sipVH_kparts_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

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

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

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

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

    extern void sipVH_kparts_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

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

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

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

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

    extern void sipVH_kparts_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

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

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

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

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

    extern void sipVH_kparts_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

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

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

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

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

    extern void sipVH_kparts_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

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


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

    {
        const char* a0;
        PyObject *a0Keep;
        const  ::QVariant* a1;
        int a1State = 0;
         ::KParts::BrowserInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BAAJ1", &sipSelf, sipType_KParts_BrowserInterface, &sipCpp, &a0Keep, &a0, sipType_QVariant,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->callMethod(a0,*a1);
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);
            sipReleaseType(const_cast< ::QVariant *>(a1),sipType_QVariant,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_KParts_BrowserInterface(void *, const sipTypeDef *);}
static void *cast_KParts_BrowserInterface(void *sipCppV, const sipTypeDef *targetType)
{
     ::KParts::BrowserInterface *sipCpp = reinterpret_cast< ::KParts::BrowserInterface *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


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

    Py_BEGIN_ALLOW_THREADS

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

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KParts_BrowserInterface(sipSimpleWrapper *);}
static void dealloc_KParts_BrowserInterface(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKParts_BrowserInterface *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KParts_BrowserInterface(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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

    {
         ::QObject* a0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_KParts_BrowserInterface[] = {
    {SIP_MLNAME_CAST(sipName_callMethod), meth_KParts_BrowserInterface_callMethod, METH_VARARGS, NULL}
};


static pyqt4ClassPluginDef plugin_KParts_BrowserInterface = {
    & ::KParts::BrowserInterface::staticMetaObject,
    0,
    0
};


sipClassTypeDef sipTypeDef_kparts_KParts_BrowserInterface = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KParts__BrowserInterface,
        {0},
        &plugin_KParts_BrowserInterface
    },
    {
        sipNameNr_BrowserInterface,
        {0, 255, 0},
        1, methods_KParts_BrowserInterface,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KParts_BrowserInterface,
    0,
    init_type_KParts_BrowserInterface,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KParts_BrowserInterface,
    0,
    0,
    0,
    release_KParts_BrowserInterface,
    cast_KParts_BrowserInterface,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 276 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kparts/browserextension.sip"
#include <kparts/browserextension.h>
#line 2813 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kparts/sipkpartspart5.cpp"

#line 142 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kparts/part.sip"
#include <kparts/part.h>
#line 2817 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kparts/sipkpartspart5.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 2820 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kparts/sipkpartspart5.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 2823 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kparts/sipkpartspart5.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 2826 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kparts/sipkpartspart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2829 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kparts/sipkpartspart5.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2832 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kparts/sipkpartspart5.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2835 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kparts/sipkpartspart5.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 2838 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kparts/sipkpartspart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 2841 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kparts/sipkpartspart5.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 2844 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kparts/sipkpartspart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2847 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kparts/sipkpartspart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 2850 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kparts/sipkpartspart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 2853 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kparts/sipkpartspart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 2856 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kparts/sipkpartspart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 2859 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kparts/sipkpartspart5.cpp"


class sipKParts_LiveConnectExtension : public  ::KParts::LiveConnectExtension
{
public:
    sipKParts_LiveConnectExtension( ::KParts::ReadOnlyPart*);
    virtual ~sipKParts_LiveConnectExtension();

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

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void unregister(const unsigned long);
    bool call(const unsigned long,const  ::QString&,const  ::QStringList&, ::KParts::LiveConnectExtension::Type&,unsigned long&, ::QString&);
    bool put(const unsigned long,const  ::QString&,const  ::QString&);
    bool get(const unsigned long,const  ::QString&, ::KParts::LiveConnectExtension::Type&,unsigned long&, ::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:
    sipKParts_LiveConnectExtension(const sipKParts_LiveConnectExtension &);
    sipKParts_LiveConnectExtension &operator = (const sipKParts_LiveConnectExtension &);

    char sipPyMethods[11];
};

sipKParts_LiveConnectExtension::sipKParts_LiveConnectExtension( ::KParts::ReadOnlyPart*a0):  ::KParts::LiveConnectExtension(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKParts_LiveConnectExtension::~sipKParts_LiveConnectExtension()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipKParts_LiveConnectExtension::metaObject() const
{
    return sip_kparts_qt_metaobject(sipPySelf,sipType_KParts_LiveConnectExtension);
}

int sipKParts_LiveConnectExtension::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::KParts::LiveConnectExtension::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kparts_qt_metacall(sipPySelf,sipType_KParts_LiveConnectExtension,_c,_id,_a);

    return _id;
}

void *sipKParts_LiveConnectExtension::qt_metacast(const char *_clname)
{
    return (sip_kparts_qt_metacast(sipPySelf, sipType_KParts_LiveConnectExtension, _clname)) ? this :  ::KParts::LiveConnectExtension::qt_metacast(_clname);
}

void sipKParts_LiveConnectExtension::unregister(const unsigned long a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KParts::LiveConnectExtension::unregister(a0);
        return;
    }

    extern void sipVH_kparts_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const unsigned long);

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

bool sipKParts_LiveConnectExtension::call(const unsigned long a0,const  ::QString& a1,const  ::QStringList& a2, ::KParts::LiveConnectExtension::Type& a3,unsigned long& a4, ::QString& a5)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::KParts::LiveConnectExtension::call(a0,a1,a2,a3,a4,a5);

    extern bool sipVH_kparts_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const unsigned long,const  ::QString&,const  ::QStringList&, ::KParts::LiveConnectExtension::Type&,unsigned long&, ::QString&);

    return sipVH_kparts_21(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3, a4, a5);
}

bool sipKParts_LiveConnectExtension::put(const unsigned long a0,const  ::QString& a1,const  ::QString& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::KParts::LiveConnectExtension::put(a0,a1,a2);

    extern bool sipVH_kparts_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const unsigned long,const  ::QString&,const  ::QString&);

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

bool sipKParts_LiveConnectExtension::get(const unsigned long a0,const  ::QString& a1, ::KParts::LiveConnectExtension::Type& a2,unsigned long& a3, ::QString& a4)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::KParts::LiveConnectExtension::get(a0,a1,a2,a3,a4);

    extern bool sipVH_kparts_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const unsigned long,const  ::QString&, ::KParts::LiveConnectExtension::Type&,unsigned long&, ::QString&);

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

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

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

    if (!sipMeth)
        return  ::KParts::LiveConnectExtension::event(a0);

    extern bool sipVH_kparts_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

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

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

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

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

    extern bool sipVH_kparts_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

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

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

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

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

    extern void sipVH_kparts_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

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

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

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

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

    extern void sipVH_kparts_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

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

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

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

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

    extern void sipVH_kparts_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

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

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

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

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

    extern void sipVH_kparts_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

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

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

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

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

    extern void sipVH_kparts_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

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


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

    {
        unsigned long a0;
        const  ::QString* a1;
        int a1State = 0;
         ::KParts::LiveConnectExtension::Type a2;
        unsigned long a3;
         ::QString* a4;
        int a4State = 0;
         ::KParts::LiveConnectExtension *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BmJ1EJ1", &sipSelf, sipType_KParts_LiveConnectExtension, &sipCpp, &a0, sipType_QString,&a1, &a1State, sipType_KParts_LiveConnectExtension_Type, &a2, sipType_QString,&a4, &a4State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp-> ::KParts::LiveConnectExtension::get(a0,*a1,a2,a3,*a4) : sipCpp->get(a0,*a1,a2,a3,*a4));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);
            sipReleaseType(a4,sipType_QString,a4State);

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

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

    return NULL;
}


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

    {
        unsigned long a0;
        const  ::QString* a1;
        int a1State = 0;
        const  ::QString* a2;
        int a2State = 0;
         ::KParts::LiveConnectExtension *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BmJ1J1", &sipSelf, sipType_KParts_LiveConnectExtension, &sipCpp, &a0, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp-> ::KParts::LiveConnectExtension::put(a0,*a1,*a2) : sipCpp->put(a0,*a1,*a2));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast< ::QString *>(a2),sipType_QString,a2State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        unsigned long a0;
        const  ::QString* a1;
        int a1State = 0;
        const  ::QStringList* a2;
        int a2State = 0;
         ::KParts::LiveConnectExtension::Type a3;
        unsigned long a4;
         ::QString* a5;
        int a5State = 0;
         ::KParts::LiveConnectExtension *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BmJ1J1EJ1", &sipSelf, sipType_KParts_LiveConnectExtension, &sipCpp, &a0, sipType_QString,&a1, &a1State, sipType_QStringList,&a2, &a2State, sipType_KParts_LiveConnectExtension_Type, &a3, sipType_QString,&a5, &a5State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp-> ::KParts::LiveConnectExtension::call(a0,*a1,*a2,a3,a4,*a5) : sipCpp->call(a0,*a1,*a2,a3,a4,*a5));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast< ::QStringList *>(a2),sipType_QStringList,a2State);
            sipReleaseType(a5,sipType_QString,a5State);

            return sipBuildResult(0,"(bm)",sipRes,a4);
        }
    }

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

    return NULL;
}


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

    {
        unsigned long a0;
         ::KParts::LiveConnectExtension *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bm", &sipSelf, sipType_KParts_LiveConnectExtension, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KParts::LiveConnectExtension::unregister(a0) : sipCpp->unregister(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::QObject* a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J8", sipType_QObject, &a0))
        {
             ::KParts::LiveConnectExtension*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::KParts::LiveConnectExtension::childObject(a0);
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_KParts_LiveConnectExtension(void *, const sipTypeDef *);}
static void *cast_KParts_LiveConnectExtension(void *sipCppV, const sipTypeDef *targetType)
{
     ::KParts::LiveConnectExtension *sipCpp = reinterpret_cast< ::KParts::LiveConnectExtension *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


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

    Py_BEGIN_ALLOW_THREADS

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

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KParts_LiveConnectExtension(sipSimpleWrapper *);}
static void dealloc_KParts_LiveConnectExtension(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKParts_LiveConnectExtension *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KParts_LiveConnectExtension(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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

    {
         ::KParts::ReadOnlyPart* a0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_KParts_LiveConnectExtension[] = {
    {SIP_MLNAME_CAST(sipName_call), meth_KParts_LiveConnectExtension_call, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childObject), meth_KParts_LiveConnectExtension_childObject, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_get), meth_KParts_LiveConnectExtension_get, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_put), meth_KParts_LiveConnectExtension_put, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_unregister), meth_KParts_LiveConnectExtension_unregister, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KParts_LiveConnectExtension[] = {
    {sipName_TypeBool, static_cast<int>( ::KParts::LiveConnectExtension::TypeBool), 32},
    {sipName_TypeFunction, static_cast<int>( ::KParts::LiveConnectExtension::TypeFunction), 32},
    {sipName_TypeNumber, static_cast<int>( ::KParts::LiveConnectExtension::TypeNumber), 32},
    {sipName_TypeObject, static_cast<int>( ::KParts::LiveConnectExtension::TypeObject), 32},
    {sipName_TypeString, static_cast<int>( ::KParts::LiveConnectExtension::TypeString), 32},
    {sipName_TypeVoid, static_cast<int>( ::KParts::LiveConnectExtension::TypeVoid), 32},
};


static pyqt4ClassPluginDef plugin_KParts_LiveConnectExtension = {
    & ::KParts::LiveConnectExtension::staticMetaObject,
    0,
    0
};


sipClassTypeDef sipTypeDef_kparts_KParts_LiveConnectExtension = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KParts__LiveConnectExtension,
        {0},
        &plugin_KParts_LiveConnectExtension
    },
    {
        sipNameNr_LiveConnectExtension,
        {0, 255, 0},
        5, methods_KParts_LiveConnectExtension,
        6, enummembers_KParts_LiveConnectExtension,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KParts_LiveConnectExtension,
    0,
    init_type_KParts_LiveConnectExtension,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KParts_LiveConnectExtension,
    0,
    0,
    0,
    release_KParts_LiveConnectExtension,
    cast_KParts_LiveConnectExtension,
    0,
    0,
    0,
    0,
    0,
    0
};
