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

#include "sipAPIkio.h"

#line 55 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kdatatool.sip"
#include <kdatatool.h>
#line 12 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"

#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 16 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kdatatool.sip"
#include <kdatatool.h>
#line 19 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 22 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 25 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 31 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kdeui/kactioncollection.sip"
#include <kactioncollection.h>
#line 34 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 25 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kdecore/kauthaction.sip"
#include <kauthaction.h>
#line 37 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 40 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 43 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 46 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 49 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 55 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kdeui/kgesture.sip"
#include <kgesture.h>
#line 52 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kdeui/kaction.sip"
#include <kaction.h>
#line 55 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kdeui/kgesture.sip"
#include <kgesture.h>
#line 58 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kdeui/kaction.sip"
#include <kaction.h>
#line 61 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kdeui/kshortcut.sip"
#include <kshortcut.h>
#line 64 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 67 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 70 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 73 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 76 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 187 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 79 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 274 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 82 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 85 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 88 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qmenu.sip"
#include <qmenu.h>
#line 91 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 94 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qactiongroup.sip"
#include <qactiongroup.h>
#line 97 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 355 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 100 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 338 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 103 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 106 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 37 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 109 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 112 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 115 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 118 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 121 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/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 disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool event(QEvent*);
    void deleteWidget(QWidget*);
    QWidget* createWidget(QWidget*);
    bool eventFilter(QObject*,QEvent*);
    void slotActivated();

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[12];
};

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

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

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

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

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

    return _id;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*);

    ((sipVH_QtGui_7)(sipModuleAPI_kio_QtGui->em_virthandlers[7]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    typedef QWidget* (*sipVH_QtGui_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*);

    return ((sipVH_QtGui_8)(sipModuleAPI_kio_QtGui->em_virthandlers[8]))(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);

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

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

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

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

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

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

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


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 || sipIsDerived((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 superclass hierarchy. */
extern "C" {static void *cast_KDataToolAction(void *, const sipTypeDef *);}
static void *cast_KDataToolAction(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KDataToolAction)
        return ptr;

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

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KDataToolAction(void *, int);}
static void release_KDataToolAction(void *sipCppV,int)
{
    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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipKDataToolAction *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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[] = {{7, 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}
};


pyqt4ClassTypeDef sipTypeDef_kio_KDataToolAction = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KDataToolAction,
        {0}
    },
    {
        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
},
    &KDataToolAction::staticMetaObject,
    0,
    signals_KDataToolAction,
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kdatatool.sip"
#include <kdatatool.h>
#line 572 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"

#line 340 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 576 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kdecore/kservice.sip"
#include <kservice.h>
#line 579 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kdecore/kcomponentdata.sip"
#include <kcomponentdata.h>
#line 582 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 585 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 588 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 77 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kdatatool.sip"
#include <kdatatool.h>
#line 591 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 594 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 597 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 600 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/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;
}


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

    return NULL;
}


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

    delete reinterpret_cast<KDataToolInfo *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KDataToolInfo(void *, 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 (sipIsPyOwned(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}
};


pyqt4ClassTypeDef sipTypeDef_kio_KDataToolInfo = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KDataToolInfo,
        {0}
    },
    {
        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,
    cast_KDataToolInfo,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kbuildsycocaprogressdialog.sip"
#include <kbuildsycocaprogressdialog.h>
#line 1136 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"

#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 1140 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 1143 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 1146 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 605 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1149 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1152 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 583 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1155 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 570 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1158 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 1161 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qprogressbar.sip"
#include <qprogressbar.h>
#line 1164 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qpushbutton.sip"
#include <qpushbutton.h>
#line 1167 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qlabel.sip"
#include <qlabel.h>
#line 1170 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 627 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1173 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 483 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1176 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1179 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1182 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 39 "/usr/share/python3-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 1185 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1188 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 39 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 1191 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 1194 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 1197 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 1200 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 1203 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 1206 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 1209 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 1212 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 37 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 1215 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 1218 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 1221 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 1224 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 1227 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1230 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 1233 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 274 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 1236 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 656 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1239 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 616 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1242 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 748 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1245 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 801 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1248 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 774 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1251 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 790 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1254 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 863 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1257 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 412 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1260 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 557 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1263 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 533 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1266 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 514 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1269 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 356 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1272 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 261 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1275 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 1278 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 61 "/usr/share/python3-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 1281 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 39 "/usr/share/python3-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 1284 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 1287 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 1290 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 1293 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 1296 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1299 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 1302 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 1305 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 1308 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 1311 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 1314 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 355 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1317 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 338 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1320 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 1323 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 1326 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 1329 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 1332 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 1335 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/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 superclass hierarchy. */
extern "C" {static void *cast_KBuildSycocaProgressDialog(void *, const sipTypeDef *);}
static void *cast_KBuildSycocaProgressDialog(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KBuildSycocaProgressDialog)
        return ptr;

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

    return NULL;
}


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


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


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


pyqt4ClassTypeDef sipTypeDef_kio_KBuildSycocaProgressDialog = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KBuildSycocaProgressDialog,
        {0}
    },
    {
        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
},
    &KBuildSycocaProgressDialog::staticMetaObject,
    0,
    0
};

#line 130 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kbookmarkmenu.sip"
#include <kbookmarkmenu.h>
#line 1451 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 1455 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 81 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kbookmarkmanager.sip"
#include <kbookmarkmanager.h>
#line 1458 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 1461 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1464 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1467 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 25 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kdecore/kauthaction.sip"
#include <kauthaction.h>
#line 1470 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 1473 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 1476 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1479 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 55 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kdeui/kgesture.sip"
#include <kgesture.h>
#line 1482 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kdeui/kaction.sip"
#include <kaction.h>
#line 1485 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kdeui/kgesture.sip"
#include <kgesture.h>
#line 1488 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kdeui/kaction.sip"
#include <kaction.h>
#line 1491 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kdeui/kshortcut.sip"
#include <kshortcut.h>
#line 1494 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 1497 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 1500 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 1503 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 1506 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 1509 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 187 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 1512 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 274 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 1515 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 1518 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1521 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qmenu.sip"
#include <qmenu.h>
#line 1524 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 1527 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qactiongroup.sip"
#include <qactiongroup.h>
#line 1530 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 355 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1533 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 338 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1536 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 1539 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 37 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 1542 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 1545 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 1548 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 1551 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 1554 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/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 disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool event(QEvent*);
    void deleteWidget(QWidget*);
    QWidget* createWidget(QWidget*);
    bool eventFilter(QObject*,QEvent*);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[11];
};

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

