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

#include "sipAPIkio.h"

#line 55 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kdatatool.sip"
#include <kdatatool.h>
#line 12 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"

#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 16 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kdatatool.sip"
#include <kdatatool.h>
#line 19 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 22 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 25 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 28 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 31 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kactioncollection.sip"
#include <kactioncollection.h>
#line 34 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 25 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kauthaction.sip"
#include <kauthaction.h>
#line 37 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 40 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 43 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 46 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 49 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 55 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kgesture.sip"
#include <kgesture.h>
#line 52 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kaction.sip"
#include <kaction.h>
#line 55 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kgesture.sip"
#include <kgesture.h>
#line 58 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kaction.sip"
#include <kaction.h>
#line 61 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kshortcut.sip"
#include <kshortcut.h>
#line 64 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 67 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 70 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 73 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 76 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 182 "/usr/share/sip/PyQt4/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 79 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 82 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 85 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 88 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qmenu.sip"
#include <qmenu.h>
#line 91 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 94 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qactiongroup.sip"
#include <qactiongroup.h>
#line 97 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 100 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 103 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 106 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 109 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 112 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 115 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 118 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 121 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"


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

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

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[10];
};

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

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

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

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

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

    return _id;
}

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

void sipKDataToolAction::slotActivated()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

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

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

void sipKDataToolAction::deleteWidget( ::QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KDataToolAction::deleteWidget(a0);
        return;
    }

    extern void sipVH_kio_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*);

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

 ::QWidget* sipKDataToolAction::createWidget( ::QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::KDataToolAction::createWidget(a0);

    extern  ::QWidget* sipVH_kio_110(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList< ::QAction*>( ::KDataToolAction::dataToolActionList(*a0,a1,a2,a3));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QList< ::KDataToolInfo> *>(a0),sipType_QList_0100KDataToolInfo,a0State);
            Py_DECREF(a2Keep);

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

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

    return NULL;
}


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

    {
         ::KDataToolAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KDataToolAction, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KDataToolAction::slotActivated() : sipCpp->slotActivated());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_KAction)
        return static_cast< ::KAction *>(sipCpp);

    if (targetType == sipType_QWidgetAction)
        return static_cast< ::QWidgetAction *>(sipCpp);

    if (targetType == sipType_QAction)
        return static_cast< ::QAction *>(sipCpp);

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

    return sipCppV;
}


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

    Py_BEGIN_ALLOW_THREADS

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

    Py_END_ALLOW_THREADS
}


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

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


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

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::KDataToolInfo* a1;
        const  ::QString* a2;
        int a2State = 0;
         ::QObject* a3;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1J9J1JH", sipType_QString,&a0, &a0State, sipType_KDataToolInfo, &a1, sipType_QString,&a2, &a2State, sipType_QObject, &a3, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKDataToolAction(*a0,*a1,*a2,a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QString *>(a2),sipType_QString,a2State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_KDataToolAction[] = {
    {SIP_MLNAME_CAST(sipName_dataToolActionList), meth_KDataToolAction_dataToolActionList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotActivated), meth_KDataToolAction_slotActivated, METH_VARARGS, NULL}
};


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


static pyqt4ClassPluginDef plugin_KDataToolAction = {
    & ::KDataToolAction::staticMetaObject,
    0,
    signals_KDataToolAction
};


sipClassTypeDef sipTypeDef_kio_KDataToolAction = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KDataToolAction,
        {0},
        &plugin_KDataToolAction
    },
    {
        sipNameNr_KDataToolAction,
        {0, 0, 1},
        2, methods_KDataToolAction,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KDataToolAction,
    0,
    init_type_KDataToolAction,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KDataToolAction,
    0,
    0,
    0,
    release_KDataToolAction,
    cast_KDataToolAction,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kdatatool.sip"
#include <kdatatool.h>
#line 581 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.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 585 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.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 588 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kcomponentdata.sip"
#include <kcomponentdata.h>
#line 591 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 594 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 597 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 77 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kdatatool.sip"
#include <kdatatool.h>
#line 600 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 603 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 606 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 609 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"


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

    {
        const  ::KDataToolInfo *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        const  ::KDataToolInfo *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        const  ::KDataToolInfo *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isReadOnly();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const  ::KDataToolInfo *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        const  ::KDataToolInfo *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        const  ::KDataToolInfo *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        const  ::KDataToolInfo *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        const  ::KDataToolInfo *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
         ::QObject* a0 = 0;
        const  ::KDataToolInfo *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        const  ::KDataToolInfo *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        const  ::KDataToolInfo *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        const  ::KDataToolInfo *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isValid();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList< ::KDataToolInfo>( ::KDataToolInfo::query(*a0,*a1,*a2));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);

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

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

    return NULL;
}


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

    delete reinterpret_cast< ::KDataToolInfo *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


extern "C" {static void *array_KDataToolInfo(SIP_SSIZE_T);}
static void *array_KDataToolInfo(SIP_SSIZE_T sipNrElem)
{
    return new  ::KDataToolInfo[sipNrElem];
}


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


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


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

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

            return sipCpp;
        }
    }

    {
        const  ::KService::Ptr* a0;
        int a0State = 0;
        const  ::KComponentData* a1;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1J9", sipType_KSharedPtr_0100KService,&a0, &a0State, sipType_KComponentData, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::KDataToolInfo(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::KService::Ptr *>(a0),sipType_KSharedPtr_0100KService,a0State);

            return sipCpp;
        }
    }

    {
        const  ::KDataToolInfo* a0;

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

            return sipCpp;
        }
    }

    return NULL;
}


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


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


sipClassTypeDef sipTypeDef_kio_KDataToolInfo = {
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KDataToolInfo,
        {0},
        &plugin_KDataToolInfo
    },
    {
        sipNameNr_KDataToolInfo,
        {0, 0, 1},
        13, methods_KDataToolInfo,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_type_KDataToolInfo,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KDataToolInfo,
    assign_KDataToolInfo,
    array_KDataToolInfo,
    copy_KDataToolInfo,
    release_KDataToolInfo,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kbuildsycocaprogressdialog.sip"
#include <kbuildsycocaprogressdialog.h>
#line 1137 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"

#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 1141 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 1144 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 1147 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1150 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1153 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1156 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 561 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1159 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 1162 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qprogressbar.sip"
#include <qprogressbar.h>
#line 1165 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpushbutton.sip"
#include <qpushbutton.h>
#line 1168 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlabel.sip"
#include <qlabel.h>
#line 1171 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 618 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1174 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1177 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1180 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1183 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 1186 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1189 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 1192 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 1195 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 1198 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 1201 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 1204 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 1207 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 1210 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 1213 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 1216 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 1219 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 1222 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 1225 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 1228 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1231 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 1234 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 1237 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1240 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1243 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 739 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1246 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 792 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1249 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 765 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1252 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 781 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1255 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 854 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1258 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 403 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1261 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 548 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1264 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 524 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1267 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1270 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 347 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1273 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 252 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1276 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 1279 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 52 "/usr/share/sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 1282 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 1285 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 1288 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 1291 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 1294 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 1297 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1300 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 1303 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 1306 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 1309 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 1312 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 1315 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1318 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1321 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 1324 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 1327 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 1330 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 1333 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 1336 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"


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

    {
         ::QWidget* a0;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_QProgressDialog)
        return static_cast< ::QProgressDialog *>(sipCpp);

    if (targetType == sipType_QDialog)
        return static_cast< ::QDialog *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

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

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


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


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


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


static pyqt4ClassPluginDef plugin_KBuildSycocaProgressDialog = {
    & ::KBuildSycocaProgressDialog::staticMetaObject,
    0,
    0
};


sipClassTypeDef sipTypeDef_kio_KBuildSycocaProgressDialog = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KBuildSycocaProgressDialog,
        {0},
        &plugin_KBuildSycocaProgressDialog
    },
    {
        sipNameNr_KBuildSycocaProgressDialog,
        {0, 0, 1},
        1, methods_KBuildSycocaProgressDialog,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KBuildSycocaProgressDialog,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    0,
    0,
    0,
    0,
    release_KBuildSycocaProgressDialog,
    cast_KBuildSycocaProgressDialog,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 130 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kbookmarkmenu.sip"
#include <kbookmarkmenu.h>
#line 1464 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 1468 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 81 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kbookmarkmanager.sip"
#include <kbookmarkmanager.h>
#line 1471 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 1474 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1477 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1480 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 25 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kauthaction.sip"
#include <kauthaction.h>
#line 1483 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 1486 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 1489 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1492 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 55 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kgesture.sip"
#include <kgesture.h>
#line 1495 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kaction.sip"
#include <kaction.h>
#line 1498 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kgesture.sip"
#include <kgesture.h>
#line 1501 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kaction.sip"
#include <kaction.h>
#line 1504 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kshortcut.sip"
#include <kshortcut.h>
#line 1507 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 1510 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 1513 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 1516 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 1519 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 1522 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 182 "/usr/share/sip/PyQt4/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 1525 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 1528 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 1531 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1534 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qmenu.sip"
#include <qmenu.h>
#line 1537 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 1540 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qactiongroup.sip"
#include <qactiongroup.h>
#line 1543 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1546 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1549 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 1552 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 1555 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 1558 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 1561 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 1564 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 1567 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"


class sipKBookmarkAction : public  ::KBookmarkAction
{
public:
    sipKBookmarkAction(const  ::KBookmark&, ::KBookmarkOwner*, ::QObject*);
    virtual ~sipKBookmarkAction();

    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 deleteWidget( ::QWidget*);
     ::QWidget* createWidget( ::QWidget*);
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[9];
};

sipKBookmarkAction::sipKBookmarkAction(const  ::KBookmark& a0, ::KBookmarkOwner*a1, ::QObject*a2):  ::KBookmarkAction(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipKBookmarkAction::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KBookmarkAction);
}

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

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

    return _id;
}

void *sipKBookmarkAction::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast(sipPySelf, sipType_KBookmarkAction, _clname)) ? this :  ::KBookmarkAction::qt_metacast(_clname);
}

void sipKBookmarkAction::deleteWidget( ::QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KBookmarkAction::deleteWidget(a0);
        return;
    }

    extern void sipVH_kio_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*);

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

 ::QWidget* sipKBookmarkAction::createWidget( ::QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::KBookmarkAction::createWidget(a0);

    extern  ::QWidget* sipVH_kio_110(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

    {
         ::Qt::MouseButtons* a0;
        int a0State = 0;
         ::Qt::KeyboardModifiers* a1;
        int a1State = 0;
         ::KBookmarkAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_KBookmarkAction, &sipCpp, sipType_Qt_MouseButtons, &a0, &a0State, sipType_Qt_KeyboardModifiers, &a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->slotSelected(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_Qt_MouseButtons,a0State);
            sipReleaseType(a1,sipType_Qt_KeyboardModifiers,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_KAction)
        return static_cast< ::KAction *>(sipCpp);

    if (targetType == sipType_QWidgetAction)
        return static_cast< ::QWidgetAction *>(sipCpp);

    if (targetType == sipType_QAction)
        return static_cast< ::QAction *>(sipCpp);

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

    if (targetType == sipType_KBookmarkActionInterface)
        return static_cast< ::KBookmarkActionInterface *>(sipCpp);

    return sipCppV;
}


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

    Py_BEGIN_ALLOW_THREADS

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

    Py_END_ALLOW_THREADS
}


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

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


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

    {
        const  ::KBookmark* a0;
         ::KBookmarkOwner* a1;
         ::QObject* a2;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9J8JH", sipType_KBookmark, &a0, sipType_KBookmarkOwner, &a1, sipType_QObject, &a2, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKBookmarkAction(*a0,a1,a2);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KBookmarkAction[] = {{0, 7, 0}, {17, 255, 1}};


static PyMethodDef methods_KBookmarkAction[] = {
    {SIP_MLNAME_CAST(sipName_slotSelected), meth_KBookmarkAction_slotSelected, METH_VARARGS, NULL}
};


static pyqt4ClassPluginDef plugin_KBookmarkAction = {
    & ::KBookmarkAction::staticMetaObject,
    0,
    0
};


sipClassTypeDef sipTypeDef_kio_KBookmarkAction = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KBookmarkAction,
        {0},
        &plugin_KBookmarkAction
    },
    {
        sipNameNr_KBookmarkAction,
        {0, 0, 1},
        1, methods_KBookmarkAction,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KBookmarkAction,
    0,
    init_type_KBookmarkAction,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KBookmarkAction,
    0,
    0,
    0,
    release_KBookmarkAction,
    cast_KBookmarkAction,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 115 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kbookmarkmenu.sip"
#include <kbookmarkmenu.h>
#line 1969 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 1973 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 1976 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 1979 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 1982 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kmenu.sip"
#include <kmenu.h>
#line 1985 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 1988 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kaction.sip"
#include <kaction.h>
#line 1991 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 25 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kauthaction.sip"
#include <kauthaction.h>
#line 1994 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 1997 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2000 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2003 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2006 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 55 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kgesture.sip"
#include <kgesture.h>
#line 2009 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kaction.sip"
#include <kaction.h>
#line 2012 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kgesture.sip"
#include <kgesture.h>
#line 2015 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kshortcut.sip"
#include <kshortcut.h>
#line 2018 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 2021 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 2024 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 2027 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 182 "/usr/share/sip/PyQt4/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 2030 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 2033 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 2036 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2039 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 2042 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qactiongroup.sip"
#include <qactiongroup.h>
#line 2045 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2048 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2051 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 2054 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 2057 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 2060 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 2063 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 2066 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 2069 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"


class sipKBookmarkActionMenu : public  ::KBookmarkActionMenu
{
public:
    sipKBookmarkActionMenu(const  ::KBookmark&, ::QObject*);
    sipKBookmarkActionMenu(const  ::KBookmark&,const  ::QString&, ::QObject*);
    virtual ~sipKBookmarkActionMenu();

    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*);
     ::QWidget* createWidget( ::QWidget*);
    void deleteWidget( ::QWidget*);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[9];
};

sipKBookmarkActionMenu::sipKBookmarkActionMenu(const  ::KBookmark& a0, ::QObject*a1):  ::KBookmarkActionMenu(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKBookmarkActionMenu::sipKBookmarkActionMenu(const  ::KBookmark& a0,const  ::QString& a1, ::QObject*a2):  ::KBookmarkActionMenu(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipKBookmarkActionMenu::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KBookmarkActionMenu);
}

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

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

    return _id;
}

