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

#include "sipAPIkio.h"

#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/kdatatool.sip"
#include <kdatatool.h>
#line 12 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"

#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 16 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/kdatatool.sip"
#include <kdatatool.h>
#line 19 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 34 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 22 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 25 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/local/share/py-sip/QtGui/qaction.sip"
#include <qaction.h>
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 31 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdeui/kactioncollection.sip"
#include <kactioncollection.h>
#line 34 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 25 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kauthaction.sip"
#include <kauthaction.h>
#line 37 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 40 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 43 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 46 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdeui/kgesture.sip"
#include <kgesture.h>
#line 52 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdeui/kaction.sip"
#include <kaction.h>
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdeui/kgesture.sip"
#include <kgesture.h>
#line 58 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdeui/kaction.sip"
#include <kaction.h>
#line 61 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdeui/kshortcut.sip"
#include <kshortcut.h>
#line 64 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 67 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 70 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 73 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 76 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 187 "/usr/local/share/py-sip/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 79 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 238 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 82 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qfont.sip"
#include <qfont.h>
#line 85 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 88 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/local/share/py-sip/QtGui/qmenu.sip"
#include <qmenu.h>
#line 91 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qicon.sip"
#include <qicon.h>
#line 94 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/local/share/py-sip/QtGui/qactiongroup.sip"
#include <qactiongroup.h>
#line 97 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 310 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 100 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 298 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 103 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 106 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 109 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 112 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 115 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 118 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 121 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/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 public method for every protected method visible from
     * this class.
     */
    QObject * sipProtect_sender() const;
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);
    bool sipProtectVirt_eventFilter(bool,QObject *,QEvent *);
    QWidget * sipProtectVirt_createWidget(bool,QWidget *);
    void sipProtectVirt_deleteWidget(bool,QWidget *);
    QList<QWidget *> sipProtect_createdWidgets() const;
    void sipProtectVirt_slotActivated(bool);

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[10];
};

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

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

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

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

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

    return _id;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

    {
        sipKDataToolAction *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        char * a0;
        sipKDataToolAction *sipCpp;

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

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

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QTimerEvent * a0;
        sipKDataToolAction *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QChildEvent * a0;
        sipKDataToolAction *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipKDataToolAction *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipKDataToolAction *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipKDataToolAction *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

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

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

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

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

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

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

    return NULL;
}


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

    {
        QWidget * a0;
        sipKDataToolAction *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipKDataToolAction *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        sipKDataToolAction *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(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 sipState)
{
    Py_BEGIN_ALLOW_THREADS

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

    Py_END_ALLOW_THREADS
}


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

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


extern "C" {static void *init_KDataToolAction(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_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_childEvent), meth_KDataToolAction_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KDataToolAction_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_createWidget), meth_KDataToolAction_createWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_createdWidgets), meth_KDataToolAction_createdWidgets, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KDataToolAction_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dataToolActionList), meth_KDataToolAction_dataToolActionList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_deleteWidget), meth_KDataToolAction_deleteWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KDataToolAction_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_eventFilter), meth_KDataToolAction_eventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_KDataToolAction_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), meth_KDataToolAction_sender, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotActivated), meth_KDataToolAction_slotActivated, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KDataToolAction_timerEvent, METH_VARARGS, NULL}
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_KDataToolAction[] = {
    {"toolActivated(KDataToolInfo,QString)", 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},
        13, methods_KDataToolAction,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KDataToolAction,
    0,
    init_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
},
    &KDataToolAction::staticMetaObject,
    0,
    pyqt4_signals_KDataToolAction
};

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/kdatatool.sip"
#include <kdatatool.h>
#line 991 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"

#line 340 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 995 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kservice.sip"
#include <kservice.h>
#line 998 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kcomponentdata.sip"
#include <kcomponentdata.h>
#line 1001 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 1004 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 1007 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 77 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/kdatatool.sip"
#include <kdatatool.h>
#line 1010 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 34 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 1013 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 1016 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 1019 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/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;

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

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

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

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

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

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

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

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

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

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

    {
        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_KDataToolInfo(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_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_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
};

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/kbuildsycocaprogressdialog.sip"
#include <kbuildsycocaprogressdialog.h>
#line 1552 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"

#line 35 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 1556 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 1559 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 34 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 1562 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 448 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1565 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1568 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 426 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1571 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 413 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1574 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 1577 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/local/share/py-sip/QtGui/qprogressbar.sip"
#include <qprogressbar.h>
#line 1580 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/local/share/py-sip/QtGui/qpushbutton.sip"
#include <qpushbutton.h>
#line 1583 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/local/share/py-sip/QtGui/qlabel.sip"
#include <qlabel.h>
#line 1586 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 470 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1589 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 339 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1592 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1595 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1598 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 39 "/usr/local/share/py-sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 1601 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1604 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 39 "/usr/local/share/py-sip/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 1607 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 33 "/usr/local/share/py-sip/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 1610 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 1613 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/local/share/py-sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 1616 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 1619 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qregion.sip"
#include <qregion.h>
#line 1622 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 1625 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 1628 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 1631 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 1634 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/local/share/py-sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 1637 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/local/share/py-sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 1640 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qfont.sip"
#include <qfont.h>
#line 1643 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1646 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 1649 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 238 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 1652 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 499 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1655 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 459 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1658 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 542 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1661 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 593 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1664 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 566 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1667 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 582 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1670 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 645 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1673 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 291 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1676 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 400 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1679 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 386 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1682 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 367 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1685 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 270 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1688 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 231 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1691 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/local/share/py-sip/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 1694 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 61 "/usr/local/share/py-sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 1697 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 36 "/usr/local/share/py-sip/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 1700 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 1703 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/local/share/py-sip/QtGui/qaction.sip"
#include <qaction.h>
#line 1706 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/local/share/py-sip/QtGui/qlayout.sip"
#include <qlayout.h>
#line 1709 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 1712 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1715 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 1718 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 1721 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qicon.sip"
#include <qicon.h>
#line 1724 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 1727 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qstyle.sip"
#include <qstyle.h>
#line 1730 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 310 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1733 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 298 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1736 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 1739 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 1742 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 1745 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 1748 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 1751 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/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[] = {{421, 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
},
    &KBuildSycocaProgressDialog::staticMetaObject,
    0,
    0
};

#line 130 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/kbookmarkmenu.sip"
#include <kbookmarkmenu.h>
#line 1864 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 1868 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 81 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/kbookmarkmanager.sip"
#include <kbookmarkmanager.h>
#line 1871 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 34 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 1874 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1877 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1880 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 25 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kauthaction.sip"
#include <kauthaction.h>
#line 1883 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 1886 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 1889 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1892 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdeui/kgesture.sip"
#include <kgesture.h>
#line 1895 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdeui/kaction.sip"
#include <kaction.h>
#line 1898 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdeui/kgesture.sip"
#include <kgesture.h>
#line 1901 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdeui/kaction.sip"
#include <kaction.h>
#line 1904 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdeui/kshortcut.sip"
#include <kshortcut.h>
#line 1907 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 1910 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 1913 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 1916 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/local/share/py-sip/QtGui/qaction.sip"
#include <qaction.h>
#line 1919 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 1922 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 187 "/usr/local/share/py-sip/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 1925 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 238 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 1928 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qfont.sip"
#include <qfont.h>
#line 1931 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1934 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/local/share/py-sip/QtGui/qmenu.sip"
#include <qmenu.h>
#line 1937 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qicon.sip"
#include <qicon.h>
#line 1940 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/local/share/py-sip/QtGui/qactiongroup.sip"
#include <qactiongroup.h>
#line 1943 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 310 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1946 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 298 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1949 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 1952 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 1955 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 1958 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 1961 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 1964 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 1967 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/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 public method for every protected method visible from
     * this class.
     */
    QObject * sipProtect_sender() const;
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);
    bool sipProtectVirt_eventFilter(bool,QObject *,QEvent *);
    QWidget * sipProtectVirt_createWidget(bool,QWidget *);
    void sipProtectVirt_deleteWidget(bool,QWidget *);
    QList<QWidget *> sipProtect_createdWidgets() const;

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[9];
};

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

sipKBookmarkAction::~sipKBookmarkAction()
{
    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 && sip_kio_qt_metacast(sipPySelf,sipType_KBookmarkAction,_clname)) ? this : KBookmarkAction::qt_metacast(_clname);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

    {
        sipKBookmarkAction *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        char * a0;
        sipKBookmarkAction *sipCpp;

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

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

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QTimerEvent * a0;
        sipKBookmarkAction *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QChildEvent * a0;
        sipKBookmarkAction *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipKBookmarkAction *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipKBookmarkAction *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipKBookmarkAction *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J8", &sipSelf, sipType_KBookmarkAction, &sipCpp, sipType_QObject, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJH", &sipSelf, sipType_KBookmarkAction, &sipCpp, sipType_QWidget, &a0, &sipOwner))
        {
            QWidget *sipRes;

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

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

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

    return NULL;
}


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

    {
        QWidget * a0;
        sipKBookmarkAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:", &sipSelf, sipType_KBookmarkAction, &sipCpp, sipType_QWidget, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_deleteWidget(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipKBookmarkAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KBookmarkAction, &sipCpp))
        {
            QList<QWidget *> *sipRes;

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

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

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

    return NULL;
}


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 sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKBookmarkAction *>(sipCppV);
    else
        delete reinterpret_cast<KBookmarkAction *>(sipCppV);

    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_KBookmarkAction(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_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_childEvent), meth_KBookmarkAction_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KBookmarkAction_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_createWidget), meth_KBookmarkAction_createWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_createdWidgets), meth_KBookmarkAction_createdWidgets, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KBookmarkAction_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_deleteWidget), meth_KBookmarkAction_deleteWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KBookmarkAction_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_eventFilter), meth_KBookmarkAction_eventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_KBookmarkAction_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), meth_KBookmarkAction_sender, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotSelected), meth_KBookmarkAction_slotSelected, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KBookmarkAction_timerEvent, METH_VARARGS, NULL}
};


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

#line 115 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/kbookmarkmenu.sip"
#include <kbookmarkmenu.h>
#line 2773 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 2777 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 34 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 2780 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 2783 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 2786 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdeui/kmenu.sip"
#include <kmenu.h>
#line 2789 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/local/share/py-sip/QtGui/qaction.sip"
#include <qaction.h>
#line 2792 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdeui/kaction.sip"
#include <kaction.h>
#line 2795 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 25 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kauthaction.sip"
#include <kauthaction.h>
#line 2798 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 2801 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2804 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2807 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2810 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdeui/kgesture.sip"
#include <kgesture.h>
#line 2813 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdeui/kaction.sip"
#include <kaction.h>
#line 2816 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdeui/kgesture.sip"
#include <kgesture.h>
#line 2819 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdeui/kshortcut.sip"
#include <kshortcut.h>
#line 2822 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 2825 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 2828 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 2831 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 187 "/usr/local/share/py-sip/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 2834 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 238 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 2837 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qfont.sip"
#include <qfont.h>
#line 2840 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2843 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qicon.sip"
#include <qicon.h>
#line 2846 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/local/share/py-sip/QtGui/qactiongroup.sip"
#include <qactiongroup.h>
#line 2849 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 310 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2852 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 298 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2855 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 2858 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 2861 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 2864 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 2867 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 2870 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 2873 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/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 public method for every protected method visible from
     * this class.
     */
    QObject * sipProtect_sender() const;
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);
    bool sipProtectVirt_eventFilter(bool,QObject *,QEvent *);
    void sipProtectVirt_deleteWidget(bool,QWidget *);
    QList<QWidget *> sipProtect_createdWidgets() const;

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[9];
};

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

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

sipKBookmarkActionMenu::~sipKBookmarkActionMenu()
{
    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 && sip_kio_qt_metacast(sipPySelf,sipType_KBookmarkActionMenu,_clname)) ? this : KBookmarkActionMenu::qt_metacast(_clname);
}

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

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

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

    typedef QWidget * (*sipVH_kdeui_41)(sip_gilstate_t,PyObject *,QWidget *);

    return ((sipVH_kdeui_41)(sipModuleAPI_kio_kdeui->em_virthandlers[41]))(sipGILState,sipMeth,a0);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

    {
        sipKBookmarkActionMenu *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        char * a0;
        sipKBookmarkActionMenu *sipCpp;

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

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

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QTimerEvent * a0;
        sipKBookmarkActionMenu *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QChildEvent * a0;
        sipKBookmarkActionMenu *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipKBookmarkActionMenu *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipKBookmarkActionMenu *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipKBookmarkActionMenu *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J8", &sipSelf, sipType_KBookmarkActionMenu, &sipCpp, sipType_QObject, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QWidget * a0;
        sipKBookmarkActionMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:", &sipSelf, sipType_KBookmarkActionMenu, &sipCpp, sipType_QWidget, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_deleteWidget(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipKBookmarkActionMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KBookmarkActionMenu, &sipCpp))
        {
            QList<QWidget *> *sipRes;

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

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

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

    return NULL;
}


/* 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 sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKBookmarkActionMenu *>(sipCppV);
    else
        delete reinterpret_cast<KBookmarkActionMenu *>(sipCppV);

    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_KBookmarkActionMenu(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_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}};


static PyMethodDef methods_KBookmarkActionMenu[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), meth_KBookmarkActionMenu_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KBookmarkActionMenu_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_createdWidgets), meth_KBookmarkActionMenu_createdWidgets, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KBookmarkActionMenu_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_deleteWidget), meth_KBookmarkActionMenu_deleteWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KBookmarkActionMenu_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_eventFilter), meth_KBookmarkActionMenu_eventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_KBookmarkActionMenu_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), meth_KBookmarkActionMenu_sender, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KBookmarkActionMenu_timerEvent, METH_VARARGS, NULL}
};


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

#line 100 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/kbookmarkmenu.sip"
#include <kbookmarkmenu.h>
#line 3633 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 3637 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/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;

    {
        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_KBookmarkActionInterface(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_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_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
};

#line 68 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/kbookmarkmenu.sip"
#include <kbookmarkmenu.h>
#line 3792 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 3796 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/kbookmarkmanager.sip"
#include <kbookmarkmanager.h>
#line 3799 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 81 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/kbookmarkmanager.sip"
#include <kbookmarkmanager.h>
#line 3802 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 3805 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 459 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3808 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 470 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3811 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 231 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3814 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 339 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3817 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 426 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3820 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdeui/kmenu.sip"
#include <kmenu.h>
#line 3823 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/local/share/py-sip/QtGui/qaction.sip"
#include <qaction.h>
#line 3826 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/local/share/py-sip/QtGui/qmenu.sip"
#include <qmenu.h>
#line 3829 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 3832 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 3835 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 3838 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qicon.sip"
#include <qicon.h>
#line 3841 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 3844 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 298 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 3847 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 645 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3850 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 386 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3853 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 270 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3856 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 889 "/usr/local/share/py-sip/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 3859 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 3862 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 3865 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 3868 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 3871 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 3874 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 34 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 3877 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 3880 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 39 "/usr/local/share/py-sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 3883 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 3886 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 3889 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 39 "/usr/local/share/py-sip/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 3892 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 33 "/usr/local/share/py-sip/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 3895 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 3898 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/local/share/py-sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 3901 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qregion.sip"
#include <qregion.h>
#line 3904 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 3907 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 3910 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 3913 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/local/share/py-sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 3916 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/local/share/py-sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 3919 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qfont.sip"
#include <qfont.h>
#line 3922 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 3925 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 3928 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 238 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 3931 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 499 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3934 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 448 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3937 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 542 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3940 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 593 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3943 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 566 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3946 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 582 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3949 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 291 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3952 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 413 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3955 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 400 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3958 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 367 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3961 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/local/share/py-sip/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 3964 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 61 "/usr/local/share/py-sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 3967 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 36 "/usr/local/share/py-sip/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 3970 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/local/share/py-sip/QtGui/qlayout.sip"
#include <qlayout.h>
#line 3973 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 3976 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 3979 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 3982 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 3985 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qstyle.sip"
#include <qstyle.h>
#line 3988 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 310 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 3991 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 3994 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 3997 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 4000 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 4003 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 4006 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/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 public method for every protected method visible from
     * this class.
     */
    QObject * sipProtect_sender() const;
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent *);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent *);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent *);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent *);
    void sipProtectVirt_moveEvent(bool,QMoveEvent *);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent *);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent *);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent *);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent *);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent *);
    void sipProtectVirt_dropEvent(bool,QDropEvent *);
    void sipProtectVirt_showEvent(bool,QShowEvent *);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent *);
    void sipProtect_resetInputContext();
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    void sipProtectVirt_enabledChange(bool,bool);
    void sipProtectVirt_paletteChange(bool,const QPalette&);
    void sipProtectVirt_fontChange(bool,const QFont&);
    void sipProtectVirt_windowActivationChange(bool,bool);
    void sipProtectVirt_languageChange(bool);
    int sipProtect_columnCount() const;
    void sipProtect_initStyleOption(QStyleOptionMenuItem *,const QAction *) const;
    void sipProtectVirt_changeEvent(bool,QEvent *);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent *);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent *);
    void sipProtectVirt_enterEvent(bool,QEvent *);
    void sipProtectVirt_leaveEvent(bool,QEvent *);
    void sipProtectVirt_paintEvent(bool,QPaintEvent *);
    void sipProtectVirt_actionEvent(bool,QActionEvent *);
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    bool sipProtectVirt_event(bool,QEvent *);
    void sipProtectVirt_closeEvent(bool,QCloseEvent *);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent *);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent *);
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent *);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent *);
    void sipProtectVirt_hideEvent(bool,QHideEvent *);
    void sipProtect_addBookmark();
    void sipProtect_addFolderActions();
    void sipProtect_addProperties();
    void sipProtect_addBookmarkActions();
    void sipProtect_addOpenFolderInTabs();
    KBookmarkManager * sipProtect_manager() const;
    KBookmarkOwner * sipProtect_owner() const;
    KBookmark sipProtect_bookmark() const;

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

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 && sip_kio_qt_metacast(sipPySelf,sipType_KBookmarkContextMenu,_clname)) ? this : KBookmarkContextMenu::qt_metacast(_clname);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    ((sipVH_QtGui_21)(sipModuleAPI_kio_QtGui->em_virthandlers[21]))(sipGILState,sipMeth,a0);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    ((sipVH_QtGui_13)(sipModuleAPI_kio_QtGui->em_virthandlers[13]))(sipGILState,sipMeth,a0);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