sipKBookmarkAction::~sipKBookmarkAction()
{
    sipCommonDtor(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::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*);

    ((sipVH_QtGui_7)(sipModuleAPI_kio_QtGui->em_virthandlers[7]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    typedef QWidget* (*sipVH_QtGui_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*);

    return ((sipVH_QtGui_8)(sipModuleAPI_kio_QtGui->em_virthandlers[8]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

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


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 superclass hierarchy. */
extern "C" {static void *cast_KBookmarkAction(void *, const sipTypeDef *);}
static void *cast_KBookmarkAction(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KBookmarkAction)
        return ptr;

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

    if ((res = ((const sipClassTypeDef *)sipType_KBookmarkActionInterface)->ctd_cast((KBookmarkActionInterface *)(KBookmarkAction *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* 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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipKBookmarkAction *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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[] = {{7, 7, 0}, {17, 255, 1}};


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


pyqt4ClassTypeDef sipTypeDef_kio_KBookmarkAction = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KBookmarkAction,
        {0}
    },
    {
        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
},
    &KBookmarkAction::staticMetaObject,
    0,
    0
};

#line 115 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kbookmarkmenu.sip"
#include <kbookmarkmenu.h>
#line 1947 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 1951 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 1954 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 1957 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 1960 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kdeui/kmenu.sip"
#include <kmenu.h>
#line 1963 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 1966 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kdeui/kaction.sip"
#include <kaction.h>
#line 1969 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 25 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kdecore/kauthaction.sip"
#include <kauthaction.h>
#line 1972 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 1975 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1978 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1981 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1984 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 55 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kdeui/kgesture.sip"
#include <kgesture.h>
#line 1987 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kdeui/kaction.sip"
#include <kaction.h>
#line 1990 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kdeui/kgesture.sip"
#include <kgesture.h>
#line 1993 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kdeui/kshortcut.sip"
#include <kshortcut.h>
#line 1996 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 1999 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 2002 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 2005 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 187 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 2008 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 274 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 2011 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 2014 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2017 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 2020 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qactiongroup.sip"
#include <qactiongroup.h>
#line 2023 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 355 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2026 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 338 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2029 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 2032 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 37 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 2035 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 2038 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 2041 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 2044 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 2047 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/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:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool event(QEvent*);
    void deleteWidget(QWidget*);
    bool eventFilter(QObject*,QEvent*);
    QWidget* createWidget(QWidget*);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[11];
};

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()
{
    sipCommonDtor(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);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

void 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;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*);

    ((sipVH_QtGui_7)(sipModuleAPI_kio_QtGui->em_virthandlers[7]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

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

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

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

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

    typedef QWidget* (*sipVH_kdeui_42)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*);

    return ((sipVH_kdeui_42)(sipModuleAPI_kio_kdeui->em_virthandlers[42]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}


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

    if (targetType == sipType_KBookmarkActionMenu)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KActionMenu)->ctd_cast((KActionMenu *)(KBookmarkActionMenu *)ptr,targetType)) != NULL)
        return res;

    if ((res = ((const sipClassTypeDef *)sipType_KBookmarkActionInterface)->ctd_cast((KBookmarkActionInterface *)(KBookmarkActionMenu *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* 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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipKBookmarkActionMenu *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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[] = {{13, 7, 0}, {17, 255, 1}};


pyqt4ClassTypeDef sipTypeDef_kio_KBookmarkActionMenu = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KBookmarkActionMenu,
        {0}
    },
    {
        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
},
    &KBookmarkActionMenu::staticMetaObject,
    0,
    0
};

#line 100 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kbookmarkmenu.sip"
#include <kbookmarkmenu.h>
#line 2427 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 2431 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/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;
}


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

    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 (sipIsPyOwned(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}
};


pyqt4ClassTypeDef sipTypeDef_kio_KBookmarkActionInterface = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KBookmarkActionInterface,
        {0}
    },
    {
        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,
    cast_KBookmarkActionInterface,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 68 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kbookmarkmenu.sip"
#include <kbookmarkmenu.h>
#line 2589 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 2593 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kbookmarkmanager.sip"
#include <kbookmarkmanager.h>
#line 2596 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 81 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kbookmarkmanager.sip"
#include <kbookmarkmanager.h>
#line 2599 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 2602 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 616 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2605 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 627 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2608 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 261 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2611 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 483 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2614 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 583 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2617 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kdeui/kmenu.sip"
#include <kmenu.h>
#line 2620 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 2623 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qmenu.sip"
#include <qmenu.h>
#line 2626 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2629 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2632 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 2635 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 2638 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2641 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 338 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2644 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 863 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2647 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 533 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2650 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 356 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2653 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 1012 "/usr/share/python3-sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 2656 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 2659 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 2662 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 2665 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 2668 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 2671 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 2674 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2677 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 39 "/usr/share/python3-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 2680 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2683 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2686 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 39 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 2689 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 2692 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 2695 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 2698 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 2701 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 2704 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 2707 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 37 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 2710 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 2713 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 2716 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 2719 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2722 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 2725 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 274 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 2728 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 656 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2731 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 605 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2734 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 748 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2737 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 801 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2740 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 774 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2743 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 790 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2746 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 412 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2749 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 570 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2752 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 557 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2755 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 514 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2758 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 2761 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 61 "/usr/share/python3-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 2764 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 39 "/usr/share/python3-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 2767 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 2770 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 2773 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2776 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 2779 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 2782 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 2785 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 355 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2788 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 2791 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 2794 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 2797 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 2800 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 2803 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/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 disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    bool eventFilter(QObject*,QEvent*);
    void languageChange();
    void windowActivationChange(bool);
    void fontChange(const QFont&);
    void paletteChange(const QPalette&);
    void enabledChange(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void showEvent(QShowEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void tabletEvent(QTabletEvent*);
    void resizeEvent(QResizeEvent*);
    void moveEvent(QMoveEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    QSize minimumSizeHint() const;
    void setVisible(bool);
    int devType() const;
    bool event(QEvent*);
    void timerEvent(QTimerEvent*);
    void actionEvent(QActionEvent*);
    void paintEvent(QPaintEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void changeEvent(QEvent*);
    QSize sizeHint() const;
    void hideEvent(QHideEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    bool focusNextPrevChild(bool);
    void mousePressEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void keyPressEvent(QKeyEvent*);
    void closeEvent(QCloseEvent*);
    void addActions();

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()
{
    sipCommonDtor(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::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kio_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QFont&);

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

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

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

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

    typedef void (*sipVH_QtGui_10)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPalette&);

    ((sipVH_QtGui_10)(sipModuleAPI_kio_QtGui->em_virthandlers[10]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kio_QtGui->em_virthandlers[6]))(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[10]),sipPySelf,NULL,sipName_inputMethodQuery);

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

    typedef QVariant (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return ((sipVH_QtGui_12)(sipModuleAPI_kio_QtGui->em_virthandlers[12]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_13)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    ((sipVH_QtGui_13)(sipModuleAPI_kio_QtGui->em_virthandlers[13]))(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[12]),sipPySelf,NULL,sipName_metric);

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

    typedef int (*sipVH_QtGui_14)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_14)(sipModuleAPI_kio_QtGui->em_virthandlers[14]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_1)(sipModuleAPI_kio_QtGui->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_15)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    ((sipVH_QtGui_15)(sipModuleAPI_kio_QtGui->em_virthandlers[15]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_16)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    ((sipVH_QtGui_16)(sipModuleAPI_kio_QtGui->em_virthandlers[16]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

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

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

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

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

    typedef void (*sipVH_QtGui_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    ((sipVH_QtGui_18)(sipModuleAPI_kio_QtGui->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_20)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_20)(sipModuleAPI_kio_QtGui->em_virthandlers[20]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_kio_QtGui->em_virthandlers[2]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_23)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_23)(sipModuleAPI_kio_QtGui->em_virthandlers[23]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kio_QtGui->em_virthandlers[24]))(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;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

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

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

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

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

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

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

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

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

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

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kio_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    typedef QPaintEngine* (*sipVH_QtGui_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_27)(sipModuleAPI_kio_QtGui->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth);
}

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

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

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

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtGui_28)(sipModuleAPI_kio_QtGui->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kio_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

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

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

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

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kio_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_kio_QtCore->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth);
}

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

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

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

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

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

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

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

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

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

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

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

    typedef void (*sipVH_QtGui_19)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    ((sipVH_QtGui_19)(sipModuleAPI_kio_QtGui->em_virthandlers[19]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_kio_QtGui->em_virthandlers[3]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_kio_QtGui->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kio_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

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

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

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

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

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kio_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

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

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

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

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_kio_QtGui->em_virthandlers[0]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_21)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    ((sipVH_QtGui_21)(sipModuleAPI_kio_QtGui->em_virthandlers[21]))(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);

    typedef bool (*sipVH_QtGui_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return ((sipVH_QtGui_11)(sipModuleAPI_kio_QtGui->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kio_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kio_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

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

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

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

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

    typedef void (*sipVH_QtGui_22)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    ((sipVH_QtGui_22)(sipModuleAPI_kio_QtGui->em_virthandlers[22]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

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


extern "C" {static PyObject *meth_KBookmarkContextMenu_addActions(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkContextMenu_addActions(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((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 superclass hierarchy. */
extern "C" {static void *cast_KBookmarkContextMenu(void *, const sipTypeDef *);}
static void *cast_KBookmarkContextMenu(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KBookmarkContextMenu)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KMenu)->ctd_cast((KMenu *)(KBookmarkContextMenu *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* 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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipKBookmarkContextMenu *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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[] = {{185, 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}
};


pyqt4ClassTypeDef sipTypeDef_kio_KBookmarkContextMenu = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KBookmarkContextMenu,
        {0}
    },
    {
        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
},
    &KBookmarkContextMenu::staticMetaObject,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kbookmarkmenu.sip"
#include <kbookmarkmenu.h>
#line 4290 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kbookmarkmanager.sip"
#include <kbookmarkmanager.h>
#line 4294 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 81 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kbookmarkmanager.sip"
#include <kbookmarkmanager.h>
#line 4297 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kdeui/kmenu.sip"
#include <kmenu.h>
#line 4300 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kdeui/kactioncollection.sip"
#include <kactioncollection.h>
#line 4303 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 4306 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 4309 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 4312 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4315 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 355 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4318 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 338 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4321 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 4324 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 274 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 4327 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 4330 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 37 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 4333 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 4336 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 4339 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 4342 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 4345 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 4348 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/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:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    KMenu* contextMenu(QAction*);
    QAction* actionForBookmark(const KBookmark&);
    void refill();
    void clear();

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()
{
    sipCommonDtor(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);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

bool 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);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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 || sipIsDerived((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 || sipIsDerived((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 || sipIsDerived((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 || sipIsDerived((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 superclass hierarchy. */
extern "C" {static void *cast_KBookmarkMenu(void *, const sipTypeDef *);}
static void *cast_KBookmarkMenu(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KBookmarkMenu)
        return ptr;

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

    return NULL;
}


/* 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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipKBookmarkMenu *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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[] = {{141, 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}
};


pyqt4ClassTypeDef sipTypeDef_kio_KBookmarkMenu = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KBookmarkMenu,
        {0}
    },
    {
        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
},
    &KBookmarkMenu::staticMetaObject,
    0,
    0
};

#line 81 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kbookmarkmanager.sip"
#include <kbookmarkmanager.h>
#line 5432 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kbookmarkdialog.sip"
#include <kbookmarkdialog.h>
#line 5436 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kbookmarkmanager.sip"
#include <kbookmarkmanager.h>
#line 5439 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 5442 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 100 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 5445 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 5448 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 5451 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 5454 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 201 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 5458 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 77 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 5461 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 5464 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/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()
{
    sipCommonDtor(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_68(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KBookmarkManager*,QWidget*);

    return sipVH_kio_68(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_69(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const KBookmarkGroup&);

    sipVH_kio_69(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_70(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const KBookmark&,Qt::MouseButtons,Qt::KeyboardModifiers);

    sipVH_kio_70(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_71(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KBookmarkOwner::BookmarkOption);

    return sipVH_kio_71(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_72(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_72(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();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_kio_QtCore->em_virthandlers[7]))(sipGILState, 0, sipPySelf, sipMeth);
}

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();

    typedef QString (*sipVH_QtCore_62)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_62)(sipModuleAPI_kio_QtCore->em_virthandlers[62]))(sipGILState, 0, sipPySelf, sipMeth);
}

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();

    typedef QString (*sipVH_QtCore_62)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_62)(sipModuleAPI_kio_QtCore->em_virthandlers[62]))(sipGILState, 0, sipPySelf, sipMeth);
}


extern "C" {static PyObject *meth_KBookmarkOwner_currentTitle(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkOwner_currentTitle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((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 || sipIsDerived((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 || sipIsDerived((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 || sipIsDerived((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 || sipIsDerived((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 || sipIsDerived((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 || sipIsDerived((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;
}


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

    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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipKBookmarkOwner *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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},
};


pyqt4ClassTypeDef sipTypeDef_kio_KBookmarkOwner = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KBookmarkOwner,
        {0}
    },
    {
        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,
    cast_KBookmarkOwner,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kbookmarkmanager.sip"
#include <kbookmarkmanager.h>
#line 6024 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"

#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 6028 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 6031 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 216 "/usr/share/python3-sip/PyQt4/QtXml/qdom.sip"
#include <qdom.h>
#line 6034 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 100 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 6037 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 6040 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6043 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 355 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6046 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 338 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6049 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 6052 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 274 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 6055 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 6058 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 37 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 6061 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 6064 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 6067 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 6070 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 6073 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 6076 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/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 superclass hierarchy. */
extern "C" {static void *cast_KBookmarkManager(void *, const sipTypeDef *);}
static void *cast_KBookmarkManager(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KBookmarkManager)
        return ptr;

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

    return NULL;
}


/* 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 (sipIsPyOwned(sipSelf))
    {
        release_KBookmarkManager(sipGetAddress(sipSelf),0);
    }
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KBookmarkManager[] = {{141, 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}
};


pyqt4ClassTypeDef sipTypeDef_kio_KBookmarkManager = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KBookmarkManager,
        {0}
    },
    {
        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
},
    &KBookmarkManager::staticMetaObject,
    0,
    signals_KBookmarkManager,
};

#line 41 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kbookmarkimporter_opera.sip"
#include <kbookmarkimporter_opera.h>
#line 6879 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kbookmarkmanager.sip"
#include <kbookmarkmanager.h>
#line 6883 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 6886 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 100 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 6889 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/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()
{
    sipCommonDtor(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_69(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const KBookmarkGroup&);

    sipVH_kio_69(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 || sipIsDerived((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 superclass hierarchy. */
extern "C" {static void *cast_KOperaBookmarkExporterImpl(void *, const sipTypeDef *);}
static void *cast_KOperaBookmarkExporterImpl(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KOperaBookmarkExporterImpl)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KBookmarkExporterBase)->ctd_cast((KBookmarkExporterBase *)(KOperaBookmarkExporterImpl *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* 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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipKOperaBookmarkExporterImpl *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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


pyqt4ClassTypeDef sipTypeDef_kio_KOperaBookmarkExporterImpl = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KOperaBookmarkExporterImpl,
        {0}
    },
    {
        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
},
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kbookmarkimporter_opera.sip"
#include <kbookmarkimporter_opera.h>
#line 7128 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"

#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 7132 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kbookmarkimporter.sip"
#include <kbookmarkimporter.h>
#line 7135 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 7138 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7141 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 355 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7144 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 338 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7147 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 274 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 7150 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 7153 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 37 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 7156 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7159 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 7162 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 7165 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 7168 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 7171 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/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*);
    QString findDefaultLocation(bool) const;
    void parse();

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()
{
    sipCommonDtor(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;
    }

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

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

void 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;
    }

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

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

void 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;
    }

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

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

void 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;
    }

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

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

void 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;
    }

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

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

bool 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);

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

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

bool 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);

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

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

QString sipKOperaBookmarkImporterImpl::findDefaultLocation(bool a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KOperaBookmarkImporterImpl::findDefaultLocation(a0);

    extern QString sipVH_kio_73(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

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

void sipKOperaBookmarkImporterImpl::parse()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KOperaBookmarkImporterImpl::parse();
        return;
    }

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

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


extern "C" {static PyObject *meth_KOperaBookmarkImporterImpl_parse(PyObject *, PyObject *);}
static PyObject *meth_KOperaBookmarkImporterImpl_parse(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((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 || sipIsDerived((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 superclass hierarchy. */
extern "C" {static void *cast_KOperaBookmarkImporterImpl(void *, const sipTypeDef *);}
static void *cast_KOperaBookmarkImporterImpl(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KOperaBookmarkImporterImpl)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KBookmarkImporterBase)->ctd_cast((KBookmarkImporterBase *)(KOperaBookmarkImporterImpl *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* 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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipKOperaBookmarkImporterImpl *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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


pyqt4ClassTypeDef sipTypeDef_kio_KOperaBookmarkImporterImpl = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KOperaBookmarkImporterImpl,
        {0}
    },
    {
        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
},
    &KOperaBookmarkImporterImpl::staticMetaObject,
    0,
    0
};

#line 55 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kbookmarkimporter_ns.sip"
#include <kbookmarkimporter_ns.h>
#line 7582 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kbookmarkmanager.sip"
#include <kbookmarkmanager.h>
#line 7586 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 7589 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 100 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 7592 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/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()
{
    sipCommonDtor(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_69(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const KBookmarkGroup&);

    sipVH_kio_69(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 || sipIsDerived((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 superclass hierarchy. */
extern "C" {static void *cast_KNSBookmarkExporterImpl(void *, const sipTypeDef *);}
static void *cast_KNSBookmarkExporterImpl(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KNSBookmarkExporterImpl)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KBookmarkExporterBase)->ctd_cast((KBookmarkExporterBase *)(KNSBookmarkExporterImpl *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* 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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipKNSBookmarkExporterImpl *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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


pyqt4ClassTypeDef sipTypeDef_kio_KNSBookmarkExporterImpl = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KNSBookmarkExporterImpl,
        {0}
    },
    {
        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
},
    0,
    0,
    0
};

#line 42 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kbookmarkimporter_ns.sip"
#include <kbookmarkimporter_ns.h>
#line 7888 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"

#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 7892 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kbookmarkimporter.sip"
#include <kbookmarkimporter.h>
#line 7895 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 7898 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7901 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 355 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7904 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 338 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7907 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 274 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 7910 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 7913 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 37 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 7916 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7919 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 7922 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 7925 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 7928 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 7931 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/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:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    QString findDefaultLocation(bool) const;
    void parse();

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()
{
    sipCommonDtor(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);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

void 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;
    }

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

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

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

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

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

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

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

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

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

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

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

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

QString sipKMozillaBookmarkImporterImpl::findDefaultLocation(bool a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KMozillaBookmarkImporterImpl::findDefaultLocation(a0);

    extern QString sipVH_kio_73(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

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

void sipKMozillaBookmarkImporterImpl::parse()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KMozillaBookmarkImporterImpl::parse();
        return;
    }

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

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


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

    if (targetType == sipType_KMozillaBookmarkImporterImpl)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KNSBookmarkImporterImpl)->ctd_cast((KNSBookmarkImporterImpl *)(KMozillaBookmarkImporterImpl *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* 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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipKMozillaBookmarkImporterImpl *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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


pyqt4ClassTypeDef sipTypeDef_kio_KMozillaBookmarkImporterImpl = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KMozillaBookmarkImporterImpl,
        {0}
    },
    {
        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
},
    &KMozillaBookmarkImporterImpl::staticMetaObject,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kbookmarkimporter_ns.sip"
#include <kbookmarkimporter_ns.h>
#line 8280 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"

#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 8284 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kbookmarkimporter.sip"
#include <kbookmarkimporter.h>
#line 8287 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 8290 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8293 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 355 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8296 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 338 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8299 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 274 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 8302 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 8305 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 37 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 8308 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 8311 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 8314 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 8317 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 8320 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 8323 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/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*);
    QString findDefaultLocation(bool) const;
    void parse();

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()
{
    sipCommonDtor(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;
    }

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

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

void 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;
    }

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

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

void 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;
    }

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

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

void 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;
    }

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

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

void 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;
    }

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

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

bool 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);

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

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

bool 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);

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

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

QString sipKNSBookmarkImporterImpl::findDefaultLocation(bool a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KNSBookmarkImporterImpl::findDefaultLocation(a0);

    extern QString sipVH_kio_73(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

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

void sipKNSBookmarkImporterImpl::parse()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KNSBookmarkImporterImpl::parse();
        return;
    }

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

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


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 || sipIsDerived((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 || sipIsDerived((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 superclass hierarchy. */
extern "C" {static void *cast_KNSBookmarkImporterImpl(void *, const sipTypeDef *);}
static void *cast_KNSBookmarkImporterImpl(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KNSBookmarkImporterImpl)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KBookmarkImporterBase)->ctd_cast((KBookmarkImporterBase *)(KNSBookmarkImporterImpl *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* 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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipKNSBookmarkImporterImpl *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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


pyqt4ClassTypeDef sipTypeDef_kio_KNSBookmarkImporterImpl = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KNSBookmarkImporterImpl,
        {0}
    },
    {
        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
},
    &KNSBookmarkImporterImpl::staticMetaObject,
    0,
    0
};

#line 41 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kbookmarkimporter_ie.sip"
#include <kbookmarkimporter_ie.h>
#line 8762 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kbookmarkmanager.sip"
#include <kbookmarkmanager.h>
#line 8766 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 8769 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 100 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 8772 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/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()
{
    sipCommonDtor(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_69(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const KBookmarkGroup&);

    sipVH_kio_69(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 || sipIsDerived((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 superclass hierarchy. */
extern "C" {static void *cast_KIEBookmarkExporterImpl(void *, const sipTypeDef *);}
static void *cast_KIEBookmarkExporterImpl(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KIEBookmarkExporterImpl)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KBookmarkExporterBase)->ctd_cast((KBookmarkExporterBase *)(KIEBookmarkExporterImpl *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* 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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipKIEBookmarkExporterImpl *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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


pyqt4ClassTypeDef sipTypeDef_kio_KIEBookmarkExporterImpl = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KIEBookmarkExporterImpl,
        {0}
    },
    {
        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
},
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kbookmarkimporter_ie.sip"
#include <kbookmarkimporter_ie.h>
#line 9011 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"

#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 9015 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kbookmarkimporter.sip"
#include <kbookmarkimporter.h>
#line 9018 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 9021 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9024 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 355 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9027 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 338 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9030 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 274 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 9033 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 9036 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 37 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 9039 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 9042 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 9045 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 9048 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 9051 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 9054 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/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*);
    QString findDefaultLocation(bool) const;
    void parse();

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()
{
    sipCommonDtor(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;
    }

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

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

void 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;
    }

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

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

void 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;
    }

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

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

void 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;
    }

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

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

void 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;
    }

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

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

bool 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);

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

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

bool 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);

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

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

QString sipKIEBookmarkImporterImpl::findDefaultLocation(bool a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KIEBookmarkImporterImpl::findDefaultLocation(a0);

    extern QString sipVH_kio_73(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

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

void sipKIEBookmarkImporterImpl::parse()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KIEBookmarkImporterImpl::parse();
        return;
    }

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

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


extern "C" {static PyObject *meth_KIEBookmarkImporterImpl_parse(PyObject *, PyObject *);}
static PyObject *meth_KIEBookmarkImporterImpl_parse(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((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 || sipIsDerived((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 superclass hierarchy. */
extern "C" {static void *cast_KIEBookmarkImporterImpl(void *, const sipTypeDef *);}
static void *cast_KIEBookmarkImporterImpl(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KIEBookmarkImporterImpl)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KBookmarkImporterBase)->ctd_cast((KBookmarkImporterBase *)(KIEBookmarkImporterImpl *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* 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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipKIEBookmarkImporterImpl *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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


pyqt4ClassTypeDef sipTypeDef_kio_KIEBookmarkImporterImpl = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KIEBookmarkImporterImpl,
        {0}
    },
    {
        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
},
    &KIEBookmarkImporterImpl::staticMetaObject,
    0,
    0
};

#line 49 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kbookmarkimporter_crash.sip"
#include <kbookmarkimporter_crash.h>
#line 9465 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"

#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 9469 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 9472 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kbookmarkimporter.sip"
#include <kbookmarkimporter.h>
#line 9475 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 9478 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9481 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 355 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9484 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 338 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9487 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 274 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 9490 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 9493 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 37 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 9496 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 9499 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 9502 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 9505 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 9508 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 9511 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/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*);
    QString findDefaultLocation(bool) const;
    void parse();

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()
{
    sipCommonDtor(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;
    }

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

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

void 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;
    }

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

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

void 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;
    }

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

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

void 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;
    }

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

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

void 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;
    }

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

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

bool 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);

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

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

bool 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);

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

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

QString sipKCrashBookmarkImporterImpl::findDefaultLocation(bool a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KCrashBookmarkImporterImpl::findDefaultLocation(a0);

    extern QString sipVH_kio_73(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

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

void sipKCrashBookmarkImporterImpl::parse()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCrashBookmarkImporterImpl::parse();
        return;
    }

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

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


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 || sipIsDerived((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 || sipIsDerived((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 superclass hierarchy. */
extern "C" {static void *cast_KCrashBookmarkImporterImpl(void *, const sipTypeDef *);}
static void *cast_KCrashBookmarkImporterImpl(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KCrashBookmarkImporterImpl)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KBookmarkImporterBase)->ctd_cast((KBookmarkImporterBase *)(KCrashBookmarkImporterImpl *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* 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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipKCrashBookmarkImporterImpl *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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


pyqt4ClassTypeDef sipTypeDef_kio_KCrashBookmarkImporterImpl = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KCrashBookmarkImporterImpl,
        {0}
    },
    {
        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
},
    &KCrashBookmarkImporterImpl::staticMetaObject,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kbookmarkimporter_crash.sip"
#include <kbookmarkimporter_crash.h>
#line 9976 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"

#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 9980 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9983 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 355 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9986 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 338 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9989 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 9992 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 274 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 9995 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 9998 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 37 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 10001 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 10004 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 10007 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 10010 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 10013 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 10016 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/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:
    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:
    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()
{
    sipCommonDtor(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);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

void 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;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


extern "C" {static PyObject *meth_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 superclass hierarchy. */
extern "C" {static void *cast_KCrashBookmarkImporter(void *, const sipTypeDef *);}
static void *cast_KCrashBookmarkImporter(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KCrashBookmarkImporter)
        return ptr;

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

    return NULL;
}


/* 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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipKCrashBookmarkImporter *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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[] = {{141, 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}
};


pyqt4ClassTypeDef sipTypeDef_kio_KCrashBookmarkImporter = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KCrashBookmarkImporter,
        {0}
    },
    {
        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
},
    &KCrashBookmarkImporter::staticMetaObject,
    0,
    signals_KCrashBookmarkImporter,
};

#line 52 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kbookmarkimporter.sip"
#include <kbookmarkimporter.h>
#line 10402 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"

#line 100 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 10406 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 10409 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 10412 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kbookmarkimporter.sip"
#include <kbookmarkimporter.h>
#line 10415 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 10418 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10421 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 355 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10424 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 338 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10427 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 274 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 10430 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 10433 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 37 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 10436 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 10439 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 10442 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 10445 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 10448 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 10451 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/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 disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    void visitLeave(const KBookmarkGroup&);
    void visitEnter(const KBookmarkGroup&);
    void visit(const KBookmark&);
    QString findDefaultLocation(bool) const;
    void parse();

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()
{
    sipCommonDtor(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::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

void sipKXBELBookmarkImporterImpl::visitLeave(const KBookmarkGroup& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KXBELBookmarkImporterImpl::visitLeave(a0);
        return;
    }

    extern void sipVH_kio_69(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const KBookmarkGroup&);

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

void sipKXBELBookmarkImporterImpl::visitEnter(const KBookmarkGroup& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KXBELBookmarkImporterImpl::visitEnter(a0);
        return;
    }

    extern void sipVH_kio_69(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const KBookmarkGroup&);

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

void sipKXBELBookmarkImporterImpl::visit(const KBookmark& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KXBELBookmarkImporterImpl::visit(a0);
        return;
    }

    extern void sipVH_kio_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const KBookmark&);

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

QString sipKXBELBookmarkImporterImpl::findDefaultLocation(bool a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KXBELBookmarkImporterImpl::findDefaultLocation(a0);

    extern QString sipVH_kio_73(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

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

void sipKXBELBookmarkImporterImpl::parse()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KXBELBookmarkImporterImpl::parse();
        return;
    }

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

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


extern "C" {static PyObject *meth_KXBELBookmarkImporterImpl_parse(PyObject *, PyObject *);}
static PyObject *meth_KXBELBookmarkImporterImpl_parse(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((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 || sipIsDerived((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 || sipIsDerived((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 || sipIsDerived((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 || sipIsDerived((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 superclass hierarchy. */
extern "C" {static void *cast_KXBELBookmarkImporterImpl(void *, const sipTypeDef *);}
static void *cast_KXBELBookmarkImporterImpl(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KXBELBookmarkImporterImpl)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KBookmarkImporterBase)->ctd_cast((KBookmarkImporterBase *)(KXBELBookmarkImporterImpl *)ptr,targetType)) != NULL)
        return res;

    if ((res = ((const sipClassTypeDef *)sipType_KBookmarkGroupTraverser)->ctd_cast((KBookmarkGroupTraverser *)(KXBELBookmarkImporterImpl *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* 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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipKXBELBookmarkImporterImpl *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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


pyqt4ClassTypeDef sipTypeDef_kio_KXBELBookmarkImporterImpl = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KXBELBookmarkImporterImpl,
        {0}
    },
    {
        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
},
    &KXBELBookmarkImporterImpl::staticMetaObject,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kbookmarkimporter.sip"
#include <kbookmarkimporter.h>
#line 11009 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"

#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 11013 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 11016 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11019 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 355 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11022 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 338 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11025 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 274 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 11028 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 11031 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 37 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 11034 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 11037 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 11040 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 11043 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 11046 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 11049 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/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:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    QString findDefaultLocation(bool) const;
    void parse();

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()
{
    sipCommonDtor(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);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

void 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;
    }

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

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

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

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

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

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

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

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

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

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

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

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

QString sipKBookmarkImporterBase::findDefaultLocation(bool a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,sipName_KBookmarkImporterBase,sipName_findDefaultLocation);

    if (!sipMeth)
        return QString();

    extern QString sipVH_kio_73(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

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

void sipKBookmarkImporterBase::parse()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,sipName_KBookmarkImporterBase,sipName_parse);

    if (!sipMeth)
        return;

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

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


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 superclass hierarchy. */
extern "C" {static void *cast_KBookmarkImporterBase(void *, const sipTypeDef *);}
static void *cast_KBookmarkImporterBase(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KBookmarkImporterBase)
        return ptr;

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

    return NULL;
}


/* 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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipKBookmarkImporterBase *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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[] = {{141, 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}
};


pyqt4ClassTypeDef sipTypeDef_kio_KBookmarkImporterBase = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KBookmarkImporterBase,
        {0}
    },
    {
        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
},
    &KBookmarkImporterBase::staticMetaObject,
    0,
    signals_KBookmarkImporterBase,
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kbookmarkexporter.sip"
#include <kbookmarkexporter.h>
#line 11568 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kbookmarkmanager.sip"
#include <kbookmarkmanager.h>
#line 11572 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 11575 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 100 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 11578 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/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()
{
    sipCommonDtor(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_69(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const KBookmarkGroup&);

    sipVH_kio_69(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;
}


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

    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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipKBookmarkExporterBase *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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


pyqt4ClassTypeDef sipTypeDef_kio_KBookmarkExporterBase = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KBookmarkExporterBase,
        {0}
    },
    {
        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,
    cast_KBookmarkExporterBase,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kbookmarkdombuilder.sip"
#include <kbookmarkdombuilder.h>
#line 11811 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"

#line 100 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 11815 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kbookmarkmanager.sip"
#include <kbookmarkmanager.h>
#line 11818 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 11821 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 11824 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11827 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 355 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11830 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 338 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11833 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 274 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 11836 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 11839 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 37 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 11842 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 11845 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 11848 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 11851 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 11854 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 11857 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/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:
    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:
    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()
{
    sipCommonDtor(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);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

void 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;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


extern "C" {static PyObject *meth_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 superclass hierarchy. */
extern "C" {static void *cast_KBookmarkDomBuilder(void *, const sipTypeDef *);}
static void *cast_KBookmarkDomBuilder(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KBookmarkDomBuilder)
        return ptr;

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

    return NULL;
}


/* 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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipKBookmarkDomBuilder *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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[] = {{141, 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}
};


pyqt4ClassTypeDef sipTypeDef_kio_KBookmarkDomBuilder = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KBookmarkDomBuilder,
        {0}
    },
    {
        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
},
    &KBookmarkDomBuilder::staticMetaObject,
    0,
    0
};

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kbookmarkdialog.sip"
#include <kbookmarkdialog.h>
#line 12330 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kbookmarkmanager.sip"
#include <kbookmarkmanager.h>
#line 12334 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 12337 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 100 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 12340 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 201 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 12344 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 77 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 12347 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 12350 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qtreewidget.sip"
#include <qtreewidget.h>
#line 12353 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 12356 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 12359 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 483 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12362 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 583 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12365 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 616 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12368 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 12371 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 12374 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 12377 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 12380 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 12383 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kdeui/kpushbutton.sip"
#include <kpushbutton.h>
#line 12386 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 12389 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kdecore/kconfigbase.sip"
#include <kconfigbase.h>
#line 12392 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qmenu.sip"
#include <qmenu.h>
#line 12395 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kdeui/kguiitem.sip"
#include <kguiitem.h>
#line 12398 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kdeui/kicon.sip"
#include <kicon.h>
#line 12401 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 12404 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 12407 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 12410 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 12413 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 627 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12416 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 570 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12419 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 605 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12422 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 12425 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 39 "/usr/share/python3-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 12428 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 12431 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 39 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 12434 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 12437 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 12440 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 12443 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 12446 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 12449 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 12452 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 12455 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 37 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 12458 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 12461 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 12464 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 12467 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 12470 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 12473 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 274 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 12476 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 656 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12479 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 748 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12482 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 801 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12485 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 774 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12488 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 790 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12491 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 863 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12494 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 412 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12497 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 557 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12500 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 533 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12503 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 514 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12506 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 356 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12509 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 261 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12512 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 12515 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 61 "/usr/share/python3-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 12518 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 39 "/usr/share/python3-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 12521 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 12524 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 12527 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 12530 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 12533 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 12536 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 12539 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 12542 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 12545 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 12548 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 355 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 12551 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 338 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 12554 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 12557 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 12560 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 12563 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 12566 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 12569 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/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 disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    void languageChange();
    void windowActivationChange(bool);
    void fontChange(const QFont&);
    void paletteChange(const QPalette&);
    void enabledChange(bool);
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void changeEvent(QEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void moveEvent(QMoveEvent*);
    void paintEvent(QPaintEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    bool event(QEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    int devType() const;
    bool eventFilter(QObject*,QEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void resizeEvent(QResizeEvent*);
    void showEvent(QShowEvent*);
    void reject();
    void accept();
    void done(int);
    void setVisible(bool);
    void slotButtonClicked(int);
    void keyPressEvent(QKeyEvent*);
    void closeEvent(QCloseEvent*);
    void hideEvent(QHideEvent*);
    void setPlainCaption(const QString&);
    void setCaption(const QString&,bool);
    void setCaption(const QString&);
    QSize minimumSizeHint() const;
    QSize sizeHint() const;
    void save(KBookmarkDialog::BookmarkDialogMode,const KBookmark&);
    void aboutToShow(KBookmarkDialog::BookmarkDialogMode);
    void initLayout();

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()
{
    sipCommonDtor(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::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kio_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QFont&);

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

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

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

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

    typedef void (*sipVH_QtGui_10)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPalette&);

    ((sipVH_QtGui_10)(sipModuleAPI_kio_QtGui->em_virthandlers[10]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kio_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    typedef bool (*sipVH_QtGui_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return ((sipVH_QtGui_11)(sipModuleAPI_kio_QtGui->em_virthandlers[11]))(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[11]),sipPySelf,NULL,sipName_inputMethodQuery);

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

    typedef QVariant (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return ((sipVH_QtGui_12)(sipModuleAPI_kio_QtGui->em_virthandlers[12]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_13)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    ((sipVH_QtGui_13)(sipModuleAPI_kio_QtGui->em_virthandlers[13]))(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);

    typedef int (*sipVH_QtGui_14)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_14)(sipModuleAPI_kio_QtGui->em_virthandlers[14]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

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

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

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

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

    typedef void (*sipVH_QtGui_15)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    ((sipVH_QtGui_15)(sipModuleAPI_kio_QtGui->em_virthandlers[15]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_16)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    ((sipVH_QtGui_16)(sipModuleAPI_kio_QtGui->em_virthandlers[16]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

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

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

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

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

    typedef void (*sipVH_QtGui_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    ((sipVH_QtGui_18)(sipModuleAPI_kio_QtGui->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_19)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    ((sipVH_QtGui_19)(sipModuleAPI_kio_QtGui->em_virthandlers[19]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_20)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_20)(sipModuleAPI_kio_QtGui->em_virthandlers[20]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_23)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_23)(sipModuleAPI_kio_QtGui->em_virthandlers[23]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_kio_QtGui->em_virthandlers[3]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

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

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

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

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

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

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

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

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

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

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

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

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

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

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

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_kio_QtGui->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kio_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kio_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kio_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kio_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

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

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

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

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

    typedef QPaintEngine* (*sipVH_QtGui_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_27)(sipModuleAPI_kio_QtGui->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth);
}

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

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

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

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtGui_28)(sipModuleAPI_kio_QtGui->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_kio_QtCore->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth);
}

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

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

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

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

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

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

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

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

    typedef void (*sipVH_QtGui_21)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    ((sipVH_QtGui_21)(sipModuleAPI_kio_QtGui->em_virthandlers[21]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_kio_QtGui->em_virthandlers[2]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_1)(sipModuleAPI_kio_QtGui->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBookmarkDialog::reject()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_reject);

    if (!sipMeth)
    {
        KBookmarkDialog::reject();
        return;
    }

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

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

void sipKBookmarkDialog::accept()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KBookmarkDialog::accept();
        return;
    }

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

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

void sipKBookmarkDialog::done(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KBookmarkDialog::done(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

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

void sipKBookmarkDialog::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        KBookmarkDialog::setVisible(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kio_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBookmarkDialog::slotButtonClicked(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_slotButtonClicked);

    if (!sipMeth)
    {
        KBookmarkDialog::slotButtonClicked(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_kio_QtCore->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBookmarkDialog::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        KBookmarkDialog::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kio_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBookmarkDialog::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        KBookmarkDialog::closeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_22)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    ((sipVH_QtGui_22)(sipModuleAPI_kio_QtGui->em_virthandlers[22]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBookmarkDialog::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        KBookmarkDialog::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_kio_QtGui->em_virthandlers[0]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBookmarkDialog::setPlainCaption(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_setPlainCaption);

    if (!sipMeth)
    {
        KBookmarkDialog::setPlainCaption(a0);
        return;
    }

    typedef void (*sipVH_QtCore_33)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    ((sipVH_QtCore_33)(sipModuleAPI_kio_QtCore->em_virthandlers[33]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBookmarkDialog::setCaption(const QString& a0,bool a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_setCaption);

    if (!sipMeth)
    {
        KBookmarkDialog::setCaption(a0,a1);
        return;
    }

    typedef void (*sipVH_QtXml_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&,bool);

    ((sipVH_QtXml_24)(sipModuleAPI_kio_QtXml->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKBookmarkDialog::setCaption(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_setCaption);

    if (!sipMeth)
    {
        KBookmarkDialog::setCaption(a0);
        return;
    }

    typedef void (*sipVH_QtCore_33)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    ((sipVH_QtCore_33)(sipModuleAPI_kio_QtCore->em_virthandlers[33]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QSize sipKBookmarkDialog::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[52]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return KBookmarkDialog::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kio_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

QSize sipKBookmarkDialog::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[53]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return KBookmarkDialog::sizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kio_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKBookmarkDialog::save(KBookmarkDialog::BookmarkDialogMode a0,const KBookmark& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_save);

    if (!sipMeth)
    {
        KBookmarkDialog::save(a0,a1);
        return;
    }

    extern void sipVH_kio_74(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KBookmarkDialog::BookmarkDialogMode,const KBookmark&);

    sipVH_kio_74(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKBookmarkDialog::aboutToShow(KBookmarkDialog::BookmarkDialogMode a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[55],sipPySelf,NULL,sipName_aboutToShow);

    if (!sipMeth)
    {
        KBookmarkDialog::aboutToShow(a0);
        return;
    }

    extern void sipVH_kio_75(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KBookmarkDialog::BookmarkDialogMode);

    sipVH_kio_75(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBookmarkDialog::initLayout()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[56],sipPySelf,NULL,sipName_initLayout);

    if (!sipMeth)
    {
        KBookmarkDialog::initLayout();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}


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 || sipIsDerived((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 || sipIsDerived((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 || sipIsDerived((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 || sipIsDerived((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 superclass hierarchy. */
extern "C" {static void *cast_KBookmarkDialog(void *, const sipTypeDef *);}
static void *cast_KBookmarkDialog(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KBookmarkDialog)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KDialog)->ctd_cast((KDialog *)(KBookmarkDialog *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* 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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipKBookmarkDialog *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KBookmarkDialog(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


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[] = {{86, 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},
};


pyqt4ClassTypeDef sipTypeDef_kio_KBookmarkDialog = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KBookmarkDialog,
        {0}
    },
    {
        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
},
    &KBookmarkDialog::staticMetaObject,
    0,
    0
};

#line 132 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 14242 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"

#line 100 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 14246 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart5.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 14249 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/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()
{
    sipCommonDtor(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_69(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const KBookmarkGroup&);

    sipVH_kio_69(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_69(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const KBookmarkGroup&);

    sipVH_kio_69(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_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const KBookmark&);

    sipVH_kio_33(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 || sipIsDerived((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 || sipIsDerived((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 || sipIsDerived((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;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KBookmarkGroupTraverser(void *, const sipTypeDef *);}
static void *cast_KBookmarkGroupTraverser(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_KBookmarkGroupTraverser)
        return ptr;

    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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipKBookmarkGroupTraverser *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KBookmarkGroupTraverser(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


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}
};


pyqt4ClassTypeDef sipTypeDef_kio_KBookmarkGroupTraverser = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KBookmarkGroupTraverser,
        {0}
    },
    {
        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,
    cast_KBookmarkGroupTraverser,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};