void *sipKBookmarkActionMenu::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast(sipPySelf, sipType_KBookmarkActionMenu, _clname)) ? this :  ::KBookmarkActionMenu::qt_metacast(_clname);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

 ::QWidget* sipKBookmarkActionMenu::createWidget( ::QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::KBookmarkActionMenu::createWidget(a0);

    extern  ::QWidget* sipVH_kio_109(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*);

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

void sipKBookmarkActionMenu::deleteWidget( ::QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KBookmarkActionMenu::deleteWidget(a0);
        return;
    }

    extern void sipVH_kio_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*);

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


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

    if (targetType == sipType_KActionMenu)
        return static_cast< ::KActionMenu *>(sipCpp);

    if (targetType == sipType_KAction)
        return static_cast< ::KAction *>(sipCpp);

    if (targetType == sipType_QWidgetAction)
        return static_cast< ::QWidgetAction *>(sipCpp);

    if (targetType == sipType_QAction)
        return static_cast< ::QAction *>(sipCpp);

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

    if (targetType == sipType_KBookmarkActionInterface)
        return static_cast< ::KBookmarkActionInterface *>(sipCpp);

    return sipCppV;
}


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

    Py_BEGIN_ALLOW_THREADS

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

    Py_END_ALLOW_THREADS
}


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

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


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

    {
        const  ::KBookmark* a0;
         ::QObject* a1;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9JH", sipType_KBookmark, &a0, sipType_QObject, &a1, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKBookmarkActionMenu(*a0,a1);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

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

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9J1JH", sipType_KBookmark, &a0, sipType_QString,&a1, &a1State, sipType_QObject, &a2, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKBookmarkActionMenu(*a0,*a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KBookmarkActionMenu[] = {{2, 7, 0}, {17, 255, 1}};


static pyqt4ClassPluginDef plugin_KBookmarkActionMenu = {
    & ::KBookmarkActionMenu::staticMetaObject,
    0,
    0
};


sipClassTypeDef sipTypeDef_kio_KBookmarkActionMenu = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KBookmarkActionMenu,
        {0},
        &plugin_KBookmarkActionMenu
    },
    {
        sipNameNr_KBookmarkActionMenu,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KBookmarkActionMenu,
    0,
    init_type_KBookmarkActionMenu,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KBookmarkActionMenu,
    0,
    0,
    0,
    release_KBookmarkActionMenu,
    cast_KBookmarkActionMenu,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 100 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kbookmarkmenu.sip"
#include <kbookmarkmenu.h>
#line 2461 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 2465 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"


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

    {
        const  ::KBookmarkActionInterface *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::KBookmark(sipCpp->bookmark());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    delete reinterpret_cast< ::KBookmarkActionInterface *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


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

    {
        const  ::KBookmark* a0;

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

            return sipCpp;
        }
    }

    {
        const  ::KBookmarkActionInterface* a0;

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

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_KBookmarkActionInterface[] = {
    {SIP_MLNAME_CAST(sipName_bookmark), meth_KBookmarkActionInterface_bookmark, METH_VARARGS, NULL}
};


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


sipClassTypeDef sipTypeDef_kio_KBookmarkActionInterface = {
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KBookmarkActionInterface,
        {0},
        &plugin_KBookmarkActionInterface
    },
    {
        sipNameNr_KBookmarkActionInterface,
        {0, 0, 1},
        1, methods_KBookmarkActionInterface,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_type_KBookmarkActionInterface,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KBookmarkActionInterface,
    0,
    0,
    0,
    release_KBookmarkActionInterface,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 68 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kbookmarkmenu.sip"
#include <kbookmarkmenu.h>
#line 2615 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 2619 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kbookmarkmanager.sip"
#include <kbookmarkmanager.h>
#line 2622 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 81 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kbookmarkmanager.sip"
#include <kbookmarkmanager.h>
#line 2625 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 2628 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2631 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 618 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2634 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 252 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2637 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2640 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2643 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kmenu.sip"
#include <kmenu.h>
#line 2646 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 2649 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qmenu.sip"
#include <qmenu.h>
#line 2652 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2655 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2658 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 2661 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 2664 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2667 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2670 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 854 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2673 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 524 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2676 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 347 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2679 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 1003 "/usr/share/sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 2682 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 2685 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 2688 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 2691 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 2694 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 2697 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 2700 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2703 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 2706 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2709 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2712 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 2715 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 2718 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 2721 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 2724 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 2727 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 2730 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 2733 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 2736 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 2739 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 2742 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 2745 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2748 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 2751 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 2754 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2757 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2760 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 739 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2763 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 792 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2766 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 765 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2769 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 781 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2772 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 403 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2775 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 561 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2778 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 548 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2781 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2784 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 2787 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 52 "/usr/share/sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 2790 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 2793 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 2796 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 2799 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2802 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 2805 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 2808 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 2811 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2814 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 2817 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 2820 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 2823 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 2826 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 2829 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"


class sipKBookmarkContextMenu : public  ::KBookmarkContextMenu
{
public:
    sipKBookmarkContextMenu(const  ::KBookmark&, ::KBookmarkManager*, ::KBookmarkOwner*, ::QWidget*);
    virtual ~sipKBookmarkContextMenu();

    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 addActions();
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
     ::QPaintEngine* paintEngine() const;
    int devType() const;
    void setVisible(bool);
     ::QSize sizeHint() const;
     ::QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    void mousePressEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void wheelEvent( ::QWheelEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void enterEvent( ::QEvent*);
    void leaveEvent( ::QEvent*);
    void paintEvent( ::QPaintEvent*);
    void moveEvent( ::QMoveEvent*);
    void resizeEvent( ::QResizeEvent*);
    void closeEvent( ::QCloseEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void tabletEvent( ::QTabletEvent*);
    void actionEvent( ::QActionEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dropEvent( ::QDropEvent*);
    void showEvent( ::QShowEvent*);
    void hideEvent( ::QHideEvent*);
    void changeEvent( ::QEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    void enabledChange(bool);
    void paletteChange(const  ::QPalette&);
    void fontChange(const  ::QFont&);
    void windowActivationChange(bool);
    void languageChange();

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[48];
};

sipKBookmarkContextMenu::sipKBookmarkContextMenu(const  ::KBookmark& a0, ::KBookmarkManager*a1, ::KBookmarkOwner*a2, ::QWidget*a3):  ::KBookmarkContextMenu(a0,a1,a2,a3), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipKBookmarkContextMenu::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KBookmarkContextMenu);
}

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

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

    return _id;
}

void *sipKBookmarkContextMenu::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast(sipPySelf, sipType_KBookmarkContextMenu, _clname)) ? this :  ::KBookmarkContextMenu::qt_metacast(_clname);
}

void sipKBookmarkContextMenu::addActions()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KBookmarkContextMenu::addActions();
        return;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

int sipKBookmarkContextMenu::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::KBookmarkContextMenu::metric(a0);

    extern int sipVH_kio_99(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

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

 ::QPaintEngine* sipKBookmarkContextMenu::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::KBookmarkContextMenu::paintEngine();

    extern  ::QPaintEngine* sipVH_kio_98(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_98(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKBookmarkContextMenu::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::KBookmarkContextMenu::devType();

    extern int sipVH_kio_97(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_97(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKBookmarkContextMenu::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KBookmarkContextMenu::setVisible(a0);
        return;
    }

    extern void sipVH_kio_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

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

 ::QSize sipKBookmarkContextMenu::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::KBookmarkContextMenu::sizeHint();

    extern  ::QSize sipVH_kio_96(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_96(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QSize sipKBookmarkContextMenu::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::KBookmarkContextMenu::minimumSizeHint();

    extern  ::QSize sipVH_kio_96(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_96(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKBookmarkContextMenu::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::KBookmarkContextMenu::heightForWidth(a0);

    extern int sipVH_kio_95(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

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

void sipKBookmarkContextMenu::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KBookmarkContextMenu::mousePressEvent(a0);
        return;
    }

    extern void sipVH_kio_94(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

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

void sipKBookmarkContextMenu::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KBookmarkContextMenu::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_kio_94(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

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

void sipKBookmarkContextMenu::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KBookmarkContextMenu::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_kio_94(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

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

void sipKBookmarkContextMenu::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KBookmarkContextMenu::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_kio_94(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

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

void sipKBookmarkContextMenu::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KBookmarkContextMenu::wheelEvent(a0);
        return;
    }

    extern void sipVH_kio_93(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

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

void sipKBookmarkContextMenu::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KBookmarkContextMenu::keyPressEvent(a0);
        return;
    }

    extern void sipVH_kio_92(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

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

void sipKBookmarkContextMenu::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KBookmarkContextMenu::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_kio_92(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

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

void sipKBookmarkContextMenu::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KBookmarkContextMenu::focusInEvent(a0);
        return;
    }

    extern void sipVH_kio_91(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

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

void sipKBookmarkContextMenu::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KBookmarkContextMenu::focusOutEvent(a0);
        return;
    }

    extern void sipVH_kio_91(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

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

void sipKBookmarkContextMenu::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KBookmarkContextMenu::enterEvent(a0);
        return;
    }

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

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

void sipKBookmarkContextMenu::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KBookmarkContextMenu::leaveEvent(a0);
        return;
    }

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

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

void sipKBookmarkContextMenu::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KBookmarkContextMenu::paintEvent(a0);
        return;
    }

    extern void sipVH_kio_90(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

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

void sipKBookmarkContextMenu::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KBookmarkContextMenu::moveEvent(a0);
        return;
    }

    extern void sipVH_kio_89(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

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

void sipKBookmarkContextMenu::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KBookmarkContextMenu::resizeEvent(a0);
        return;
    }

    extern void sipVH_kio_88(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

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

void sipKBookmarkContextMenu::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KBookmarkContextMenu::closeEvent(a0);
        return;
    }

    extern void sipVH_kio_87(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

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

void sipKBookmarkContextMenu::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KBookmarkContextMenu::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_kio_86(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

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

void sipKBookmarkContextMenu::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KBookmarkContextMenu::tabletEvent(a0);
        return;
    }

    extern void sipVH_kio_85(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

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

void sipKBookmarkContextMenu::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KBookmarkContextMenu::actionEvent(a0);
        return;
    }

    extern void sipVH_kio_84(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

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

void sipKBookmarkContextMenu::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KBookmarkContextMenu::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_kio_83(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

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

void sipKBookmarkContextMenu::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KBookmarkContextMenu::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_kio_82(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

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

void sipKBookmarkContextMenu::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KBookmarkContextMenu::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_kio_81(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

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

void sipKBookmarkContextMenu::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KBookmarkContextMenu::dropEvent(a0);
        return;
    }

    extern void sipVH_kio_80(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

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

void sipKBookmarkContextMenu::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KBookmarkContextMenu::showEvent(a0);
        return;
    }

    extern void sipVH_kio_79(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

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

void sipKBookmarkContextMenu::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::KBookmarkContextMenu::hideEvent(a0);
        return;
    }

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

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

void sipKBookmarkContextMenu::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::KBookmarkContextMenu::changeEvent(a0);
        return;
    }

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

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

void sipKBookmarkContextMenu::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::KBookmarkContextMenu::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_kio_77(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

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

 ::QVariant sipKBookmarkContextMenu::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::KBookmarkContextMenu::inputMethodQuery(a0);

    extern  ::QVariant sipVH_kio_76(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

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

bool sipKBookmarkContextMenu::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::KBookmarkContextMenu::focusNextPrevChild(a0);

    extern bool sipVH_kio_75(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

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

void sipKBookmarkContextMenu::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
         ::KBookmarkContextMenu::enabledChange(a0);
        return;
    }

    extern void sipVH_kio_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

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

void sipKBookmarkContextMenu::paletteChange(const  ::QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
         ::KBookmarkContextMenu::paletteChange(a0);
        return;
    }

    extern void sipVH_kio_74(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPalette&);

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

void sipKBookmarkContextMenu::fontChange(const  ::QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
         ::KBookmarkContextMenu::fontChange(a0);
        return;
    }

    extern void sipVH_kio_73(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QFont&);

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

void sipKBookmarkContextMenu::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
         ::KBookmarkContextMenu::windowActivationChange(a0);
        return;
    }

    extern void sipVH_kio_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

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

void sipKBookmarkContextMenu::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
         ::KBookmarkContextMenu::languageChange();
        return;
    }

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

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


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

    {
         ::KBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KBookmarkContextMenu, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KBookmarkContextMenu::addActions() : sipCpp->addActions());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::KBookmarkContextMenu *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::KBookmarkContextMenu *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::KBookmarkContextMenu *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::KBookmarkContextMenu *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::KBookmarkContextMenu *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::KBookmarkContextMenu *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::KBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KBookmarkContextMenu, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addBookmark();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::KBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KBookmarkContextMenu, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addFolderActions();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::KBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KBookmarkContextMenu, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addProperties();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::KBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KBookmarkContextMenu, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addBookmarkActions();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::KBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KBookmarkContextMenu, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addOpenFolderInTabs();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const  ::KBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KBookmarkContextMenu, &sipCpp))
        {
             ::KBookmarkManager*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->manager();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const  ::KBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KBookmarkContextMenu, &sipCpp))
        {
             ::KBookmarkOwner*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->owner();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const  ::KBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KBookmarkContextMenu, &sipCpp))
        {
             ::KBookmark*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::KBookmark(sipCpp->bookmark());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    if (targetType == sipType_KMenu)
        return static_cast< ::KMenu *>(sipCpp);

    if (targetType == sipType_QMenu)
        return static_cast< ::QMenu *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

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

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


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

    Py_BEGIN_ALLOW_THREADS

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

    Py_END_ALLOW_THREADS
}


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

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


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

    {
        const  ::KBookmark* a0;
         ::KBookmarkManager* a1;
         ::KBookmarkOwner* a2;
         ::QWidget* a3 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9J8J8|JH", sipType_KBookmark, &a0, sipType_KBookmarkManager, &a1, sipType_KBookmarkOwner, &a2, sipType_QWidget, &a3, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKBookmarkContextMenu(*a0,a1,a2,a3);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KBookmarkContextMenu[] = {{20, 7, 1}};


static PyMethodDef methods_KBookmarkContextMenu[] = {
    {SIP_MLNAME_CAST(sipName_addActions), meth_KBookmarkContextMenu_addActions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addBookmark), meth_KBookmarkContextMenu_addBookmark, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addBookmarkActions), meth_KBookmarkContextMenu_addBookmarkActions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addFolderActions), meth_KBookmarkContextMenu_addFolderActions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addOpenFolderInTabs), meth_KBookmarkContextMenu_addOpenFolderInTabs, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addProperties), meth_KBookmarkContextMenu_addProperties, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_bookmark), meth_KBookmarkContextMenu_bookmark, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_manager), meth_KBookmarkContextMenu_manager, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_owner), meth_KBookmarkContextMenu_owner, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotCopyLocation), meth_KBookmarkContextMenu_slotCopyLocation, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotEditAt), meth_KBookmarkContextMenu_slotEditAt, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotInsert), meth_KBookmarkContextMenu_slotInsert, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotOpenFolderInTabs), meth_KBookmarkContextMenu_slotOpenFolderInTabs, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotProperties), meth_KBookmarkContextMenu_slotProperties, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotRemove), meth_KBookmarkContextMenu_slotRemove, METH_VARARGS, NULL}
};


static pyqt4ClassPluginDef plugin_KBookmarkContextMenu = {
    & ::KBookmarkContextMenu::staticMetaObject,
    0,
    0
};


sipClassTypeDef sipTypeDef_kio_KBookmarkContextMenu = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KBookmarkContextMenu,
        {0},
        &plugin_KBookmarkContextMenu
    },
    {
        sipNameNr_KBookmarkContextMenu,
        {0, 0, 1},
        15, methods_KBookmarkContextMenu,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KBookmarkContextMenu,
    0,
    init_type_KBookmarkContextMenu,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KBookmarkContextMenu,
    0,
    0,
    0,
    release_KBookmarkContextMenu,
    cast_KBookmarkContextMenu,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kbookmarkmenu.sip"
#include <kbookmarkmenu.h>
#line 4328 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kbookmarkmanager.sip"
#include <kbookmarkmanager.h>
#line 4332 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 81 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kbookmarkmanager.sip"
#include <kbookmarkmanager.h>
#line 4335 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kmenu.sip"
#include <kmenu.h>
#line 4338 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kactioncollection.sip"
#include <kactioncollection.h>
#line 4341 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 4344 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 4347 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 4350 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4353 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4356 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4359 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 4362 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 4365 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 4368 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 4371 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 4374 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 4377 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 4380 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 4383 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 4386 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"


class sipKBookmarkMenu : public  ::KBookmarkMenu
{
public:
    sipKBookmarkMenu( ::KBookmarkManager*, ::KBookmarkOwner*, ::KMenu*, ::KActionCollection*);
    sipKBookmarkMenu( ::KBookmarkManager*, ::KBookmarkOwner*, ::KMenu*,const  ::QString&);
    virtual ~sipKBookmarkMenu();

    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:
     ::KMenu* contextMenu( ::QAction*);
     ::QAction* actionForBookmark(const  ::KBookmark&);
    void refill();
    void clear();
    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:
    sipKBookmarkMenu(const sipKBookmarkMenu &);
    sipKBookmarkMenu &operator = (const sipKBookmarkMenu &);

    char sipPyMethods[11];
};

sipKBookmarkMenu::sipKBookmarkMenu( ::KBookmarkManager*a0, ::KBookmarkOwner*a1, ::KMenu*a2, ::KActionCollection*a3):  ::KBookmarkMenu(a0,a1,a2,a3), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKBookmarkMenu::sipKBookmarkMenu( ::KBookmarkManager*a0, ::KBookmarkOwner*a1, ::KMenu*a2,const  ::QString& a3):  ::KBookmarkMenu(a0,a1,a2,a3), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipKBookmarkMenu::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KBookmarkMenu);
}

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

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

    return _id;
}

void *sipKBookmarkMenu::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast(sipPySelf, sipType_KBookmarkMenu, _clname)) ? this :  ::KBookmarkMenu::qt_metacast(_clname);
}

 ::KMenu* sipKBookmarkMenu::contextMenu( ::QAction*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::KBookmarkMenu::contextMenu(a0);

    extern  ::KMenu* sipVH_kio_108(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QAction*);

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

 ::QAction* sipKBookmarkMenu::actionForBookmark(const  ::KBookmark& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::KBookmarkMenu::actionForBookmark(a0);

    extern  ::QAction* sipVH_kio_107(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::KBookmark&);

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

void sipKBookmarkMenu::refill()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KBookmarkMenu::refill();
        return;
    }

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

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

void sipKBookmarkMenu::clear()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KBookmarkMenu::clear();
        return;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

    {
         ::KBookmarkMenu *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KBookmarkMenu, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->slotBookmarksChanged(*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_KBookmarkMenu, sipName_slotBookmarksChanged, NULL);

    return NULL;
}


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

    {
         ::KBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KBookmarkMenu, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->slotAboutToShow();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::KBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KBookmarkMenu, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->slotAddBookmarksList();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::KBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KBookmarkMenu, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->slotAddBookmark();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::KBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KBookmarkMenu, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->slotNewFolder();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::KBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KBookmarkMenu, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->slotOpenFolderInTabs();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::KBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KBookmarkMenu, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KBookmarkMenu::clear() : sipCpp->clear());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::KBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KBookmarkMenu, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KBookmarkMenu::refill() : sipCpp->refill());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const  ::KBookmark* a0;
         ::KBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9", &sipSelf, sipType_KBookmarkMenu, &sipCpp, sipType_KBookmark, &a0))
        {
             ::QAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp-> ::KBookmarkMenu::actionForBookmark(*a0) : sipCpp->actionForBookmark(*a0));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
         ::QAction* a0;
         ::KBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KBookmarkMenu, &sipCpp, sipType_QAction, &a0))
        {
             ::KMenu*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp-> ::KBookmarkMenu::contextMenu(a0) : sipCpp->contextMenu(a0));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
         ::KBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KBookmarkMenu, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addActions();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::KBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KBookmarkMenu, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->fillBookmarks();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::KBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KBookmarkMenu, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addAddBookmark();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::KBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KBookmarkMenu, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addAddBookmarksList();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::KBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KBookmarkMenu, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addEditBookmarks();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::KBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KBookmarkMenu, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addNewFolder();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::KBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KBookmarkMenu, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addOpenInTabs();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const  ::KBookmarkMenu *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isRoot();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const  ::KBookmarkMenu *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isDirty();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const  ::KBookmarkMenu *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        const  ::KBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KBookmarkMenu, &sipCpp))
        {
             ::KBookmarkManager*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->manager();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const  ::KBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KBookmarkMenu, &sipCpp))
        {
             ::KBookmarkOwner*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->owner();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const  ::KBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KBookmarkMenu, &sipCpp))
        {
             ::KMenu*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->parentMenu();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

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

    return sipCppV;
}


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

    Py_BEGIN_ALLOW_THREADS

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

    Py_END_ALLOW_THREADS
}


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

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


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

    {
         ::KBookmarkManager* a0;
         ::KBookmarkOwner* a1;
         ::KMenu* a2;
         ::KActionCollection* a3;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8J8J8J8", sipType_KBookmarkManager, &a0, sipType_KBookmarkOwner, &a1, sipType_KMenu, &a2, sipType_KActionCollection, &a3))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKBookmarkMenu(a0,a1,a2,a3);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
         ::KBookmarkManager* a0;
         ::KBookmarkOwner* a1;
         ::KMenu* a2;
        const  ::QString* a3;
        int a3State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8J8J8J1", sipType_KBookmarkManager, &a0, sipType_KBookmarkOwner, &a1, sipType_KMenu, &a2, sipType_QString,&a3, &a3State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKBookmarkMenu(a0,a1,a2,*a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a3),sipType_QString,a3State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_KBookmarkMenu[] = {
    {SIP_MLNAME_CAST(sipName_actionForBookmark), meth_KBookmarkMenu_actionForBookmark, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addActions), meth_KBookmarkMenu_addActions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addAddBookmark), meth_KBookmarkMenu_addAddBookmark, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addAddBookmarksList), meth_KBookmarkMenu_addAddBookmarksList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addEditBookmarks), meth_KBookmarkMenu_addEditBookmarks, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addNewFolder), meth_KBookmarkMenu_addNewFolder, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addOpenInTabs), meth_KBookmarkMenu_addOpenInTabs, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_clear), meth_KBookmarkMenu_clear, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenu), meth_KBookmarkMenu_contextMenu, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_ensureUpToDate), meth_KBookmarkMenu_ensureUpToDate, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fillBookmarks), meth_KBookmarkMenu_fillBookmarks, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isDirty), meth_KBookmarkMenu_isDirty, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isRoot), meth_KBookmarkMenu_isRoot, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_manager), meth_KBookmarkMenu_manager, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_owner), meth_KBookmarkMenu_owner, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_parentAddress), meth_KBookmarkMenu_parentAddress, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_parentMenu), meth_KBookmarkMenu_parentMenu, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_refill), meth_KBookmarkMenu_refill, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotAboutToShow), meth_KBookmarkMenu_slotAboutToShow, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotAddBookmark), meth_KBookmarkMenu_slotAddBookmark, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotAddBookmarksList), meth_KBookmarkMenu_slotAddBookmarksList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotBookmarksChanged), meth_KBookmarkMenu_slotBookmarksChanged, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotNewFolder), meth_KBookmarkMenu_slotNewFolder, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotOpenFolderInTabs), meth_KBookmarkMenu_slotOpenFolderInTabs, METH_VARARGS, NULL}
};