void sipKBookmarkContextMenu::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? QWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipKBookmarkContextMenu::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent *a0)
{
    (sipSelfWasArg ? QWidget::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipKBookmarkContextMenu::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent *a0)
{
    (sipSelfWasArg ? QWidget::focusInEvent(a0) : focusInEvent(a0));
}

void sipKBookmarkContextMenu::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent *a0)
{
    (sipSelfWasArg ? QWidget::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipKBookmarkContextMenu::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent *a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipKBookmarkContextMenu::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent *a0)
{
    (sipSelfWasArg ? QWidget::resizeEvent(a0) : resizeEvent(a0));
}

void sipKBookmarkContextMenu::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent *a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipKBookmarkContextMenu::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent *a0)
{
    (sipSelfWasArg ? QWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipKBookmarkContextMenu::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent *a0)
{
    (sipSelfWasArg ? QWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipKBookmarkContextMenu::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent *a0)
{
    (sipSelfWasArg ? QWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipKBookmarkContextMenu::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent *a0)
{
    (sipSelfWasArg ? QWidget::dropEvent(a0) : dropEvent(a0));
}

void sipKBookmarkContextMenu::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent *a0)
{
    (sipSelfWasArg ? QWidget::showEvent(a0) : showEvent(a0));
}

int sipKBookmarkContextMenu::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipKBookmarkContextMenu::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent *a0)
{
    (sipSelfWasArg ? QWidget::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipKBookmarkContextMenu::sipProtect_resetInputContext()
{
    QWidget::resetInputContext();
}

void sipKBookmarkContextMenu::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipKBookmarkContextMenu::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipKBookmarkContextMenu::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipKBookmarkContextMenu::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipKBookmarkContextMenu::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

void sipKBookmarkContextMenu::sipProtectVirt_enabledChange(bool sipSelfWasArg,bool a0)
{
    (sipSelfWasArg ? QWidget::enabledChange(a0) : enabledChange(a0));
}

void sipKBookmarkContextMenu::sipProtectVirt_paletteChange(bool sipSelfWasArg,const QPalette& a0)
{
    (sipSelfWasArg ? QWidget::paletteChange(a0) : paletteChange(a0));
}

void sipKBookmarkContextMenu::sipProtectVirt_fontChange(bool sipSelfWasArg,const QFont& a0)
{
    (sipSelfWasArg ? QWidget::fontChange(a0) : fontChange(a0));
}

void sipKBookmarkContextMenu::sipProtectVirt_windowActivationChange(bool sipSelfWasArg,bool a0)
{
    (sipSelfWasArg ? QWidget::windowActivationChange(a0) : windowActivationChange(a0));
}

void sipKBookmarkContextMenu::sipProtectVirt_languageChange(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QWidget::languageChange() : languageChange());
}

int sipKBookmarkContextMenu::sipProtect_columnCount() const
{
    return QMenu::columnCount();
}

void sipKBookmarkContextMenu::sipProtect_initStyleOption(QStyleOptionMenuItem *a0,const QAction *a1) const
{
    QMenu::initStyleOption(a0,a1);
}

void sipKBookmarkContextMenu::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QMenu::changeEvent(a0) : changeEvent(a0));
}

void sipKBookmarkContextMenu::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? QMenu::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipKBookmarkContextMenu::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent *a0)
{
    (sipSelfWasArg ? QMenu::wheelEvent(a0) : wheelEvent(a0));
}

void sipKBookmarkContextMenu::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QMenu::enterEvent(a0) : enterEvent(a0));
}

void sipKBookmarkContextMenu::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QMenu::leaveEvent(a0) : leaveEvent(a0));
}

void sipKBookmarkContextMenu::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent *a0)
{
    (sipSelfWasArg ? QMenu::paintEvent(a0) : paintEvent(a0));
}

void sipKBookmarkContextMenu::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent *a0)
{
    (sipSelfWasArg ? QMenu::actionEvent(a0) : actionEvent(a0));
}

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

bool sipKBookmarkContextMenu::sipProtectVirt_event(bool sipSelfWasArg,QEvent *a0)
{
    return (sipSelfWasArg ? QMenu::event(a0) : event(a0));
}

void sipKBookmarkContextMenu::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent *a0)
{
    (sipSelfWasArg ? KMenu::closeEvent(a0) : closeEvent(a0));
}

void sipKBookmarkContextMenu::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent *a0)
{
    (sipSelfWasArg ? KMenu::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipKBookmarkContextMenu::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? KMenu::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipKBookmarkContextMenu::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? KMenu::mousePressEvent(a0) : mousePressEvent(a0));
}

bool sipKBookmarkContextMenu::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? KMenu::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

void sipKBookmarkContextMenu::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent *a0)
{
    (sipSelfWasArg ? KMenu::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipKBookmarkContextMenu::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent *a0)
{
    (sipSelfWasArg ? KMenu::hideEvent(a0) : hideEvent(a0));
}

void sipKBookmarkContextMenu::sipProtect_addBookmark()
{
    KBookmarkContextMenu::addBookmark();
}

void sipKBookmarkContextMenu::sipProtect_addFolderActions()
{
    KBookmarkContextMenu::addFolderActions();
}

void sipKBookmarkContextMenu::sipProtect_addProperties()
{
    KBookmarkContextMenu::addProperties();
}

void sipKBookmarkContextMenu::sipProtect_addBookmarkActions()
{
    KBookmarkContextMenu::addBookmarkActions();
}

void sipKBookmarkContextMenu::sipProtect_addOpenFolderInTabs()
{
    KBookmarkContextMenu::addOpenFolderInTabs();
}

KBookmarkManager * sipKBookmarkContextMenu::sipProtect_manager() const
{
    return KBookmarkContextMenu::manager();
}

KBookmarkOwner * sipKBookmarkContextMenu::sipProtect_owner() const
{
    return KBookmarkContextMenu::owner();
}

KBookmark sipKBookmarkContextMenu::sipProtect_bookmark() const
{
    return KBookmarkContextMenu::bookmark();
}


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

    {
        sipKBookmarkContextMenu *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        char * a0;
        sipKBookmarkContextMenu *sipCpp;

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

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

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QChildEvent * a0;
        sipKBookmarkContextMenu *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipKBookmarkContextMenu *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipKBookmarkContextMenu *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipKBookmarkContextMenu *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QMouseEvent * a0;
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KBookmarkContextMenu, &sipCpp, sipType_QMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QKeyEvent * a0;
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KBookmarkContextMenu, &sipCpp, sipType_QKeyEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QFocusEvent * a0;
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KBookmarkContextMenu, &sipCpp, sipType_QFocusEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QFocusEvent * a0;
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KBookmarkContextMenu, &sipCpp, sipType_QFocusEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QMoveEvent * a0;
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KBookmarkContextMenu, &sipCpp, sipType_QMoveEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QResizeEvent * a0;
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KBookmarkContextMenu, &sipCpp, sipType_QResizeEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QTabletEvent * a0;
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KBookmarkContextMenu, &sipCpp, sipType_QTabletEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QDragEnterEvent * a0;
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KBookmarkContextMenu, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QDragMoveEvent * a0;
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KBookmarkContextMenu, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QDragLeaveEvent * a0;
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KBookmarkContextMenu, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QDropEvent * a0;
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KBookmarkContextMenu, &sipCpp, sipType_QDropEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QShowEvent * a0;
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KBookmarkContextMenu, &sipCpp, sipType_QShowEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QPaintDevice::PaintDeviceMetric a0;
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KBookmarkContextMenu, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

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

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QInputMethodEvent * a0;
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KBookmarkContextMenu, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KBookmarkContextMenu, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_resetInputContext();
            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_resetInputContext, NULL);

    return NULL;
}


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

    {
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KBookmarkContextMenu, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_updateMicroFocus();
            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_updateMicroFocus, NULL);

    return NULL;
}


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

    {
        WId a0 = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipKBookmarkContextMenu *sipCpp;

        static const char *sipKwdList[] = {
            sipName_window,
            sipName_initializeWindow,
            sipName_destroyOldWindow,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|mbb", &sipSelf, sipType_KBookmarkContextMenu, &sipCpp, &a0, &a1, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_create(a0,a1,a2);
            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_create, NULL);

    return NULL;
}


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

    {
        bool a0 = 1;
        bool a1 = 1;
        sipKBookmarkContextMenu *sipCpp;

        static const char *sipKwdList[] = {
            sipName_destroyWindow,
            sipName_destroySubWindows,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|bb", &sipSelf, sipType_KBookmarkContextMenu, &sipCpp, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_destroy(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_KBookmarkContextMenu, sipName_destroy, NULL);

    return NULL;
}


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

    {
        sipKBookmarkContextMenu *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_focusNextChild();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        sipKBookmarkContextMenu *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_focusPreviousChild();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KBookmarkContextMenu, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_enabledChange(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QPalette * a0;
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KBookmarkContextMenu, &sipCpp, sipType_QPalette, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_paletteChange(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QFont * a0;
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KBookmarkContextMenu, &sipCpp, sipType_QFont, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_fontChange(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KBookmarkContextMenu, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_windowActivationChange(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KBookmarkContextMenu, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_languageChange(sipSelfWasArg);
            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_languageChange, NULL);

    return NULL;
}


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

    {
        sipKBookmarkContextMenu *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_columnCount();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QStyleOptionMenuItem * a0;
        const QAction * a1;
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J8", &sipSelf, sipType_KBookmarkContextMenu, &sipCpp, sipType_QStyleOptionMenuItem, &a0, sipType_QAction, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_initStyleOption(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_KBookmarkContextMenu, sipName_initStyleOption, NULL);

    return NULL;
}


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

    {
        QEvent * a0;
        sipKBookmarkContextMenu *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QMouseEvent * a0;
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KBookmarkContextMenu, &sipCpp, sipType_QMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QWheelEvent * a0;
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KBookmarkContextMenu, &sipCpp, sipType_QWheelEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipKBookmarkContextMenu *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipKBookmarkContextMenu *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QPaintEvent * a0;
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KBookmarkContextMenu, &sipCpp, sipType_QPaintEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QActionEvent * a0;
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KBookmarkContextMenu, &sipCpp, sipType_QActionEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QTimerEvent * a0;
        sipKBookmarkContextMenu *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KBookmarkContextMenu, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QCloseEvent * a0;
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KBookmarkContextMenu, &sipCpp, sipType_QCloseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QKeyEvent * a0;
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KBookmarkContextMenu, &sipCpp, sipType_QKeyEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QMouseEvent * a0;
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KBookmarkContextMenu, &sipCpp, sipType_QMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QMouseEvent * a0;
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KBookmarkContextMenu, &sipCpp, sipType_QMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        sipKBookmarkContextMenu *sipCpp;

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

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QContextMenuEvent * a0;
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KBookmarkContextMenu, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QHideEvent * a0;
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KBookmarkContextMenu, &sipCpp, sipType_QHideEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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;

    {
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KBookmarkContextMenu, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_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;

    {
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KBookmarkContextMenu, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_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;

    {
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KBookmarkContextMenu, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_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;

    {
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KBookmarkContextMenu, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_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;

    {
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KBookmarkContextMenu, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_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;

    {
        sipKBookmarkContextMenu *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_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;

    {
        sipKBookmarkContextMenu *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_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;

    {
        sipKBookmarkContextMenu *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KBookmark(sipCpp->sipProtect_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 sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKBookmarkContextMenu *>(sipCppV);
    else
        delete reinterpret_cast<KBookmarkContextMenu *>(sipCppV);

    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_KBookmarkContextMenu(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_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_actionEvent), meth_KBookmarkContextMenu_actionEvent, METH_VARARGS, NULL},
    {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_changeEvent), meth_KBookmarkContextMenu_changeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_KBookmarkContextMenu_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), meth_KBookmarkContextMenu_closeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_columnCount), meth_KBookmarkContextMenu_columnCount, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KBookmarkContextMenu_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), meth_KBookmarkContextMenu_contextMenuEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_KBookmarkContextMenu_create, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KBookmarkContextMenu_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), (PyCFunction)meth_KBookmarkContextMenu_destroy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KBookmarkContextMenu_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), meth_KBookmarkContextMenu_dragEnterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), meth_KBookmarkContextMenu_dragLeaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), meth_KBookmarkContextMenu_dragMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), meth_KBookmarkContextMenu_dropEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enabledChange), meth_KBookmarkContextMenu_enabledChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), meth_KBookmarkContextMenu_enterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_event), meth_KBookmarkContextMenu_event, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), meth_KBookmarkContextMenu_focusInEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), meth_KBookmarkContextMenu_focusNextChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), meth_KBookmarkContextMenu_focusNextPrevChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), meth_KBookmarkContextMenu_focusOutEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), meth_KBookmarkContextMenu_focusPreviousChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fontChange), meth_KBookmarkContextMenu_fontChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), meth_KBookmarkContextMenu_hideEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_initStyleOption), meth_KBookmarkContextMenu_initStyleOption, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), meth_KBookmarkContextMenu_inputMethodEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), meth_KBookmarkContextMenu_keyPressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), meth_KBookmarkContextMenu_keyReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_languageChange), meth_KBookmarkContextMenu_languageChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), meth_KBookmarkContextMenu_leaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_manager), meth_KBookmarkContextMenu_manager, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_metric), meth_KBookmarkContextMenu_metric, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), meth_KBookmarkContextMenu_mouseDoubleClickEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), meth_KBookmarkContextMenu_mouseMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), meth_KBookmarkContextMenu_mousePressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), meth_KBookmarkContextMenu_mouseReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), meth_KBookmarkContextMenu_moveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_owner), meth_KBookmarkContextMenu_owner, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), meth_KBookmarkContextMenu_paintEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paletteChange), meth_KBookmarkContextMenu_paletteChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_KBookmarkContextMenu_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resetInputContext), meth_KBookmarkContextMenu_resetInputContext, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_KBookmarkContextMenu_resizeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), meth_KBookmarkContextMenu_sender, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), meth_KBookmarkContextMenu_showEvent, 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},
    {SIP_MLNAME_CAST(sipName_tabletEvent), meth_KBookmarkContextMenu_tabletEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KBookmarkContextMenu_timerEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), meth_KBookmarkContextMenu_updateMicroFocus, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), meth_KBookmarkContextMenu_wheelEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_windowActivationChange), meth_KBookmarkContextMenu_windowActivationChange, METH_VARARGS, NULL}
};


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

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/kbookmarkmenu.sip"
#include <kbookmarkmenu.h>
#line 7288 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/kbookmarkmanager.sip"
#include <kbookmarkmanager.h>
#line 7292 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 81 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/kbookmarkmanager.sip"
#include <kbookmarkmanager.h>
#line 7295 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdeui/kmenu.sip"
#include <kmenu.h>
#line 7298 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdeui/kactioncollection.sip"
#include <kactioncollection.h>
#line 7301 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 7304 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/local/share/py-sip/QtGui/qaction.sip"
#include <qaction.h>
#line 7307 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 7310 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7313 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 310 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7316 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 298 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7319 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 34 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 7322 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 238 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 7325 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 7328 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 7331 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7334 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 7337 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 7340 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 7343 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 7346 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/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 public method for every protected method visible from
     * this class.
     */
    QObject * sipProtect_sender() const;
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);
    void sipProtect_slotAboutToShow();
    void sipProtect_slotAddBookmarksList();
    void sipProtect_slotAddBookmark();
    void sipProtect_slotNewFolder();
    void sipProtect_slotOpenFolderInTabs();
    void sipProtectVirt_clear(bool);
    void sipProtectVirt_refill(bool);
    QAction * sipProtectVirt_actionForBookmark(bool,const KBookmark&);
    KMenu * sipProtectVirt_contextMenu(bool,QAction *);
    void sipProtect_addActions();
    void sipProtect_fillBookmarks();
    void sipProtect_addAddBookmark();
    void sipProtect_addAddBookmarksList();
    void sipProtect_addEditBookmarks();
    void sipProtect_addNewFolder();
    void sipProtect_addOpenInTabs();
    bool sipProtect_isRoot() const;
    bool sipProtect_isDirty() const;
    QString sipProtect_parentAddress() const;
    KBookmarkManager * sipProtect_manager() const;
    KBookmarkOwner * sipProtect_owner() const;
    KMenu * sipProtect_parentMenu() const;

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[11];
};

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

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

sipKBookmarkMenu::~sipKBookmarkMenu()
{
    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 && sip_kio_qt_metacast(sipPySelf,sipType_KBookmarkMenu,_clname)) ? this : KBookmarkMenu::qt_metacast(_clname);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    return sipVH_kio_32(sipGILState,sipMeth,a0);
}

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

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

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

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

    return sipVH_kio_31(sipGILState,sipMeth,a0);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

void sipKBookmarkMenu::sipProtect_slotAboutToShow()
{
    KBookmarkMenu::slotAboutToShow();
}

void sipKBookmarkMenu::sipProtect_slotAddBookmarksList()
{
    KBookmarkMenu::slotAddBookmarksList();
}

void sipKBookmarkMenu::sipProtect_slotAddBookmark()
{
    KBookmarkMenu::slotAddBookmark();
}

void sipKBookmarkMenu::sipProtect_slotNewFolder()
{
    KBookmarkMenu::slotNewFolder();
}

void sipKBookmarkMenu::sipProtect_slotOpenFolderInTabs()
{
    KBookmarkMenu::slotOpenFolderInTabs();
}

void sipKBookmarkMenu::sipProtectVirt_clear(bool sipSelfWasArg)
{
    (sipSelfWasArg ? KBookmarkMenu::clear() : clear());
}

void sipKBookmarkMenu::sipProtectVirt_refill(bool sipSelfWasArg)
{
    (sipSelfWasArg ? KBookmarkMenu::refill() : refill());
}

QAction * sipKBookmarkMenu::sipProtectVirt_actionForBookmark(bool sipSelfWasArg,const KBookmark& a0)
{
    return (sipSelfWasArg ? KBookmarkMenu::actionForBookmark(a0) : actionForBookmark(a0));
}

KMenu * sipKBookmarkMenu::sipProtectVirt_contextMenu(bool sipSelfWasArg,QAction *a0)
{
    return (sipSelfWasArg ? KBookmarkMenu::contextMenu(a0) : contextMenu(a0));
}

void sipKBookmarkMenu::sipProtect_addActions()
{
    KBookmarkMenu::addActions();
}

void sipKBookmarkMenu::sipProtect_fillBookmarks()
{
    KBookmarkMenu::fillBookmarks();
}

void sipKBookmarkMenu::sipProtect_addAddBookmark()
{
    KBookmarkMenu::addAddBookmark();
}

void sipKBookmarkMenu::sipProtect_addAddBookmarksList()
{
    KBookmarkMenu::addAddBookmarksList();
}

void sipKBookmarkMenu::sipProtect_addEditBookmarks()
{
    KBookmarkMenu::addEditBookmarks();
}

void sipKBookmarkMenu::sipProtect_addNewFolder()
{
    KBookmarkMenu::addNewFolder();
}

void sipKBookmarkMenu::sipProtect_addOpenInTabs()
{
    KBookmarkMenu::addOpenInTabs();
}

bool sipKBookmarkMenu::sipProtect_isRoot() const
{
    return KBookmarkMenu::isRoot();
}

bool sipKBookmarkMenu::sipProtect_isDirty() const
{
    return KBookmarkMenu::isDirty();
}

QString sipKBookmarkMenu::sipProtect_parentAddress() const
{
    return KBookmarkMenu::parentAddress();
}

KBookmarkManager * sipKBookmarkMenu::sipProtect_manager() const
{
    return KBookmarkMenu::manager();
}

KBookmarkOwner * sipKBookmarkMenu::sipProtect_owner() const
{
    return KBookmarkMenu::owner();
}