static pyqt4ClassPluginDef plugin_KBookmarkMenu = {
    & ::KBookmarkMenu::staticMetaObject,
    0,
    0
};


sipClassTypeDef sipTypeDef_kio_KBookmarkMenu = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KBookmarkMenu,
        {0},
        &plugin_KBookmarkMenu
    },
    {
        sipNameNr_KBookmarkMenu,
        {0, 0, 1},
        24, methods_KBookmarkMenu,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KBookmarkMenu,
    0,
    init_type_KBookmarkMenu,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KBookmarkMenu,
    0,
    0,
    0,
    release_KBookmarkMenu,
    cast_KBookmarkMenu,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 81 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kbookmarkmanager.sip"
#include <kbookmarkmanager.h>
#line 5470 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"

#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kbookmarkdialog.sip"
#include <kbookmarkdialog.h>
#line 5474 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kbookmarkmanager.sip"
#include <kbookmarkmanager.h>
#line 5477 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 5480 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 100 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 5483 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 5486 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 5489 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 5492 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 196 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 5496 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 68 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 5499 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 5502 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"


class sipKBookmarkOwner : public  ::KBookmarkOwner
{
public:
    sipKBookmarkOwner();
    sipKBookmarkOwner(const  ::KBookmarkOwner&);
    virtual ~sipKBookmarkOwner();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
     ::KBookmarkDialog* bookmarkDialog( ::KBookmarkManager*, ::QWidget*);
    void openFolderinTabs(const  ::KBookmarkGroup&);
    void openBookmark(const  ::KBookmark&, ::Qt::MouseButtons, ::Qt::KeyboardModifiers);
    bool enableOption( ::KBookmarkOwner::BookmarkOption) const;
    QList<QPair<QString,QString> > currentBookmarkList() const;
    bool supportsTabs() const;
     ::QString currentUrl() const;
     ::QString currentTitle() const;

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[8];
};

sipKBookmarkOwner::sipKBookmarkOwner():  ::KBookmarkOwner(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKBookmarkOwner::sipKBookmarkOwner(const  ::KBookmarkOwner& a0):  ::KBookmarkOwner(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

 ::KBookmarkDialog* sipKBookmarkOwner::bookmarkDialog( ::KBookmarkManager*a0, ::QWidget*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::KBookmarkOwner::bookmarkDialog(a0,a1);

    extern  ::KBookmarkDialog* sipVH_kio_106(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::KBookmarkManager*, ::QWidget*);

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

void sipKBookmarkOwner::openFolderinTabs(const  ::KBookmarkGroup& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KBookmarkOwner::openFolderinTabs(a0);
        return;
    }

    extern void sipVH_kio_70(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::KBookmarkGroup&);

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

void sipKBookmarkOwner::openBookmark(const  ::KBookmark& a0, ::Qt::MouseButtons a1, ::Qt::KeyboardModifiers a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,sipName_KBookmarkOwner,sipName_openBookmark);

    if (!sipMeth)
        return;

    extern void sipVH_kio_105(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::KBookmark&, ::Qt::MouseButtons, ::Qt::KeyboardModifiers);

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

bool sipKBookmarkOwner::enableOption( ::KBookmarkOwner::BookmarkOption a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::KBookmarkOwner::enableOption(a0);

    extern bool sipVH_kio_104(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::KBookmarkOwner::BookmarkOption);

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

QList<QPair<QString,QString> > sipKBookmarkOwner::currentBookmarkList() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::KBookmarkOwner::currentBookmarkList();

    extern QList<QPair<QString,QString> > sipVH_kio_103(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_103(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipKBookmarkOwner::supportsTabs() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::KBookmarkOwner::supportsTabs();

    extern bool sipVH_kio_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_10(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QString sipKBookmarkOwner::currentUrl() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::KBookmarkOwner::currentUrl();

    extern  ::QString sipVH_kio_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_11(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QString sipKBookmarkOwner::currentTitle() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::KBookmarkOwner::currentTitle();

    extern  ::QString sipVH_kio_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_11(sipGILState, 0, sipPySelf, sipMeth);
}


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

    {
        const  ::KBookmarkOwner *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QString((sipSelfWasArg ? sipCpp-> ::KBookmarkOwner::currentTitle() : sipCpp->currentTitle()));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const  ::KBookmarkOwner *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QString((sipSelfWasArg ? sipCpp-> ::KBookmarkOwner::currentUrl() : sipCpp->currentUrl()));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const  ::KBookmarkOwner *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp-> ::KBookmarkOwner::supportsTabs() : sipCpp->supportsTabs());
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const  ::KBookmarkOwner *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KBookmarkOwner, &sipCpp))
        {
            QList<QPair<QString,QString> >*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<QPair<QString,QString> >((sipSelfWasArg ? sipCpp-> ::KBookmarkOwner::currentBookmarkList() : sipCpp->currentBookmarkList()));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
         ::KBookmarkOwner::BookmarkOption a0;
        const  ::KBookmarkOwner *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KBookmarkOwner, &sipCpp, sipType_KBookmarkOwner_BookmarkOption, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp-> ::KBookmarkOwner::enableOption(a0) : sipCpp->enableOption(a0));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const  ::KBookmark* a0;
         ::Qt::MouseButtons* a1;
        int a1State = 0;
         ::Qt::KeyboardModifiers* a2;
        int a2State = 0;
         ::KBookmarkOwner *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J1J1", &sipSelf, sipType_KBookmarkOwner, &sipCpp, sipType_KBookmark, &a0, sipType_Qt_MouseButtons, &a1, &a1State, sipType_Qt_KeyboardModifiers, &a2, &a2State))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KBookmarkOwner, sipName_openBookmark);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->openBookmark(*a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(a1,sipType_Qt_MouseButtons,a1State);
            sipReleaseType(a2,sipType_Qt_KeyboardModifiers,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const  ::KBookmarkGroup* a0;
         ::KBookmarkOwner *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KBookmarkOwner, &sipCpp, sipType_KBookmarkGroup, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KBookmarkOwner::openFolderinTabs(*a0) : sipCpp->openFolderinTabs(*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_KBookmarkOwner, sipName_openFolderinTabs, NULL);

    return NULL;
}


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

    {
         ::KBookmarkManager* a0;
         ::QWidget* a1;
         ::KBookmarkOwner *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J:", &sipSelf, sipType_KBookmarkOwner, &sipCpp, sipType_KBookmarkManager, &a0, sipType_QWidget, &a1))
        {
             ::KBookmarkDialog*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp-> ::KBookmarkOwner::bookmarkDialog(a0,a1) : sipCpp->bookmarkDialog(a0,a1));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKBookmarkOwner *>(sipCppV);
    else
        delete reinterpret_cast< ::KBookmarkOwner *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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

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


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

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const  ::KBookmarkOwner* a0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_KBookmarkOwner[] = {
    {SIP_MLNAME_CAST(sipName_bookmarkDialog), meth_KBookmarkOwner_bookmarkDialog, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_currentBookmarkList), meth_KBookmarkOwner_currentBookmarkList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_currentTitle), meth_KBookmarkOwner_currentTitle, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_currentUrl), meth_KBookmarkOwner_currentUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enableOption), meth_KBookmarkOwner_enableOption, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_openBookmark), meth_KBookmarkOwner_openBookmark, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_openFolderinTabs), meth_KBookmarkOwner_openFolderinTabs, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_supportsTabs), meth_KBookmarkOwner_supportsTabs, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KBookmarkOwner[] = {
    {sipName_ShowAddBookmark, static_cast<int>( ::KBookmarkOwner::ShowAddBookmark), 30},
    {sipName_ShowEditBookmark, static_cast<int>( ::KBookmarkOwner::ShowEditBookmark), 30},
};


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


sipClassTypeDef sipTypeDef_kio_KBookmarkOwner = {
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KBookmarkOwner,
        {0},
        &plugin_KBookmarkOwner
    },
    {
        sipNameNr_KBookmarkOwner,
        {0, 0, 1},
        8, methods_KBookmarkOwner,
        2, enummembers_KBookmarkOwner,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_type_KBookmarkOwner,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KBookmarkOwner,
    0,
    0,
    0,
    release_KBookmarkOwner,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kbookmarkmanager.sip"
#include <kbookmarkmanager.h>
#line 6054 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"

#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 6058 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 6061 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 207 "/usr/share/sip/PyQt4/QtXml/qdom.sip"
#include <qdom.h>
#line 6064 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 100 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 6067 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 6070 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6073 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6076 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6079 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 6082 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 6085 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 6088 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 6091 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 6094 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 6097 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 6100 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 6103 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 6106 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"


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

    {
        bool a0;
         ::KBookmarkManager *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KBookmarkManager, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setUpdate(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_KBookmarkManager, sipName_setUpdate, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|b", &sipSelf, sipType_KBookmarkManager, &sipCpp, sipType_QString,&a0, &a0State, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->saveAs(*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_KBookmarkManager, sipName_saveAs, NULL);

    return NULL;
}


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

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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->updateAccessMetadata(*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_KBookmarkManager, sipName_updateAccessMetadata, NULL);

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const  ::KBookmarkManager *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        const  ::KBookmarkManager *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::KBookmarkGroup(sipCpp->root());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
         ::KBookmarkManager *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::KBookmarkGroup(sipCpp->toolbar());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KBookmarkManager, &sipCpp, sipType_QString,&a0, &a0State))
        {
             ::KBookmark*sipRes;

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

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

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

    return NULL;
}


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

    {
         ::KBookmarkManager *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const  ::KBookmarkGroup* a0;
         ::KBookmarkManager *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KBookmarkManager, &sipCpp, sipType_KBookmarkGroup, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->emitChanged(*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_KBookmarkManager, sipName_emitChanged, NULL);

    return NULL;
}


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

    {
        bool a0 = 1;
        const  ::KBookmarkManager *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|b", &sipSelf, sipType_KBookmarkManager, &sipCpp, &a0))
        {
            bool sipRes;

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
         ::KBookmarkManager *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "J1J1", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
             ::KBookmarkManager*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::KBookmarkManager::managerForFile(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);

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

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

    return NULL;
}


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

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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::KBookmarkManager::managerForExternalFile(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

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

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

    return NULL;
}


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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::KBookmarkManager::createTempManager();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::KBookmarkManager::userBookmarksManager();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const  ::KBookmarkManager *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QDomDocument(sipCpp->internalDocument());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
         ::KBookmarkManager *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KBookmarkManager, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->slotEditBookmarksAtAddress(*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_KBookmarkManager, sipName_slotEditBookmarksAtAddress, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KBookmarkManager, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->notifyCompleteChange(*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_KBookmarkManager, sipName_notifyCompleteChange, NULL);

    return NULL;
}


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

    {
         ::KBookmarkManager *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const  ::KBookmarkManager *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->autoErrorHandlingEnabled();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
         ::QWidget* a1;
         ::KBookmarkManager *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BbJ:", &sipSelf, sipType_KBookmarkManager, &sipCpp, &a0, sipType_QWidget, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAutoErrorHandlingEnabled(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

    return sipCppV;
}


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

    Py_BEGIN_ALLOW_THREADS

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

    Py_END_ALLOW_THREADS
}


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


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


static PyMethodDef methods_KBookmarkManager[] = {
    {SIP_MLNAME_CAST(sipName_autoErrorHandlingEnabled), meth_KBookmarkManager_autoErrorHandlingEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_createTempManager), meth_KBookmarkManager_createTempManager, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_emitChanged), meth_KBookmarkManager_emitChanged, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_emitConfigChanged), meth_KBookmarkManager_emitConfigChanged, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_findByAddress), meth_KBookmarkManager_findByAddress, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_internalDocument), meth_KBookmarkManager_internalDocument, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_managerForExternalFile), meth_KBookmarkManager_managerForExternalFile, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_managerForFile), meth_KBookmarkManager_managerForFile, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_notifyCompleteChange), meth_KBookmarkManager_notifyCompleteChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_notifyConfigChanged), meth_KBookmarkManager_notifyConfigChanged, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_path), meth_KBookmarkManager_path, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_root), meth_KBookmarkManager_root, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_save), meth_KBookmarkManager_save, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_saveAs), meth_KBookmarkManager_saveAs, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAutoErrorHandlingEnabled), meth_KBookmarkManager_setAutoErrorHandlingEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setEditorOptions), meth_KBookmarkManager_setEditorOptions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setUpdate), meth_KBookmarkManager_setUpdate, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotEditBookmarks), meth_KBookmarkManager_slotEditBookmarks, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotEditBookmarksAtAddress), meth_KBookmarkManager_slotEditBookmarksAtAddress, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toolbar), meth_KBookmarkManager_toolbar, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateAccessMetadata), meth_KBookmarkManager_updateAccessMetadata, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateFavicon), meth_KBookmarkManager_updateFavicon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_userBookmarksManager), meth_KBookmarkManager_userBookmarksManager, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KBookmarkManager[] = {
    {"error(QString)", 0, 0, 0},
    {"configChanged()", 0, 0, 0},
    {"changed(QString,QString)", 0, 0, 0},
    {"bookmarkConfigChanged()", 0, 0, 0},
    {"bookmarksChanged(QString)", 0, 0, 0},
    {"bookmarkCompleteChange(QString)", 0, 0, 0},
    {0, 0, 0, 0}
};


static pyqt4ClassPluginDef plugin_KBookmarkManager = {
    & ::KBookmarkManager::staticMetaObject,
    0,
    signals_KBookmarkManager
};


sipClassTypeDef sipTypeDef_kio_KBookmarkManager = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KBookmarkManager,
        {0},
        &plugin_KBookmarkManager
    },
    {
        sipNameNr_KBookmarkManager,
        {0, 0, 1},
        23, methods_KBookmarkManager,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KBookmarkManager,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KBookmarkManager,
    0,
    0,
    0,
    release_KBookmarkManager,
    cast_KBookmarkManager,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 41 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kbookmarkimporter_opera.sip"
#include <kbookmarkimporter_opera.h>
#line 6909 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kbookmarkmanager.sip"
#include <kbookmarkmanager.h>
#line 6913 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 6916 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 100 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 6919 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"


class sipKOperaBookmarkExporterImpl : public  ::KOperaBookmarkExporterImpl
{
public:
    sipKOperaBookmarkExporterImpl( ::KBookmarkManager*,const  ::QString&);
    sipKOperaBookmarkExporterImpl(const  ::KOperaBookmarkExporterImpl&);
    virtual ~sipKOperaBookmarkExporterImpl();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void write(const  ::KBookmarkGroup&);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[1];
};

sipKOperaBookmarkExporterImpl::sipKOperaBookmarkExporterImpl( ::KBookmarkManager*a0,const  ::QString& a1):  ::KOperaBookmarkExporterImpl(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKOperaBookmarkExporterImpl::sipKOperaBookmarkExporterImpl(const  ::KOperaBookmarkExporterImpl& a0):  ::KOperaBookmarkExporterImpl(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

void sipKOperaBookmarkExporterImpl::write(const  ::KBookmarkGroup& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    extern void sipVH_kio_70(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::KBookmarkGroup&);

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


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

    {
        const  ::KBookmarkGroup* a0;
         ::KOperaBookmarkExporterImpl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ;", &sipSelf, sipType_KOperaBookmarkExporterImpl, &sipCpp, sipType_KBookmarkGroup, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KOperaBookmarkExporterImpl::write(*a0) : sipCpp->write(*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_KOperaBookmarkExporterImpl, sipName_write, NULL);

    return NULL;
}


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

    if (targetType == sipType_KBookmarkExporterBase)
        return static_cast< ::KBookmarkExporterBase *>(sipCpp);

    return sipCppV;
}


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

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKOperaBookmarkExporterImpl *>(sipCppV);
    else
        delete reinterpret_cast< ::KOperaBookmarkExporterImpl *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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

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


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

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

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const  ::KOperaBookmarkExporterImpl* a0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_KOperaBookmarkExporterImpl[] = {
    {SIP_MLNAME_CAST(sipName_write), meth_KOperaBookmarkExporterImpl_write, METH_VARARGS, NULL}
};


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


sipClassTypeDef sipTypeDef_kio_KOperaBookmarkExporterImpl = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KOperaBookmarkExporterImpl,
        {0},
        &plugin_KOperaBookmarkExporterImpl
    },
    {
        sipNameNr_KOperaBookmarkExporterImpl,
        {0, 0, 1},
        1, methods_KOperaBookmarkExporterImpl,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KOperaBookmarkExporterImpl,
    0,
    init_type_KOperaBookmarkExporterImpl,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KOperaBookmarkExporterImpl,
    0,
    0,
    0,
    release_KOperaBookmarkExporterImpl,
    cast_KOperaBookmarkExporterImpl,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kbookmarkimporter_opera.sip"
#include <kbookmarkimporter_opera.h>
#line 7158 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"

#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 7162 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kbookmarkimporter.sip"
#include <kbookmarkimporter.h>
#line 7165 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 7168 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7171 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7174 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7177 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 7180 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 7183 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 7186 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7189 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 7192 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 7195 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 7198 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 7201 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"


class sipKOperaBookmarkImporterImpl : public  ::KOperaBookmarkImporterImpl
{
public:
    sipKOperaBookmarkImporterImpl();
    virtual ~sipKOperaBookmarkImporterImpl();

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

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[9];
};

sipKOperaBookmarkImporterImpl::sipKOperaBookmarkImporterImpl():  ::KOperaBookmarkImporterImpl(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipKOperaBookmarkImporterImpl::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KOperaBookmarkImporterImpl);
}

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

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

    return _id;
}

void *sipKOperaBookmarkImporterImpl::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast(sipPySelf, sipType_KOperaBookmarkImporterImpl, _clname)) ? this :  ::KOperaBookmarkImporterImpl::qt_metacast(_clname);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