KMenu * sipKBookmarkMenu::sipProtect_parentMenu() const
{
    return KBookmarkMenu::parentMenu();
}


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

    {
        sipKBookmarkMenu *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        char * a0;
        sipKBookmarkMenu *sipCpp;

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

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

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QTimerEvent * a0;
        sipKBookmarkMenu *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QChildEvent * a0;
        sipKBookmarkMenu *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipKBookmarkMenu *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipKBookmarkMenu *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipKBookmarkMenu *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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;

    {
        sipKBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KBookmarkMenu, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_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;

    {
        sipKBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KBookmarkMenu, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_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;

    {
        sipKBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KBookmarkMenu, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_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;

    {
        sipKBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KBookmarkMenu, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_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;

    {
        sipKBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KBookmarkMenu, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_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));

    {
        sipKBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KBookmarkMenu, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_clear(sipSelfWasArg);
            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));

    {
        sipKBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KBookmarkMenu, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_refill(sipSelfWasArg);
            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;
        sipKBookmarkMenu *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_actionForBookmark(sipSelfWasArg,*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;
        sipKBookmarkMenu *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_contextMenu(sipSelfWasArg,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;

    {
        sipKBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KBookmarkMenu, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_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;

    {
        sipKBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KBookmarkMenu, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_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;

    {
        sipKBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KBookmarkMenu, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_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;

    {
        sipKBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KBookmarkMenu, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_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;

    {
        sipKBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KBookmarkMenu, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_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;

    {
        sipKBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KBookmarkMenu, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_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;

    {
        sipKBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KBookmarkMenu, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_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;

    {
        sipKBookmarkMenu *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_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;

    {
        sipKBookmarkMenu *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_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;

    {
        sipKBookmarkMenu *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->sipProtect_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;

    {
        sipKBookmarkMenu *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_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;

    {
        sipKBookmarkMenu *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_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;

    {
        sipKBookmarkMenu *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_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 sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKBookmarkMenu *>(sipCppV);
    else
        delete reinterpret_cast<KBookmarkMenu *>(sipCppV);

    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_KBookmarkMenu(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_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[] = {{134, 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_childEvent), meth_KBookmarkMenu_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_clear), meth_KBookmarkMenu_clear, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KBookmarkMenu_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenu), meth_KBookmarkMenu_contextMenu, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KBookmarkMenu_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KBookmarkMenu_disconnectNotify, 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_receivers), meth_KBookmarkMenu_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_refill), meth_KBookmarkMenu_refill, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), meth_KBookmarkMenu_sender, 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},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KBookmarkMenu_timerEvent, METH_VARARGS, NULL}
};


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

#line 81 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/kbookmarkmanager.sip"
#include <kbookmarkmanager.h>
#line 8832 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"

#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/kbookmarkdialog.sip"
#include <kbookmarkdialog.h>
#line 8836 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/kbookmarkmanager.sip"
#include <kbookmarkmanager.h>
#line 8839 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 8842 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 100 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 8845 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 8848 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 8851 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 8854 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 201 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 8858 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 77 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 8861 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 8864 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/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:
    QString currentTitle() const;
    QString currentUrl() const;
    bool supportsTabs() const;
    QList<QPair<QString,QString> > currentBookmarkList() const;
    bool enableOption(KBookmarkOwner::BookmarkOption) const;
    void openBookmark(const KBookmark&,Qt::MouseButtons,Qt::KeyboardModifiers);
    void openFolderinTabs(const KBookmarkGroup&);
    KBookmarkDialog * bookmarkDialog(KBookmarkManager *,QWidget *);

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

QString sipKBookmarkOwner::currentTitle() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KBookmarkOwner::currentTitle();

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

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

QString sipKBookmarkOwner::currentUrl() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KBookmarkOwner::currentUrl();

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

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

bool sipKBookmarkOwner::supportsTabs() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KBookmarkOwner::supportsTabs();

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

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

QList<QPair<QString,QString> > sipKBookmarkOwner::currentBookmarkList() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KBookmarkOwner::currentBookmarkList();

    extern QList<QPair<QString,QString> > sipVH_kio_71(sip_gilstate_t,PyObject *);

    return sipVH_kio_71(sipGILState,sipMeth);
}

bool sipKBookmarkOwner::enableOption(KBookmarkOwner::BookmarkOption a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KBookmarkOwner::enableOption(a0);

    extern bool sipVH_kio_70(sip_gilstate_t,PyObject *,KBookmarkOwner::BookmarkOption);

    return sipVH_kio_70(sipGILState,sipMeth,a0);
}

void sipKBookmarkOwner::openBookmark(const KBookmark& a0,Qt::MouseButtons a1,Qt::KeyboardModifiers a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,sipName_KBookmarkOwner,sipName_openBookmark);

    if (!sipMeth)
        return;

    extern void sipVH_kio_69(sip_gilstate_t,PyObject *,const KBookmark&,Qt::MouseButtons,Qt::KeyboardModifiers);

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

void sipKBookmarkOwner::openFolderinTabs(const KBookmarkGroup& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KBookmarkOwner::openFolderinTabs(a0);
        return;
    }

    extern void sipVH_kio_68(sip_gilstate_t,PyObject *,const KBookmarkGroup&);

    sipVH_kio_68(sipGILState,sipMeth,a0);
}

KBookmarkDialog * sipKBookmarkOwner::bookmarkDialog(KBookmarkManager *a0,QWidget *a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KBookmarkOwner::bookmarkDialog(a0,a1);

    extern KBookmarkDialog * sipVH_kio_67(sip_gilstate_t,PyObject *,KBookmarkManager *,QWidget *);

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


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

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

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

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

    {
        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;
        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_KBookmarkOwner(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_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, KBookmarkOwner::ShowAddBookmark, 30},
    {sipName_ShowEditBookmark, 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_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
};

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/kbookmarkmanager.sip"
#include <kbookmarkmanager.h>
#line 9421 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"

#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 9425 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 9428 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 206 "/usr/local/share/py-sip/QtXml/qdom.sip"
#include <qdom.h>
#line 9431 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 100 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 9434 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 9437 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9440 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 310 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9443 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 298 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9446 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 34 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 9449 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 238 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 9452 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 9455 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 9458 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 9461 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 9464 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 9467 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 9470 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 9473 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/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;
        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;

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

    {
        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;
        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;

    {
        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;

    {
        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)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<KBookmarkManager *>(sipCppV);

    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[] = {{134, 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 PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_KBookmarkManager[] = {
    {"error(QString)", 0, 0},
    {"configChanged()", 0, 0},
    {"changed(QString,QString)", 0, 0},
    {"bookmarkConfigChanged()", 0, 0},
    {"bookmarksChanged(QString)", 0, 0},
    {"bookmarkCompleteChange(QString)", 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
},
    &KBookmarkManager::staticMetaObject,
    0,
    pyqt4_signals_KBookmarkManager
};

#line 41 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/kbookmarkimporter_opera.sip"
#include <kbookmarkimporter_opera.h>
#line 10268 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/kbookmarkmanager.sip"
#include <kbookmarkmanager.h>
#line 10272 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 10275 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 100 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 10278 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/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_68(sip_gilstate_t,PyObject *,const KBookmarkGroup&);

    sipVH_kio_68(sipGILState,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_KOperaBookmarkExporterImpl(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_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_KOperaBookmarkExporterImpl,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KOperaBookmarkExporterImpl,
    0,
    0,
    0,
    release_KOperaBookmarkExporterImpl,
    cast_KOperaBookmarkExporterImpl,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/kbookmarkimporter_opera.sip"
#include <kbookmarkimporter_opera.h>
#line 10514 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"

#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 10518 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/kbookmarkimporter.sip"
#include <kbookmarkimporter.h>
#line 10521 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 34 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 10524 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10527 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 310 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10530 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 298 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10533 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 238 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 10536 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 10539 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 10542 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 10545 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 10548 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 10551 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 10554 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 10557 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/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 public method for every protected method visible from
     * this class.
     */
    QObject * sipProtect_sender() const;
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void parse();
    QString findDefaultLocation(bool) const;
    bool event(QEvent *);
    bool eventFilter(QObject *,QEvent *);
    void timerEvent(QTimerEvent *);
    void childEvent(QChildEvent *);
    void customEvent(QEvent *);
    void connectNotify(const char *);
    void disconnectNotify(const char *);

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 && sip_kio_qt_metacast(sipPySelf,sipType_KOperaBookmarkImporterImpl,_clname)) ? this : KOperaBookmarkImporterImpl::qt_metacast(_clname);
}

void sipKOperaBookmarkImporterImpl::parse()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_parse);

    if (!sipMeth)
    {
        KOperaBookmarkImporterImpl::parse();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState,sipMeth);
}

QString sipKOperaBookmarkImporterImpl::findDefaultLocation(bool a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_findDefaultLocation);

    if (!sipMeth)
        return KOperaBookmarkImporterImpl::findDefaultLocation(a0);

    extern QString sipVH_kio_72(sip_gilstate_t,PyObject *,bool);

    return sipVH_kio_72(sipGILState,sipMeth,a0);
}

bool sipKOperaBookmarkImporterImpl::event(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QObject::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *,QEvent *);

    return ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState,sipMeth,a0);
}

bool sipKOperaBookmarkImporterImpl::eventFilter(QObject *a0,QEvent *a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QObject::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,QObject *,QEvent *);

    return ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState,sipMeth,a0,a1);
}

void sipKOperaBookmarkImporterImpl::timerEvent(QTimerEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QObject::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t,PyObject *,QTimerEvent *);

    ((sipVH_QtCore_9)(sipModuleAPI_kio_QtCore->em_virthandlers[9]))(sipGILState,sipMeth,a0);
}

void sipKOperaBookmarkImporterImpl::childEvent(QChildEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QObject::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t,PyObject *,QChildEvent *);

    ((sipVH_QtCore_25)(sipModuleAPI_kio_QtCore->em_virthandlers[25]))(sipGILState,sipMeth,a0);
}

void sipKOperaBookmarkImporterImpl::customEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QObject::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t,PyObject *,QEvent *);

    ((sipVH_QtCore_17)(sipModuleAPI_kio_QtCore->em_virthandlers[17]))(sipGILState,sipMeth,a0);
}

void sipKOperaBookmarkImporterImpl::connectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QObject::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t,PyObject *,const char *);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState,sipMeth,a0);
}

void sipKOperaBookmarkImporterImpl::disconnectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QObject::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t,PyObject *,const char *);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState,sipMeth,a0);
}

QObject * sipKOperaBookmarkImporterImpl::sipProtect_sender() const
{
    return QObject::sender();
}

int sipKOperaBookmarkImporterImpl::sipProtect_receivers(const char *a0) const
{
    return QObject::receivers(a0);
}

void sipKOperaBookmarkImporterImpl::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipKOperaBookmarkImporterImpl::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent *a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipKOperaBookmarkImporterImpl::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipKOperaBookmarkImporterImpl::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipKOperaBookmarkImporterImpl::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}


extern "C" {static PyObject *meth_KOperaBookmarkImporterImpl_sender(PyObject *, PyObject *);}
static PyObject *meth_KOperaBookmarkImporterImpl_sender(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        sipKOperaBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KOperaBookmarkImporterImpl, &sipCpp))
        {
            QObject *sipRes = 0;

#line 632 "/usr/local/share/py-sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp->sender());
        #else
            sipRes = helper(sipCpp->sipProtect_sender());
        #endif
#line 10852 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KOperaBookmarkImporterImpl, sipName_sender, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KOperaBookmarkImporterImpl_receivers(PyObject *, PyObject *);}
static PyObject *meth_KOperaBookmarkImporterImpl_receivers(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        char * a0;
        sipKOperaBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_KOperaBookmarkImporterImpl, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 649 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp, a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 10894 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KOperaBookmarkImporterImpl, sipName_receivers, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KOperaBookmarkImporterImpl_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_KOperaBookmarkImporterImpl_timerEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipKOperaBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KOperaBookmarkImporterImpl, &sipCpp, sipType_QTimerEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KOperaBookmarkImporterImpl, sipName_timerEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KOperaBookmarkImporterImpl_childEvent(PyObject *, PyObject *);}
static PyObject *meth_KOperaBookmarkImporterImpl_childEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipKOperaBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KOperaBookmarkImporterImpl, &sipCpp, sipType_QChildEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KOperaBookmarkImporterImpl, sipName_childEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KOperaBookmarkImporterImpl_customEvent(PyObject *, PyObject *);}
static PyObject *meth_KOperaBookmarkImporterImpl_customEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKOperaBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KOperaBookmarkImporterImpl, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KOperaBookmarkImporterImpl, sipName_customEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KOperaBookmarkImporterImpl_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_KOperaBookmarkImporterImpl_connectNotify(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKOperaBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_KOperaBookmarkImporterImpl, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KOperaBookmarkImporterImpl, sipName_connectNotify, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KOperaBookmarkImporterImpl_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_KOperaBookmarkImporterImpl_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKOperaBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_KOperaBookmarkImporterImpl, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KOperaBookmarkImporterImpl, sipName_disconnectNotify, NULL);

    return NULL;
}


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;
        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 sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKOperaBookmarkImporterImpl *>(sipCppV);
    else
        delete reinterpret_cast<KOperaBookmarkImporterImpl *>(sipCppV);

    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_KOperaBookmarkImporterImpl(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_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_childEvent), meth_KOperaBookmarkImporterImpl_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KOperaBookmarkImporterImpl_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KOperaBookmarkImporterImpl_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KOperaBookmarkImporterImpl_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_findDefaultLocation), meth_KOperaBookmarkImporterImpl_findDefaultLocation, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_parse), meth_KOperaBookmarkImporterImpl_parse, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_KOperaBookmarkImporterImpl_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), meth_KOperaBookmarkImporterImpl_sender, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KOperaBookmarkImporterImpl_timerEvent, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kio_KOperaBookmarkImporterImpl = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KOperaBookmarkImporterImpl,
        {0}
    },
    {
        sipNameNr_KOperaBookmarkImporterImpl,
        {0, 0, 1},
        9, methods_KOperaBookmarkImporterImpl,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KOperaBookmarkImporterImpl,
    0,
    init_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
},
    &KOperaBookmarkImporterImpl::staticMetaObject,
    0,
    0
};

#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/kbookmarkimporter_ns.sip"
#include <kbookmarkimporter_ns.h>
#line 11238 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/kbookmarkmanager.sip"
#include <kbookmarkmanager.h>
#line 11242 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 11245 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 100 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 11248 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"


class sipKNSBookmarkExporterImpl : public KNSBookmarkExporterImpl
{
public:
    sipKNSBookmarkExporterImpl(KBookmarkManager *,const QString&);
    sipKNSBookmarkExporterImpl(const KNSBookmarkExporterImpl&);
    virtual ~sipKNSBookmarkExporterImpl();

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QString sipProtect_folderAsString(const KBookmarkGroup&) const;

    /*
     * 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_68(sip_gilstate_t,PyObject *,const KBookmarkGroup&);

    sipVH_kio_68(sipGILState,sipMeth,a0);
}

QString sipKNSBookmarkExporterImpl::sipProtect_folderAsString(const KBookmarkGroup& a0) const
{
    return KNSBookmarkExporterImpl::folderAsString(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;
        sipKNSBookmarkExporterImpl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ;", &sipSelf, sipType_KNSBookmarkExporterImpl, &sipCpp, sipType_KBookmarkGroup, &a0))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->sipProtect_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_KNSBookmarkExporterImpl(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_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_KNSBookmarkExporterImpl,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KNSBookmarkExporterImpl,
    0,
    0,
    0,
    release_KNSBookmarkExporterImpl,
    cast_KNSBookmarkExporterImpl,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 42 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/kbookmarkimporter_ns.sip"
#include <kbookmarkimporter_ns.h>
#line 11552 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"

#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 11556 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/kbookmarkimporter.sip"
#include <kbookmarkimporter.h>
#line 11559 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 34 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 11562 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11565 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 310 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11568 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 298 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11571 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 238 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 11574 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 11577 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 11580 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 11583 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 11586 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 11589 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 11592 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 11595 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/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 public method for every protected method visible from
     * this class.
     */
    QObject * sipProtect_sender() const;
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void parse();
    QString findDefaultLocation(bool) const;
    bool event(QEvent *);
    bool eventFilter(QObject *,QEvent *);
    void timerEvent(QTimerEvent *);
    void childEvent(QChildEvent *);
    void customEvent(QEvent *);
    void connectNotify(const char *);
    void disconnectNotify(const char *);

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 && sip_kio_qt_metacast(sipPySelf,sipType_KMozillaBookmarkImporterImpl,_clname)) ? this : KMozillaBookmarkImporterImpl::qt_metacast(_clname);
}

void sipKMozillaBookmarkImporterImpl::parse()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_parse);

    if (!sipMeth)
    {
        KNSBookmarkImporterImpl::parse();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState,sipMeth);
}

QString sipKMozillaBookmarkImporterImpl::findDefaultLocation(bool a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_findDefaultLocation);

    if (!sipMeth)
        return KNSBookmarkImporterImpl::findDefaultLocation(a0);

    extern QString sipVH_kio_72(sip_gilstate_t,PyObject *,bool);

    return sipVH_kio_72(sipGILState,sipMeth,a0);
}

bool sipKMozillaBookmarkImporterImpl::event(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QObject::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *,QEvent *);

    return ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState,sipMeth,a0);
}

bool sipKMozillaBookmarkImporterImpl::eventFilter(QObject *a0,QEvent *a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QObject::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,QObject *,QEvent *);

    return ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState,sipMeth,a0,a1);
}

void sipKMozillaBookmarkImporterImpl::timerEvent(QTimerEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QObject::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t,PyObject *,QTimerEvent *);

    ((sipVH_QtCore_9)(sipModuleAPI_kio_QtCore->em_virthandlers[9]))(sipGILState,sipMeth,a0);
}

void sipKMozillaBookmarkImporterImpl::childEvent(QChildEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QObject::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t,PyObject *,QChildEvent *);

    ((sipVH_QtCore_25)(sipModuleAPI_kio_QtCore->em_virthandlers[25]))(sipGILState,sipMeth,a0);
}

void sipKMozillaBookmarkImporterImpl::customEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QObject::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t,PyObject *,QEvent *);

    ((sipVH_QtCore_17)(sipModuleAPI_kio_QtCore->em_virthandlers[17]))(sipGILState,sipMeth,a0);
}

void sipKMozillaBookmarkImporterImpl::connectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QObject::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t,PyObject *,const char *);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState,sipMeth,a0);
}

void sipKMozillaBookmarkImporterImpl::disconnectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QObject::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t,PyObject *,const char *);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState,sipMeth,a0);
}

QObject * sipKMozillaBookmarkImporterImpl::sipProtect_sender() const
{
    return QObject::sender();
}

int sipKMozillaBookmarkImporterImpl::sipProtect_receivers(const char *a0) const
{
    return QObject::receivers(a0);
}

void sipKMozillaBookmarkImporterImpl::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipKMozillaBookmarkImporterImpl::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent *a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipKMozillaBookmarkImporterImpl::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipKMozillaBookmarkImporterImpl::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipKMozillaBookmarkImporterImpl::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}


extern "C" {static PyObject *meth_KMozillaBookmarkImporterImpl_sender(PyObject *, PyObject *);}
static PyObject *meth_KMozillaBookmarkImporterImpl_sender(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        sipKMozillaBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KMozillaBookmarkImporterImpl, &sipCpp))
        {
            QObject *sipRes = 0;

#line 632 "/usr/local/share/py-sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp->sender());
        #else
            sipRes = helper(sipCpp->sipProtect_sender());
        #endif
#line 11890 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMozillaBookmarkImporterImpl, sipName_sender, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMozillaBookmarkImporterImpl_receivers(PyObject *, PyObject *);}
static PyObject *meth_KMozillaBookmarkImporterImpl_receivers(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        char * a0;
        sipKMozillaBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_KMozillaBookmarkImporterImpl, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 649 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp, a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 11932 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMozillaBookmarkImporterImpl, sipName_receivers, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMozillaBookmarkImporterImpl_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_KMozillaBookmarkImporterImpl_timerEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipKMozillaBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KMozillaBookmarkImporterImpl, &sipCpp, sipType_QTimerEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMozillaBookmarkImporterImpl, sipName_timerEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMozillaBookmarkImporterImpl_childEvent(PyObject *, PyObject *);}
static PyObject *meth_KMozillaBookmarkImporterImpl_childEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipKMozillaBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KMozillaBookmarkImporterImpl, &sipCpp, sipType_QChildEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMozillaBookmarkImporterImpl, sipName_childEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMozillaBookmarkImporterImpl_customEvent(PyObject *, PyObject *);}
static PyObject *meth_KMozillaBookmarkImporterImpl_customEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKMozillaBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KMozillaBookmarkImporterImpl, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMozillaBookmarkImporterImpl, sipName_customEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMozillaBookmarkImporterImpl_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_KMozillaBookmarkImporterImpl_connectNotify(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKMozillaBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_KMozillaBookmarkImporterImpl, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMozillaBookmarkImporterImpl, sipName_connectNotify, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMozillaBookmarkImporterImpl_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_KMozillaBookmarkImporterImpl_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKMozillaBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_KMozillaBookmarkImporterImpl, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMozillaBookmarkImporterImpl, sipName_disconnectNotify, NULL);

    return NULL;
}


/* 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 sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKMozillaBookmarkImporterImpl *>(sipCppV);
    else
        delete reinterpret_cast<KMozillaBookmarkImporterImpl *>(sipCppV);

    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_KMozillaBookmarkImporterImpl(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_KMozillaBookmarkImporterImpl(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipKMozillaBookmarkImporterImpl *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKMozillaBookmarkImporterImpl();
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KMozillaBookmarkImporterImpl[] = {{194, 255, 1}};


static PyMethodDef methods_KMozillaBookmarkImporterImpl[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), meth_KMozillaBookmarkImporterImpl_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KMozillaBookmarkImporterImpl_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KMozillaBookmarkImporterImpl_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KMozillaBookmarkImporterImpl_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_KMozillaBookmarkImporterImpl_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), meth_KMozillaBookmarkImporterImpl_sender, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KMozillaBookmarkImporterImpl_timerEvent, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kio_KMozillaBookmarkImporterImpl = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KMozillaBookmarkImporterImpl,
        {0}
    },
    {
        sipNameNr_KMozillaBookmarkImporterImpl,
        {0, 0, 1},
        7, methods_KMozillaBookmarkImporterImpl,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KMozillaBookmarkImporterImpl,
    0,
    init_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
},
    &KMozillaBookmarkImporterImpl::staticMetaObject,
    0,
    0
};

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/kbookmarkimporter_ns.sip"
#include <kbookmarkimporter_ns.h>
#line 12218 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"

#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 12222 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/kbookmarkimporter.sip"
#include <kbookmarkimporter.h>
#line 12225 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 34 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 12228 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 12231 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 310 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 12234 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 298 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 12237 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 238 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 12240 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 12243 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 12246 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 12249 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 12252 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 12255 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 12258 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 12261 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/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 public method for every protected method visible from
     * this class.
     */
    QObject * sipProtect_sender() const;
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void parse();
    QString findDefaultLocation(bool) const;
    bool event(QEvent *);
    bool eventFilter(QObject *,QEvent *);
    void timerEvent(QTimerEvent *);
    void childEvent(QChildEvent *);
    void customEvent(QEvent *);
    void connectNotify(const char *);
    void disconnectNotify(const char *);

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 && sip_kio_qt_metacast(sipPySelf,sipType_KNSBookmarkImporterImpl,_clname)) ? this : KNSBookmarkImporterImpl::qt_metacast(_clname);
}

void sipKNSBookmarkImporterImpl::parse()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_parse);

    if (!sipMeth)
    {
        KNSBookmarkImporterImpl::parse();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState,sipMeth);
}

QString sipKNSBookmarkImporterImpl::findDefaultLocation(bool a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_findDefaultLocation);

    if (!sipMeth)
        return KNSBookmarkImporterImpl::findDefaultLocation(a0);

    extern QString sipVH_kio_72(sip_gilstate_t,PyObject *,bool);

    return sipVH_kio_72(sipGILState,sipMeth,a0);
}

bool sipKNSBookmarkImporterImpl::event(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QObject::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *,QEvent *);

    return ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState,sipMeth,a0);
}

bool sipKNSBookmarkImporterImpl::eventFilter(QObject *a0,QEvent *a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QObject::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,QObject *,QEvent *);

    return ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState,sipMeth,a0,a1);
}

void sipKNSBookmarkImporterImpl::timerEvent(QTimerEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QObject::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t,PyObject *,QTimerEvent *);

    ((sipVH_QtCore_9)(sipModuleAPI_kio_QtCore->em_virthandlers[9]))(sipGILState,sipMeth,a0);
}

void sipKNSBookmarkImporterImpl::childEvent(QChildEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QObject::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t,PyObject *,QChildEvent *);

    ((sipVH_QtCore_25)(sipModuleAPI_kio_QtCore->em_virthandlers[25]))(sipGILState,sipMeth,a0);
}

void sipKNSBookmarkImporterImpl::customEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QObject::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t,PyObject *,QEvent *);

    ((sipVH_QtCore_17)(sipModuleAPI_kio_QtCore->em_virthandlers[17]))(sipGILState,sipMeth,a0);
}

void sipKNSBookmarkImporterImpl::connectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QObject::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t,PyObject *,const char *);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState,sipMeth,a0);
}

void sipKNSBookmarkImporterImpl::disconnectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QObject::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t,PyObject *,const char *);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState,sipMeth,a0);
}

QObject * sipKNSBookmarkImporterImpl::sipProtect_sender() const
{
    return QObject::sender();
}

int sipKNSBookmarkImporterImpl::sipProtect_receivers(const char *a0) const
{
    return QObject::receivers(a0);
}

void sipKNSBookmarkImporterImpl::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipKNSBookmarkImporterImpl::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent *a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipKNSBookmarkImporterImpl::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipKNSBookmarkImporterImpl::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipKNSBookmarkImporterImpl::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}


extern "C" {static PyObject *meth_KNSBookmarkImporterImpl_sender(PyObject *, PyObject *);}
static PyObject *meth_KNSBookmarkImporterImpl_sender(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        sipKNSBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KNSBookmarkImporterImpl, &sipCpp))
        {
            QObject *sipRes = 0;

#line 632 "/usr/local/share/py-sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp->sender());
        #else
            sipRes = helper(sipCpp->sipProtect_sender());
        #endif
#line 12556 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KNSBookmarkImporterImpl, sipName_sender, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KNSBookmarkImporterImpl_receivers(PyObject *, PyObject *);}
static PyObject *meth_KNSBookmarkImporterImpl_receivers(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        char * a0;
        sipKNSBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_KNSBookmarkImporterImpl, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 649 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp, a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 12598 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KNSBookmarkImporterImpl, sipName_receivers, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KNSBookmarkImporterImpl_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_KNSBookmarkImporterImpl_timerEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipKNSBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KNSBookmarkImporterImpl, &sipCpp, sipType_QTimerEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KNSBookmarkImporterImpl, sipName_timerEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KNSBookmarkImporterImpl_childEvent(PyObject *, PyObject *);}
static PyObject *meth_KNSBookmarkImporterImpl_childEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipKNSBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KNSBookmarkImporterImpl, &sipCpp, sipType_QChildEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KNSBookmarkImporterImpl, sipName_childEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KNSBookmarkImporterImpl_customEvent(PyObject *, PyObject *);}
static PyObject *meth_KNSBookmarkImporterImpl_customEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKNSBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KNSBookmarkImporterImpl, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KNSBookmarkImporterImpl, sipName_customEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KNSBookmarkImporterImpl_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_KNSBookmarkImporterImpl_connectNotify(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKNSBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_KNSBookmarkImporterImpl, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KNSBookmarkImporterImpl, sipName_connectNotify, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KNSBookmarkImporterImpl_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_KNSBookmarkImporterImpl_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKNSBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_KNSBookmarkImporterImpl, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KNSBookmarkImporterImpl, sipName_disconnectNotify, NULL);

    return NULL;
}


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;
        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 sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKNSBookmarkImporterImpl *>(sipCppV);
    else
        delete reinterpret_cast<KNSBookmarkImporterImpl *>(sipCppV);

    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_KNSBookmarkImporterImpl(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_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_childEvent), meth_KNSBookmarkImporterImpl_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KNSBookmarkImporterImpl_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KNSBookmarkImporterImpl_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KNSBookmarkImporterImpl_disconnectNotify, METH_VARARGS, NULL},
    {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_receivers), meth_KNSBookmarkImporterImpl_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), meth_KNSBookmarkImporterImpl_sender, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setUtf8), meth_KNSBookmarkImporterImpl_setUtf8, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KNSBookmarkImporterImpl_timerEvent, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kio_KNSBookmarkImporterImpl = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KNSBookmarkImporterImpl,
        {0}
    },
    {
        sipNameNr_KNSBookmarkImporterImpl,
        {0, 0, 1},
        10, methods_KNSBookmarkImporterImpl,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KNSBookmarkImporterImpl,
    0,
    init_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
},
    &KNSBookmarkImporterImpl::staticMetaObject,
    0,
    0
};

#line 41 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/kbookmarkimporter_ie.sip"
#include <kbookmarkimporter_ie.h>
#line 12970 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/kbookmarkmanager.sip"
#include <kbookmarkmanager.h>
#line 12974 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 12977 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 100 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 12980 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/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_68(sip_gilstate_t,PyObject *,const KBookmarkGroup&);

    sipVH_kio_68(sipGILState,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_KIEBookmarkExporterImpl(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_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_KIEBookmarkExporterImpl,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KIEBookmarkExporterImpl,
    0,
    0,
    0,
    release_KIEBookmarkExporterImpl,
    cast_KIEBookmarkExporterImpl,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/kbookmarkimporter_ie.sip"
#include <kbookmarkimporter_ie.h>
#line 13216 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"

#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 13220 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/kbookmarkimporter.sip"
#include <kbookmarkimporter.h>
#line 13223 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 34 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 13226 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13229 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 310 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13232 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 298 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13235 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 238 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 13238 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 13241 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 13244 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 13247 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 13250 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 13253 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 13256 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 13259 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/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 public method for every protected method visible from
     * this class.
     */
    QObject * sipProtect_sender() const;
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void parse();
    QString findDefaultLocation(bool) const;
    bool event(QEvent *);
    bool eventFilter(QObject *,QEvent *);
    void timerEvent(QTimerEvent *);
    void childEvent(QChildEvent *);
    void customEvent(QEvent *);
    void connectNotify(const char *);
    void disconnectNotify(const char *);

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 && sip_kio_qt_metacast(sipPySelf,sipType_KIEBookmarkImporterImpl,_clname)) ? this : KIEBookmarkImporterImpl::qt_metacast(_clname);
}

void sipKIEBookmarkImporterImpl::parse()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_parse);

    if (!sipMeth)
    {
        KIEBookmarkImporterImpl::parse();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState,sipMeth);
}

QString sipKIEBookmarkImporterImpl::findDefaultLocation(bool a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_findDefaultLocation);

    if (!sipMeth)
        return KIEBookmarkImporterImpl::findDefaultLocation(a0);

    extern QString sipVH_kio_72(sip_gilstate_t,PyObject *,bool);

    return sipVH_kio_72(sipGILState,sipMeth,a0);
}

bool sipKIEBookmarkImporterImpl::event(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QObject::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *,QEvent *);

    return ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState,sipMeth,a0);
}

bool sipKIEBookmarkImporterImpl::eventFilter(QObject *a0,QEvent *a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QObject::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,QObject *,QEvent *);

    return ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState,sipMeth,a0,a1);
}

void sipKIEBookmarkImporterImpl::timerEvent(QTimerEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QObject::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t,PyObject *,QTimerEvent *);

    ((sipVH_QtCore_9)(sipModuleAPI_kio_QtCore->em_virthandlers[9]))(sipGILState,sipMeth,a0);
}

void sipKIEBookmarkImporterImpl::childEvent(QChildEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QObject::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t,PyObject *,QChildEvent *);

    ((sipVH_QtCore_25)(sipModuleAPI_kio_QtCore->em_virthandlers[25]))(sipGILState,sipMeth,a0);
}

void sipKIEBookmarkImporterImpl::customEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QObject::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t,PyObject *,QEvent *);

    ((sipVH_QtCore_17)(sipModuleAPI_kio_QtCore->em_virthandlers[17]))(sipGILState,sipMeth,a0);
}

void sipKIEBookmarkImporterImpl::connectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QObject::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t,PyObject *,const char *);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState,sipMeth,a0);
}

void sipKIEBookmarkImporterImpl::disconnectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QObject::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t,PyObject *,const char *);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState,sipMeth,a0);
}

QObject * sipKIEBookmarkImporterImpl::sipProtect_sender() const
{
    return QObject::sender();
}

int sipKIEBookmarkImporterImpl::sipProtect_receivers(const char *a0) const
{
    return QObject::receivers(a0);
}

void sipKIEBookmarkImporterImpl::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipKIEBookmarkImporterImpl::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent *a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipKIEBookmarkImporterImpl::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipKIEBookmarkImporterImpl::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipKIEBookmarkImporterImpl::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}


extern "C" {static PyObject *meth_KIEBookmarkImporterImpl_sender(PyObject *, PyObject *);}
static PyObject *meth_KIEBookmarkImporterImpl_sender(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        sipKIEBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIEBookmarkImporterImpl, &sipCpp))
        {
            QObject *sipRes = 0;

#line 632 "/usr/local/share/py-sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp->sender());
        #else
            sipRes = helper(sipCpp->sipProtect_sender());
        #endif
#line 13554 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIEBookmarkImporterImpl, sipName_sender, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIEBookmarkImporterImpl_receivers(PyObject *, PyObject *);}
static PyObject *meth_KIEBookmarkImporterImpl_receivers(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        char * a0;
        sipKIEBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_KIEBookmarkImporterImpl, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 649 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp, a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 13596 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIEBookmarkImporterImpl, sipName_receivers, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIEBookmarkImporterImpl_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_KIEBookmarkImporterImpl_timerEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipKIEBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KIEBookmarkImporterImpl, &sipCpp, sipType_QTimerEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIEBookmarkImporterImpl, sipName_timerEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIEBookmarkImporterImpl_childEvent(PyObject *, PyObject *);}
static PyObject *meth_KIEBookmarkImporterImpl_childEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipKIEBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KIEBookmarkImporterImpl, &sipCpp, sipType_QChildEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIEBookmarkImporterImpl, sipName_childEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIEBookmarkImporterImpl_customEvent(PyObject *, PyObject *);}
static PyObject *meth_KIEBookmarkImporterImpl_customEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKIEBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KIEBookmarkImporterImpl, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIEBookmarkImporterImpl, sipName_customEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIEBookmarkImporterImpl_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_KIEBookmarkImporterImpl_connectNotify(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKIEBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_KIEBookmarkImporterImpl, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIEBookmarkImporterImpl, sipName_connectNotify, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIEBookmarkImporterImpl_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_KIEBookmarkImporterImpl_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKIEBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_KIEBookmarkImporterImpl, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIEBookmarkImporterImpl, sipName_disconnectNotify, NULL);

    return NULL;
}


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;
        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 sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKIEBookmarkImporterImpl *>(sipCppV);
    else
        delete reinterpret_cast<KIEBookmarkImporterImpl *>(sipCppV);

    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_KIEBookmarkImporterImpl(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_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_childEvent), meth_KIEBookmarkImporterImpl_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KIEBookmarkImporterImpl_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KIEBookmarkImporterImpl_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KIEBookmarkImporterImpl_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_findDefaultLocation), meth_KIEBookmarkImporterImpl_findDefaultLocation, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_parse), meth_KIEBookmarkImporterImpl_parse, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_KIEBookmarkImporterImpl_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), meth_KIEBookmarkImporterImpl_sender, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KIEBookmarkImporterImpl_timerEvent, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kio_KIEBookmarkImporterImpl = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KIEBookmarkImporterImpl,
        {0}
    },
    {
        sipNameNr_KIEBookmarkImporterImpl,
        {0, 0, 1},
        9, methods_KIEBookmarkImporterImpl,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KIEBookmarkImporterImpl,
    0,
    init_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
},
    &KIEBookmarkImporterImpl::staticMetaObject,
    0,
    0
};

#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/kbookmarkimporter_crash.sip"
#include <kbookmarkimporter_crash.h>
#line 13940 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"

#line 36 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 13944 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 13947 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/kbookmarkimporter.sip"
#include <kbookmarkimporter.h>
#line 13950 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 34 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 13953 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13956 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 310 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13959 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 298 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13962 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 238 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 13965 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 13968 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 13971 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 13974 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 13977 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 13980 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 13983 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 13986 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/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 public method for every protected method visible from
     * this class.
     */
    QObject * sipProtect_sender() const;
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void parse();
    QString findDefaultLocation(bool) const;
    bool event(QEvent *);
    bool eventFilter(QObject *,QEvent *);
    void timerEvent(QTimerEvent *);
    void childEvent(QChildEvent *);
    void customEvent(QEvent *);
    void connectNotify(const char *);
    void disconnectNotify(const char *);

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 && sip_kio_qt_metacast(sipPySelf,sipType_KCrashBookmarkImporterImpl,_clname)) ? this : KCrashBookmarkImporterImpl::qt_metacast(_clname);
}

void sipKCrashBookmarkImporterImpl::parse()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_parse);

    if (!sipMeth)
    {
        KCrashBookmarkImporterImpl::parse();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState,sipMeth);
}

QString sipKCrashBookmarkImporterImpl::findDefaultLocation(bool a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_findDefaultLocation);

    if (!sipMeth)
        return KCrashBookmarkImporterImpl::findDefaultLocation(a0);

    extern QString sipVH_kio_72(sip_gilstate_t,PyObject *,bool);

    return sipVH_kio_72(sipGILState,sipMeth,a0);
}

bool sipKCrashBookmarkImporterImpl::event(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QObject::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *,QEvent *);

    return ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState,sipMeth,a0);
}

bool sipKCrashBookmarkImporterImpl::eventFilter(QObject *a0,QEvent *a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QObject::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,QObject *,QEvent *);

    return ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState,sipMeth,a0,a1);
}

void sipKCrashBookmarkImporterImpl::timerEvent(QTimerEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QObject::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t,PyObject *,QTimerEvent *);

    ((sipVH_QtCore_9)(sipModuleAPI_kio_QtCore->em_virthandlers[9]))(sipGILState,sipMeth,a0);
}

void sipKCrashBookmarkImporterImpl::childEvent(QChildEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QObject::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t,PyObject *,QChildEvent *);

    ((sipVH_QtCore_25)(sipModuleAPI_kio_QtCore->em_virthandlers[25]))(sipGILState,sipMeth,a0);
}

void sipKCrashBookmarkImporterImpl::customEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QObject::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t,PyObject *,QEvent *);

    ((sipVH_QtCore_17)(sipModuleAPI_kio_QtCore->em_virthandlers[17]))(sipGILState,sipMeth,a0);
}

void sipKCrashBookmarkImporterImpl::connectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QObject::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t,PyObject *,const char *);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState,sipMeth,a0);
}

void sipKCrashBookmarkImporterImpl::disconnectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QObject::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t,PyObject *,const char *);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState,sipMeth,a0);
}

QObject * sipKCrashBookmarkImporterImpl::sipProtect_sender() const
{
    return QObject::sender();
}

int sipKCrashBookmarkImporterImpl::sipProtect_receivers(const char *a0) const
{
    return QObject::receivers(a0);
}

void sipKCrashBookmarkImporterImpl::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipKCrashBookmarkImporterImpl::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent *a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipKCrashBookmarkImporterImpl::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipKCrashBookmarkImporterImpl::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipKCrashBookmarkImporterImpl::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}