void sipKOperaBookmarkImporterImpl::parse()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KOperaBookmarkImporterImpl::parse();
        return;
    }

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

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

 ::QString sipKOperaBookmarkImporterImpl::findDefaultLocation(bool a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::KOperaBookmarkImporterImpl::findDefaultLocation(a0);

    extern  ::QString sipVH_kio_102(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

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


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

    {
         ::KOperaBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KOperaBookmarkImporterImpl, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KOperaBookmarkImporterImpl::parse() : sipCpp->parse());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        bool a0 = 0;
        const  ::KOperaBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|b", &sipSelf, sipType_KOperaBookmarkImporterImpl, &sipCpp, &a0))
        {
             ::QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QString((sipSelfWasArg ? sipCpp-> ::KOperaBookmarkImporterImpl::findDefaultLocation(a0) : sipCpp->findDefaultLocation(a0)));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    if (targetType == sipType_KBookmarkImporterBase)
        return static_cast< ::KBookmarkImporterBase *>(sipCpp);

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

    return sipCppV;
}


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

    Py_BEGIN_ALLOW_THREADS

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

    Py_END_ALLOW_THREADS
}


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

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


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

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_KOperaBookmarkImporterImpl[] = {
    {SIP_MLNAME_CAST(sipName_findDefaultLocation), meth_KOperaBookmarkImporterImpl_findDefaultLocation, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_parse), meth_KOperaBookmarkImporterImpl_parse, METH_VARARGS, NULL}
};


static pyqt4ClassPluginDef plugin_KOperaBookmarkImporterImpl = {
    & ::KOperaBookmarkImporterImpl::staticMetaObject,
    0,
    0
};