extern "C" {static PyObject *meth_KCrashBookmarkImporterImpl_sender(PyObject *, PyObject *);}
static PyObject *meth_KCrashBookmarkImporterImpl_sender(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        sipKCrashBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCrashBookmarkImporterImpl, &sipCpp))
        {
            QObject *sipRes = 0;

#line 632 "/usr/local/share/py-sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp->sender());
        #else
            sipRes = helper(sipCpp->sipProtect_sender());
        #endif
#line 14281 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCrashBookmarkImporterImpl, sipName_sender, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCrashBookmarkImporterImpl_receivers(PyObject *, PyObject *);}
static PyObject *meth_KCrashBookmarkImporterImpl_receivers(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        char * a0;
        sipKCrashBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_KCrashBookmarkImporterImpl, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 649 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp, a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 14323 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCrashBookmarkImporterImpl, sipName_receivers, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCrashBookmarkImporterImpl_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_KCrashBookmarkImporterImpl_timerEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipKCrashBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KCrashBookmarkImporterImpl, &sipCpp, sipType_QTimerEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCrashBookmarkImporterImpl, sipName_timerEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCrashBookmarkImporterImpl_childEvent(PyObject *, PyObject *);}
static PyObject *meth_KCrashBookmarkImporterImpl_childEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipKCrashBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KCrashBookmarkImporterImpl, &sipCpp, sipType_QChildEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCrashBookmarkImporterImpl, sipName_childEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCrashBookmarkImporterImpl_customEvent(PyObject *, PyObject *);}
static PyObject *meth_KCrashBookmarkImporterImpl_customEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKCrashBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KCrashBookmarkImporterImpl, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCrashBookmarkImporterImpl, sipName_customEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCrashBookmarkImporterImpl_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_KCrashBookmarkImporterImpl_connectNotify(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKCrashBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_KCrashBookmarkImporterImpl, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCrashBookmarkImporterImpl, sipName_connectNotify, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCrashBookmarkImporterImpl_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_KCrashBookmarkImporterImpl_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKCrashBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_KCrashBookmarkImporterImpl, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCrashBookmarkImporterImpl, sipName_disconnectNotify, NULL);

    return NULL;
}


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;
        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 sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKCrashBookmarkImporterImpl *>(sipCppV);
    else
        delete reinterpret_cast<KCrashBookmarkImporterImpl *>(sipCppV);

    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_KCrashBookmarkImporterImpl(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_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_childEvent), meth_KCrashBookmarkImporterImpl_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KCrashBookmarkImporterImpl_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KCrashBookmarkImporterImpl_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KCrashBookmarkImporterImpl_disconnectNotify, METH_VARARGS, NULL},
    {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_receivers), meth_KCrashBookmarkImporterImpl_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), meth_KCrashBookmarkImporterImpl_sender, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setShouldDelete), meth_KCrashBookmarkImporterImpl_setShouldDelete, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KCrashBookmarkImporterImpl_timerEvent, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kio_KCrashBookmarkImporterImpl = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KCrashBookmarkImporterImpl,
        {0}
    },
    {
        sipNameNr_KCrashBookmarkImporterImpl,
        {0, 0, 1},
        11, methods_KCrashBookmarkImporterImpl,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KCrashBookmarkImporterImpl,
    0,
    init_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
},
    &KCrashBookmarkImporterImpl::staticMetaObject,
    0,
    0
};

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/kbookmarkimporter_crash.sip"
#include <kbookmarkimporter_crash.h>
#line 14721 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"

#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 14725 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 14728 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 310 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 14731 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 298 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 14734 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 34 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 14737 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 238 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 14740 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 14743 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 14746 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 14749 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 14752 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 14755 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 14758 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 14761 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/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 public method for every protected method visible from
     * this class.
     */
    QObject * sipProtect_sender() const;
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    bool event(QEvent *);
    bool eventFilter(QObject *,QEvent *);
    void timerEvent(QTimerEvent *);
    void childEvent(QChildEvent *);
    void customEvent(QEvent *);
    void connectNotify(const char *);
    void disconnectNotify(const char *);

public:
    sipSimpleWrapper *sipPySelf;

private:
    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 && sip_kio_qt_metacast(sipPySelf,sipType_KCrashBookmarkImporter,_clname)) ? this : KCrashBookmarkImporter::qt_metacast(_clname);
}

bool sipKCrashBookmarkImporter::event(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QObject::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *,QEvent *);

    return ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState,sipMeth,a0);
}

bool sipKCrashBookmarkImporter::eventFilter(QObject *a0,QEvent *a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QObject::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,QObject *,QEvent *);

    return ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState,sipMeth,a0,a1);
}

void sipKCrashBookmarkImporter::timerEvent(QTimerEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QObject::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t,PyObject *,QTimerEvent *);

    ((sipVH_QtCore_9)(sipModuleAPI_kio_QtCore->em_virthandlers[9]))(sipGILState,sipMeth,a0);
}

void sipKCrashBookmarkImporter::childEvent(QChildEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QObject::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t,PyObject *,QChildEvent *);

    ((sipVH_QtCore_25)(sipModuleAPI_kio_QtCore->em_virthandlers[25]))(sipGILState,sipMeth,a0);
}

void sipKCrashBookmarkImporter::customEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QObject::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t,PyObject *,QEvent *);

    ((sipVH_QtCore_17)(sipModuleAPI_kio_QtCore->em_virthandlers[17]))(sipGILState,sipMeth,a0);
}

void sipKCrashBookmarkImporter::connectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QObject::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t,PyObject *,const char *);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState,sipMeth,a0);
}

void sipKCrashBookmarkImporter::disconnectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QObject::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t,PyObject *,const char *);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState,sipMeth,a0);
}

QObject * sipKCrashBookmarkImporter::sipProtect_sender() const
{
    return QObject::sender();
}

int sipKCrashBookmarkImporter::sipProtect_receivers(const char *a0) const
{
    return QObject::receivers(a0);
}

void sipKCrashBookmarkImporter::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipKCrashBookmarkImporter::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent *a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipKCrashBookmarkImporter::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipKCrashBookmarkImporter::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipKCrashBookmarkImporter::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}


extern "C" {static PyObject *meth_KCrashBookmarkImporter_sender(PyObject *, PyObject *);}
static PyObject *meth_KCrashBookmarkImporter_sender(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        sipKCrashBookmarkImporter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCrashBookmarkImporter, &sipCpp))
        {
            QObject *sipRes = 0;

#line 632 "/usr/local/share/py-sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp->sender());
        #else
            sipRes = helper(sipCpp->sipProtect_sender());
        #endif
#line 15021 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCrashBookmarkImporter, sipName_sender, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCrashBookmarkImporter_receivers(PyObject *, PyObject *);}
static PyObject *meth_KCrashBookmarkImporter_receivers(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        char * a0;
        sipKCrashBookmarkImporter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_KCrashBookmarkImporter, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 649 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp, a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 15063 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCrashBookmarkImporter, sipName_receivers, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCrashBookmarkImporter_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_KCrashBookmarkImporter_timerEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipKCrashBookmarkImporter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KCrashBookmarkImporter, &sipCpp, sipType_QTimerEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCrashBookmarkImporter, sipName_timerEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCrashBookmarkImporter_childEvent(PyObject *, PyObject *);}
static PyObject *meth_KCrashBookmarkImporter_childEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipKCrashBookmarkImporter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KCrashBookmarkImporter, &sipCpp, sipType_QChildEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCrashBookmarkImporter, sipName_childEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCrashBookmarkImporter_customEvent(PyObject *, PyObject *);}
static PyObject *meth_KCrashBookmarkImporter_customEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKCrashBookmarkImporter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KCrashBookmarkImporter, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCrashBookmarkImporter, sipName_customEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCrashBookmarkImporter_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_KCrashBookmarkImporter_connectNotify(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKCrashBookmarkImporter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_KCrashBookmarkImporter, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCrashBookmarkImporter, sipName_connectNotify, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCrashBookmarkImporter_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_KCrashBookmarkImporter_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKCrashBookmarkImporter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_KCrashBookmarkImporter, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCrashBookmarkImporter, sipName_disconnectNotify, NULL);

    return NULL;
}


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 sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKCrashBookmarkImporter *>(sipCppV);
    else
        delete reinterpret_cast<KCrashBookmarkImporter *>(sipCppV);

    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_KCrashBookmarkImporter(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_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[] = {{134, 0, 1}};


static PyMethodDef methods_KCrashBookmarkImporter[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), meth_KCrashBookmarkImporter_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KCrashBookmarkImporter_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_crashBookmarksDir), meth_KCrashBookmarkImporter_crashBookmarksDir, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KCrashBookmarkImporter_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KCrashBookmarkImporter_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_parseCrashBookmarks), meth_KCrashBookmarkImporter_parseCrashBookmarks, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_KCrashBookmarkImporter_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), meth_KCrashBookmarkImporter_sender, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KCrashBookmarkImporter_timerEvent, METH_VARARGS, NULL}
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_KCrashBookmarkImporter[] = {
    {"endFolder()", 0, 0},
    {"newSeparator()", 0, 0},
    {"newFolder(QString,bool,QString)", 0, 0},
    {"newBookmark(QString,QString,QString)", 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},
        9, methods_KCrashBookmarkImporter,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KCrashBookmarkImporter,
    0,
    init_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
},
    &KCrashBookmarkImporter::staticMetaObject,
    0,
    pyqt4_signals_KCrashBookmarkImporter
};

#line 52 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/kbookmarkimporter.sip"
#include <kbookmarkimporter.h>
#line 15417 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"

#line 100 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 15421 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 15424 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 15427 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/kbookmarkimporter.sip"
#include <kbookmarkimporter.h>
#line 15430 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 34 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 15433 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 15436 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 310 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 15439 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 298 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 15442 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 238 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 15445 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 15448 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 15451 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 15454 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 15457 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 15460 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 15463 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 15466 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/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 public method for every protected method visible from
     * this class.
     */
    void sipProtect_traverse(const KBookmarkGroup&);
    QObject * sipProtect_sender() const;
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);
    void sipProtectVirt_visit(bool,const KBookmark&);
    void sipProtectVirt_visitEnter(bool,const KBookmarkGroup&);
    void sipProtectVirt_visitLeave(bool,const KBookmarkGroup&);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void parse();
    QString findDefaultLocation(bool) const;
    void visit(const KBookmark&);
    void visitEnter(const KBookmarkGroup&);
    void visitLeave(const KBookmarkGroup&);
    bool event(QEvent *);
    bool eventFilter(QObject *,QEvent *);
    void timerEvent(QTimerEvent *);
    void childEvent(QChildEvent *);
    void customEvent(QEvent *);
    void connectNotify(const char *);
    void disconnectNotify(const char *);

public:
    sipSimpleWrapper *sipPySelf;

private:
    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 && sip_kio_qt_metacast(sipPySelf,sipType_KXBELBookmarkImporterImpl,_clname)) ? this : KXBELBookmarkImporterImpl::qt_metacast(_clname);
}

void sipKXBELBookmarkImporterImpl::parse()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_parse);

    if (!sipMeth)
    {
        KXBELBookmarkImporterImpl::parse();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState,sipMeth);
}

QString sipKXBELBookmarkImporterImpl::findDefaultLocation(bool a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_findDefaultLocation);

    if (!sipMeth)
        return KXBELBookmarkImporterImpl::findDefaultLocation(a0);

    extern QString sipVH_kio_72(sip_gilstate_t,PyObject *,bool);

    return sipVH_kio_72(sipGILState,sipMeth,a0);
}

void sipKXBELBookmarkImporterImpl::visit(const KBookmark& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_visit);

    if (!sipMeth)
    {
        KXBELBookmarkImporterImpl::visit(a0);
        return;
    }

    extern void sipVH_kio_33(sip_gilstate_t,PyObject *,const KBookmark&);

    sipVH_kio_33(sipGILState,sipMeth,a0);
}

void sipKXBELBookmarkImporterImpl::visitEnter(const KBookmarkGroup& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_visitEnter);

    if (!sipMeth)
    {
        KXBELBookmarkImporterImpl::visitEnter(a0);
        return;
    }

    extern void sipVH_kio_68(sip_gilstate_t,PyObject *,const KBookmarkGroup&);

    sipVH_kio_68(sipGILState,sipMeth,a0);
}

void sipKXBELBookmarkImporterImpl::visitLeave(const KBookmarkGroup& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_visitLeave);

    if (!sipMeth)
    {
        KXBELBookmarkImporterImpl::visitLeave(a0);
        return;
    }

    extern void sipVH_kio_68(sip_gilstate_t,PyObject *,const KBookmarkGroup&);

    sipVH_kio_68(sipGILState,sipMeth,a0);
}

bool sipKXBELBookmarkImporterImpl::event(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QObject::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *,QEvent *);

    return ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState,sipMeth,a0);
}

bool sipKXBELBookmarkImporterImpl::eventFilter(QObject *a0,QEvent *a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QObject::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,QObject *,QEvent *);

    return ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState,sipMeth,a0,a1);
}

void sipKXBELBookmarkImporterImpl::timerEvent(QTimerEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QObject::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t,PyObject *,QTimerEvent *);

    ((sipVH_QtCore_9)(sipModuleAPI_kio_QtCore->em_virthandlers[9]))(sipGILState,sipMeth,a0);
}

void sipKXBELBookmarkImporterImpl::childEvent(QChildEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QObject::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t,PyObject *,QChildEvent *);

    ((sipVH_QtCore_25)(sipModuleAPI_kio_QtCore->em_virthandlers[25]))(sipGILState,sipMeth,a0);
}

void sipKXBELBookmarkImporterImpl::customEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QObject::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t,PyObject *,QEvent *);

    ((sipVH_QtCore_17)(sipModuleAPI_kio_QtCore->em_virthandlers[17]))(sipGILState,sipMeth,a0);
}

void sipKXBELBookmarkImporterImpl::connectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QObject::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t,PyObject *,const char *);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState,sipMeth,a0);
}

void sipKXBELBookmarkImporterImpl::disconnectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QObject::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t,PyObject *,const char *);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState,sipMeth,a0);
}

void sipKXBELBookmarkImporterImpl::sipProtect_traverse(const KBookmarkGroup& a0)
{
    KBookmarkGroupTraverser::traverse(a0);
}

QObject * sipKXBELBookmarkImporterImpl::sipProtect_sender() const
{
    return QObject::sender();
}

int sipKXBELBookmarkImporterImpl::sipProtect_receivers(const char *a0) const
{
    return QObject::receivers(a0);
}

void sipKXBELBookmarkImporterImpl::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipKXBELBookmarkImporterImpl::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent *a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipKXBELBookmarkImporterImpl::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipKXBELBookmarkImporterImpl::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipKXBELBookmarkImporterImpl::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

void sipKXBELBookmarkImporterImpl::sipProtectVirt_visit(bool sipSelfWasArg,const KBookmark& a0)
{
    (sipSelfWasArg ? KXBELBookmarkImporterImpl::visit(a0) : visit(a0));
}

void sipKXBELBookmarkImporterImpl::sipProtectVirt_visitEnter(bool sipSelfWasArg,const KBookmarkGroup& a0)
{
    (sipSelfWasArg ? KXBELBookmarkImporterImpl::visitEnter(a0) : visitEnter(a0));
}

void sipKXBELBookmarkImporterImpl::sipProtectVirt_visitLeave(bool sipSelfWasArg,const KBookmarkGroup& a0)
{
    (sipSelfWasArg ? KXBELBookmarkImporterImpl::visitLeave(a0) : visitLeave(a0));
}


extern "C" {static PyObject *meth_KXBELBookmarkImporterImpl_traverse(PyObject *, PyObject *);}
static PyObject *meth_KXBELBookmarkImporterImpl_traverse(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KBookmarkGroup * a0;
        sipKXBELBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KXBELBookmarkImporterImpl, &sipCpp, sipType_KBookmarkGroup, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_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_KXBELBookmarkImporterImpl, sipName_traverse, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KXBELBookmarkImporterImpl_sender(PyObject *, PyObject *);}
static PyObject *meth_KXBELBookmarkImporterImpl_sender(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        sipKXBELBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KXBELBookmarkImporterImpl, &sipCpp))
        {
            QObject *sipRes = 0;

#line 632 "/usr/local/share/py-sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp->sender());
        #else
            sipRes = helper(sipCpp->sipProtect_sender());
        #endif
#line 15869 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KXBELBookmarkImporterImpl, sipName_sender, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KXBELBookmarkImporterImpl_receivers(PyObject *, PyObject *);}
static PyObject *meth_KXBELBookmarkImporterImpl_receivers(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        char * a0;
        sipKXBELBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_KXBELBookmarkImporterImpl, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 649 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp, a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 15911 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KXBELBookmarkImporterImpl, sipName_receivers, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KXBELBookmarkImporterImpl_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_KXBELBookmarkImporterImpl_timerEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipKXBELBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KXBELBookmarkImporterImpl, &sipCpp, sipType_QTimerEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KXBELBookmarkImporterImpl, sipName_timerEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KXBELBookmarkImporterImpl_childEvent(PyObject *, PyObject *);}
static PyObject *meth_KXBELBookmarkImporterImpl_childEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipKXBELBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KXBELBookmarkImporterImpl, &sipCpp, sipType_QChildEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KXBELBookmarkImporterImpl, sipName_childEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KXBELBookmarkImporterImpl_customEvent(PyObject *, PyObject *);}
static PyObject *meth_KXBELBookmarkImporterImpl_customEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKXBELBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KXBELBookmarkImporterImpl, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KXBELBookmarkImporterImpl, sipName_customEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KXBELBookmarkImporterImpl_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_KXBELBookmarkImporterImpl_connectNotify(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKXBELBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_KXBELBookmarkImporterImpl, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KXBELBookmarkImporterImpl, sipName_connectNotify, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KXBELBookmarkImporterImpl_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_KXBELBookmarkImporterImpl_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKXBELBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_KXBELBookmarkImporterImpl, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KXBELBookmarkImporterImpl, sipName_disconnectNotify, NULL);

    return NULL;
}


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;
        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;
        sipKXBELBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KXBELBookmarkImporterImpl, &sipCpp, sipType_KBookmark, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_visit(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;
        sipKXBELBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KXBELBookmarkImporterImpl, &sipCpp, sipType_KBookmarkGroup, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_visitEnter(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;
        sipKXBELBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KXBELBookmarkImporterImpl, &sipCpp, sipType_KBookmarkGroup, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_visitLeave(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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 sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKXBELBookmarkImporterImpl *>(sipCppV);
    else
        delete reinterpret_cast<KXBELBookmarkImporterImpl *>(sipCppV);

    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_KXBELBookmarkImporterImpl(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_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_childEvent), meth_KXBELBookmarkImporterImpl_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KXBELBookmarkImporterImpl_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KXBELBookmarkImporterImpl_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KXBELBookmarkImporterImpl_disconnectNotify, METH_VARARGS, NULL},
    {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_receivers), meth_KXBELBookmarkImporterImpl_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), meth_KXBELBookmarkImporterImpl_sender, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KXBELBookmarkImporterImpl_timerEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_traverse), meth_KXBELBookmarkImporterImpl_traverse, 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},
        13, methods_KXBELBookmarkImporterImpl,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KXBELBookmarkImporterImpl,
    0,
    init_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
},
    &KXBELBookmarkImporterImpl::staticMetaObject,
    0,
    0
};

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/kbookmarkimporter.sip"
#include <kbookmarkimporter.h>
#line 16346 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"