sipClassTypeDef sipTypeDef_kio_KOperaBookmarkImporterImpl = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KOperaBookmarkImporterImpl,
        {0},
        &plugin_KOperaBookmarkImporterImpl
    },
    {
        sipNameNr_KOperaBookmarkImporterImpl,
        {0, 0, 1},
        2, methods_KOperaBookmarkImporterImpl,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KOperaBookmarkImporterImpl,
    0,
    init_type_KOperaBookmarkImporterImpl,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KOperaBookmarkImporterImpl,
    0,
    0,
    0,
    release_KOperaBookmarkImporterImpl,
    cast_KOperaBookmarkImporterImpl,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 55 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kbookmarkimporter_ns.sip"
#include <kbookmarkimporter_ns.h>
#line 7615 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kbookmarkmanager.sip"
#include <kbookmarkmanager.h>
#line 7619 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 7622 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 100 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 7625 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"


class sipKNSBookmarkExporterImpl : public  ::KNSBookmarkExporterImpl
{
public:
    sipKNSBookmarkExporterImpl( ::KBookmarkManager*,const  ::QString&);
    sipKNSBookmarkExporterImpl(const  ::KNSBookmarkExporterImpl&);
    virtual ~sipKNSBookmarkExporterImpl();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void write(const  ::KBookmarkGroup&);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[1];
};

sipKNSBookmarkExporterImpl::sipKNSBookmarkExporterImpl( ::KBookmarkManager*a0,const  ::QString& a1):  ::KNSBookmarkExporterImpl(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKNSBookmarkExporterImpl::sipKNSBookmarkExporterImpl(const  ::KNSBookmarkExporterImpl& a0):  ::KNSBookmarkExporterImpl(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

void sipKNSBookmarkExporterImpl::write(const  ::KBookmarkGroup& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    extern void sipVH_kio_70(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::KBookmarkGroup&);

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


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

    {
        const  ::KBookmarkGroup* a0;
         ::KNSBookmarkExporterImpl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ;", &sipSelf, sipType_KNSBookmarkExporterImpl, &sipCpp, sipType_KBookmarkGroup, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KNSBookmarkExporterImpl::write(*a0) : sipCpp->write(*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_KNSBookmarkExporterImpl, sipName_write, NULL);

    return NULL;
}


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

    {
        bool a0;
         ::KNSBookmarkExporterImpl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KNSBookmarkExporterImpl, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setUtf8(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_KNSBookmarkExporterImpl, sipName_setUtf8, NULL);

    return NULL;
}


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

    {
        const  ::KBookmarkGroup* a0;
        const  ::KNSBookmarkExporterImpl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ;", &sipSelf, sipType_KNSBookmarkExporterImpl, &sipCpp, sipType_KBookmarkGroup, &a0))
        {
             ::QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QString(sipCpp->folderAsString(*a0));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    if (targetType == sipType_KBookmarkExporterBase)
        return static_cast< ::KBookmarkExporterBase *>(sipCpp);

    return sipCppV;
}


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

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKNSBookmarkExporterImpl *>(sipCppV);
    else
        delete reinterpret_cast< ::KNSBookmarkExporterImpl *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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

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


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

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

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const  ::KNSBookmarkExporterImpl* a0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_KNSBookmarkExporterImpl[] = {
    {SIP_MLNAME_CAST(sipName_folderAsString), meth_KNSBookmarkExporterImpl_folderAsString, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setUtf8), meth_KNSBookmarkExporterImpl_setUtf8, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_write), meth_KNSBookmarkExporterImpl_write, METH_VARARGS, NULL}
};


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


sipClassTypeDef sipTypeDef_kio_KNSBookmarkExporterImpl = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KNSBookmarkExporterImpl,
        {0},
        &plugin_KNSBookmarkExporterImpl
    },
    {
        sipNameNr_KNSBookmarkExporterImpl,
        {0, 0, 1},
        3, methods_KNSBookmarkExporterImpl,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KNSBookmarkExporterImpl,
    0,
    init_type_KNSBookmarkExporterImpl,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KNSBookmarkExporterImpl,
    0,
    0,
    0,
    release_KNSBookmarkExporterImpl,
    cast_KNSBookmarkExporterImpl,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 42 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kbookmarkimporter_ns.sip"
#include <kbookmarkimporter_ns.h>
#line 7921 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"

#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 7925 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kbookmarkimporter.sip"
#include <kbookmarkimporter.h>
#line 7928 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 7931 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7934 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7937 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7940 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 7943 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 7946 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 7949 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7952 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 7955 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 7958 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 7961 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 7964 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"


class sipKMozillaBookmarkImporterImpl : public  ::KMozillaBookmarkImporterImpl
{
public:
    sipKMozillaBookmarkImporterImpl();
    virtual ~sipKMozillaBookmarkImporterImpl();

    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:
     ::QString findDefaultLocation(bool) const;
    void parse();
    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:
    sipKMozillaBookmarkImporterImpl(const sipKMozillaBookmarkImporterImpl &);
    sipKMozillaBookmarkImporterImpl &operator = (const sipKMozillaBookmarkImporterImpl &);

    char sipPyMethods[9];
};

sipKMozillaBookmarkImporterImpl::sipKMozillaBookmarkImporterImpl():  ::KMozillaBookmarkImporterImpl(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipKMozillaBookmarkImporterImpl::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KMozillaBookmarkImporterImpl);
}

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

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

    return _id;
}

void *sipKMozillaBookmarkImporterImpl::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast(sipPySelf, sipType_KMozillaBookmarkImporterImpl, _clname)) ? this :  ::KMozillaBookmarkImporterImpl::qt_metacast(_clname);
}

 ::QString sipKMozillaBookmarkImporterImpl::findDefaultLocation(bool a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::KMozillaBookmarkImporterImpl::findDefaultLocation(a0);

    extern  ::QString sipVH_kio_102(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

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

void sipKMozillaBookmarkImporterImpl::parse()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KMozillaBookmarkImporterImpl::parse();
        return;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

    if (targetType == sipType_KNSBookmarkImporterImpl)
        return static_cast< ::KNSBookmarkImporterImpl *>(sipCpp);

    if (targetType == sipType_KBookmarkImporterBase)
        return static_cast< ::KBookmarkImporterBase *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KMozillaBookmarkImporterImpl(void *, int);}
static void release_KMozillaBookmarkImporterImpl(void *sipCppV, int)
{
     ::KMozillaBookmarkImporterImpl *sipCpp = reinterpret_cast< ::KMozillaBookmarkImporterImpl *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KMozillaBookmarkImporterImpl(sipSimpleWrapper *);}
static void dealloc_KMozillaBookmarkImporterImpl(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKMozillaBookmarkImporterImpl *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KMozillaBookmarkImporterImpl(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_KMozillaBookmarkImporterImpl(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KMozillaBookmarkImporterImpl(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipKMozillaBookmarkImporterImpl *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKMozillaBookmarkImporterImpl();
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KMozillaBookmarkImporterImpl[] = {{194, 255, 1}};


static pyqt4ClassPluginDef plugin_KMozillaBookmarkImporterImpl = {
    & ::KMozillaBookmarkImporterImpl::staticMetaObject,
    0,
    0
};


sipClassTypeDef sipTypeDef_kio_KMozillaBookmarkImporterImpl = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KMozillaBookmarkImporterImpl,
        {0},
        &plugin_KMozillaBookmarkImporterImpl
    },
    {
        sipNameNr_KMozillaBookmarkImporterImpl,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KMozillaBookmarkImporterImpl,
    0,
    init_type_KMozillaBookmarkImporterImpl,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KMozillaBookmarkImporterImpl,
    0,
    0,
    0,
    release_KMozillaBookmarkImporterImpl,
    cast_KMozillaBookmarkImporterImpl,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kbookmarkimporter_ns.sip"
#include <kbookmarkimporter_ns.h>
#line 8319 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"

#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 8323 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kbookmarkimporter.sip"
#include <kbookmarkimporter.h>
#line 8326 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 8329 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8332 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8335 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8338 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 8341 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 8344 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 8347 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 8350 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 8353 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 8356 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 8359 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 8362 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"


class sipKNSBookmarkImporterImpl : public  ::KNSBookmarkImporterImpl
{
public:
    sipKNSBookmarkImporterImpl();
    virtual ~sipKNSBookmarkImporterImpl();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    void parse();
     ::QString findDefaultLocation(bool) const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKNSBookmarkImporterImpl(const sipKNSBookmarkImporterImpl &);
    sipKNSBookmarkImporterImpl &operator = (const sipKNSBookmarkImporterImpl &);

    char sipPyMethods[9];
};

sipKNSBookmarkImporterImpl::sipKNSBookmarkImporterImpl():  ::KNSBookmarkImporterImpl(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKNSBookmarkImporterImpl::~sipKNSBookmarkImporterImpl()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipKNSBookmarkImporterImpl::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KNSBookmarkImporterImpl);
}

int sipKNSBookmarkImporterImpl::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::KNSBookmarkImporterImpl::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kio_qt_metacall(sipPySelf,sipType_KNSBookmarkImporterImpl,_c,_id,_a);

    return _id;
}

void *sipKNSBookmarkImporterImpl::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast(sipPySelf, sipType_KNSBookmarkImporterImpl, _clname)) ? this :  ::KNSBookmarkImporterImpl::qt_metacast(_clname);
}

void sipKNSBookmarkImporterImpl::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::KNSBookmarkImporterImpl::disconnectNotify(a0);
        return;
    }

    extern void sipVH_kio_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kio_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKNSBookmarkImporterImpl::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::KNSBookmarkImporterImpl::connectNotify(a0);
        return;
    }

    extern void sipVH_kio_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kio_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKNSBookmarkImporterImpl::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::KNSBookmarkImporterImpl::customEvent(a0);
        return;
    }

    extern void sipVH_kio_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kio_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKNSBookmarkImporterImpl::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::KNSBookmarkImporterImpl::childEvent(a0);
        return;
    }

    extern void sipVH_kio_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kio_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKNSBookmarkImporterImpl::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::KNSBookmarkImporterImpl::timerEvent(a0);
        return;
    }

    extern void sipVH_kio_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kio_6(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKNSBookmarkImporterImpl::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::KNSBookmarkImporterImpl::eventFilter(a0,a1);

    extern bool sipVH_kio_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kio_7(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKNSBookmarkImporterImpl::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KNSBookmarkImporterImpl::event(a0);

    extern bool sipVH_kio_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kio_8(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKNSBookmarkImporterImpl::parse()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_parse);

    if (!sipMeth)
    {
         ::KNSBookmarkImporterImpl::parse();
        return;
    }

    extern void sipVH_kio_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kio_9(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QString sipKNSBookmarkImporterImpl::findDefaultLocation(bool a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_findDefaultLocation);

    if (!sipMeth)
        return  ::KNSBookmarkImporterImpl::findDefaultLocation(a0);

    extern  ::QString sipVH_kio_102(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_kio_102(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_KNSBookmarkImporterImpl_setUtf8(PyObject *, PyObject *);}
static PyObject *meth_KNSBookmarkImporterImpl_setUtf8(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::KNSBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KNSBookmarkImporterImpl, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setUtf8(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_KNSBookmarkImporterImpl, sipName_setUtf8, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KNSBookmarkImporterImpl_parse(PyObject *, PyObject *);}
static PyObject *meth_KNSBookmarkImporterImpl_parse(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::KNSBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KNSBookmarkImporterImpl, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KNSBookmarkImporterImpl::parse() : sipCpp->parse());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KNSBookmarkImporterImpl, sipName_parse, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KNSBookmarkImporterImpl_findDefaultLocation(PyObject *, PyObject *);}
static PyObject *meth_KNSBookmarkImporterImpl_findDefaultLocation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        bool a0 = 0;
        const  ::KNSBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|b", &sipSelf, sipType_KNSBookmarkImporterImpl, &sipCpp, &a0))
        {
             ::QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QString((sipSelfWasArg ? sipCpp-> ::KNSBookmarkImporterImpl::findDefaultLocation(a0) : sipCpp->findDefaultLocation(a0)));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KNSBookmarkImporterImpl, sipName_findDefaultLocation, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_KNSBookmarkImporterImpl(void *, const sipTypeDef *);}
static void *cast_KNSBookmarkImporterImpl(void *sipCppV, const sipTypeDef *targetType)
{
     ::KNSBookmarkImporterImpl *sipCpp = reinterpret_cast< ::KNSBookmarkImporterImpl *>(sipCppV);

    if (targetType == sipType_KBookmarkImporterBase)
        return static_cast< ::KBookmarkImporterBase *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KNSBookmarkImporterImpl(void *, int);}
static void release_KNSBookmarkImporterImpl(void *sipCppV, int)
{
     ::KNSBookmarkImporterImpl *sipCpp = reinterpret_cast< ::KNSBookmarkImporterImpl *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KNSBookmarkImporterImpl(sipSimpleWrapper *);}
static void dealloc_KNSBookmarkImporterImpl(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKNSBookmarkImporterImpl *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KNSBookmarkImporterImpl(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_KNSBookmarkImporterImpl(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KNSBookmarkImporterImpl(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipKNSBookmarkImporterImpl *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKNSBookmarkImporterImpl();
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KNSBookmarkImporterImpl[] = {{26, 255, 1}};


static PyMethodDef methods_KNSBookmarkImporterImpl[] = {
    {SIP_MLNAME_CAST(sipName_findDefaultLocation), meth_KNSBookmarkImporterImpl_findDefaultLocation, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_parse), meth_KNSBookmarkImporterImpl_parse, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setUtf8), meth_KNSBookmarkImporterImpl_setUtf8, METH_VARARGS, NULL}
};


static pyqt4ClassPluginDef plugin_KNSBookmarkImporterImpl = {
    & ::KNSBookmarkImporterImpl::staticMetaObject,
    0,
    0
};


sipClassTypeDef sipTypeDef_kio_KNSBookmarkImporterImpl = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KNSBookmarkImporterImpl,
        {0},
        &plugin_KNSBookmarkImporterImpl
    },
    {
        sipNameNr_KNSBookmarkImporterImpl,
        {0, 0, 1},
        3, methods_KNSBookmarkImporterImpl,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KNSBookmarkImporterImpl,
    0,
    init_type_KNSBookmarkImporterImpl,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KNSBookmarkImporterImpl,
    0,
    0,
    0,
    release_KNSBookmarkImporterImpl,
    cast_KNSBookmarkImporterImpl,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 41 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kbookmarkimporter_ie.sip"
#include <kbookmarkimporter_ie.h>
#line 8804 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kbookmarkmanager.sip"
#include <kbookmarkmanager.h>
#line 8808 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 8811 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 100 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 8814 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"


class sipKIEBookmarkExporterImpl : public  ::KIEBookmarkExporterImpl
{
public:
    sipKIEBookmarkExporterImpl( ::KBookmarkManager*,const  ::QString&);
    sipKIEBookmarkExporterImpl(const  ::KIEBookmarkExporterImpl&);
    virtual ~sipKIEBookmarkExporterImpl();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void write(const  ::KBookmarkGroup&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKIEBookmarkExporterImpl(const sipKIEBookmarkExporterImpl &);
    sipKIEBookmarkExporterImpl &operator = (const sipKIEBookmarkExporterImpl &);

    char sipPyMethods[1];
};

sipKIEBookmarkExporterImpl::sipKIEBookmarkExporterImpl( ::KBookmarkManager*a0,const  ::QString& a1):  ::KIEBookmarkExporterImpl(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKIEBookmarkExporterImpl::sipKIEBookmarkExporterImpl(const  ::KIEBookmarkExporterImpl& a0):  ::KIEBookmarkExporterImpl(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKIEBookmarkExporterImpl::~sipKIEBookmarkExporterImpl()
{
    sipInstanceDestroyed(sipPySelf);
}

void sipKIEBookmarkExporterImpl::write(const  ::KBookmarkGroup& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_write);

    if (!sipMeth)
    {
         ::KIEBookmarkExporterImpl::write(a0);
        return;
    }

    extern void sipVH_kio_70(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::KBookmarkGroup&);

    sipVH_kio_70(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_KIEBookmarkExporterImpl_write(PyObject *, PyObject *);}
static PyObject *meth_KIEBookmarkExporterImpl_write(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::KBookmarkGroup* a0;
         ::KIEBookmarkExporterImpl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KIEBookmarkExporterImpl, &sipCpp, sipType_KBookmarkGroup, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KIEBookmarkExporterImpl::write(*a0) : sipCpp->write(*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_KIEBookmarkExporterImpl, sipName_write, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_KIEBookmarkExporterImpl(void *, const sipTypeDef *);}
static void *cast_KIEBookmarkExporterImpl(void *sipCppV, const sipTypeDef *targetType)
{
     ::KIEBookmarkExporterImpl *sipCpp = reinterpret_cast< ::KIEBookmarkExporterImpl *>(sipCppV);

    if (targetType == sipType_KBookmarkExporterBase)
        return static_cast< ::KBookmarkExporterBase *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KIEBookmarkExporterImpl(void *, int);}
static void release_KIEBookmarkExporterImpl(void *sipCppV, int sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKIEBookmarkExporterImpl *>(sipCppV);
    else
        delete reinterpret_cast< ::KIEBookmarkExporterImpl *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KIEBookmarkExporterImpl(sipSimpleWrapper *);}
static void dealloc_KIEBookmarkExporterImpl(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKIEBookmarkExporterImpl *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KIEBookmarkExporterImpl(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_KIEBookmarkExporterImpl(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KIEBookmarkExporterImpl(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipKIEBookmarkExporterImpl *sipCpp = 0;

    {
         ::KBookmarkManager* a0;
        const  ::QString* a1;
        int a1State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8J1", sipType_KBookmarkManager, &a0, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKIEBookmarkExporterImpl(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const  ::KIEBookmarkExporterImpl* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_KIEBookmarkExporterImpl, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKIEBookmarkExporterImpl(*a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KIEBookmarkExporterImpl[] = {{23, 255, 1}};


static PyMethodDef methods_KIEBookmarkExporterImpl[] = {
    {SIP_MLNAME_CAST(sipName_write), meth_KIEBookmarkExporterImpl_write, METH_VARARGS, NULL}
};


static pyqt4ClassPluginDef plugin_KIEBookmarkExporterImpl = {
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_kio_KIEBookmarkExporterImpl = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KIEBookmarkExporterImpl,
        {0},
        &plugin_KIEBookmarkExporterImpl
    },
    {
        sipNameNr_KIEBookmarkExporterImpl,
        {0, 0, 1},
        1, methods_KIEBookmarkExporterImpl,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KIEBookmarkExporterImpl,
    0,
    init_type_KIEBookmarkExporterImpl,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KIEBookmarkExporterImpl,
    0,
    0,
    0,
    release_KIEBookmarkExporterImpl,
    cast_KIEBookmarkExporterImpl,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kbookmarkimporter_ie.sip"
#include <kbookmarkimporter_ie.h>
#line 9053 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"

#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 9057 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kbookmarkimporter.sip"
#include <kbookmarkimporter.h>
#line 9060 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 9063 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9066 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9069 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9072 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 9075 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 9078 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 9081 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 9084 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 9087 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 9090 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 9093 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 9096 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"


class sipKIEBookmarkImporterImpl : public  ::KIEBookmarkImporterImpl
{
public:
    sipKIEBookmarkImporterImpl();
    virtual ~sipKIEBookmarkImporterImpl();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    void parse();
     ::QString findDefaultLocation(bool) const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKIEBookmarkImporterImpl(const sipKIEBookmarkImporterImpl &);
    sipKIEBookmarkImporterImpl &operator = (const sipKIEBookmarkImporterImpl &);

    char sipPyMethods[9];
};

sipKIEBookmarkImporterImpl::sipKIEBookmarkImporterImpl():  ::KIEBookmarkImporterImpl(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKIEBookmarkImporterImpl::~sipKIEBookmarkImporterImpl()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipKIEBookmarkImporterImpl::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KIEBookmarkImporterImpl);
}

int sipKIEBookmarkImporterImpl::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::KIEBookmarkImporterImpl::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kio_qt_metacall(sipPySelf,sipType_KIEBookmarkImporterImpl,_c,_id,_a);

    return _id;
}

void *sipKIEBookmarkImporterImpl::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast(sipPySelf, sipType_KIEBookmarkImporterImpl, _clname)) ? this :  ::KIEBookmarkImporterImpl::qt_metacast(_clname);
}

void sipKIEBookmarkImporterImpl::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::KIEBookmarkImporterImpl::disconnectNotify(a0);
        return;
    }

    extern void sipVH_kio_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kio_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIEBookmarkImporterImpl::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::KIEBookmarkImporterImpl::connectNotify(a0);
        return;
    }

    extern void sipVH_kio_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kio_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIEBookmarkImporterImpl::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::KIEBookmarkImporterImpl::customEvent(a0);
        return;
    }

    extern void sipVH_kio_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kio_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIEBookmarkImporterImpl::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::KIEBookmarkImporterImpl::childEvent(a0);
        return;
    }

    extern void sipVH_kio_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kio_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIEBookmarkImporterImpl::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::KIEBookmarkImporterImpl::timerEvent(a0);
        return;
    }

    extern void sipVH_kio_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kio_6(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKIEBookmarkImporterImpl::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::KIEBookmarkImporterImpl::eventFilter(a0,a1);

    extern bool sipVH_kio_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kio_7(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKIEBookmarkImporterImpl::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KIEBookmarkImporterImpl::event(a0);

    extern bool sipVH_kio_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kio_8(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIEBookmarkImporterImpl::parse()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_parse);

    if (!sipMeth)
    {
         ::KIEBookmarkImporterImpl::parse();
        return;
    }

    extern void sipVH_kio_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kio_9(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QString sipKIEBookmarkImporterImpl::findDefaultLocation(bool a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_findDefaultLocation);

    if (!sipMeth)
        return  ::KIEBookmarkImporterImpl::findDefaultLocation(a0);

    extern  ::QString sipVH_kio_102(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_kio_102(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_KIEBookmarkImporterImpl_parse(PyObject *, PyObject *);}
static PyObject *meth_KIEBookmarkImporterImpl_parse(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::KIEBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIEBookmarkImporterImpl, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KIEBookmarkImporterImpl::parse() : sipCpp->parse());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIEBookmarkImporterImpl, sipName_parse, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIEBookmarkImporterImpl_findDefaultLocation(PyObject *, PyObject *);}
static PyObject *meth_KIEBookmarkImporterImpl_findDefaultLocation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        bool a0 = 0;
        const  ::KIEBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|b", &sipSelf, sipType_KIEBookmarkImporterImpl, &sipCpp, &a0))
        {
             ::QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QString((sipSelfWasArg ? sipCpp-> ::KIEBookmarkImporterImpl::findDefaultLocation(a0) : sipCpp->findDefaultLocation(a0)));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIEBookmarkImporterImpl, sipName_findDefaultLocation, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_KIEBookmarkImporterImpl(void *, const sipTypeDef *);}
static void *cast_KIEBookmarkImporterImpl(void *sipCppV, const sipTypeDef *targetType)
{
     ::KIEBookmarkImporterImpl *sipCpp = reinterpret_cast< ::KIEBookmarkImporterImpl *>(sipCppV);

    if (targetType == sipType_KBookmarkImporterBase)
        return static_cast< ::KBookmarkImporterBase *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KIEBookmarkImporterImpl(void *, int);}
static void release_KIEBookmarkImporterImpl(void *sipCppV, int)
{
     ::KIEBookmarkImporterImpl *sipCpp = reinterpret_cast< ::KIEBookmarkImporterImpl *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KIEBookmarkImporterImpl(sipSimpleWrapper *);}
static void dealloc_KIEBookmarkImporterImpl(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKIEBookmarkImporterImpl *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KIEBookmarkImporterImpl(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_KIEBookmarkImporterImpl(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KIEBookmarkImporterImpl(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipKIEBookmarkImporterImpl *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKIEBookmarkImporterImpl();
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KIEBookmarkImporterImpl[] = {{26, 255, 1}};


static PyMethodDef methods_KIEBookmarkImporterImpl[] = {
    {SIP_MLNAME_CAST(sipName_findDefaultLocation), meth_KIEBookmarkImporterImpl_findDefaultLocation, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_parse), meth_KIEBookmarkImporterImpl_parse, METH_VARARGS, NULL}
};


static pyqt4ClassPluginDef plugin_KIEBookmarkImporterImpl = {
    & ::KIEBookmarkImporterImpl::staticMetaObject,
    0,
    0
};


sipClassTypeDef sipTypeDef_kio_KIEBookmarkImporterImpl = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KIEBookmarkImporterImpl,
        {0},
        &plugin_KIEBookmarkImporterImpl
    },
    {
        sipNameNr_KIEBookmarkImporterImpl,
        {0, 0, 1},
        2, methods_KIEBookmarkImporterImpl,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KIEBookmarkImporterImpl,
    0,
    init_type_KIEBookmarkImporterImpl,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KIEBookmarkImporterImpl,
    0,
    0,
    0,
    release_KIEBookmarkImporterImpl,
    cast_KIEBookmarkImporterImpl,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 49 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kbookmarkimporter_crash.sip"
#include <kbookmarkimporter_crash.h>
#line 9510 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"

#line 27 "/usr/share/sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 9514 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 9517 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kbookmarkimporter.sip"
#include <kbookmarkimporter.h>
#line 9520 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 9523 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9526 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9529 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9532 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 9535 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 9538 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 9541 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 9544 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 9547 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 9550 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 9553 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 9556 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"


class sipKCrashBookmarkImporterImpl : public  ::KCrashBookmarkImporterImpl
{
public:
    sipKCrashBookmarkImporterImpl();
    virtual ~sipKCrashBookmarkImporterImpl();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    void parse();
     ::QString findDefaultLocation(bool) const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKCrashBookmarkImporterImpl(const sipKCrashBookmarkImporterImpl &);
    sipKCrashBookmarkImporterImpl &operator = (const sipKCrashBookmarkImporterImpl &);

    char sipPyMethods[9];
};

sipKCrashBookmarkImporterImpl::sipKCrashBookmarkImporterImpl():  ::KCrashBookmarkImporterImpl(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKCrashBookmarkImporterImpl::~sipKCrashBookmarkImporterImpl()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipKCrashBookmarkImporterImpl::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KCrashBookmarkImporterImpl);
}

int sipKCrashBookmarkImporterImpl::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::KCrashBookmarkImporterImpl::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kio_qt_metacall(sipPySelf,sipType_KCrashBookmarkImporterImpl,_c,_id,_a);

    return _id;
}

void *sipKCrashBookmarkImporterImpl::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast(sipPySelf, sipType_KCrashBookmarkImporterImpl, _clname)) ? this :  ::KCrashBookmarkImporterImpl::qt_metacast(_clname);
}

void sipKCrashBookmarkImporterImpl::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::KCrashBookmarkImporterImpl::disconnectNotify(a0);
        return;
    }

    extern void sipVH_kio_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kio_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCrashBookmarkImporterImpl::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::KCrashBookmarkImporterImpl::connectNotify(a0);
        return;
    }

    extern void sipVH_kio_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kio_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCrashBookmarkImporterImpl::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::KCrashBookmarkImporterImpl::customEvent(a0);
        return;
    }

    extern void sipVH_kio_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kio_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCrashBookmarkImporterImpl::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::KCrashBookmarkImporterImpl::childEvent(a0);
        return;
    }

    extern void sipVH_kio_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kio_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCrashBookmarkImporterImpl::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::KCrashBookmarkImporterImpl::timerEvent(a0);
        return;
    }

    extern void sipVH_kio_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kio_6(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKCrashBookmarkImporterImpl::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::KCrashBookmarkImporterImpl::eventFilter(a0,a1);

    extern bool sipVH_kio_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kio_7(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKCrashBookmarkImporterImpl::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KCrashBookmarkImporterImpl::event(a0);

    extern bool sipVH_kio_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kio_8(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCrashBookmarkImporterImpl::parse()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_parse);

    if (!sipMeth)
    {
         ::KCrashBookmarkImporterImpl::parse();
        return;
    }

    extern void sipVH_kio_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kio_9(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QString sipKCrashBookmarkImporterImpl::findDefaultLocation(bool a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_findDefaultLocation);

    if (!sipMeth)
        return  ::KCrashBookmarkImporterImpl::findDefaultLocation(a0);

    extern  ::QString sipVH_kio_102(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_kio_102(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_KCrashBookmarkImporterImpl_setShouldDelete(PyObject *, PyObject *);}
static PyObject *meth_KCrashBookmarkImporterImpl_setShouldDelete(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::KCrashBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KCrashBookmarkImporterImpl, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setShouldDelete(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_KCrashBookmarkImporterImpl, sipName_setShouldDelete, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCrashBookmarkImporterImpl_parse(PyObject *, PyObject *);}
static PyObject *meth_KCrashBookmarkImporterImpl_parse(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::KCrashBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCrashBookmarkImporterImpl, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KCrashBookmarkImporterImpl::parse() : sipCpp->parse());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCrashBookmarkImporterImpl, sipName_parse, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCrashBookmarkImporterImpl_findDefaultLocation(PyObject *, PyObject *);}
static PyObject *meth_KCrashBookmarkImporterImpl_findDefaultLocation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        bool a0 = 0;
        const  ::KCrashBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|b", &sipSelf, sipType_KCrashBookmarkImporterImpl, &sipCpp, &a0))
        {
             ::QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QString((sipSelfWasArg ? sipCpp-> ::KCrashBookmarkImporterImpl::findDefaultLocation(a0) : sipCpp->findDefaultLocation(a0)));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCrashBookmarkImporterImpl, sipName_findDefaultLocation, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCrashBookmarkImporterImpl_getCrashLogs(PyObject *, PyObject *);}
static PyObject *meth_KCrashBookmarkImporterImpl_getCrashLogs(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::QStringList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QStringList( ::KCrashBookmarkImporterImpl::getCrashLogs());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCrashBookmarkImporterImpl, sipName_getCrashLogs, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_KCrashBookmarkImporterImpl(void *, const sipTypeDef *);}
static void *cast_KCrashBookmarkImporterImpl(void *sipCppV, const sipTypeDef *targetType)
{
     ::KCrashBookmarkImporterImpl *sipCpp = reinterpret_cast< ::KCrashBookmarkImporterImpl *>(sipCppV);

    if (targetType == sipType_KBookmarkImporterBase)
        return static_cast< ::KBookmarkImporterBase *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KCrashBookmarkImporterImpl(void *, int);}
static void release_KCrashBookmarkImporterImpl(void *sipCppV, int)
{
     ::KCrashBookmarkImporterImpl *sipCpp = reinterpret_cast< ::KCrashBookmarkImporterImpl *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KCrashBookmarkImporterImpl(sipSimpleWrapper *);}
static void dealloc_KCrashBookmarkImporterImpl(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKCrashBookmarkImporterImpl *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KCrashBookmarkImporterImpl(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_KCrashBookmarkImporterImpl(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KCrashBookmarkImporterImpl(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipKCrashBookmarkImporterImpl *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKCrashBookmarkImporterImpl();
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KCrashBookmarkImporterImpl[] = {{26, 255, 1}};


static PyMethodDef methods_KCrashBookmarkImporterImpl[] = {
    {SIP_MLNAME_CAST(sipName_findDefaultLocation), meth_KCrashBookmarkImporterImpl_findDefaultLocation, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_getCrashLogs), meth_KCrashBookmarkImporterImpl_getCrashLogs, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_parse), meth_KCrashBookmarkImporterImpl_parse, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setShouldDelete), meth_KCrashBookmarkImporterImpl_setShouldDelete, METH_VARARGS, NULL}
};


static pyqt4ClassPluginDef plugin_KCrashBookmarkImporterImpl = {
    & ::KCrashBookmarkImporterImpl::staticMetaObject,
    0,
    0
};


sipClassTypeDef sipTypeDef_kio_KCrashBookmarkImporterImpl = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KCrashBookmarkImporterImpl,
        {0},
        &plugin_KCrashBookmarkImporterImpl
    },
    {
        sipNameNr_KCrashBookmarkImporterImpl,
        {0, 0, 1},
        4, methods_KCrashBookmarkImporterImpl,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KCrashBookmarkImporterImpl,
    0,
    init_type_KCrashBookmarkImporterImpl,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KCrashBookmarkImporterImpl,
    0,
    0,
    0,
    release_KCrashBookmarkImporterImpl,
    cast_KCrashBookmarkImporterImpl,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kbookmarkimporter_crash.sip"
#include <kbookmarkimporter_crash.h>
#line 10024 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"

#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 10028 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10031 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10034 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10037 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 10040 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 10043 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 10046 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 10049 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 10052 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 10055 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 10058 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 10061 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 10064 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"


class sipKCrashBookmarkImporter : public  ::KCrashBookmarkImporter
{
public:
    sipKCrashBookmarkImporter(const  ::QString&);
    virtual ~sipKCrashBookmarkImporter();

    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:
    sipKCrashBookmarkImporter(const sipKCrashBookmarkImporter &);
    sipKCrashBookmarkImporter &operator = (const sipKCrashBookmarkImporter &);

    char sipPyMethods[7];
};

sipKCrashBookmarkImporter::sipKCrashBookmarkImporter(const  ::QString& a0):  ::KCrashBookmarkImporter(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKCrashBookmarkImporter::~sipKCrashBookmarkImporter()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipKCrashBookmarkImporter::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KCrashBookmarkImporter);
}

int sipKCrashBookmarkImporter::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::KCrashBookmarkImporter::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kio_qt_metacall(sipPySelf,sipType_KCrashBookmarkImporter,_c,_id,_a);

    return _id;
}

void *sipKCrashBookmarkImporter::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast(sipPySelf, sipType_KCrashBookmarkImporter, _clname)) ? this :  ::KCrashBookmarkImporter::qt_metacast(_clname);
}

bool sipKCrashBookmarkImporter::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KCrashBookmarkImporter::event(a0);

    extern bool sipVH_kio_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kio_8(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKCrashBookmarkImporter::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::KCrashBookmarkImporter::eventFilter(a0,a1);

    extern bool sipVH_kio_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kio_7(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKCrashBookmarkImporter::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::KCrashBookmarkImporter::timerEvent(a0);
        return;
    }

    extern void sipVH_kio_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kio_6(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCrashBookmarkImporter::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::KCrashBookmarkImporter::childEvent(a0);
        return;
    }

    extern void sipVH_kio_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kio_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCrashBookmarkImporter::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::KCrashBookmarkImporter::customEvent(a0);
        return;
    }

    extern void sipVH_kio_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kio_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCrashBookmarkImporter::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::KCrashBookmarkImporter::connectNotify(a0);
        return;
    }

    extern void sipVH_kio_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kio_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCrashBookmarkImporter::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::KCrashBookmarkImporter::disconnectNotify(a0);
        return;
    }

    extern void sipVH_kio_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kio_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_KCrashBookmarkImporter_parseCrashBookmarks(PyObject *, PyObject *);}
static PyObject *meth_KCrashBookmarkImporter_parseCrashBookmarks(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
         ::KCrashBookmarkImporter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|b", &sipSelf, sipType_KCrashBookmarkImporter, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->parseCrashBookmarks(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_KCrashBookmarkImporter, sipName_parseCrashBookmarks, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCrashBookmarkImporter_crashBookmarksDir(PyObject *, PyObject *);}
static PyObject *meth_KCrashBookmarkImporter_crashBookmarksDir(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QString( ::KCrashBookmarkImporter::crashBookmarksDir());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCrashBookmarkImporter, sipName_crashBookmarksDir, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_KCrashBookmarkImporter(void *, const sipTypeDef *);}
static void *cast_KCrashBookmarkImporter(void *sipCppV, const sipTypeDef *targetType)
{
     ::KCrashBookmarkImporter *sipCpp = reinterpret_cast< ::KCrashBookmarkImporter *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KCrashBookmarkImporter(void *, int);}
static void release_KCrashBookmarkImporter(void *sipCppV, int)
{
     ::KCrashBookmarkImporter *sipCpp = reinterpret_cast< ::KCrashBookmarkImporter *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KCrashBookmarkImporter(sipSimpleWrapper *);}
static void dealloc_KCrashBookmarkImporter(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKCrashBookmarkImporter *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KCrashBookmarkImporter(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_KCrashBookmarkImporter(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KCrashBookmarkImporter(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipKCrashBookmarkImporter *sipCpp = 0;

    {
        const  ::QString* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKCrashBookmarkImporter(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KCrashBookmarkImporter[] = {{18, 0, 1}};


static PyMethodDef methods_KCrashBookmarkImporter[] = {
    {SIP_MLNAME_CAST(sipName_crashBookmarksDir), meth_KCrashBookmarkImporter_crashBookmarksDir, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_parseCrashBookmarks), meth_KCrashBookmarkImporter_parseCrashBookmarks, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KCrashBookmarkImporter[] = {
    {"endFolder()", 0, 0, 0},
    {"newSeparator()", 0, 0, 0},
    {"newFolder(QString,bool,QString)", 0, 0, 0},
    {"newBookmark(QString,QString,QString)", 0, 0, 0},
    {0, 0, 0, 0}
};


static pyqt4ClassPluginDef plugin_KCrashBookmarkImporter = {
    & ::KCrashBookmarkImporter::staticMetaObject,
    0,
    signals_KCrashBookmarkImporter
};


sipClassTypeDef sipTypeDef_kio_KCrashBookmarkImporter = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KCrashBookmarkImporter,
        {0},
        &plugin_KCrashBookmarkImporter
    },
    {
        sipNameNr_KCrashBookmarkImporter,
        {0, 0, 1},
        2, methods_KCrashBookmarkImporter,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KCrashBookmarkImporter,
    0,
    init_type_KCrashBookmarkImporter,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KCrashBookmarkImporter,
    0,
    0,
    0,
    release_KCrashBookmarkImporter,
    cast_KCrashBookmarkImporter,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 52 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kbookmarkimporter.sip"
#include <kbookmarkimporter.h>
#line 10450 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"

#line 100 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 10454 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 10457 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 10460 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kbookmarkimporter.sip"
#include <kbookmarkimporter.h>
#line 10463 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 10466 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10469 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10472 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10475 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 10478 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 10481 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 10484 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 10487 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 10490 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 10493 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 10496 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 10499 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"


class sipKXBELBookmarkImporterImpl : public  ::KXBELBookmarkImporterImpl
{
public:
    sipKXBELBookmarkImporterImpl();
    virtual ~sipKXBELBookmarkImporterImpl();

    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 visit(const  ::KBookmark&);
    void visitEnter(const  ::KBookmarkGroup&);
    void visitLeave(const  ::KBookmarkGroup&);
    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 parse();
     ::QString findDefaultLocation(bool) const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKXBELBookmarkImporterImpl(const sipKXBELBookmarkImporterImpl &);
    sipKXBELBookmarkImporterImpl &operator = (const sipKXBELBookmarkImporterImpl &);

    char sipPyMethods[12];
};

sipKXBELBookmarkImporterImpl::sipKXBELBookmarkImporterImpl():  ::KXBELBookmarkImporterImpl(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKXBELBookmarkImporterImpl::~sipKXBELBookmarkImporterImpl()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipKXBELBookmarkImporterImpl::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KXBELBookmarkImporterImpl);
}

int sipKXBELBookmarkImporterImpl::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::KXBELBookmarkImporterImpl::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kio_qt_metacall(sipPySelf,sipType_KXBELBookmarkImporterImpl,_c,_id,_a);

    return _id;
}

void *sipKXBELBookmarkImporterImpl::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast(sipPySelf, sipType_KXBELBookmarkImporterImpl, _clname)) ? this :  ::KXBELBookmarkImporterImpl::qt_metacast(_clname);
}

void sipKXBELBookmarkImporterImpl::visit(const  ::KBookmark& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_visit);

    if (!sipMeth)
    {
         ::KXBELBookmarkImporterImpl::visit(a0);
        return;
    }

    extern void sipVH_kio_69(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::KBookmark&);

    sipVH_kio_69(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKXBELBookmarkImporterImpl::visitEnter(const  ::KBookmarkGroup& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_visitEnter);

    if (!sipMeth)
    {
         ::KXBELBookmarkImporterImpl::visitEnter(a0);
        return;
    }

    extern void sipVH_kio_70(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::KBookmarkGroup&);

    sipVH_kio_70(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKXBELBookmarkImporterImpl::visitLeave(const  ::KBookmarkGroup& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_visitLeave);

    if (!sipMeth)
    {
         ::KXBELBookmarkImporterImpl::visitLeave(a0);
        return;
    }

    extern void sipVH_kio_70(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::KBookmarkGroup&);

    sipVH_kio_70(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKXBELBookmarkImporterImpl::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::KXBELBookmarkImporterImpl::disconnectNotify(a0);
        return;
    }

    extern void sipVH_kio_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kio_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKXBELBookmarkImporterImpl::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::KXBELBookmarkImporterImpl::connectNotify(a0);
        return;
    }

    extern void sipVH_kio_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kio_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKXBELBookmarkImporterImpl::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::KXBELBookmarkImporterImpl::customEvent(a0);
        return;
    }

    extern void sipVH_kio_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kio_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKXBELBookmarkImporterImpl::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::KXBELBookmarkImporterImpl::childEvent(a0);
        return;
    }

    extern void sipVH_kio_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kio_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKXBELBookmarkImporterImpl::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::KXBELBookmarkImporterImpl::timerEvent(a0);
        return;
    }

    extern void sipVH_kio_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kio_6(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKXBELBookmarkImporterImpl::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::KXBELBookmarkImporterImpl::eventFilter(a0,a1);

    extern bool sipVH_kio_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kio_7(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKXBELBookmarkImporterImpl::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KXBELBookmarkImporterImpl::event(a0);

    extern bool sipVH_kio_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kio_8(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKXBELBookmarkImporterImpl::parse()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_parse);

    if (!sipMeth)
    {
         ::KXBELBookmarkImporterImpl::parse();
        return;
    }

    extern void sipVH_kio_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kio_9(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QString sipKXBELBookmarkImporterImpl::findDefaultLocation(bool a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_findDefaultLocation);

    if (!sipMeth)
        return  ::KXBELBookmarkImporterImpl::findDefaultLocation(a0);

    extern  ::QString sipVH_kio_102(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_kio_102(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_KXBELBookmarkImporterImpl_parse(PyObject *, PyObject *);}
static PyObject *meth_KXBELBookmarkImporterImpl_parse(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::KXBELBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KXBELBookmarkImporterImpl, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KXBELBookmarkImporterImpl::parse() : sipCpp->parse());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KXBELBookmarkImporterImpl, sipName_parse, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KXBELBookmarkImporterImpl_findDefaultLocation(PyObject *, PyObject *);}
static PyObject *meth_KXBELBookmarkImporterImpl_findDefaultLocation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        bool a0 = 0;
        const  ::KXBELBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|b", &sipSelf, sipType_KXBELBookmarkImporterImpl, &sipCpp, &a0))
        {
             ::QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QString((sipSelfWasArg ? sipCpp-> ::KXBELBookmarkImporterImpl::findDefaultLocation(a0) : sipCpp->findDefaultLocation(a0)));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KXBELBookmarkImporterImpl, sipName_findDefaultLocation, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KXBELBookmarkImporterImpl_visit(PyObject *, PyObject *);}
static PyObject *meth_KXBELBookmarkImporterImpl_visit(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::KBookmark* a0;
         ::KXBELBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9", &sipSelf, sipType_KXBELBookmarkImporterImpl, &sipCpp, sipType_KBookmark, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KXBELBookmarkImporterImpl::visit(*a0) : sipCpp->visit(*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_KXBELBookmarkImporterImpl, sipName_visit, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KXBELBookmarkImporterImpl_visitEnter(PyObject *, PyObject *);}
static PyObject *meth_KXBELBookmarkImporterImpl_visitEnter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::KBookmarkGroup* a0;
         ::KXBELBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9", &sipSelf, sipType_KXBELBookmarkImporterImpl, &sipCpp, sipType_KBookmarkGroup, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KXBELBookmarkImporterImpl::visitEnter(*a0) : sipCpp->visitEnter(*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_KXBELBookmarkImporterImpl, sipName_visitEnter, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KXBELBookmarkImporterImpl_visitLeave(PyObject *, PyObject *);}
static PyObject *meth_KXBELBookmarkImporterImpl_visitLeave(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::KBookmarkGroup* a0;
         ::KXBELBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9", &sipSelf, sipType_KXBELBookmarkImporterImpl, &sipCpp, sipType_KBookmarkGroup, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KXBELBookmarkImporterImpl::visitLeave(*a0) : sipCpp->visitLeave(*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_KXBELBookmarkImporterImpl, sipName_visitLeave, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_KXBELBookmarkImporterImpl(void *, const sipTypeDef *);}
static void *cast_KXBELBookmarkImporterImpl(void *sipCppV, const sipTypeDef *targetType)
{
     ::KXBELBookmarkImporterImpl *sipCpp = reinterpret_cast< ::KXBELBookmarkImporterImpl *>(sipCppV);

    if (targetType == sipType_KBookmarkImporterBase)
        return static_cast< ::KBookmarkImporterBase *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_KBookmarkGroupTraverser)
        return static_cast< ::KBookmarkGroupTraverser *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KXBELBookmarkImporterImpl(void *, int);}
static void release_KXBELBookmarkImporterImpl(void *sipCppV, int)
{
     ::KXBELBookmarkImporterImpl *sipCpp = reinterpret_cast< ::KXBELBookmarkImporterImpl *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KXBELBookmarkImporterImpl(sipSimpleWrapper *);}
static void dealloc_KXBELBookmarkImporterImpl(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKXBELBookmarkImporterImpl *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KXBELBookmarkImporterImpl(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_KXBELBookmarkImporterImpl(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KXBELBookmarkImporterImpl(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipKXBELBookmarkImporterImpl *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKXBELBookmarkImporterImpl();
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KXBELBookmarkImporterImpl[] = {{26, 255, 0}, {25, 255, 1}};


static PyMethodDef methods_KXBELBookmarkImporterImpl[] = {
    {SIP_MLNAME_CAST(sipName_findDefaultLocation), meth_KXBELBookmarkImporterImpl_findDefaultLocation, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_parse), meth_KXBELBookmarkImporterImpl_parse, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_visit), meth_KXBELBookmarkImporterImpl_visit, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_visitEnter), meth_KXBELBookmarkImporterImpl_visitEnter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_visitLeave), meth_KXBELBookmarkImporterImpl_visitLeave, METH_VARARGS, NULL}
};


static pyqt4ClassPluginDef plugin_KXBELBookmarkImporterImpl = {
    & ::KXBELBookmarkImporterImpl::staticMetaObject,
    0,
    0
};


sipClassTypeDef sipTypeDef_kio_KXBELBookmarkImporterImpl = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KXBELBookmarkImporterImpl,
        {0},
        &plugin_KXBELBookmarkImporterImpl
    },
    {
        sipNameNr_KXBELBookmarkImporterImpl,
        {0, 0, 1},
        5, methods_KXBELBookmarkImporterImpl,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KXBELBookmarkImporterImpl,
    0,
    init_type_KXBELBookmarkImporterImpl,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KXBELBookmarkImporterImpl,
    0,
    0,
    0,
    release_KXBELBookmarkImporterImpl,
    cast_KXBELBookmarkImporterImpl,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kbookmarkimporter.sip"
#include <kbookmarkimporter.h>
#line 11060 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"

#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 11064 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 11067 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11070 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11073 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11076 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 11079 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 11082 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 11085 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 11088 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 11091 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 11094 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 11097 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 11100 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"


class sipKBookmarkImporterBase : public  ::KBookmarkImporterBase
{
public:
    sipKBookmarkImporterBase();
    virtual ~sipKBookmarkImporterBase();

    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:
     ::QString findDefaultLocation(bool) const;
    void parse();
    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:
    sipKBookmarkImporterBase(const sipKBookmarkImporterBase &);
    sipKBookmarkImporterBase &operator = (const sipKBookmarkImporterBase &);

    char sipPyMethods[9];
};

sipKBookmarkImporterBase::sipKBookmarkImporterBase():  ::KBookmarkImporterBase(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKBookmarkImporterBase::~sipKBookmarkImporterBase()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipKBookmarkImporterBase::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KBookmarkImporterBase);
}

int sipKBookmarkImporterBase::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::KBookmarkImporterBase::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kio_qt_metacall(sipPySelf,sipType_KBookmarkImporterBase,_c,_id,_a);

    return _id;
}

void *sipKBookmarkImporterBase::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast(sipPySelf, sipType_KBookmarkImporterBase, _clname)) ? this :  ::KBookmarkImporterBase::qt_metacast(_clname);
}

 ::QString sipKBookmarkImporterBase::findDefaultLocation(bool a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,sipName_KBookmarkImporterBase,sipName_findDefaultLocation);

    if (!sipMeth)
        return  ::QString();

    extern  ::QString sipVH_kio_102(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_kio_102(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBookmarkImporterBase::parse()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,sipName_KBookmarkImporterBase,sipName_parse);

    if (!sipMeth)
        return;

    extern void sipVH_kio_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kio_9(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipKBookmarkImporterBase::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KBookmarkImporterBase::event(a0);

    extern bool sipVH_kio_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kio_8(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKBookmarkImporterBase::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::KBookmarkImporterBase::eventFilter(a0,a1);

    extern bool sipVH_kio_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kio_7(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKBookmarkImporterBase::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::KBookmarkImporterBase::timerEvent(a0);
        return;
    }

    extern void sipVH_kio_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kio_6(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBookmarkImporterBase::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::KBookmarkImporterBase::childEvent(a0);
        return;
    }

    extern void sipVH_kio_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kio_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBookmarkImporterBase::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::KBookmarkImporterBase::customEvent(a0);
        return;
    }

    extern void sipVH_kio_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kio_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBookmarkImporterBase::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::KBookmarkImporterBase::connectNotify(a0);
        return;
    }

    extern void sipVH_kio_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kio_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBookmarkImporterBase::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::KBookmarkImporterBase::disconnectNotify(a0);
        return;
    }

    extern void sipVH_kio_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kio_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_KBookmarkImporterBase_setFilename(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkImporterBase_setFilename(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::KBookmarkImporterBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KBookmarkImporterBase, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setFilename(*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_KBookmarkImporterBase, sipName_setFilename, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkImporterBase_parse(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkImporterBase_parse(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
         ::KBookmarkImporterBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KBookmarkImporterBase, &sipCpp))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KBookmarkImporterBase, sipName_parse);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->parse();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBookmarkImporterBase, sipName_parse, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkImporterBase_findDefaultLocation(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkImporterBase_findDefaultLocation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        bool a0 = 0;
        const  ::KBookmarkImporterBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|b", &sipSelf, sipType_KBookmarkImporterBase, &sipCpp, &a0))
        {
             ::QString*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KBookmarkImporterBase, sipName_findDefaultLocation);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QString(sipCpp->findDefaultLocation(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBookmarkImporterBase, sipName_findDefaultLocation, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkImporterBase_setupSignalForwards(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkImporterBase_setupSignalForwards(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QObject* a0;
         ::QObject* a1;
         ::KBookmarkImporterBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J8", &sipSelf, sipType_KBookmarkImporterBase, &sipCpp, sipType_QObject, &a0, sipType_QObject, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setupSignalForwards(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBookmarkImporterBase, sipName_setupSignalForwards, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkImporterBase_factory(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkImporterBase_factory(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
             ::KBookmarkImporterBase*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::KBookmarkImporterBase::factory(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return sipConvertFromType(sipRes,sipType_KBookmarkImporterBase,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBookmarkImporterBase, sipName_factory, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_KBookmarkImporterBase(void *, const sipTypeDef *);}
static void *cast_KBookmarkImporterBase(void *sipCppV, const sipTypeDef *targetType)
{
     ::KBookmarkImporterBase *sipCpp = reinterpret_cast< ::KBookmarkImporterBase *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KBookmarkImporterBase(void *, int);}
static void release_KBookmarkImporterBase(void *sipCppV, int)
{
     ::KBookmarkImporterBase *sipCpp = reinterpret_cast< ::KBookmarkImporterBase *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KBookmarkImporterBase(sipSimpleWrapper *);}
static void dealloc_KBookmarkImporterBase(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKBookmarkImporterBase *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KBookmarkImporterBase(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_KBookmarkImporterBase(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KBookmarkImporterBase(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipKBookmarkImporterBase *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKBookmarkImporterBase();
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KBookmarkImporterBase[] = {{18, 0, 1}};


static PyMethodDef methods_KBookmarkImporterBase[] = {
    {SIP_MLNAME_CAST(sipName_factory), meth_KBookmarkImporterBase_factory, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_findDefaultLocation), meth_KBookmarkImporterBase_findDefaultLocation, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_parse), meth_KBookmarkImporterBase_parse, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setFilename), meth_KBookmarkImporterBase_setFilename, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setupSignalForwards), meth_KBookmarkImporterBase_setupSignalForwards, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KBookmarkImporterBase[] = {
    {"endFolder()", 0, 0, 0},
    {"newSeparator()", 0, 0, 0},
    {"newFolder(QString,bool,QString)", 0, 0, 0},
    {"newBookmark(QString,QString,QString)", 0, 0, 0},
    {0, 0, 0, 0}
};


static pyqt4ClassPluginDef plugin_KBookmarkImporterBase = {
    & ::KBookmarkImporterBase::staticMetaObject,
    0,
    signals_KBookmarkImporterBase
};


sipClassTypeDef sipTypeDef_kio_KBookmarkImporterBase = {
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KBookmarkImporterBase,
        {0},
        &plugin_KBookmarkImporterBase
    },
    {
        sipNameNr_KBookmarkImporterBase,
        {0, 0, 1},
        5, methods_KBookmarkImporterBase,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KBookmarkImporterBase,
    0,
    init_type_KBookmarkImporterBase,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KBookmarkImporterBase,
    0,
    0,
    0,
    release_KBookmarkImporterBase,
    cast_KBookmarkImporterBase,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kbookmarkexporter.sip"
#include <kbookmarkexporter.h>
#line 11619 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kbookmarkmanager.sip"
#include <kbookmarkmanager.h>
#line 11623 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 11626 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 100 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 11629 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"


class sipKBookmarkExporterBase : public  ::KBookmarkExporterBase
{
public:
    sipKBookmarkExporterBase( ::KBookmarkManager*,const  ::QString&);
    sipKBookmarkExporterBase(const  ::KBookmarkExporterBase&);
    virtual ~sipKBookmarkExporterBase();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void write(const  ::KBookmarkGroup&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKBookmarkExporterBase(const sipKBookmarkExporterBase &);
    sipKBookmarkExporterBase &operator = (const sipKBookmarkExporterBase &);

    char sipPyMethods[1];
};

sipKBookmarkExporterBase::sipKBookmarkExporterBase( ::KBookmarkManager*a0,const  ::QString& a1):  ::KBookmarkExporterBase(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKBookmarkExporterBase::sipKBookmarkExporterBase(const  ::KBookmarkExporterBase& a0):  ::KBookmarkExporterBase(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKBookmarkExporterBase::~sipKBookmarkExporterBase()
{
    sipInstanceDestroyed(sipPySelf);
}

void sipKBookmarkExporterBase::write(const  ::KBookmarkGroup& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,sipName_KBookmarkExporterBase,sipName_write);

    if (!sipMeth)
        return;

    extern void sipVH_kio_70(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::KBookmarkGroup&);

    sipVH_kio_70(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_KBookmarkExporterBase_write(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkExporterBase_write(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        const  ::KBookmarkGroup* a0;
         ::KBookmarkExporterBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KBookmarkExporterBase, &sipCpp, sipType_KBookmarkGroup, &a0))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KBookmarkExporterBase, sipName_write);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->write(*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_KBookmarkExporterBase, sipName_write, NULL);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KBookmarkExporterBase(void *, int);}
static void release_KBookmarkExporterBase(void *sipCppV, int sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKBookmarkExporterBase *>(sipCppV);
    else
        delete reinterpret_cast< ::KBookmarkExporterBase *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KBookmarkExporterBase(sipSimpleWrapper *);}
static void dealloc_KBookmarkExporterBase(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKBookmarkExporterBase *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KBookmarkExporterBase(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_KBookmarkExporterBase(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KBookmarkExporterBase(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipKBookmarkExporterBase *sipCpp = 0;

    {
         ::KBookmarkManager* a0;
        const  ::QString* a1;
        int a1State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8J1", sipType_KBookmarkManager, &a0, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKBookmarkExporterBase(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const  ::KBookmarkExporterBase* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_KBookmarkExporterBase, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKBookmarkExporterBase(*a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_KBookmarkExporterBase[] = {
    {SIP_MLNAME_CAST(sipName_write), meth_KBookmarkExporterBase_write, METH_VARARGS, NULL}
};


static pyqt4ClassPluginDef plugin_KBookmarkExporterBase = {
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_kio_KBookmarkExporterBase = {
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KBookmarkExporterBase,
        {0},
        &plugin_KBookmarkExporterBase
    },
    {
        sipNameNr_KBookmarkExporterBase,
        {0, 0, 1},
        1, methods_KBookmarkExporterBase,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_type_KBookmarkExporterBase,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KBookmarkExporterBase,
    0,
    0,
    0,
    release_KBookmarkExporterBase,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kbookmarkdombuilder.sip"
#include <kbookmarkdombuilder.h>
#line 11854 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"

#line 100 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 11858 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kbookmarkmanager.sip"
#include <kbookmarkmanager.h>
#line 11861 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 11864 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 11867 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11870 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11873 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11876 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 11879 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 11882 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 11885 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 11888 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 11891 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 11894 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 11897 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 11900 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"


class sipKBookmarkDomBuilder : public  ::KBookmarkDomBuilder
{
public:
    sipKBookmarkDomBuilder(const  ::KBookmarkGroup&, ::KBookmarkManager*);
    virtual ~sipKBookmarkDomBuilder();

    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:
    sipKBookmarkDomBuilder(const sipKBookmarkDomBuilder &);
    sipKBookmarkDomBuilder &operator = (const sipKBookmarkDomBuilder &);

    char sipPyMethods[7];
};

sipKBookmarkDomBuilder::sipKBookmarkDomBuilder(const  ::KBookmarkGroup& a0, ::KBookmarkManager*a1):  ::KBookmarkDomBuilder(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKBookmarkDomBuilder::~sipKBookmarkDomBuilder()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipKBookmarkDomBuilder::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KBookmarkDomBuilder);
}

int sipKBookmarkDomBuilder::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::KBookmarkDomBuilder::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kio_qt_metacall(sipPySelf,sipType_KBookmarkDomBuilder,_c,_id,_a);

    return _id;
}

void *sipKBookmarkDomBuilder::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast(sipPySelf, sipType_KBookmarkDomBuilder, _clname)) ? this :  ::KBookmarkDomBuilder::qt_metacast(_clname);
}

bool sipKBookmarkDomBuilder::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KBookmarkDomBuilder::event(a0);

    extern bool sipVH_kio_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kio_8(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKBookmarkDomBuilder::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::KBookmarkDomBuilder::eventFilter(a0,a1);

    extern bool sipVH_kio_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kio_7(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKBookmarkDomBuilder::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::KBookmarkDomBuilder::timerEvent(a0);
        return;
    }

    extern void sipVH_kio_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kio_6(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBookmarkDomBuilder::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::KBookmarkDomBuilder::childEvent(a0);
        return;
    }

    extern void sipVH_kio_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kio_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBookmarkDomBuilder::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::KBookmarkDomBuilder::customEvent(a0);
        return;
    }

    extern void sipVH_kio_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kio_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBookmarkDomBuilder::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::KBookmarkDomBuilder::connectNotify(a0);
        return;
    }

    extern void sipVH_kio_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kio_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBookmarkDomBuilder::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::KBookmarkDomBuilder::disconnectNotify(a0);
        return;
    }

    extern void sipVH_kio_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kio_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_KBookmarkDomBuilder_connectImporter(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDomBuilder_connectImporter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QObject* a0;
         ::KBookmarkDomBuilder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KBookmarkDomBuilder, &sipCpp, sipType_QObject, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->connectImporter(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_KBookmarkDomBuilder, sipName_connectImporter, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDomBuilder_newBookmark(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDomBuilder_newBookmark(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QString* a1;
        int a1State = 0;
        const  ::QString* a2;
        int a2State = 0;
         ::KBookmarkDomBuilder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1J1J1", &sipSelf, sipType_KBookmarkDomBuilder, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->newBookmark(*a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast< ::QString *>(a2),sipType_QString,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBookmarkDomBuilder, sipName_newBookmark, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDomBuilder_newFolder(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDomBuilder_newFolder(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        bool a1;
        const  ::QString* a2;
        int a2State = 0;
         ::KBookmarkDomBuilder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1bJ1", &sipSelf, sipType_KBookmarkDomBuilder, &sipCpp, sipType_QString,&a0, &a0State, &a1, sipType_QString,&a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->newFolder(*a0,a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QString *>(a2),sipType_QString,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBookmarkDomBuilder, sipName_newFolder, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDomBuilder_newSeparator(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDomBuilder_newSeparator(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KBookmarkDomBuilder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KBookmarkDomBuilder, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->newSeparator();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBookmarkDomBuilder, sipName_newSeparator, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDomBuilder_endFolder(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDomBuilder_endFolder(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KBookmarkDomBuilder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KBookmarkDomBuilder, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->endFolder();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBookmarkDomBuilder, sipName_endFolder, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_KBookmarkDomBuilder(void *, const sipTypeDef *);}
static void *cast_KBookmarkDomBuilder(void *sipCppV, const sipTypeDef *targetType)
{
     ::KBookmarkDomBuilder *sipCpp = reinterpret_cast< ::KBookmarkDomBuilder *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KBookmarkDomBuilder(void *, int);}
static void release_KBookmarkDomBuilder(void *sipCppV, int)
{
     ::KBookmarkDomBuilder *sipCpp = reinterpret_cast< ::KBookmarkDomBuilder *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KBookmarkDomBuilder(sipSimpleWrapper *);}
static void dealloc_KBookmarkDomBuilder(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKBookmarkDomBuilder *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KBookmarkDomBuilder(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_KBookmarkDomBuilder(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KBookmarkDomBuilder(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipKBookmarkDomBuilder *sipCpp = 0;

    {
        const  ::KBookmarkGroup* a0;
         ::KBookmarkManager* a1;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9J8", sipType_KBookmarkGroup, &a0, sipType_KBookmarkManager, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKBookmarkDomBuilder(*a0,a1);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KBookmarkDomBuilder[] = {{18, 0, 1}};


static PyMethodDef methods_KBookmarkDomBuilder[] = {
    {SIP_MLNAME_CAST(sipName_connectImporter), meth_KBookmarkDomBuilder_connectImporter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_endFolder), meth_KBookmarkDomBuilder_endFolder, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_newBookmark), meth_KBookmarkDomBuilder_newBookmark, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_newFolder), meth_KBookmarkDomBuilder_newFolder, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_newSeparator), meth_KBookmarkDomBuilder_newSeparator, METH_VARARGS, NULL}
};


static pyqt4ClassPluginDef plugin_KBookmarkDomBuilder = {
    & ::KBookmarkDomBuilder::staticMetaObject,
    0,
    0
};


sipClassTypeDef sipTypeDef_kio_KBookmarkDomBuilder = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KBookmarkDomBuilder,
        {0},
        &plugin_KBookmarkDomBuilder
    },
    {
        sipNameNr_KBookmarkDomBuilder,
        {0, 0, 1},
        5, methods_KBookmarkDomBuilder,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KBookmarkDomBuilder,
    0,
    init_type_KBookmarkDomBuilder,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KBookmarkDomBuilder,
    0,
    0,
    0,
    release_KBookmarkDomBuilder,
    cast_KBookmarkDomBuilder,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kbookmarkdialog.sip"
#include <kbookmarkdialog.h>
#line 12373 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kbookmarkmanager.sip"
#include <kbookmarkmanager.h>
#line 12377 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 12380 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 100 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 12383 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 196 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 12387 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 68 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 12390 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 12393 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qtreewidget.sip"
#include <qtreewidget.h>
#line 12396 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 12399 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.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 12402 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12405 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12408 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12411 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 12414 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 12417 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 12420 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 12423 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 12426 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kpushbutton.sip"
#include <kpushbutton.h>
#line 12429 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 32 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 12432 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kconfigbase.sip"
#include <kconfigbase.h>
#line 12435 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qmenu.sip"
#include <qmenu.h>
#line 12438 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kguiitem.sip"
#include <kguiitem.h>
#line 12441 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 33 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kicon.sip"
#include <kicon.h>
#line 12444 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 12447 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 12450 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 12453 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 12456 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 618 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12459 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 561 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12462 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12465 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 12468 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 12471 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 12474 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 12477 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 12480 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 12483 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 12486 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 12489 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 12492 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 12495 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 12498 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 12501 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 12504 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 12507 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 12510 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 12513 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 12516 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 12519 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12522 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 739 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12525 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 792 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12528 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 765 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12531 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 781 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12534 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 854 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12537 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 403 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12540 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 548 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12543 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 524 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12546 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12549 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 347 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12552 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 252 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12555 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 12558 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 52 "/usr/share/sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 12561 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 12564 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 12567 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 12570 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 12573 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 12576 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 12579 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 12582 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 12585 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 12588 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 12591 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 12594 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 12597 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 12600 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 12603 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 12606 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 12609 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 12612 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"


class sipKBookmarkDialog : public  ::KBookmarkDialog
{
public:
    sipKBookmarkDialog( ::KBookmarkManager*, ::QWidget*);
    virtual ~sipKBookmarkDialog();

    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 save( ::KBookmarkDialog::BookmarkDialogMode,const  ::KBookmark&);
    void aboutToShow( ::KBookmarkDialog::BookmarkDialogMode);
    void initLayout();
    void reject();
    void accept();
    void done(int);
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
     ::QPaintEngine* paintEngine() const;
    int devType() const;
    void setVisible(bool);
     ::QSize sizeHint() const;
     ::QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    void mousePressEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void wheelEvent( ::QWheelEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void enterEvent( ::QEvent*);
    void leaveEvent( ::QEvent*);
    void paintEvent( ::QPaintEvent*);
    void moveEvent( ::QMoveEvent*);
    void resizeEvent( ::QResizeEvent*);
    void closeEvent( ::QCloseEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void tabletEvent( ::QTabletEvent*);
    void actionEvent( ::QActionEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dropEvent( ::QDropEvent*);
    void showEvent( ::QShowEvent*);
    void hideEvent( ::QHideEvent*);
    void changeEvent( ::QEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    void enabledChange(bool);
    void paletteChange(const  ::QPalette&);
    void fontChange(const  ::QFont&);
    void windowActivationChange(bool);
    void languageChange();
    void setCaption(const  ::QString&);
    void setCaption(const  ::QString&,bool);
    void setPlainCaption(const  ::QString&);
    void slotButtonClicked(int);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKBookmarkDialog(const sipKBookmarkDialog &);
    sipKBookmarkDialog &operator = (const sipKBookmarkDialog &);

    char sipPyMethods[57];
};

sipKBookmarkDialog::sipKBookmarkDialog( ::KBookmarkManager*a0, ::QWidget*a1):  ::KBookmarkDialog(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKBookmarkDialog::~sipKBookmarkDialog()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipKBookmarkDialog::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KBookmarkDialog);
}

int sipKBookmarkDialog::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::KBookmarkDialog::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kio_qt_metacall(sipPySelf,sipType_KBookmarkDialog,_c,_id,_a);

    return _id;
}

void *sipKBookmarkDialog::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast(sipPySelf, sipType_KBookmarkDialog, _clname)) ? this :  ::KBookmarkDialog::qt_metacast(_clname);
}

void sipKBookmarkDialog::save( ::KBookmarkDialog::BookmarkDialogMode a0,const  ::KBookmark& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_save);

    if (!sipMeth)
    {
         ::KBookmarkDialog::save(a0,a1);
        return;
    }

    extern void sipVH_kio_101(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::KBookmarkDialog::BookmarkDialogMode,const  ::KBookmark&);

    sipVH_kio_101(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKBookmarkDialog::aboutToShow( ::KBookmarkDialog::BookmarkDialogMode a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_aboutToShow);

    if (!sipMeth)
    {
         ::KBookmarkDialog::aboutToShow(a0);
        return;
    }

    extern void sipVH_kio_100(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::KBookmarkDialog::BookmarkDialogMode);

    sipVH_kio_100(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBookmarkDialog::initLayout()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_initLayout);

    if (!sipMeth)
    {
         ::KBookmarkDialog::initLayout();
        return;
    }

    extern void sipVH_kio_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kio_9(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKBookmarkDialog::reject()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_reject);

    if (!sipMeth)
    {
         ::KBookmarkDialog::reject();
        return;
    }

    extern void sipVH_kio_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kio_9(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKBookmarkDialog::accept()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_accept);

    if (!sipMeth)
    {
         ::KBookmarkDialog::accept();
        return;
    }

    extern void sipVH_kio_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kio_9(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKBookmarkDialog::done(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_done);

    if (!sipMeth)
    {
         ::KBookmarkDialog::done(a0);
        return;
    }

    extern void sipVH_kio_71(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_kio_71(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBookmarkDialog::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::KBookmarkDialog::disconnectNotify(a0);
        return;
    }

    extern void sipVH_kio_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kio_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBookmarkDialog::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::KBookmarkDialog::connectNotify(a0);
        return;
    }

    extern void sipVH_kio_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kio_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBookmarkDialog::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::KBookmarkDialog::customEvent(a0);
        return;
    }

    extern void sipVH_kio_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kio_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBookmarkDialog::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::KBookmarkDialog::childEvent(a0);
        return;
    }

    extern void sipVH_kio_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kio_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBookmarkDialog::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::KBookmarkDialog::timerEvent(a0);
        return;
    }

    extern void sipVH_kio_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kio_6(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKBookmarkDialog::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::KBookmarkDialog::eventFilter(a0,a1);

    extern bool sipVH_kio_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kio_7(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKBookmarkDialog::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KBookmarkDialog::event(a0);

    extern bool sipVH_kio_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kio_8(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKBookmarkDialog::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::KBookmarkDialog::metric(a0);

    extern int sipVH_kio_99(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_kio_99(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QPaintEngine* sipKBookmarkDialog::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::KBookmarkDialog::paintEngine();

    extern  ::QPaintEngine* sipVH_kio_98(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_98(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKBookmarkDialog::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[15]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::KBookmarkDialog::devType();

    extern int sipVH_kio_97(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_97(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKBookmarkDialog::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::KBookmarkDialog::setVisible(a0);
        return;
    }

    extern void sipVH_kio_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kio_47(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QSize sipKBookmarkDialog::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[17]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::KBookmarkDialog::sizeHint();

    extern  ::QSize sipVH_kio_96(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_96(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QSize sipKBookmarkDialog::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[18]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::KBookmarkDialog::minimumSizeHint();

    extern  ::QSize sipVH_kio_96(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_96(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKBookmarkDialog::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[19]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return  ::KBookmarkDialog::heightForWidth(a0);

    extern int sipVH_kio_95(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_kio_95(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBookmarkDialog::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::KBookmarkDialog::mousePressEvent(a0);
        return;
    }

    extern void sipVH_kio_94(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kio_94(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBookmarkDialog::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::KBookmarkDialog::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_kio_94(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kio_94(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBookmarkDialog::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::KBookmarkDialog::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_kio_94(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kio_94(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBookmarkDialog::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::KBookmarkDialog::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_kio_94(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kio_94(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBookmarkDialog::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::KBookmarkDialog::wheelEvent(a0);
        return;
    }

    extern void sipVH_kio_93(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_kio_93(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBookmarkDialog::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::KBookmarkDialog::keyPressEvent(a0);
        return;
    }

    extern void sipVH_kio_92(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kio_92(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBookmarkDialog::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::KBookmarkDialog::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_kio_92(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kio_92(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBookmarkDialog::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::KBookmarkDialog::focusInEvent(a0);
        return;
    }

    extern void sipVH_kio_91(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kio_91(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBookmarkDialog::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::KBookmarkDialog::focusOutEvent(a0);
        return;
    }

    extern void sipVH_kio_91(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kio_91(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBookmarkDialog::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::KBookmarkDialog::enterEvent(a0);
        return;
    }

    extern void sipVH_kio_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kio_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBookmarkDialog::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::KBookmarkDialog::leaveEvent(a0);
        return;
    }

    extern void sipVH_kio_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kio_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBookmarkDialog::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::KBookmarkDialog::paintEvent(a0);
        return;
    }

    extern void sipVH_kio_90(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_kio_90(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBookmarkDialog::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::KBookmarkDialog::moveEvent(a0);
        return;
    }

    extern void sipVH_kio_89(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_kio_89(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBookmarkDialog::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::KBookmarkDialog::resizeEvent(a0);
        return;
    }

    extern void sipVH_kio_88(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_kio_88(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBookmarkDialog::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::KBookmarkDialog::closeEvent(a0);
        return;
    }

    extern void sipVH_kio_87(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_kio_87(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBookmarkDialog::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::KBookmarkDialog::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_kio_86(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_kio_86(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBookmarkDialog::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::KBookmarkDialog::tabletEvent(a0);
        return;
    }

    extern void sipVH_kio_85(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_kio_85(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBookmarkDialog::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::KBookmarkDialog::actionEvent(a0);
        return;
    }

    extern void sipVH_kio_84(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_kio_84(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBookmarkDialog::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::KBookmarkDialog::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_kio_83(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_kio_83(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBookmarkDialog::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::KBookmarkDialog::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_kio_82(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_kio_82(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBookmarkDialog::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::KBookmarkDialog::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_kio_81(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_kio_81(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBookmarkDialog::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::KBookmarkDialog::dropEvent(a0);
        return;
    }

    extern void sipVH_kio_80(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_kio_80(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBookmarkDialog::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::KBookmarkDialog::showEvent(a0);
        return;
    }

    extern void sipVH_kio_79(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_kio_79(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBookmarkDialog::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::KBookmarkDialog::hideEvent(a0);
        return;
    }

    extern void sipVH_kio_78(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_kio_78(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBookmarkDialog::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::KBookmarkDialog::changeEvent(a0);
        return;
    }

    extern void sipVH_kio_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kio_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBookmarkDialog::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::KBookmarkDialog::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_kio_77(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_kio_77(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QVariant sipKBookmarkDialog::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[46]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::KBookmarkDialog::inputMethodQuery(a0);

    extern  ::QVariant sipVH_kio_76(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_kio_76(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKBookmarkDialog::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::KBookmarkDialog::focusNextPrevChild(a0);

    extern bool sipVH_kio_75(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_kio_75(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBookmarkDialog::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
         ::KBookmarkDialog::enabledChange(a0);
        return;
    }

    extern void sipVH_kio_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kio_47(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBookmarkDialog::paletteChange(const  ::QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
         ::KBookmarkDialog::paletteChange(a0);
        return;
    }

    extern void sipVH_kio_74(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPalette&);

    sipVH_kio_74(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBookmarkDialog::fontChange(const  ::QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
         ::KBookmarkDialog::fontChange(a0);
        return;
    }

    extern void sipVH_kio_73(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QFont&);

    sipVH_kio_73(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBookmarkDialog::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
         ::KBookmarkDialog::windowActivationChange(a0);
        return;
    }

    extern void sipVH_kio_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kio_47(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBookmarkDialog::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
         ::KBookmarkDialog::languageChange();
        return;
    }

    extern void sipVH_kio_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kio_9(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKBookmarkDialog::setCaption(const  ::QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_setCaption);

    if (!sipMeth)
    {
         ::KBookmarkDialog::setCaption(a0);
        return;
    }

    extern void sipVH_kio_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&);

    sipVH_kio_12(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBookmarkDialog::setCaption(const  ::QString& a0,bool a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_setCaption);

    if (!sipMeth)
    {
         ::KBookmarkDialog::setCaption(a0,a1);
        return;
    }

    extern void sipVH_kio_72(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&,bool);

    sipVH_kio_72(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKBookmarkDialog::setPlainCaption(const  ::QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[55],sipPySelf,NULL,sipName_setPlainCaption);

    if (!sipMeth)
    {
         ::KBookmarkDialog::setPlainCaption(a0);
        return;
    }

    extern void sipVH_kio_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&);

    sipVH_kio_12(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBookmarkDialog::slotButtonClicked(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[56],sipPySelf,NULL,sipName_slotButtonClicked);

    if (!sipMeth)
    {
         ::KBookmarkDialog::slotButtonClicked(a0);
        return;
    }

    extern void sipVH_kio_71(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_kio_71(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_KBookmarkDialog_editBookmark(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_editBookmark(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KBookmark* a0;
         ::KBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KBookmarkDialog, &sipCpp, sipType_KBookmark, &a0))
        {
             ::KBookmark*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::KBookmark(sipCpp->editBookmark(*a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KBookmark,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBookmarkDialog, sipName_editBookmark, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_addBookmark(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_addBookmark(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::KUrl* a1;
         ::KBookmark a2def = KBookmark();
         ::KBookmark* a2 = &a2def;
         ::KBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J9|J;", &sipSelf, sipType_KBookmarkDialog, &sipCpp, sipType_QString,&a0, &a0State, sipType_KUrl, &a1, sipType_KBookmark, &a2))
        {
             ::KBookmark*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::KBookmark(sipCpp->addBookmark(*a0,*a1,*a2));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_KBookmark,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBookmarkDialog, sipName_addBookmark, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_createNewFolder(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_createNewFolder(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::KBookmark a1def = KBookmark();
         ::KBookmark* a1 = &a1def;
         ::KBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|J;", &sipSelf, sipType_KBookmarkDialog, &sipCpp, sipType_QString,&a0, &a0State, sipType_KBookmark, &a1))
        {
             ::KBookmarkGroup*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::KBookmarkGroup(sipCpp->createNewFolder(*a0,*a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_KBookmarkGroup,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBookmarkDialog, sipName_createNewFolder, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_selectFolder(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_selectFolder(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KBookmark a0def = KBookmark();
         ::KBookmark* a0 = &a0def;
         ::KBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|J9", &sipSelf, sipType_KBookmarkDialog, &sipCpp, sipType_KBookmark, &a0))
        {
             ::KBookmarkGroup*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::KBookmarkGroup(sipCpp->selectFolder(*a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KBookmarkGroup,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBookmarkDialog, sipName_selectFolder, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_initLayout(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_initLayout(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::KBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KBookmarkDialog, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KBookmarkDialog::initLayout() : sipCpp->initLayout());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBookmarkDialog, sipName_initLayout, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_aboutToShow(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_aboutToShow(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::KBookmarkDialog::BookmarkDialogMode a0;
         ::KBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pE", &sipSelf, sipType_KBookmarkDialog, &sipCpp, sipType_KBookmarkDialog_BookmarkDialogMode, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KBookmarkDialog::aboutToShow(a0) : sipCpp->aboutToShow(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_KBookmarkDialog, sipName_aboutToShow, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_save(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_save(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::KBookmarkDialog::BookmarkDialogMode a0;
        const  ::KBookmark* a1;
         ::KBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pEJ9", &sipSelf, sipType_KBookmarkDialog, &sipCpp, sipType_KBookmarkDialog_BookmarkDialogMode, &a0, sipType_KBookmark, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KBookmarkDialog::save(a0,*a1) : sipCpp->save(a0,*a1));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBookmarkDialog, sipName_save, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_setParentBookmark(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_setParentBookmark(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KBookmark* a0;
         ::KBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9", &sipSelf, sipType_KBookmarkDialog, &sipCpp, sipType_KBookmark, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setParentBookmark(*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_KBookmarkDialog, sipName_setParentBookmark, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_parentBookmark(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_parentBookmark(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KBookmarkDialog, &sipCpp))
        {
             ::KBookmarkGroup*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::KBookmarkGroup(sipCpp->parentBookmark());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KBookmarkGroup,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBookmarkDialog, sipName_parentBookmark, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_slotButtonClicked(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_slotButtonClicked(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int a0;
         ::KBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pi", &sipSelf, sipType_KBookmarkDialog, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KBookmarkDialog::slotButtonClicked(a0) : sipCpp->slotButtonClicked(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_KBookmarkDialog, sipName_slotButtonClicked, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_fillGroup(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_fillGroup(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QTreeWidgetItem* a0;
        const  ::KBookmarkGroup* a1;
         ::KBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8J9", &sipSelf, sipType_KBookmarkDialog, &sipCpp, sipType_QTreeWidgetItem, &a0, sipType_KBookmarkGroup, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->fillGroup(a0,*a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBookmarkDialog, sipName_fillGroup, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_initLayoutPrivate(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_initLayoutPrivate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KBookmarkDialog, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->initLayoutPrivate();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBookmarkDialog, sipName_initLayoutPrivate, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_newFolderButton(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_newFolderButton(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KBookmarkDialog, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->newFolderButton();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBookmarkDialog, sipName_newFolderButton, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_addBookmarks(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_addBookmarks(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QList<QPair<QString,QString> >* a0;
        int a0State = 0;
        const  ::QString& a1def = QString();
        const  ::QString* a1 = &a1def;
        int a1State = 0;
         ::KBookmarkGroup a2def = KBookmarkGroup();
         ::KBookmarkGroup* a2 = &a2def;
         ::KBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|J1J9", &sipSelf, sipType_KBookmarkDialog, &sipCpp, sipType_QList_0600QPair_0100QString_0100QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_KBookmarkGroup, &a2))
        {
             ::KBookmarkGroup*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::KBookmarkGroup(sipCpp->addBookmarks(*a0,*a1,*a2));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QList<QPair<QString,QString> > *>(a0),sipType_QList_0600QPair_0100QString_0100QString,a0State);
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);

            return sipConvertFromNewType(sipRes,sipType_KBookmarkGroup,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBookmarkDialog, sipName_addBookmarks, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_KBookmarkDialog(void *, const sipTypeDef *);}
static void *cast_KBookmarkDialog(void *sipCppV, const sipTypeDef *targetType)
{
     ::KBookmarkDialog *sipCpp = reinterpret_cast< ::KBookmarkDialog *>(sipCppV);

    if (targetType == sipType_KDialog)
        return static_cast< ::KDialog *>(sipCpp);

    if (targetType == sipType_QDialog)
        return static_cast< ::QDialog *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KBookmarkDialog(void *, int);}
static void release_KBookmarkDialog(void *sipCppV, int)
{
     ::KBookmarkDialog *sipCpp = reinterpret_cast< ::KBookmarkDialog *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KBookmarkDialog(sipSimpleWrapper *);}
static void dealloc_KBookmarkDialog(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKBookmarkDialog *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KBookmarkDialog(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_KBookmarkDialog(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KBookmarkDialog(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipKBookmarkDialog *sipCpp = 0;

    {
         ::KBookmarkManager* a0;
         ::QWidget* a1 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8|J8", sipType_KBookmarkManager, &a0, sipType_QWidget, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKBookmarkDialog(a0,a1);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KBookmarkDialog[] = {{9, 7, 1}};


static PyMethodDef methods_KBookmarkDialog[] = {
    {SIP_MLNAME_CAST(sipName_aboutToShow), meth_KBookmarkDialog_aboutToShow, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addBookmark), meth_KBookmarkDialog_addBookmark, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addBookmarks), meth_KBookmarkDialog_addBookmarks, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_createNewFolder), meth_KBookmarkDialog_createNewFolder, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_editBookmark), meth_KBookmarkDialog_editBookmark, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fillGroup), meth_KBookmarkDialog_fillGroup, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_initLayout), meth_KBookmarkDialog_initLayout, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_initLayoutPrivate), meth_KBookmarkDialog_initLayoutPrivate, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_newFolderButton), meth_KBookmarkDialog_newFolderButton, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_parentBookmark), meth_KBookmarkDialog_parentBookmark, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_save), meth_KBookmarkDialog_save, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_selectFolder), meth_KBookmarkDialog_selectFolder, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setParentBookmark), meth_KBookmarkDialog_setParentBookmark, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotButtonClicked), meth_KBookmarkDialog_slotButtonClicked, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KBookmarkDialog[] = {
    {sipName_EditBookmark, static_cast<int>( ::KBookmarkDialog::EditBookmark), 21},
    {sipName_NewBookmark, static_cast<int>( ::KBookmarkDialog::NewBookmark), 21},
    {sipName_NewFolder, static_cast<int>( ::KBookmarkDialog::NewFolder), 21},
    {sipName_NewMultipleBookmarks, static_cast<int>( ::KBookmarkDialog::NewMultipleBookmarks), 21},
    {sipName_SelectFolder, static_cast<int>( ::KBookmarkDialog::SelectFolder), 21},
};


static pyqt4ClassPluginDef plugin_KBookmarkDialog = {
    & ::KBookmarkDialog::staticMetaObject,
    0,
    0
};


sipClassTypeDef sipTypeDef_kio_KBookmarkDialog = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KBookmarkDialog,
        {0},
        &plugin_KBookmarkDialog
    },
    {
        sipNameNr_KBookmarkDialog,
        {0, 0, 1},
        14, methods_KBookmarkDialog,
        5, enummembers_KBookmarkDialog,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KBookmarkDialog,
    0,
    init_type_KBookmarkDialog,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KBookmarkDialog,
    0,
    0,
    0,
    release_KBookmarkDialog,
    cast_KBookmarkDialog,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 132 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 14297 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"

#line 100 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 14301 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 14304 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart5.cpp"


class sipKBookmarkGroupTraverser : public  ::KBookmarkGroupTraverser
{
public:
    sipKBookmarkGroupTraverser();
    sipKBookmarkGroupTraverser(const  ::KBookmarkGroupTraverser&);
    virtual ~sipKBookmarkGroupTraverser();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void visitLeave(const  ::KBookmarkGroup&);
    void visitEnter(const  ::KBookmarkGroup&);
    void visit(const  ::KBookmark&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKBookmarkGroupTraverser(const sipKBookmarkGroupTraverser &);
    sipKBookmarkGroupTraverser &operator = (const sipKBookmarkGroupTraverser &);

    char sipPyMethods[3];
};

sipKBookmarkGroupTraverser::sipKBookmarkGroupTraverser():  ::KBookmarkGroupTraverser(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKBookmarkGroupTraverser::sipKBookmarkGroupTraverser(const  ::KBookmarkGroupTraverser& a0):  ::KBookmarkGroupTraverser(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKBookmarkGroupTraverser::~sipKBookmarkGroupTraverser()
{
    sipInstanceDestroyed(sipPySelf);
}

void sipKBookmarkGroupTraverser::visitLeave(const  ::KBookmarkGroup& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_visitLeave);

    if (!sipMeth)
    {
         ::KBookmarkGroupTraverser::visitLeave(a0);
        return;
    }

    extern void sipVH_kio_70(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::KBookmarkGroup&);

    sipVH_kio_70(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBookmarkGroupTraverser::visitEnter(const  ::KBookmarkGroup& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_visitEnter);

    if (!sipMeth)
    {
         ::KBookmarkGroupTraverser::visitEnter(a0);
        return;
    }

    extern void sipVH_kio_70(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::KBookmarkGroup&);

    sipVH_kio_70(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBookmarkGroupTraverser::visit(const  ::KBookmark& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_visit);

    if (!sipMeth)
    {
         ::KBookmarkGroupTraverser::visit(a0);
        return;
    }

    extern void sipVH_kio_69(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::KBookmark&);

    sipVH_kio_69(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_KBookmarkGroupTraverser_traverse(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkGroupTraverser_traverse(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KBookmarkGroup* a0;
         ::KBookmarkGroupTraverser *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9", &sipSelf, sipType_KBookmarkGroupTraverser, &sipCpp, sipType_KBookmarkGroup, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->traverse(*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_KBookmarkGroupTraverser, sipName_traverse, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkGroupTraverser_visit(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkGroupTraverser_visit(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::KBookmark* a0;
         ::KBookmarkGroupTraverser *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9", &sipSelf, sipType_KBookmarkGroupTraverser, &sipCpp, sipType_KBookmark, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KBookmarkGroupTraverser::visit(*a0) : sipCpp->visit(*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_KBookmarkGroupTraverser, sipName_visit, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkGroupTraverser_visitEnter(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkGroupTraverser_visitEnter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::KBookmarkGroup* a0;
         ::KBookmarkGroupTraverser *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9", &sipSelf, sipType_KBookmarkGroupTraverser, &sipCpp, sipType_KBookmarkGroup, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KBookmarkGroupTraverser::visitEnter(*a0) : sipCpp->visitEnter(*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_KBookmarkGroupTraverser, sipName_visitEnter, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkGroupTraverser_visitLeave(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkGroupTraverser_visitLeave(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::KBookmarkGroup* a0;
         ::KBookmarkGroupTraverser *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9", &sipSelf, sipType_KBookmarkGroupTraverser, &sipCpp, sipType_KBookmarkGroup, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KBookmarkGroupTraverser::visitLeave(*a0) : sipCpp->visitLeave(*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_KBookmarkGroupTraverser, sipName_visitLeave, NULL);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KBookmarkGroupTraverser(void *, int);}
static void release_KBookmarkGroupTraverser(void *sipCppV, int sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKBookmarkGroupTraverser *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KBookmarkGroupTraverser(sipSimpleWrapper *);}
static void dealloc_KBookmarkGroupTraverser(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKBookmarkGroupTraverser *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KBookmarkGroupTraverser(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_KBookmarkGroupTraverser(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KBookmarkGroupTraverser(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipKBookmarkGroupTraverser *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKBookmarkGroupTraverser();
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const  ::KBookmarkGroupTraverser* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_KBookmarkGroupTraverser, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKBookmarkGroupTraverser(*a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_KBookmarkGroupTraverser[] = {
    {SIP_MLNAME_CAST(sipName_traverse), meth_KBookmarkGroupTraverser_traverse, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_visit), meth_KBookmarkGroupTraverser_visit, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_visitEnter), meth_KBookmarkGroupTraverser_visitEnter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_visitLeave), meth_KBookmarkGroupTraverser_visitLeave, METH_VARARGS, NULL}
};


static pyqt4ClassPluginDef plugin_KBookmarkGroupTraverser = {
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_kio_KBookmarkGroupTraverser = {
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KBookmarkGroupTraverser,
        {0},
        &plugin_KBookmarkGroupTraverser
    },
    {
        sipNameNr_KBookmarkGroupTraverser,
        {0, 0, 1},
        4, methods_KBookmarkGroupTraverser,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_type_KBookmarkGroupTraverser,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KBookmarkGroupTraverser,
    0,
    0,
    0,
    release_KBookmarkGroupTraverser,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};