#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 16350 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 34 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 16353 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 16356 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 310 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 16359 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 298 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 16362 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 238 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 16365 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 16368 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 16371 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 16374 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 16377 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 16380 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 16383 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 16386 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/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 public method for every protected method visible from
     * this class.
     */
    QObject * sipProtect_sender() const;
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void parse();
    QString findDefaultLocation(bool) const;
    bool event(QEvent *);
    bool eventFilter(QObject *,QEvent *);
    void timerEvent(QTimerEvent *);
    void childEvent(QChildEvent *);
    void customEvent(QEvent *);
    void connectNotify(const char *);
    void disconnectNotify(const char *);

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 && sip_kio_qt_metacast(sipPySelf,sipType_KBookmarkImporterBase,_clname)) ? this : KBookmarkImporterBase::qt_metacast(_clname);
}

void sipKBookmarkImporterBase::parse()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,sipName_KBookmarkImporterBase,sipName_parse);

    if (!sipMeth)
        return;

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState,sipMeth);
}

QString sipKBookmarkImporterBase::findDefaultLocation(bool a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,sipName_KBookmarkImporterBase,sipName_findDefaultLocation);

    if (!sipMeth)
        return QString();

    extern QString sipVH_kio_72(sip_gilstate_t,PyObject *,bool);

    return sipVH_kio_72(sipGILState,sipMeth,a0);
}

bool sipKBookmarkImporterBase::event(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QObject::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *,QEvent *);

    return ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState,sipMeth,a0);
}

bool sipKBookmarkImporterBase::eventFilter(QObject *a0,QEvent *a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QObject::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,QObject *,QEvent *);

    return ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState,sipMeth,a0,a1);
}

void sipKBookmarkImporterBase::timerEvent(QTimerEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QObject::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t,PyObject *,QTimerEvent *);

    ((sipVH_QtCore_9)(sipModuleAPI_kio_QtCore->em_virthandlers[9]))(sipGILState,sipMeth,a0);
}

void sipKBookmarkImporterBase::childEvent(QChildEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QObject::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t,PyObject *,QChildEvent *);

    ((sipVH_QtCore_25)(sipModuleAPI_kio_QtCore->em_virthandlers[25]))(sipGILState,sipMeth,a0);
}

void sipKBookmarkImporterBase::customEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QObject::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t,PyObject *,QEvent *);

    ((sipVH_QtCore_17)(sipModuleAPI_kio_QtCore->em_virthandlers[17]))(sipGILState,sipMeth,a0);
}

void sipKBookmarkImporterBase::connectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QObject::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t,PyObject *,const char *);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState,sipMeth,a0);
}

void sipKBookmarkImporterBase::disconnectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QObject::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t,PyObject *,const char *);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState,sipMeth,a0);
}

QObject * sipKBookmarkImporterBase::sipProtect_sender() const
{
    return QObject::sender();
}

int sipKBookmarkImporterBase::sipProtect_receivers(const char *a0) const
{
    return QObject::receivers(a0);
}

void sipKBookmarkImporterBase::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipKBookmarkImporterBase::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent *a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipKBookmarkImporterBase::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipKBookmarkImporterBase::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipKBookmarkImporterBase::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}


extern "C" {static PyObject *meth_KBookmarkImporterBase_sender(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkImporterBase_sender(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        sipKBookmarkImporterBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KBookmarkImporterBase, &sipCpp))
        {
            QObject *sipRes = 0;

#line 632 "/usr/local/share/py-sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp->sender());
        #else
            sipRes = helper(sipCpp->sipProtect_sender());
        #endif
#line 16678 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBookmarkImporterBase, sipName_sender, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkImporterBase_receivers(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkImporterBase_receivers(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        char * a0;
        sipKBookmarkImporterBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_KBookmarkImporterBase, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 649 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp, a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 16720 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBookmarkImporterBase, sipName_receivers, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkImporterBase_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkImporterBase_timerEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipKBookmarkImporterBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KBookmarkImporterBase, &sipCpp, sipType_QTimerEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBookmarkImporterBase, sipName_timerEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkImporterBase_childEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkImporterBase_childEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipKBookmarkImporterBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KBookmarkImporterBase, &sipCpp, sipType_QChildEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBookmarkImporterBase, sipName_childEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkImporterBase_customEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkImporterBase_customEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKBookmarkImporterBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KBookmarkImporterBase, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBookmarkImporterBase, sipName_customEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkImporterBase_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkImporterBase_connectNotify(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKBookmarkImporterBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_KBookmarkImporterBase, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBookmarkImporterBase, sipName_connectNotify, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkImporterBase_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkImporterBase_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKBookmarkImporterBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_KBookmarkImporterBase, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBookmarkImporterBase, sipName_disconnectNotify, NULL);

    return NULL;
}


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;
        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 sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKBookmarkImporterBase *>(sipCppV);
    else
        delete reinterpret_cast<KBookmarkImporterBase *>(sipCppV);

    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_KBookmarkImporterBase(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_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[] = {{134, 0, 1}};


static PyMethodDef methods_KBookmarkImporterBase[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), meth_KBookmarkImporterBase_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KBookmarkImporterBase_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KBookmarkImporterBase_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KBookmarkImporterBase_disconnectNotify, METH_VARARGS, NULL},
    {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_receivers), meth_KBookmarkImporterBase_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), meth_KBookmarkImporterBase_sender, 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},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KBookmarkImporterBase_timerEvent, METH_VARARGS, NULL}
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_KBookmarkImporterBase[] = {
    {"endFolder()", 0, 0},
    {"newSeparator()", 0, 0},
    {"newFolder(QString,bool,QString)", 0, 0},
    {"newBookmark(QString,QString,QString)", 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},
        12, methods_KBookmarkImporterBase,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KBookmarkImporterBase,
    0,
    init_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
},
    &KBookmarkImporterBase::staticMetaObject,
    0,
    pyqt4_signals_KBookmarkImporterBase
};

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/kbookmarkexporter.sip"
#include <kbookmarkexporter.h>
#line 17175 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/kbookmarkmanager.sip"
#include <kbookmarkmanager.h>
#line 17179 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 17182 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 100 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 17185 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/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_68(sip_gilstate_t,PyObject *,const KBookmarkGroup&);

    sipVH_kio_68(sipGILState,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_KBookmarkExporterBase(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_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_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
};

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/kbookmarkdombuilder.sip"
#include <kbookmarkdombuilder.h>
#line 17415 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"

#line 100 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 17419 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/kbookmarkmanager.sip"
#include <kbookmarkmanager.h>
#line 17422 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 17425 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 34 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 17428 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 17431 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 310 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 17434 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 298 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 17437 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 238 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 17440 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 17443 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 17446 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 17449 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 17452 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 17455 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 17458 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 17461 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/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 public method for every protected method visible from
     * this class.
     */
    QObject * sipProtect_sender() const;
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);
    void sipProtect_newBookmark(const QString&,const QString&,const QString&);
    void sipProtect_newFolder(const QString&,bool,const QString&);
    void sipProtect_newSeparator();
    void sipProtect_endFolder();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    bool event(QEvent *);
    bool eventFilter(QObject *,QEvent *);
    void timerEvent(QTimerEvent *);
    void childEvent(QChildEvent *);
    void customEvent(QEvent *);
    void connectNotify(const char *);
    void disconnectNotify(const char *);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKBookmarkDomBuilder(const sipKBookmarkDomBuilder &);
    sipKBookmarkDomBuilder &operator = (const sipKBookmarkDomBuilder &);

    char sipPyMethods[7];
};

sipKBookmarkDomBuilder::sipKBookmarkDomBuilder(const KBookmarkGroup& a0,KBookmarkManager *a1): KBookmarkDomBuilder(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKBookmarkDomBuilder::~sipKBookmarkDomBuilder()
{
    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 && sip_kio_qt_metacast(sipPySelf,sipType_KBookmarkDomBuilder,_clname)) ? this : KBookmarkDomBuilder::qt_metacast(_clname);
}

bool sipKBookmarkDomBuilder::event(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QObject::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *,QEvent *);

    return ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState,sipMeth,a0);
}

bool sipKBookmarkDomBuilder::eventFilter(QObject *a0,QEvent *a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QObject::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,QObject *,QEvent *);

    return ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState,sipMeth,a0,a1);
}

void sipKBookmarkDomBuilder::timerEvent(QTimerEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QObject::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t,PyObject *,QTimerEvent *);

    ((sipVH_QtCore_9)(sipModuleAPI_kio_QtCore->em_virthandlers[9]))(sipGILState,sipMeth,a0);
}

void sipKBookmarkDomBuilder::childEvent(QChildEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QObject::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t,PyObject *,QChildEvent *);

    ((sipVH_QtCore_25)(sipModuleAPI_kio_QtCore->em_virthandlers[25]))(sipGILState,sipMeth,a0);
}

void sipKBookmarkDomBuilder::customEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QObject::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t,PyObject *,QEvent *);

    ((sipVH_QtCore_17)(sipModuleAPI_kio_QtCore->em_virthandlers[17]))(sipGILState,sipMeth,a0);
}

void sipKBookmarkDomBuilder::connectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QObject::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t,PyObject *,const char *);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState,sipMeth,a0);
}

void sipKBookmarkDomBuilder::disconnectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QObject::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t,PyObject *,const char *);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState,sipMeth,a0);
}

QObject * sipKBookmarkDomBuilder::sipProtect_sender() const
{
    return QObject::sender();
}

int sipKBookmarkDomBuilder::sipProtect_receivers(const char *a0) const
{
    return QObject::receivers(a0);
}

void sipKBookmarkDomBuilder::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipKBookmarkDomBuilder::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent *a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipKBookmarkDomBuilder::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipKBookmarkDomBuilder::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipKBookmarkDomBuilder::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

void sipKBookmarkDomBuilder::sipProtect_newBookmark(const QString& a0,const QString& a1,const QString& a2)
{
    KBookmarkDomBuilder::newBookmark(a0,a1,a2);
}

void sipKBookmarkDomBuilder::sipProtect_newFolder(const QString& a0,bool a1,const QString& a2)
{
    KBookmarkDomBuilder::newFolder(a0,a1,a2);
}

void sipKBookmarkDomBuilder::sipProtect_newSeparator()
{
    KBookmarkDomBuilder::newSeparator();
}

void sipKBookmarkDomBuilder::sipProtect_endFolder()
{
    KBookmarkDomBuilder::endFolder();
}


extern "C" {static PyObject *meth_KBookmarkDomBuilder_sender(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDomBuilder_sender(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        sipKBookmarkDomBuilder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KBookmarkDomBuilder, &sipCpp))
        {
            QObject *sipRes = 0;

#line 632 "/usr/local/share/py-sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp->sender());
        #else
            sipRes = helper(sipCpp->sipProtect_sender());
        #endif
#line 17745 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBookmarkDomBuilder, sipName_sender, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDomBuilder_receivers(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDomBuilder_receivers(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        char * a0;
        sipKBookmarkDomBuilder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_KBookmarkDomBuilder, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 649 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp, a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 17787 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBookmarkDomBuilder, sipName_receivers, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDomBuilder_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDomBuilder_timerEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipKBookmarkDomBuilder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KBookmarkDomBuilder, &sipCpp, sipType_QTimerEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBookmarkDomBuilder, sipName_timerEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDomBuilder_childEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDomBuilder_childEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipKBookmarkDomBuilder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KBookmarkDomBuilder, &sipCpp, sipType_QChildEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBookmarkDomBuilder, sipName_childEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDomBuilder_customEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDomBuilder_customEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKBookmarkDomBuilder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KBookmarkDomBuilder, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBookmarkDomBuilder, sipName_customEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDomBuilder_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDomBuilder_connectNotify(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKBookmarkDomBuilder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_KBookmarkDomBuilder, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBookmarkDomBuilder, sipName_connectNotify, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDomBuilder_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDomBuilder_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKBookmarkDomBuilder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_KBookmarkDomBuilder, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBookmarkDomBuilder, sipName_disconnectNotify, NULL);

    return NULL;
}


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;
        sipKBookmarkDomBuilder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1J1", &sipSelf, sipType_KBookmarkDomBuilder, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_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;
        sipKBookmarkDomBuilder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1bJ1", &sipSelf, sipType_KBookmarkDomBuilder, &sipCpp, sipType_QString,&a0, &a0State, &a1, sipType_QString,&a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_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;

    {
        sipKBookmarkDomBuilder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KBookmarkDomBuilder, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_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;

    {
        sipKBookmarkDomBuilder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KBookmarkDomBuilder, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_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 sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKBookmarkDomBuilder *>(sipCppV);
    else
        delete reinterpret_cast<KBookmarkDomBuilder *>(sipCppV);

    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_KBookmarkDomBuilder(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_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[] = {{134, 0, 1}};


static PyMethodDef methods_KBookmarkDomBuilder[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), meth_KBookmarkDomBuilder_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectImporter), meth_KBookmarkDomBuilder_connectImporter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KBookmarkDomBuilder_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KBookmarkDomBuilder_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KBookmarkDomBuilder_disconnectNotify, 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},
    {SIP_MLNAME_CAST(sipName_receivers), meth_KBookmarkDomBuilder_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), meth_KBookmarkDomBuilder_sender, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KBookmarkDomBuilder_timerEvent, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kio_KBookmarkDomBuilder = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KBookmarkDomBuilder,
        {0}
    },
    {
        sipNameNr_KBookmarkDomBuilder,
        {0, 0, 1},
        12, methods_KBookmarkDomBuilder,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KBookmarkDomBuilder,
    0,
    init_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
},
    &KBookmarkDomBuilder::staticMetaObject,
    0,
    0
};

#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/kbookmarkdialog.sip"
#include <kbookmarkdialog.h>
#line 18228 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/kbookmarkmanager.sip"
#include <kbookmarkmanager.h>
#line 18232 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 18235 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 100 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 18238 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 201 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 18242 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 77 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 18245 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 18248 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qtreewidget.sip"
#include <qtreewidget.h>
#line 18251 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 18254 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 33 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 18257 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 339 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 18260 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 426 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 18263 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 459 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 18266 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 18269 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 18272 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 18275 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/local/share/py-sip/QtGui/qlayout.sip"
#include <qlayout.h>
#line 18278 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 18281 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdeui/kpushbutton.sip"
#include <kpushbutton.h>
#line 18284 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 18287 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdecore/kconfigbase.sip"
#include <kconfigbase.h>
#line 18290 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/local/share/py-sip/QtGui/qmenu.sip"
#include <qmenu.h>
#line 18293 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdeui/kguiitem.sip"
#include <kguiitem.h>
#line 18296 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 33 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdeui/kicon.sip"
#include <kicon.h>
#line 18299 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 18302 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 18305 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 34 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 18308 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 18311 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 470 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 18314 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 413 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 18317 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 448 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 18320 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 18323 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 39 "/usr/local/share/py-sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 18326 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 18329 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 39 "/usr/local/share/py-sip/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 18332 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 33 "/usr/local/share/py-sip/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 18335 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 18338 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/local/share/py-sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 18341 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 18344 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qregion.sip"
#include <qregion.h>
#line 18347 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 18350 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 18353 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 18356 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/local/share/py-sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 18359 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/local/share/py-sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 18362 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qfont.sip"
#include <qfont.h>
#line 18365 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 18368 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 18371 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 238 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 18374 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 499 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 18377 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 542 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 18380 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 593 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 18383 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 566 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 18386 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 582 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 18389 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 645 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 18392 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 291 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 18395 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 400 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 18398 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 386 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 18401 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 367 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 18404 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 270 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 18407 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 231 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 18410 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/local/share/py-sip/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 18413 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 61 "/usr/local/share/py-sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 18416 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 36 "/usr/local/share/py-sip/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 18419 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 18422 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/local/share/py-sip/QtGui/qaction.sip"
#include <qaction.h>
#line 18425 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 18428 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 18431 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 18434 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 18437 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qicon.sip"
#include <qicon.h>
#line 18440 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 18443 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtGui/qstyle.sip"
#include <qstyle.h>
#line 18446 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 310 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 18449 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 298 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 18452 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 18455 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 18458 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 18461 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 18464 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 18467 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/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;

    /* Expose this protected enum. */
    enum sipBookmarkDialogMode {
        NewFolder = KBookmarkDialog::NewFolder,
        NewBookmark = KBookmarkDialog::NewBookmark,
        EditBookmark = KBookmarkDialog::EditBookmark,
        NewMultipleBookmarks = KBookmarkDialog::NewMultipleBookmarks,
        SelectFolder = KBookmarkDialog::SelectFolder
    };

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject * sipProtect_sender() const;
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);
    bool sipProtectVirt_event(bool,QEvent *);
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent *);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent *);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent *);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent *);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent *);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent *);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent *);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent *);
    void sipProtectVirt_enterEvent(bool,QEvent *);
    void sipProtectVirt_leaveEvent(bool,QEvent *);
    void sipProtectVirt_paintEvent(bool,QPaintEvent *);
    void sipProtectVirt_moveEvent(bool,QMoveEvent *);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent *);
    void sipProtectVirt_actionEvent(bool,QActionEvent *);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent *);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent *);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent *);
    void sipProtectVirt_dropEvent(bool,QDropEvent *);
    void sipProtectVirt_changeEvent(bool,QEvent *);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent *);
    void sipProtect_resetInputContext();
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    void sipProtectVirt_enabledChange(bool,bool);
    void sipProtectVirt_paletteChange(bool,const QPalette&);
    void sipProtectVirt_fontChange(bool,const QFont&);
    void sipProtectVirt_windowActivationChange(bool,bool);
    void sipProtectVirt_languageChange(bool);
    void sipProtectVirt_showEvent(bool,QShowEvent *);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent *);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent *);
    bool sipProtectVirt_eventFilter(bool,QObject *,QEvent *);
    void sipProtectVirt_hideEvent(bool,QHideEvent *);
    void sipProtectVirt_closeEvent(bool,QCloseEvent *);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent *);
    void sipProtect_updateGeometry();
    void sipProtectVirt_initLayout(bool);
    void sipProtectVirt_aboutToShow(bool,int);
    void sipProtectVirt_save(bool,int,const KBookmark&);
    void sipProtect_setParentBookmark(const KBookmark&);
    KBookmarkGroup sipProtect_parentBookmark();
    void sipProtectVirt_slotButtonClicked(bool,int);
    void sipProtect_fillGroup(QTreeWidgetItem *,const KBookmarkGroup&);
    void sipProtect_initLayoutPrivate();
    void sipProtect_newFolderButton();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void initLayout();
    void aboutToShow(KBookmarkDialog::BookmarkDialogMode);
    void save(KBookmarkDialog::BookmarkDialogMode,const KBookmark&);
    QSize sizeHint() const;
    QSize minimumSizeHint() const;
    void setCaption(const QString&);
    void setCaption(const QString&,bool);
    void setPlainCaption(const QString&);
    void hideEvent(QHideEvent *);
    void closeEvent(QCloseEvent *);
    void keyPressEvent(QKeyEvent *);
    void slotButtonClicked(int);
    void setVisible(bool);
    void done(int);
    void accept();
    void reject();
    void showEvent(QShowEvent *);
    void resizeEvent(QResizeEvent *);
    void contextMenuEvent(QContextMenuEvent *);
    bool eventFilter(QObject *,QEvent *);
    int devType() const;
    int heightForWidth(int) const;
    QPaintEngine * paintEngine() const;
    bool event(QEvent *);
    void mousePressEvent(QMouseEvent *);
    void mouseReleaseEvent(QMouseEvent *);
    void mouseDoubleClickEvent(QMouseEvent *);
    void mouseMoveEvent(QMouseEvent *);
    void wheelEvent(QWheelEvent *);
    void keyReleaseEvent(QKeyEvent *);
    void focusInEvent(QFocusEvent *);
    void focusOutEvent(QFocusEvent *);
    void enterEvent(QEvent *);
    void leaveEvent(QEvent *);
    void paintEvent(QPaintEvent *);
    void moveEvent(QMoveEvent *);
    void tabletEvent(QTabletEvent *);
    void actionEvent(QActionEvent *);
    void dragEnterEvent(QDragEnterEvent *);
    void dragMoveEvent(QDragMoveEvent *);
    void dragLeaveEvent(QDragLeaveEvent *);
    void dropEvent(QDropEvent *);
    void changeEvent(QEvent *);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void inputMethodEvent(QInputMethodEvent *);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    void enabledChange(bool);
    void paletteChange(const QPalette&);
    void fontChange(const QFont&);
    void windowActivationChange(bool);
    void languageChange();
    void timerEvent(QTimerEvent *);
    void childEvent(QChildEvent *);
    void customEvent(QEvent *);
    void connectNotify(const char *);
    void disconnectNotify(const char *);

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 && sip_kio_qt_metacast(sipPySelf,sipType_KBookmarkDialog,_clname)) ? this : KBookmarkDialog::qt_metacast(_clname);
}

void sipKBookmarkDialog::initLayout()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_initLayout);

    if (!sipMeth)
    {
        KBookmarkDialog::initLayout();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState,sipMeth);
}

void sipKBookmarkDialog::aboutToShow(KBookmarkDialog::BookmarkDialogMode a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_aboutToShow);

    if (!sipMeth)
    {
        KBookmarkDialog::aboutToShow(a0);
        return;
    }

    extern void sipVH_kio_74(sip_gilstate_t,PyObject *,int);

    sipVH_kio_74(sipGILState,sipMeth,(int)a0);
}

void sipKBookmarkDialog::save(KBookmarkDialog::BookmarkDialogMode a0,const KBookmark& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_save);

    if (!sipMeth)
    {
        KBookmarkDialog::save(a0,a1);
        return;
    }

    extern void sipVH_kio_73(sip_gilstate_t,PyObject *,int,const KBookmark&);

    sipVH_kio_73(sipGILState,sipMeth,(int)a0,a1);
}

QSize sipKBookmarkDialog::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return KDialog::sizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kio_QtGui->em_virthandlers[4]))(sipGILState,sipMeth);
}

QSize sipKBookmarkDialog::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return KDialog::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kio_QtGui->em_virthandlers[4]))(sipGILState,sipMeth);
}

void sipKBookmarkDialog::setCaption(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_setCaption);

    if (!sipMeth)
    {
        KDialog::setCaption(a0);
        return;
    }

    typedef void (*sipVH_QtCore_33)(sip_gilstate_t,PyObject *,const QString&);

    ((sipVH_QtCore_33)(sipModuleAPI_kio_QtCore->em_virthandlers[33]))(sipGILState,sipMeth,a0);
}

void sipKBookmarkDialog::setCaption(const QString& a0,bool a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_setCaption);

    if (!sipMeth)
    {
        KDialog::setCaption(a0,a1);
        return;
    }

    typedef void (*sipVH_QtXml_24)(sip_gilstate_t,PyObject *,const QString&,bool);

    ((sipVH_QtXml_24)(sipModuleAPI_kio_QtXml->em_virthandlers[24]))(sipGILState,sipMeth,a0,a1);
}

void sipKBookmarkDialog::setPlainCaption(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_setPlainCaption);

    if (!sipMeth)
    {
        KDialog::setPlainCaption(a0);
        return;
    }

    typedef void (*sipVH_QtCore_33)(sip_gilstate_t,PyObject *,const QString&);

    ((sipVH_QtCore_33)(sipModuleAPI_kio_QtCore->em_virthandlers[33]))(sipGILState,sipMeth,a0);
}

void sipKBookmarkDialog::hideEvent(QHideEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        KDialog::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t,PyObject *,QHideEvent *);

    ((sipVH_QtGui_0)(sipModuleAPI_kio_QtGui->em_virthandlers[0]))(sipGILState,sipMeth,a0);
}

void sipKBookmarkDialog::closeEvent(QCloseEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        KDialog::closeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_22)(sip_gilstate_t,PyObject *,QCloseEvent *);

    ((sipVH_QtGui_22)(sipModuleAPI_kio_QtGui->em_virthandlers[22]))(sipGILState,sipMeth,a0);
}

void sipKBookmarkDialog::keyPressEvent(QKeyEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        KDialog::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t,PyObject *,QKeyEvent *);

    ((sipVH_QtGui_25)(sipModuleAPI_kio_QtGui->em_virthandlers[25]))(sipGILState,sipMeth,a0);
}

void sipKBookmarkDialog::slotButtonClicked(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_slotButtonClicked);

    if (!sipMeth)
    {
        KBookmarkDialog::slotButtonClicked(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t,PyObject *,int);

    ((sipVH_QtCore_4)(sipModuleAPI_kio_QtCore->em_virthandlers[4]))(sipGILState,sipMeth,a0);
}

void sipKBookmarkDialog::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        QDialog::setVisible(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t,PyObject *,bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kio_QtGui->em_virthandlers[6]))(sipGILState,sipMeth,a0);
}

void sipKBookmarkDialog::done(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_done);

    if (!sipMeth)
    {
        QDialog::done(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t,PyObject *,int);

    ((sipVH_QtCore_4)(sipModuleAPI_kio_QtCore->em_virthandlers[4]))(sipGILState,sipMeth,a0);
}

void sipKBookmarkDialog::accept()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_accept);

    if (!sipMeth)
    {
        QDialog::accept();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState,sipMeth);
}

void sipKBookmarkDialog::reject()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_reject);

    if (!sipMeth)
    {
        QDialog::reject();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState,sipMeth);
}

void sipKBookmarkDialog::showEvent(QShowEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        QDialog::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_1)(sip_gilstate_t,PyObject *,QShowEvent *);

    ((sipVH_QtGui_1)(sipModuleAPI_kio_QtGui->em_virthandlers[1]))(sipGILState,sipMeth,a0);
}

void sipKBookmarkDialog::resizeEvent(QResizeEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        QDialog::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t,PyObject *,QResizeEvent *);

    ((sipVH_QtGui_2)(sipModuleAPI_kio_QtGui->em_virthandlers[2]))(sipGILState,sipMeth,a0);
}

void sipKBookmarkDialog::contextMenuEvent(QContextMenuEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QDialog::contextMenuEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_21)(sip_gilstate_t,PyObject *,QContextMenuEvent *);

    ((sipVH_QtGui_21)(sipModuleAPI_kio_QtGui->em_virthandlers[21]))(sipGILState,sipMeth,a0);
}

bool sipKBookmarkDialog::eventFilter(QObject *a0,QEvent *a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QDialog::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,QObject *,QEvent *);

    return ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState,sipMeth,a0,a1);
}

int sipKBookmarkDialog::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[20]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return QWidget::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_kio_QtCore->em_virthandlers[6]))(sipGILState,sipMeth);
}

int sipKBookmarkDialog::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[21]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QWidget::heightForWidth(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t,PyObject *,int);

    return ((sipVH_QtGui_28)(sipModuleAPI_kio_QtGui->em_virthandlers[28]))(sipGILState,sipMeth,a0);
}

QPaintEngine * sipKBookmarkDialog::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[22]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return QWidget::paintEngine();

    typedef QPaintEngine * (*sipVH_QtGui_27)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtGui_27)(sipModuleAPI_kio_QtGui->em_virthandlers[27]))(sipGILState,sipMeth);
}

bool sipKBookmarkDialog::event(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QWidget::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *,QEvent *);

    return ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState,sipMeth,a0);
}

void sipKBookmarkDialog::mousePressEvent(QMouseEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QWidget::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t,PyObject *,QMouseEvent *);

    ((sipVH_QtGui_26)(sipModuleAPI_kio_QtGui->em_virthandlers[26]))(sipGILState,sipMeth,a0);
}

void sipKBookmarkDialog::mouseReleaseEvent(QMouseEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QWidget::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t,PyObject *,QMouseEvent *);

    ((sipVH_QtGui_26)(sipModuleAPI_kio_QtGui->em_virthandlers[26]))(sipGILState,sipMeth,a0);
}

void sipKBookmarkDialog::mouseDoubleClickEvent(QMouseEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QWidget::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t,PyObject *,QMouseEvent *);

    ((sipVH_QtGui_26)(sipModuleAPI_kio_QtGui->em_virthandlers[26]))(sipGILState,sipMeth,a0);
}

void sipKBookmarkDialog::mouseMoveEvent(QMouseEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QWidget::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t,PyObject *,QMouseEvent *);

    ((sipVH_QtGui_26)(sipModuleAPI_kio_QtGui->em_virthandlers[26]))(sipGILState,sipMeth,a0);
}

void sipKBookmarkDialog::wheelEvent(QWheelEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QWidget::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t,PyObject *,QWheelEvent *);

    ((sipVH_QtGui_5)(sipModuleAPI_kio_QtGui->em_virthandlers[5]))(sipGILState,sipMeth,a0);
}

void sipKBookmarkDialog::keyReleaseEvent(QKeyEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QWidget::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t,PyObject *,QKeyEvent *);

    ((sipVH_QtGui_25)(sipModuleAPI_kio_QtGui->em_virthandlers[25]))(sipGILState,sipMeth,a0);
}

void sipKBookmarkDialog::focusInEvent(QFocusEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QWidget::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t,PyObject *,QFocusEvent *);

    ((sipVH_QtGui_24)(sipModuleAPI_kio_QtGui->em_virthandlers[24]))(sipGILState,sipMeth,a0);
}

void sipKBookmarkDialog::focusOutEvent(QFocusEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QWidget::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t,PyObject *,QFocusEvent *);

    ((sipVH_QtGui_24)(sipModuleAPI_kio_QtGui->em_virthandlers[24]))(sipGILState,sipMeth,a0);
}

void sipKBookmarkDialog::enterEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        QWidget::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t,PyObject *,QEvent *);

    ((sipVH_QtCore_17)(sipModuleAPI_kio_QtCore->em_virthandlers[17]))(sipGILState,sipMeth,a0);
}

void sipKBookmarkDialog::leaveEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        QWidget::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t,PyObject *,QEvent *);

    ((sipVH_QtCore_17)(sipModuleAPI_kio_QtCore->em_virthandlers[17]))(sipGILState,sipMeth,a0);
}

void sipKBookmarkDialog::paintEvent(QPaintEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        QWidget::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t,PyObject *,QPaintEvent *);

    ((sipVH_QtGui_3)(sipModuleAPI_kio_QtGui->em_virthandlers[3]))(sipGILState,sipMeth,a0);
}

void sipKBookmarkDialog::moveEvent(QMoveEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        QWidget::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_23)(sip_gilstate_t,PyObject *,QMoveEvent *);

    ((sipVH_QtGui_23)(sipModuleAPI_kio_QtGui->em_virthandlers[23]))(sipGILState,sipMeth,a0);
}

void sipKBookmarkDialog::tabletEvent(QTabletEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        QWidget::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_20)(sip_gilstate_t,PyObject *,QTabletEvent *);

    ((sipVH_QtGui_20)(sipModuleAPI_kio_QtGui->em_virthandlers[20]))(sipGILState,sipMeth,a0);
}

void sipKBookmarkDialog::actionEvent(QActionEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        QWidget::actionEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_19)(sip_gilstate_t,PyObject *,QActionEvent *);

    ((sipVH_QtGui_19)(sipModuleAPI_kio_QtGui->em_virthandlers[19]))(sipGILState,sipMeth,a0);
}

void sipKBookmarkDialog::dragEnterEvent(QDragEnterEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QWidget::dragEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_18)(sip_gilstate_t,PyObject *,QDragEnterEvent *);

    ((sipVH_QtGui_18)(sipModuleAPI_kio_QtGui->em_virthandlers[18]))(sipGILState,sipMeth,a0);
}

void sipKBookmarkDialog::dragMoveEvent(QDragMoveEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QWidget::dragMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_17)(sip_gilstate_t,PyObject *,QDragMoveEvent *);

    ((sipVH_QtGui_17)(sipModuleAPI_kio_QtGui->em_virthandlers[17]))(sipGILState,sipMeth,a0);
}

void sipKBookmarkDialog::dragLeaveEvent(QDragLeaveEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QWidget::dragLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_16)(sip_gilstate_t,PyObject *,QDragLeaveEvent *);

    ((sipVH_QtGui_16)(sipModuleAPI_kio_QtGui->em_virthandlers[16]))(sipGILState,sipMeth,a0);
}

void sipKBookmarkDialog::dropEvent(QDropEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QWidget::dropEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_15)(sip_gilstate_t,PyObject *,QDropEvent *);

    ((sipVH_QtGui_15)(sipModuleAPI_kio_QtGui->em_virthandlers[15]))(sipGILState,sipMeth,a0);
}

void sipKBookmarkDialog::changeEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        QWidget::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t,PyObject *,QEvent *);

    ((sipVH_QtCore_17)(sipModuleAPI_kio_QtCore->em_virthandlers[17]))(sipGILState,sipMeth,a0);
}

int sipKBookmarkDialog::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[43]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return QWidget::metric(a0);

    typedef int (*sipVH_QtGui_14)(sip_gilstate_t,PyObject *,QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_14)(sipModuleAPI_kio_QtGui->em_virthandlers[14]))(sipGILState,sipMeth,a0);
}

void sipKBookmarkDialog::inputMethodEvent(QInputMethodEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QWidget::inputMethodEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_13)(sip_gilstate_t,PyObject *,QInputMethodEvent *);

    ((sipVH_QtGui_13)(sipModuleAPI_kio_QtGui->em_virthandlers[13]))(sipGILState,sipMeth,a0);
}

QVariant sipKBookmarkDialog::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[45]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QWidget::inputMethodQuery(a0);

    typedef QVariant (*sipVH_QtGui_12)(sip_gilstate_t,PyObject *,Qt::InputMethodQuery);

    return ((sipVH_QtGui_12)(sipModuleAPI_kio_QtGui->em_virthandlers[12]))(sipGILState,sipMeth,a0);
}

bool sipKBookmarkDialog::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return QWidget::focusNextPrevChild(a0);

    typedef bool (*sipVH_QtGui_11)(sip_gilstate_t,PyObject *,bool);

    return ((sipVH_QtGui_11)(sipModuleAPI_kio_QtGui->em_virthandlers[11]))(sipGILState,sipMeth,a0);
}

void sipKBookmarkDialog::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
        QWidget::enabledChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t,PyObject *,bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kio_QtGui->em_virthandlers[6]))(sipGILState,sipMeth,a0);
}

void sipKBookmarkDialog::paletteChange(const QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
        QWidget::paletteChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_10)(sip_gilstate_t,PyObject *,const QPalette&);

    ((sipVH_QtGui_10)(sipModuleAPI_kio_QtGui->em_virthandlers[10]))(sipGILState,sipMeth,a0);
}

void sipKBookmarkDialog::fontChange(const QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
        QWidget::fontChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t,PyObject *,const QFont&);

    ((sipVH_QtGui_9)(sipModuleAPI_kio_QtGui->em_virthandlers[9]))(sipGILState,sipMeth,a0);
}

void sipKBookmarkDialog::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
        QWidget::windowActivationChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t,PyObject *,bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kio_QtGui->em_virthandlers[6]))(sipGILState,sipMeth,a0);
}

void sipKBookmarkDialog::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
        QWidget::languageChange();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState,sipMeth);
}

void sipKBookmarkDialog::timerEvent(QTimerEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QObject::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t,PyObject *,QTimerEvent *);

    ((sipVH_QtCore_9)(sipModuleAPI_kio_QtCore->em_virthandlers[9]))(sipGILState,sipMeth,a0);
}

void sipKBookmarkDialog::childEvent(QChildEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QObject::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t,PyObject *,QChildEvent *);

    ((sipVH_QtCore_25)(sipModuleAPI_kio_QtCore->em_virthandlers[25]))(sipGILState,sipMeth,a0);
}

void sipKBookmarkDialog::customEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QObject::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t,PyObject *,QEvent *);

    ((sipVH_QtCore_17)(sipModuleAPI_kio_QtCore->em_virthandlers[17]))(sipGILState,sipMeth,a0);
}

void sipKBookmarkDialog::connectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[55],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QObject::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t,PyObject *,const char *);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState,sipMeth,a0);
}

void sipKBookmarkDialog::disconnectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[56],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QObject::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t,PyObject *,const char *);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState,sipMeth,a0);
}

QObject * sipKBookmarkDialog::sipProtect_sender() const
{
    return QObject::sender();
}

int sipKBookmarkDialog::sipProtect_receivers(const char *a0) const
{
    return QObject::receivers(a0);
}

void sipKBookmarkDialog::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipKBookmarkDialog::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent *a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipKBookmarkDialog::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipKBookmarkDialog::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipKBookmarkDialog::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

bool sipKBookmarkDialog::sipProtectVirt_event(bool sipSelfWasArg,QEvent *a0)
{
    return (sipSelfWasArg ? QWidget::event(a0) : event(a0));
}

void sipKBookmarkDialog::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? QWidget::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipKBookmarkDialog::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? QWidget::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipKBookmarkDialog::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? QWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipKBookmarkDialog::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? QWidget::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipKBookmarkDialog::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent *a0)
{
    (sipSelfWasArg ? QWidget::wheelEvent(a0) : wheelEvent(a0));
}

void sipKBookmarkDialog::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent *a0)
{
    (sipSelfWasArg ? QWidget::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipKBookmarkDialog::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent *a0)
{
    (sipSelfWasArg ? QWidget::focusInEvent(a0) : focusInEvent(a0));
}

void sipKBookmarkDialog::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent *a0)
{
    (sipSelfWasArg ? QWidget::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipKBookmarkDialog::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipKBookmarkDialog::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipKBookmarkDialog::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent *a0)
{
    (sipSelfWasArg ? QWidget::paintEvent(a0) : paintEvent(a0));
}

void sipKBookmarkDialog::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent *a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipKBookmarkDialog::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent *a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipKBookmarkDialog::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent *a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipKBookmarkDialog::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent *a0)
{
    (sipSelfWasArg ? QWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipKBookmarkDialog::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent *a0)
{
    (sipSelfWasArg ? QWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipKBookmarkDialog::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent *a0)
{
    (sipSelfWasArg ? QWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipKBookmarkDialog::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent *a0)
{
    (sipSelfWasArg ? QWidget::dropEvent(a0) : dropEvent(a0));
}

void sipKBookmarkDialog::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QWidget::changeEvent(a0) : changeEvent(a0));
}

int sipKBookmarkDialog::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipKBookmarkDialog::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent *a0)
{
    (sipSelfWasArg ? QWidget::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipKBookmarkDialog::sipProtect_resetInputContext()
{
    QWidget::resetInputContext();
}

void sipKBookmarkDialog::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipKBookmarkDialog::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipKBookmarkDialog::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipKBookmarkDialog::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

bool sipKBookmarkDialog::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipKBookmarkDialog::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

void sipKBookmarkDialog::sipProtectVirt_enabledChange(bool sipSelfWasArg,bool a0)
{
    (sipSelfWasArg ? QWidget::enabledChange(a0) : enabledChange(a0));
}

void sipKBookmarkDialog::sipProtectVirt_paletteChange(bool sipSelfWasArg,const QPalette& a0)
{
    (sipSelfWasArg ? QWidget::paletteChange(a0) : paletteChange(a0));
}

void sipKBookmarkDialog::sipProtectVirt_fontChange(bool sipSelfWasArg,const QFont& a0)
{
    (sipSelfWasArg ? QWidget::fontChange(a0) : fontChange(a0));
}

void sipKBookmarkDialog::sipProtectVirt_windowActivationChange(bool sipSelfWasArg,bool a0)
{
    (sipSelfWasArg ? QWidget::windowActivationChange(a0) : windowActivationChange(a0));
}

void sipKBookmarkDialog::sipProtectVirt_languageChange(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QWidget::languageChange() : languageChange());
}

void sipKBookmarkDialog::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent *a0)
{
    (sipSelfWasArg ? QDialog::showEvent(a0) : showEvent(a0));
}

void sipKBookmarkDialog::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent *a0)
{
    (sipSelfWasArg ? QDialog::resizeEvent(a0) : resizeEvent(a0));
}

void sipKBookmarkDialog::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent *a0)
{
    (sipSelfWasArg ? QDialog::contextMenuEvent(a0) : contextMenuEvent(a0));
}

bool sipKBookmarkDialog::sipProtectVirt_eventFilter(bool sipSelfWasArg,QObject *a0,QEvent *a1)
{
    return (sipSelfWasArg ? QDialog::eventFilter(a0,a1) : eventFilter(a0,a1));
}

void sipKBookmarkDialog::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent *a0)
{
    (sipSelfWasArg ? KDialog::hideEvent(a0) : hideEvent(a0));
}

void sipKBookmarkDialog::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent *a0)
{
    (sipSelfWasArg ? KDialog::closeEvent(a0) : closeEvent(a0));
}

void sipKBookmarkDialog::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent *a0)
{
    (sipSelfWasArg ? KDialog::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipKBookmarkDialog::sipProtect_updateGeometry()
{
    KDialog::updateGeometry();
}

void sipKBookmarkDialog::sipProtectVirt_initLayout(bool sipSelfWasArg)
{
    (sipSelfWasArg ? KBookmarkDialog::initLayout() : initLayout());
}

void sipKBookmarkDialog::sipProtectVirt_aboutToShow(bool sipSelfWasArg,int a0)
{
    (sipSelfWasArg ? KBookmarkDialog::aboutToShow((KBookmarkDialog::BookmarkDialogMode)a0) : aboutToShow((KBookmarkDialog::BookmarkDialogMode)a0));
}

void sipKBookmarkDialog::sipProtectVirt_save(bool sipSelfWasArg,int a0,const KBookmark& a1)
{
    (sipSelfWasArg ? KBookmarkDialog::save((KBookmarkDialog::BookmarkDialogMode)a0,a1) : save((KBookmarkDialog::BookmarkDialogMode)a0,a1));
}

void sipKBookmarkDialog::sipProtect_setParentBookmark(const KBookmark& a0)
{
    KBookmarkDialog::setParentBookmark(a0);
}

KBookmarkGroup sipKBookmarkDialog::sipProtect_parentBookmark()
{
    return KBookmarkDialog::parentBookmark();
}

void sipKBookmarkDialog::sipProtectVirt_slotButtonClicked(bool sipSelfWasArg,int a0)
{
    (sipSelfWasArg ? KBookmarkDialog::slotButtonClicked(a0) : slotButtonClicked(a0));
}

void sipKBookmarkDialog::sipProtect_fillGroup(QTreeWidgetItem *a0,const KBookmarkGroup& a1)
{
    KBookmarkDialog::fillGroup(a0,a1);
}

void sipKBookmarkDialog::sipProtect_initLayoutPrivate()
{
    KBookmarkDialog::initLayoutPrivate();
}

void sipKBookmarkDialog::sipProtect_newFolderButton()
{
    KBookmarkDialog::newFolderButton();
}


extern "C" {static PyObject *meth_KBookmarkDialog_sender(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_sender(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KBookmarkDialog, &sipCpp))
        {
            QObject *sipRes = 0;

#line 632 "/usr/local/share/py-sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp->sender());
        #else
            sipRes = helper(sipCpp->sipProtect_sender());
        #endif
#line 19968 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBookmarkDialog, sipName_sender, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_receivers(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_receivers(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        char * a0;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_KBookmarkDialog, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 649 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp, a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 20010 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBookmarkDialog, sipName_receivers, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_timerEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KBookmarkDialog, &sipCpp, sipType_QTimerEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBookmarkDialog, sipName_timerEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_childEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_childEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KBookmarkDialog, &sipCpp, sipType_QChildEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBookmarkDialog, sipName_childEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_customEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_customEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KBookmarkDialog, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBookmarkDialog, sipName_customEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_connectNotify(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_KBookmarkDialog, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBookmarkDialog, sipName_connectNotify, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_KBookmarkDialog, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBookmarkDialog, sipName_disconnectNotify, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_event(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_event(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KBookmarkDialog, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBookmarkDialog, sipName_event, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_mousePressEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent * a0;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KBookmarkDialog, &sipCpp, sipType_QMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBookmarkDialog, sipName_mousePressEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_mouseReleaseEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent * a0;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KBookmarkDialog, &sipCpp, sipType_QMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBookmarkDialog, sipName_mouseReleaseEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_mouseDoubleClickEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent * a0;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KBookmarkDialog, &sipCpp, sipType_QMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBookmarkDialog, sipName_mouseDoubleClickEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_mouseMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent * a0;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KBookmarkDialog, &sipCpp, sipType_QMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBookmarkDialog, sipName_mouseMoveEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_wheelEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_wheelEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent * a0;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KBookmarkDialog, &sipCpp, sipType_QWheelEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBookmarkDialog, sipName_wheelEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_keyReleaseEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent * a0;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KBookmarkDialog, &sipCpp, sipType_QKeyEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBookmarkDialog, sipName_keyReleaseEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_focusInEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_focusInEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent * a0;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KBookmarkDialog, &sipCpp, sipType_QFocusEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBookmarkDialog, sipName_focusInEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_focusOutEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent * a0;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KBookmarkDialog, &sipCpp, sipType_QFocusEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBookmarkDialog, sipName_focusOutEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_enterEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_enterEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KBookmarkDialog, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBookmarkDialog, sipName_enterEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_leaveEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_leaveEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KBookmarkDialog, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBookmarkDialog, sipName_leaveEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_paintEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_paintEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent * a0;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KBookmarkDialog, &sipCpp, sipType_QPaintEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBookmarkDialog, sipName_paintEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_moveEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_moveEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent * a0;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KBookmarkDialog, &sipCpp, sipType_QMoveEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBookmarkDialog, sipName_moveEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_tabletEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_tabletEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent * a0;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KBookmarkDialog, &sipCpp, sipType_QTabletEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBookmarkDialog, sipName_tabletEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_actionEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_actionEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent * a0;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KBookmarkDialog, &sipCpp, sipType_QActionEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBookmarkDialog, sipName_actionEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_dragEnterEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent * a0;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KBookmarkDialog, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBookmarkDialog, sipName_dragEnterEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_dragMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent * a0;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KBookmarkDialog, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBookmarkDialog, sipName_dragMoveEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_dragLeaveEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent * a0;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KBookmarkDialog, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBookmarkDialog, sipName_dragLeaveEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_dropEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_dropEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent * a0;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KBookmarkDialog, &sipCpp, sipType_QDropEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBookmarkDialog, sipName_dropEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_changeEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_changeEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KBookmarkDialog, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBookmarkDialog, sipName_changeEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_metric(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_metric(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KBookmarkDialog, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBookmarkDialog, sipName_metric, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_inputMethodEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent * a0;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KBookmarkDialog, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBookmarkDialog, sipName_inputMethodEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_resetInputContext(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_resetInputContext(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KBookmarkDialog, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_resetInputContext();
            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_resetInputContext, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_updateMicroFocus(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KBookmarkDialog, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_updateMicroFocus();
            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_updateMicroFocus, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_create(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        WId a0 = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipKBookmarkDialog *sipCpp;

        static const char *sipKwdList[] = {
            sipName_window,
            sipName_initializeWindow,
            sipName_destroyOldWindow,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|mbb", &sipSelf, sipType_KBookmarkDialog, &sipCpp, &a0, &a1, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_create(a0,a1,a2);
            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_create, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_destroy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_destroy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipKBookmarkDialog *sipCpp;

        static const char *sipKwdList[] = {
            sipName_destroyWindow,
            sipName_destroySubWindows,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|bb", &sipSelf, sipType_KBookmarkDialog, &sipCpp, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_destroy(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_destroy, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_focusNextPrevChild(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KBookmarkDialog, &sipCpp, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBookmarkDialog, sipName_focusNextPrevChild, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_focusNextChild(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_focusNextChild(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KBookmarkDialog, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_focusNextChild();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBookmarkDialog, sipName_focusNextChild, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_focusPreviousChild(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_focusPreviousChild(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KBookmarkDialog, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_focusPreviousChild();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBookmarkDialog, sipName_focusPreviousChild, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_enabledChange(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_enabledChange(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KBookmarkDialog, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_enabledChange(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBookmarkDialog, sipName_enabledChange, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_paletteChange(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_paletteChange(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QPalette * a0;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KBookmarkDialog, &sipCpp, sipType_QPalette, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_paletteChange(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBookmarkDialog, sipName_paletteChange, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_fontChange(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_fontChange(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QFont * a0;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KBookmarkDialog, &sipCpp, sipType_QFont, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_fontChange(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBookmarkDialog, sipName_fontChange, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_windowActivationChange(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_windowActivationChange(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KBookmarkDialog, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_windowActivationChange(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBookmarkDialog, sipName_windowActivationChange, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_languageChange(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_languageChange(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KBookmarkDialog, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_languageChange(sipSelfWasArg);
            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_languageChange, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_showEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_showEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent * a0;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KBookmarkDialog, &sipCpp, sipType_QShowEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBookmarkDialog, sipName_showEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_resizeEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_resizeEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent * a0;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KBookmarkDialog, &sipCpp, sipType_QResizeEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBookmarkDialog, sipName_resizeEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_contextMenuEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent * a0;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KBookmarkDialog, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBookmarkDialog, sipName_contextMenuEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_eventFilter(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_eventFilter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QObject * a0;
        QEvent * a1;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J8", &sipSelf, sipType_KBookmarkDialog, &sipCpp, sipType_QObject, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_eventFilter(sipSelfWasArg,a0,a1);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBookmarkDialog, sipName_eventFilter, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_hideEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_hideEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent * a0;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KBookmarkDialog, &sipCpp, sipType_QHideEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBookmarkDialog, sipName_hideEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_closeEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_closeEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent * a0;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KBookmarkDialog, &sipCpp, sipType_QCloseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBookmarkDialog, sipName_closeEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_keyPressEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent * a0;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KBookmarkDialog, &sipCpp, sipType_QKeyEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBookmarkDialog, sipName_keyPressEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_updateGeometry(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_updateGeometry(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KBookmarkDialog, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_updateGeometry();
            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_updateGeometry, NULL);

    return NULL;
}


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));

    {
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KBookmarkDialog, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_initLayout(sipSelfWasArg);
            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));

    {
        int a0;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KBookmarkDialog, &sipCpp, sipType_KBookmarkDialog_BookmarkDialogMode, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_aboutToShow(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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));

    {
        int a0;
        const KBookmark * a1;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEJ9", &sipSelf, sipType_KBookmarkDialog, &sipCpp, sipType_KBookmarkDialog_BookmarkDialogMode, &a0, sipType_KBookmark, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_save(sipSelfWasArg,a0,*a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KBookmarkDialog, &sipCpp, sipType_KBookmark, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_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;

    {
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KBookmarkDialog, &sipCpp))
        {
            KBookmarkGroup *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KBookmarkGroup(sipCpp->sipProtect_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;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KBookmarkDialog, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_slotButtonClicked(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J9", &sipSelf, sipType_KBookmarkDialog, &sipCpp, sipType_QTreeWidgetItem, &a0, sipType_KBookmarkGroup, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_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;

    {
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KBookmarkDialog, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_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;

    {
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KBookmarkDialog, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_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 sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKBookmarkDialog *>(sipCppV);
    else
        delete reinterpret_cast<KBookmarkDialog *>(sipCppV);

    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_KBookmarkDialog(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_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_actionEvent), meth_KBookmarkDialog_actionEvent, 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_changeEvent), meth_KBookmarkDialog_changeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_KBookmarkDialog_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), meth_KBookmarkDialog_closeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KBookmarkDialog_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), meth_KBookmarkDialog_contextMenuEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_KBookmarkDialog_create, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_createNewFolder), meth_KBookmarkDialog_createNewFolder, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KBookmarkDialog_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), (PyCFunction)meth_KBookmarkDialog_destroy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KBookmarkDialog_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), meth_KBookmarkDialog_dragEnterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), meth_KBookmarkDialog_dragLeaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), meth_KBookmarkDialog_dragMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), meth_KBookmarkDialog_dropEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_editBookmark), meth_KBookmarkDialog_editBookmark, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enabledChange), meth_KBookmarkDialog_enabledChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), meth_KBookmarkDialog_enterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_event), meth_KBookmarkDialog_event, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_eventFilter), meth_KBookmarkDialog_eventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fillGroup), meth_KBookmarkDialog_fillGroup, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), meth_KBookmarkDialog_focusInEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), meth_KBookmarkDialog_focusNextChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), meth_KBookmarkDialog_focusNextPrevChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), meth_KBookmarkDialog_focusOutEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), meth_KBookmarkDialog_focusPreviousChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fontChange), meth_KBookmarkDialog_fontChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), meth_KBookmarkDialog_hideEvent, 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_inputMethodEvent), meth_KBookmarkDialog_inputMethodEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), meth_KBookmarkDialog_keyPressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), meth_KBookmarkDialog_keyReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_languageChange), meth_KBookmarkDialog_languageChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), meth_KBookmarkDialog_leaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_metric), meth_KBookmarkDialog_metric, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), meth_KBookmarkDialog_mouseDoubleClickEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), meth_KBookmarkDialog_mouseMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), meth_KBookmarkDialog_mousePressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), meth_KBookmarkDialog_mouseReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), meth_KBookmarkDialog_moveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_newFolderButton), meth_KBookmarkDialog_newFolderButton, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), meth_KBookmarkDialog_paintEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paletteChange), meth_KBookmarkDialog_paletteChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_parentBookmark), meth_KBookmarkDialog_parentBookmark, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_KBookmarkDialog_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resetInputContext), meth_KBookmarkDialog_resetInputContext, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_KBookmarkDialog_resizeEvent, 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_sender), meth_KBookmarkDialog_sender, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setParentBookmark), meth_KBookmarkDialog_setParentBookmark, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), meth_KBookmarkDialog_showEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotButtonClicked), meth_KBookmarkDialog_slotButtonClicked, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_tabletEvent), meth_KBookmarkDialog_tabletEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KBookmarkDialog_timerEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateGeometry), meth_KBookmarkDialog_updateGeometry, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), meth_KBookmarkDialog_updateMicroFocus, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), meth_KBookmarkDialog_wheelEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_windowActivationChange), meth_KBookmarkDialog_windowActivationChange, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KBookmarkDialog[] = {
    {sipName_EditBookmark, sipKBookmarkDialog::EditBookmark, 21},
    {sipName_NewBookmark, sipKBookmarkDialog::NewBookmark, 21},
    {sipName_NewFolder, sipKBookmarkDialog::NewFolder, 21},
    {sipName_NewMultipleBookmarks, sipKBookmarkDialog::NewMultipleBookmarks, 21},
    {sipName_SelectFolder, sipKBookmarkDialog::SelectFolder, 21},
};


pyqt4ClassTypeDef sipTypeDef_kio_KBookmarkDialog = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KBookmarkDialog,
        {0}
    },
    {
        sipNameNr_KBookmarkDialog,
        {0, 0, 1},
        63, methods_KBookmarkDialog,
        5, enummembers_KBookmarkDialog,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KBookmarkDialog,
    0,
    init_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
},
    &KBookmarkDialog::staticMetaObject,
    0,
    0
};

#line 132 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 21951 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"

#line 100 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 21955 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 21958 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/kio/sipkiopart5.cpp"


class sipKBookmarkGroupTraverser : public KBookmarkGroupTraverser
{
public:
    sipKBookmarkGroupTraverser();
    sipKBookmarkGroupTraverser(const KBookmarkGroupTraverser&);
    virtual ~sipKBookmarkGroupTraverser();

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    void sipProtect_traverse(const KBookmarkGroup&);
    void sipProtectVirt_visit(bool,const KBookmark&);
    void sipProtectVirt_visitEnter(bool,const KBookmarkGroup&);
    void sipProtectVirt_visitLeave(bool,const KBookmarkGroup&);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void visit(const KBookmark&);
    void visitEnter(const KBookmarkGroup&);
    void visitLeave(const KBookmarkGroup&);

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::visit(const KBookmark& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_visit);

    if (!sipMeth)
    {
        KBookmarkGroupTraverser::visit(a0);
        return;
    }

    extern void sipVH_kio_33(sip_gilstate_t,PyObject *,const KBookmark&);

    sipVH_kio_33(sipGILState,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_68(sip_gilstate_t,PyObject *,const KBookmarkGroup&);

    sipVH_kio_68(sipGILState,sipMeth,a0);
}

void sipKBookmarkGroupTraverser::visitLeave(const KBookmarkGroup& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_visitLeave);

    if (!sipMeth)
    {
        KBookmarkGroupTraverser::visitLeave(a0);
        return;
    }

    extern void sipVH_kio_68(sip_gilstate_t,PyObject *,const KBookmarkGroup&);

    sipVH_kio_68(sipGILState,sipMeth,a0);
}

void sipKBookmarkGroupTraverser::sipProtect_traverse(const KBookmarkGroup& a0)
{
    KBookmarkGroupTraverser::traverse(a0);
}

void sipKBookmarkGroupTraverser::sipProtectVirt_visit(bool sipSelfWasArg,const KBookmark& a0)
{
    (sipSelfWasArg ? KBookmarkGroupTraverser::visit(a0) : visit(a0));
}

void sipKBookmarkGroupTraverser::sipProtectVirt_visitEnter(bool sipSelfWasArg,const KBookmarkGroup& a0)
{
    (sipSelfWasArg ? KBookmarkGroupTraverser::visitEnter(a0) : visitEnter(a0));
}

void sipKBookmarkGroupTraverser::sipProtectVirt_visitLeave(bool sipSelfWasArg,const KBookmarkGroup& a0)
{
    (sipSelfWasArg ? KBookmarkGroupTraverser::visitLeave(a0) : visitLeave(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;
        sipKBookmarkGroupTraverser *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KBookmarkGroupTraverser, &sipCpp, sipType_KBookmarkGroup, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_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;
        sipKBookmarkGroupTraverser *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KBookmarkGroupTraverser, &sipCpp, sipType_KBookmark, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_visit(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;
        sipKBookmarkGroupTraverser *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KBookmarkGroupTraverser, &sipCpp, sipType_KBookmarkGroup, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_visitEnter(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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;
        sipKBookmarkGroupTraverser *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KBookmarkGroupTraverser, &sipCpp, sipType_KBookmarkGroup, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_visitLeave(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_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_KBookmarkGroupTraverser(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_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_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
};
