/*
 * Module code.
 *
 * Generated by SIP 4.11.2 on Wed Feb  9 17:26:14 2011
 */

#include "sipAPIkio.h"

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

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 16 "sipkiopart5.cpp"
#line 39 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 19 "sipkiopart5.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 22 "sipkiopart5.cpp"
#line 40 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 25 "sipkiopart5.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdeui/kmenu.sip"
#include <kmenu.h>
#line 28 "sipkiopart5.cpp"
#line 36 "/usr/local/share/py-sip/QtGui/qaction.sip"
#include <qaction.h>
#line 31 "sipkiopart5.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdeui/kaction.sip"
#include <kaction.h>
#line 34 "sipkiopart5.cpp"
#line 25 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kauthaction.sip"
#include <kauthaction.h>
#line 37 "sipkiopart5.cpp"
#line 40 "/usr/local/share/py-sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 40 "sipkiopart5.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 43 "sipkiopart5.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 46 "sipkiopart5.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 49 "sipkiopart5.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdeui/kgesture.sip"
#include <kgesture.h>
#line 52 "sipkiopart5.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdeui/kaction.sip"
#include <kaction.h>
#line 55 "sipkiopart5.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdeui/kgesture.sip"
#include <kgesture.h>
#line 58 "sipkiopart5.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdeui/kshortcut.sip"
#include <kshortcut.h>
#line 61 "sipkiopart5.cpp"
#line 38 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 64 "sipkiopart5.cpp"
#line 125 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 67 "sipkiopart5.cpp"
#line 125 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 70 "sipkiopart5.cpp"
#line 192 "/usr/local/share/py-sip/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 73 "sipkiopart5.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 76 "sipkiopart5.cpp"
#line 40 "/usr/local/share/py-sip/QtGui/qfont.sip"
#include <qfont.h>
#line 79 "sipkiopart5.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 82 "sipkiopart5.cpp"
#line 40 "/usr/local/share/py-sip/QtGui/qicon.sip"
#include <qicon.h>
#line 85 "sipkiopart5.cpp"
#line 36 "/usr/local/share/py-sip/QtGui/qactiongroup.sip"
#include <qactiongroup.h>
#line 88 "sipkiopart5.cpp"
#line 315 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 91 "sipkiopart5.cpp"
#line 303 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 94 "sipkiopart5.cpp"
#line 38 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 97 "sipkiopart5.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 100 "sipkiopart5.cpp"
#line 125 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 103 "sipkiopart5.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 106 "sipkiopart5.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 109 "sipkiopart5.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 112 "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 *meth;

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

    if (!meth)
        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,meth,a0);
}

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

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

    if (!meth)
        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,meth,a0);
}

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

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

    if (!meth)
        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,meth,a0,a1);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if (!meth)
    {
        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,meth,a0);
}

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

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

    if (!meth)
    {
        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,meth,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 529 "/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 431 "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 546 "/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 473 "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}, {16, 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/kdebindings-4.5.5/python/pykde4/sip/kio/kbookmarkmenu.sip"
#include <kbookmarkmenu.h>
#line 872 "sipkiopart5.cpp"

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 876 "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/kdebindings-4.5.5/python/pykde4/sip/kio/kbookmarkmenu.sip"
#include <kbookmarkmenu.h>
#line 1031 "sipkiopart5.cpp"

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 1035 "sipkiopart5.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/kbookmarkmanager.sip"
#include <kbookmarkmanager.h>
#line 1038 "sipkiopart5.cpp"
#line 77 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/kbookmarkmanager.sip"
#include <kbookmarkmanager.h>
#line 1041 "sipkiopart5.cpp"
#line 40 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 1044 "sipkiopart5.cpp"
#line 464 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1047 "sipkiopart5.cpp"
#line 475 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1050 "sipkiopart5.cpp"
#line 236 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1053 "sipkiopart5.cpp"
#line 344 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1056 "sipkiopart5.cpp"
#line 431 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1059 "sipkiopart5.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdeui/kmenu.sip"
#include <kmenu.h>
#line 1062 "sipkiopart5.cpp"
#line 36 "/usr/local/share/py-sip/QtGui/qaction.sip"
#include <qaction.h>
#line 1065 "sipkiopart5.cpp"
#line 36 "/usr/local/share/py-sip/QtGui/qmenu.sip"
#include <qmenu.h>
#line 1068 "sipkiopart5.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1071 "sipkiopart5.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1074 "sipkiopart5.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 1077 "sipkiopart5.cpp"
#line 40 "/usr/local/share/py-sip/QtGui/qicon.sip"
#include <qicon.h>
#line 1080 "sipkiopart5.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1083 "sipkiopart5.cpp"
#line 303 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1086 "sipkiopart5.cpp"
#line 650 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1089 "sipkiopart5.cpp"
#line 391 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1092 "sipkiopart5.cpp"
#line 275 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1095 "sipkiopart5.cpp"
#line 894 "/usr/local/share/py-sip/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 1098 "sipkiopart5.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 1101 "sipkiopart5.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 1104 "sipkiopart5.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 1107 "sipkiopart5.cpp"
#line 125 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 1110 "sipkiopart5.cpp"
#line 40 "/usr/local/share/py-sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 1113 "sipkiopart5.cpp"
#line 39 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 1116 "sipkiopart5.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1119 "sipkiopart5.cpp"
#line 44 "/usr/local/share/py-sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 1122 "sipkiopart5.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1125 "sipkiopart5.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1128 "sipkiopart5.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 1131 "sipkiopart5.cpp"
#line 38 "/usr/local/share/py-sip/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 1134 "sipkiopart5.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 1137 "sipkiopart5.cpp"
#line 36 "/usr/local/share/py-sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 1140 "sipkiopart5.cpp"
#line 40 "/usr/local/share/py-sip/QtGui/qregion.sip"
#include <qregion.h>
#line 1143 "sipkiopart5.cpp"
#line 40 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 1146 "sipkiopart5.cpp"
#line 40 "/usr/local/share/py-sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 611 "/usr/local/share/py-sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 1151 "sipkiopart5.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 1154 "sipkiopart5.cpp"
#line 36 "/usr/local/share/py-sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 1157 "sipkiopart5.cpp"
#line 36 "/usr/local/share/py-sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 1160 "sipkiopart5.cpp"
#line 40 "/usr/local/share/py-sip/QtGui/qfont.sip"
#include <qfont.h>
#line 1163 "sipkiopart5.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1166 "sipkiopart5.cpp"
#line 40 "/usr/local/share/py-sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 1169 "sipkiopart5.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 1172 "sipkiopart5.cpp"
#line 504 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 522 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1177 "sipkiopart5.cpp"
#line 453 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1180 "sipkiopart5.cpp"
#line 547 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1183 "sipkiopart5.cpp"
#line 598 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1186 "sipkiopart5.cpp"
#line 571 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1189 "sipkiopart5.cpp"
#line 587 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1192 "sipkiopart5.cpp"
#line 296 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1195 "sipkiopart5.cpp"
#line 418 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1198 "sipkiopart5.cpp"
#line 405 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1201 "sipkiopart5.cpp"
#line 372 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1204 "sipkiopart5.cpp"
#line 36 "/usr/local/share/py-sip/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 1207 "sipkiopart5.cpp"
#line 66 "/usr/local/share/py-sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 1210 "sipkiopart5.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 1213 "sipkiopart5.cpp"
#line 36 "/usr/local/share/py-sip/QtGui/qlayout.sip"
#include <qlayout.h>
#line 1216 "sipkiopart5.cpp"
#line 40 "/usr/local/share/py-sip/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 1219 "sipkiopart5.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1222 "sipkiopart5.cpp"
#line 40 "/usr/local/share/py-sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 1225 "sipkiopart5.cpp"
#line 40 "/usr/local/share/py-sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 1228 "sipkiopart5.cpp"
#line 40 "/usr/local/share/py-sip/QtGui/qstyle.sip"
#include <qstyle.h>
#line 1231 "sipkiopart5.cpp"
#line 315 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1234 "sipkiopart5.cpp"
#line 38 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 1237 "sipkiopart5.cpp"
#line 125 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 1240 "sipkiopart5.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 1243 "sipkiopart5.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 1246 "sipkiopart5.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 1249 "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 *meth;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if (!meth)
        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,meth,a0);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if (!meth)
        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,meth,a0);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if (!meth)
        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,meth,a0);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if (!meth)
        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,meth,a0);
}

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

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

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

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

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

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

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

    if (!meth)
        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,meth,a0);
}

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

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

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

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

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

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

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

    if (!meth)
    {
        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,meth,a0);
}

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

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

    if (!meth)
    {
        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,meth,a0);
}

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

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

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

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

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

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

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

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

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

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

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

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

    if (!meth)
        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,meth,a0,a1);
}

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

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

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

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

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

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

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

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

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

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

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

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

    if (!meth)
    {
        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,meth,a0);
}

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

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

    if (!meth)
    {
        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,meth,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 529 "/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 2564 "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 546 "/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 2606 "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 *);}
static PyObject *meth_KBookmarkContextMenu_create(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

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

        if (sipParseArgs(&sipParseErr, sipArgs, "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 *);}
static PyObject *meth_KBookmarkContextMenu_destroy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

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

        if (sipParseArgs(&sipParseErr, sipArgs, "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[] = {{165, 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), meth_KBookmarkContextMenu_create, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KBookmarkContextMenu_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), meth_KBookmarkContextMenu_destroy, METH_VARARGS, 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/kdebindings-4.5.5/python/pykde4/sip/kio/kbookmarkmenu.sip"
#include <kbookmarkmenu.h>
#line 4520 "sipkiopart5.cpp"

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/kbookmarkmanager.sip"
#include <kbookmarkmanager.h>
#line 4524 "sipkiopart5.cpp"
#line 77 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/kbookmarkmanager.sip"
#include <kbookmarkmanager.h>
#line 4527 "sipkiopart5.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdeui/kmenu.sip"
#include <kmenu.h>
#line 4530 "sipkiopart5.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdeui/kactioncollection.sip"
#include <kactioncollection.h>
#line 4533 "sipkiopart5.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 4536 "sipkiopart5.cpp"
#line 36 "/usr/local/share/py-sip/QtGui/qaction.sip"
#include <qaction.h>
#line 4539 "sipkiopart5.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 4542 "sipkiopart5.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4545 "sipkiopart5.cpp"
#line 315 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4548 "sipkiopart5.cpp"
#line 303 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4551 "sipkiopart5.cpp"
#line 39 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 4554 "sipkiopart5.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 4557 "sipkiopart5.cpp"
#line 38 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 4560 "sipkiopart5.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 4563 "sipkiopart5.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 4566 "sipkiopart5.cpp"
#line 125 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 4569 "sipkiopart5.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 4572 "sipkiopart5.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 4575 "sipkiopart5.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 4578 "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 *meth;

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

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

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

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

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

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

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

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

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

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

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

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

    extern QAction * sipVH_kio_31(sip_gilstate_t,PyObject *,const KBookmark&);

    return sipVH_kio_31(sipGILState,meth,a0);
}

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

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

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

    extern KMenu * sipVH_kio_30(sip_gilstate_t,PyObject *,QAction *);

    return sipVH_kio_30(sipGILState,meth,a0);
}

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

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

    if (!meth)
        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,meth,a0);
}

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

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

    if (!meth)
        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,meth,a0,a1);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if (!meth)
    {
        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,meth,a0);
}

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

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

    if (!meth)
    {
        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,meth,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 529 "/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 5046 "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 546 "/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 5088 "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[] = {{133, 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 77 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/kbookmarkmanager.sip"
#include <kbookmarkmanager.h>
#line 6064 "sipkiopart5.cpp"

#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/kbookmarkdialog.sip"
#include <kbookmarkdialog.h>
#line 6068 "sipkiopart5.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/kbookmarkmanager.sip"
#include <kbookmarkmanager.h>
#line 6071 "sipkiopart5.cpp"
#line 40 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 6074 "sipkiopart5.cpp"
#line 100 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 6077 "sipkiopart5.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 6080 "sipkiopart5.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 6083 "sipkiopart5.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 6086 "sipkiopart5.cpp"
#line 205 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 6090 "sipkiopart5.cpp"
#line 82 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 6093 "sipkiopart5.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 6096 "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 *meth;

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

    if (!meth)
        return KBookmarkOwner::currentTitle();

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

    return ((sipVH_QtCore_62)(sipModuleAPI_kio_QtCore->em_virthandlers[62]))(sipGILState,meth);
}

QString sipKBookmarkOwner::currentUrl() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KBookmarkOwner::currentUrl();

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

    return ((sipVH_QtCore_62)(sipModuleAPI_kio_QtCore->em_virthandlers[62]))(sipGILState,meth);
}

bool sipKBookmarkOwner::supportsTabs() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KBookmarkOwner::supportsTabs();

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

    return ((sipVH_QtCore_7)(sipModuleAPI_kio_QtCore->em_virthandlers[7]))(sipGILState,meth);
}

QList<QPair<QString,QString> > sipKBookmarkOwner::currentBookmarkList() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KBookmarkOwner::currentBookmarkList();

    extern QList<QPair<QString,QString> > sipVH_kio_69(sip_gilstate_t,PyObject *);

    return sipVH_kio_69(sipGILState,meth);
}

bool sipKBookmarkOwner::enableOption(KBookmarkOwner::BookmarkOption a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KBookmarkOwner::enableOption(a0);

    extern bool sipVH_kio_68(sip_gilstate_t,PyObject *,KBookmarkOwner::BookmarkOption);

    return sipVH_kio_68(sipGILState,meth,a0);
}

void sipKBookmarkOwner::openBookmark(const KBookmark& a0,Qt::MouseButtons a1,Qt::KeyboardModifiers a2)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,sipName_KBookmarkOwner,sipName_openBookmark);

    if (!meth)
        return;

    extern void sipVH_kio_67(sip_gilstate_t,PyObject *,const KBookmark&,Qt::MouseButtons,Qt::KeyboardModifiers);

    sipVH_kio_67(sipGILState,meth,a0,a1,a2);
}

void sipKBookmarkOwner::openFolderinTabs(const KBookmarkGroup& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KBookmarkOwner::openFolderinTabs(a0);
        return;
    }

    extern void sipVH_kio_66(sip_gilstate_t,PyObject *,const KBookmarkGroup&);

    sipVH_kio_66(sipGILState,meth,a0);
}

KBookmarkDialog * sipKBookmarkOwner::bookmarkDialog(KBookmarkManager *a0,QWidget *a1)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KBookmarkOwner::bookmarkDialog(a0,a1);

    extern KBookmarkDialog * sipVH_kio_65(sip_gilstate_t,PyObject *,KBookmarkManager *,QWidget *);

    return sipVH_kio_65(sipGILState,meth,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, 29},
    {sipName_ShowEditBookmark, KBookmarkOwner::ShowEditBookmark, 29},
};


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/kdebindings-4.5.5/python/pykde4/sip/kio/kbookmarkmanager.sip"
#include <kbookmarkmanager.h>
#line 6653 "sipkiopart5.cpp"

#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 6657 "sipkiopart5.cpp"
#line 211 "/usr/local/share/py-sip/QtXml/qdom.sip"
#include <qdom.h>
#line 6660 "sipkiopart5.cpp"
#line 100 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 6663 "sipkiopart5.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 6666 "sipkiopart5.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6669 "sipkiopart5.cpp"
#line 315 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6672 "sipkiopart5.cpp"
#line 303 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6675 "sipkiopart5.cpp"
#line 39 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 6678 "sipkiopart5.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 6681 "sipkiopart5.cpp"
#line 38 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 6684 "sipkiopart5.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 6687 "sipkiopart5.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 6690 "sipkiopart5.cpp"
#line 125 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 6693 "sipkiopart5.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 6696 "sipkiopart5.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 6699 "sipkiopart5.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 6702 "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;
}


/* 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[] = {{133, 0, 1}};


static PyMethodDef methods_KBookmarkManager[] = {
    {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_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[] = {
    {"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},
        21, 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/kdebindings-4.5.5/python/pykde4/sip/kio/kbookmarkimporter_opera.sip"
#include <kbookmarkimporter_opera.h>
#line 7439 "sipkiopart5.cpp"

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/kbookmarkmanager.sip"
#include <kbookmarkmanager.h>
#line 7443 "sipkiopart5.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 7446 "sipkiopart5.cpp"
#line 100 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 7449 "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 *meth;

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

    if (!meth)
    {
        KOperaBookmarkExporterImpl::write(a0);
        return;
    }

    extern void sipVH_kio_66(sip_gilstate_t,PyObject *,const KBookmarkGroup&);

    sipVH_kio_66(sipGILState,meth,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[] = {{22, 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/kdebindings-4.5.5/python/pykde4/sip/kio/kbookmarkimporter_opera.sip"
#include <kbookmarkimporter_opera.h>
#line 7685 "sipkiopart5.cpp"

#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 7689 "sipkiopart5.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/kbookmarkimporter.sip"
#include <kbookmarkimporter.h>
#line 7692 "sipkiopart5.cpp"
#line 39 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 7695 "sipkiopart5.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7698 "sipkiopart5.cpp"
#line 315 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7701 "sipkiopart5.cpp"
#line 303 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7704 "sipkiopart5.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 7707 "sipkiopart5.cpp"
#line 38 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 7710 "sipkiopart5.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 7713 "sipkiopart5.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7716 "sipkiopart5.cpp"
#line 125 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 7719 "sipkiopart5.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 7722 "sipkiopart5.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 7725 "sipkiopart5.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 7728 "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 *meth;

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

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

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

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

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

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

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

    extern QString sipVH_kio_70(sip_gilstate_t,PyObject *,bool);

    return sipVH_kio_70(sipGILState,meth,a0);
}

bool sipKOperaBookmarkImporterImpl::event(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        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,meth,a0);
}

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

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

    if (!meth)
        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,meth,a0,a1);
}

void sipKOperaBookmarkImporterImpl::timerEvent(QTimerEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

void sipKOperaBookmarkImporterImpl::childEvent(QChildEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

void sipKOperaBookmarkImporterImpl::customEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

void sipKOperaBookmarkImporterImpl::connectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        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,meth,a0);
}

void sipKOperaBookmarkImporterImpl::disconnectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        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,meth,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 529 "/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 8023 "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 546 "/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 8065 "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[] = {{25, 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/kdebindings-4.5.5/python/pykde4/sip/kio/kbookmarkimporter_ns.sip"
#include <kbookmarkimporter_ns.h>
#line 8409 "sipkiopart5.cpp"

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/kbookmarkmanager.sip"
#include <kbookmarkmanager.h>
#line 8413 "sipkiopart5.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 8416 "sipkiopart5.cpp"
#line 100 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 8419 "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 *meth;

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

    if (!meth)
    {
        KNSBookmarkExporterImpl::write(a0);
        return;
    }

    extern void sipVH_kio_66(sip_gilstate_t,PyObject *,const KBookmarkGroup&);

    sipVH_kio_66(sipGILState,meth,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[] = {{22, 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/kdebindings-4.5.5/python/pykde4/sip/kio/kbookmarkimporter_ns.sip"
#include <kbookmarkimporter_ns.h>
#line 8723 "sipkiopart5.cpp"

#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 8727 "sipkiopart5.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/kbookmarkimporter.sip"
#include <kbookmarkimporter.h>
#line 8730 "sipkiopart5.cpp"
#line 39 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 8733 "sipkiopart5.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8736 "sipkiopart5.cpp"
#line 315 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8739 "sipkiopart5.cpp"
#line 303 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8742 "sipkiopart5.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 8745 "sipkiopart5.cpp"
#line 38 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 8748 "sipkiopart5.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 8751 "sipkiopart5.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 8754 "sipkiopart5.cpp"
#line 125 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 8757 "sipkiopart5.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 8760 "sipkiopart5.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 8763 "sipkiopart5.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 8766 "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 *meth;

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

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

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

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

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

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

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

    extern QString sipVH_kio_70(sip_gilstate_t,PyObject *,bool);

    return sipVH_kio_70(sipGILState,meth,a0);
}

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

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

    if (!meth)
        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,meth,a0);
}

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

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

    if (!meth)
        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,meth,a0,a1);
}

void sipKMozillaBookmarkImporterImpl::timerEvent(QTimerEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if (!meth)
    {
        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,meth,a0);
}

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

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

    if (!meth)
    {
        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,meth,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 529 "/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 9061 "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 546 "/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 9103 "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[] = {{190, 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/kdebindings-4.5.5/python/pykde4/sip/kio/kbookmarkimporter_ns.sip"
#include <kbookmarkimporter_ns.h>
#line 9389 "sipkiopart5.cpp"

#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 9393 "sipkiopart5.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/kbookmarkimporter.sip"
#include <kbookmarkimporter.h>
#line 9396 "sipkiopart5.cpp"
#line 39 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 9399 "sipkiopart5.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9402 "sipkiopart5.cpp"
#line 315 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9405 "sipkiopart5.cpp"
#line 303 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9408 "sipkiopart5.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 9411 "sipkiopart5.cpp"
#line 38 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 9414 "sipkiopart5.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 9417 "sipkiopart5.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 9420 "sipkiopart5.cpp"
#line 125 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 9423 "sipkiopart5.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 9426 "sipkiopart5.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 9429 "sipkiopart5.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 9432 "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 *meth;

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

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

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

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

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

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

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

    extern QString sipVH_kio_70(sip_gilstate_t,PyObject *,bool);

    return sipVH_kio_70(sipGILState,meth,a0);
}

bool sipKNSBookmarkImporterImpl::event(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        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,meth,a0);
}

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

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

    if (!meth)
        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,meth,a0,a1);
}

void sipKNSBookmarkImporterImpl::timerEvent(QTimerEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

void sipKNSBookmarkImporterImpl::childEvent(QChildEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

void sipKNSBookmarkImporterImpl::customEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

void sipKNSBookmarkImporterImpl::connectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        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,meth,a0);
}

void sipKNSBookmarkImporterImpl::disconnectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        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,meth,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 529 "/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 9727 "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 546 "/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 9769 "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[] = {{25, 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/kdebindings-4.5.5/python/pykde4/sip/kio/kbookmarkimporter_ie.sip"
#include <kbookmarkimporter_ie.h>
#line 10141 "sipkiopart5.cpp"

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/kbookmarkmanager.sip"
#include <kbookmarkmanager.h>
#line 10145 "sipkiopart5.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 10148 "sipkiopart5.cpp"
#line 100 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 10151 "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 *meth;

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

    if (!meth)
    {
        KIEBookmarkExporterImpl::write(a0);
        return;
    }

    extern void sipVH_kio_66(sip_gilstate_t,PyObject *,const KBookmarkGroup&);

    sipVH_kio_66(sipGILState,meth,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[] = {{22, 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/kdebindings-4.5.5/python/pykde4/sip/kio/kbookmarkimporter_ie.sip"
#include <kbookmarkimporter_ie.h>
#line 10387 "sipkiopart5.cpp"

#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 10391 "sipkiopart5.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/kbookmarkimporter.sip"
#include <kbookmarkimporter.h>
#line 10394 "sipkiopart5.cpp"
#line 39 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 10397 "sipkiopart5.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10400 "sipkiopart5.cpp"
#line 315 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10403 "sipkiopart5.cpp"
#line 303 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10406 "sipkiopart5.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 10409 "sipkiopart5.cpp"
#line 38 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 10412 "sipkiopart5.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 10415 "sipkiopart5.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 10418 "sipkiopart5.cpp"
#line 125 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 10421 "sipkiopart5.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 10424 "sipkiopart5.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 10427 "sipkiopart5.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 10430 "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 *meth;

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

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

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

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

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

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

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

    extern QString sipVH_kio_70(sip_gilstate_t,PyObject *,bool);

    return sipVH_kio_70(sipGILState,meth,a0);
}

bool sipKIEBookmarkImporterImpl::event(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        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,meth,a0);
}

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

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

    if (!meth)
        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,meth,a0,a1);
}

void sipKIEBookmarkImporterImpl::timerEvent(QTimerEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

void sipKIEBookmarkImporterImpl::childEvent(QChildEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

void sipKIEBookmarkImporterImpl::customEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

void sipKIEBookmarkImporterImpl::connectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        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,meth,a0);
}

void sipKIEBookmarkImporterImpl::disconnectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        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,meth,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 529 "/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 10725 "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 546 "/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 10767 "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[] = {{25, 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/kdebindings-4.5.5/python/pykde4/sip/kio/kbookmarkimporter_crash.sip"
#include <kbookmarkimporter_crash.h>
#line 11111 "sipkiopart5.cpp"

#line 41 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 11115 "sipkiopart5.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 11118 "sipkiopart5.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/kbookmarkimporter.sip"
#include <kbookmarkimporter.h>
#line 11121 "sipkiopart5.cpp"
#line 39 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 11124 "sipkiopart5.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11127 "sipkiopart5.cpp"
#line 315 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11130 "sipkiopart5.cpp"
#line 303 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11133 "sipkiopart5.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 11136 "sipkiopart5.cpp"
#line 38 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 11139 "sipkiopart5.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 11142 "sipkiopart5.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 11145 "sipkiopart5.cpp"
#line 125 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 11148 "sipkiopart5.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 11151 "sipkiopart5.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 11154 "sipkiopart5.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 11157 "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 *meth;

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

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

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

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

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

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

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

    extern QString sipVH_kio_70(sip_gilstate_t,PyObject *,bool);

    return sipVH_kio_70(sipGILState,meth,a0);
}

bool sipKCrashBookmarkImporterImpl::event(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        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,meth,a0);
}

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

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

    if (!meth)
        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,meth,a0,a1);
}

void sipKCrashBookmarkImporterImpl::timerEvent(QTimerEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

void sipKCrashBookmarkImporterImpl::childEvent(QChildEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

void sipKCrashBookmarkImporterImpl::customEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

void sipKCrashBookmarkImporterImpl::connectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        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,meth,a0);
}

void sipKCrashBookmarkImporterImpl::disconnectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        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,meth,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 529 "/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 11452 "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 546 "/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 11494 "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[] = {{25, 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/kdebindings-4.5.5/python/pykde4/sip/kio/kbookmarkimporter_crash.sip"
#include <kbookmarkimporter_crash.h>
#line 11892 "sipkiopart5.cpp"

#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 11896 "sipkiopart5.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11899 "sipkiopart5.cpp"
#line 315 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11902 "sipkiopart5.cpp"
#line 303 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11905 "sipkiopart5.cpp"
#line 39 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 11908 "sipkiopart5.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 11911 "sipkiopart5.cpp"
#line 38 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 11914 "sipkiopart5.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 11917 "sipkiopart5.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 11920 "sipkiopart5.cpp"
#line 125 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 11923 "sipkiopart5.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 11926 "sipkiopart5.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 11929 "sipkiopart5.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 11932 "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 *meth;

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

    if (!meth)
        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,meth,a0);
}

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

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

    if (!meth)
        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,meth,a0,a1);
}

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

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

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

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

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

void sipKCrashBookmarkImporter::childEvent(QChildEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

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

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

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

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

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

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

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

    if (!meth)
    {
        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,meth,a0);
}

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

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

    if (!meth)
    {
        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,meth,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 529 "/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 12192 "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 546 "/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 12234 "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[] = {{133, 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/kdebindings-4.5.5/python/pykde4/sip/kio/kbookmarkimporter.sip"
#include <kbookmarkimporter.h>
#line 12588 "sipkiopart5.cpp"

#line 100 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 12592 "sipkiopart5.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 12595 "sipkiopart5.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 12598 "sipkiopart5.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/kbookmarkimporter.sip"
#include <kbookmarkimporter.h>
#line 12601 "sipkiopart5.cpp"
#line 39 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 12604 "sipkiopart5.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 12607 "sipkiopart5.cpp"
#line 315 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 12610 "sipkiopart5.cpp"
#line 303 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 12613 "sipkiopart5.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 12616 "sipkiopart5.cpp"
#line 38 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 12619 "sipkiopart5.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 12622 "sipkiopart5.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 12625 "sipkiopart5.cpp"
#line 125 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 12628 "sipkiopart5.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 12631 "sipkiopart5.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 12634 "sipkiopart5.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 12637 "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 *meth;

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

    if (!meth)
    {
        KXBELBookmarkImporterImpl::parse();
        return;
    }

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

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

QString sipKXBELBookmarkImporterImpl::findDefaultLocation(bool a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KXBELBookmarkImporterImpl::findDefaultLocation(a0);

    extern QString sipVH_kio_70(sip_gilstate_t,PyObject *,bool);

    return sipVH_kio_70(sipGILState,meth,a0);
}

void sipKXBELBookmarkImporterImpl::visit(const KBookmark& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KXBELBookmarkImporterImpl::visit(a0);
        return;
    }

    extern void sipVH_kio_32(sip_gilstate_t,PyObject *,const KBookmark&);

    sipVH_kio_32(sipGILState,meth,a0);
}

void sipKXBELBookmarkImporterImpl::visitEnter(const KBookmarkGroup& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KXBELBookmarkImporterImpl::visitEnter(a0);
        return;
    }

    extern void sipVH_kio_66(sip_gilstate_t,PyObject *,const KBookmarkGroup&);

    sipVH_kio_66(sipGILState,meth,a0);
}

void sipKXBELBookmarkImporterImpl::visitLeave(const KBookmarkGroup& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KXBELBookmarkImporterImpl::visitLeave(a0);
        return;
    }

    extern void sipVH_kio_66(sip_gilstate_t,PyObject *,const KBookmarkGroup&);

    sipVH_kio_66(sipGILState,meth,a0);
}

bool sipKXBELBookmarkImporterImpl::event(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        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,meth,a0);
}

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

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

    if (!meth)
        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,meth,a0,a1);
}

void sipKXBELBookmarkImporterImpl::timerEvent(QTimerEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

void sipKXBELBookmarkImporterImpl::childEvent(QChildEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

void sipKXBELBookmarkImporterImpl::customEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

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

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

    if (!meth)
    {
        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,meth,a0);
}

void sipKXBELBookmarkImporterImpl::disconnectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        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,meth,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 529 "/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 13040 "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 546 "/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 13082 "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[] = {{25, 255, 0}, {24, 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/kdebindings-4.5.5/python/pykde4/sip/kio/kbookmarkimporter.sip"
#include <kbookmarkimporter.h>
#line 13517 "sipkiopart5.cpp"

#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 13521 "sipkiopart5.cpp"
#line 39 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 13524 "sipkiopart5.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13527 "sipkiopart5.cpp"
#line 315 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13530 "sipkiopart5.cpp"
#line 303 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13533 "sipkiopart5.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 13536 "sipkiopart5.cpp"
#line 38 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 13539 "sipkiopart5.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 13542 "sipkiopart5.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 13545 "sipkiopart5.cpp"
#line 125 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 13548 "sipkiopart5.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 13551 "sipkiopart5.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 13554 "sipkiopart5.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 13557 "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 *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,sipName_KBookmarkImporterBase,sipName_parse);

    if (!meth)
        return;

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

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

QString sipKBookmarkImporterBase::findDefaultLocation(bool a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QString();

    extern QString sipVH_kio_70(sip_gilstate_t,PyObject *,bool);

    return sipVH_kio_70(sipGILState,meth,a0);
}

bool sipKBookmarkImporterBase::event(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        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,meth,a0);
}

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

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

    if (!meth)
        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,meth,a0,a1);
}

void sipKBookmarkImporterBase::timerEvent(QTimerEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

void sipKBookmarkImporterBase::childEvent(QChildEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

void sipKBookmarkImporterBase::customEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

void sipKBookmarkImporterBase::connectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        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,meth,a0);
}

void sipKBookmarkImporterBase::disconnectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        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,meth,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 529 "/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 13849 "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 546 "/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 13891 "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[] = {{133, 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/kdebindings-4.5.5/python/pykde4/sip/kio/kbookmarkexporter.sip"
#include <kbookmarkexporter.h>
#line 14346 "sipkiopart5.cpp"

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/kbookmarkmanager.sip"
#include <kbookmarkmanager.h>
#line 14350 "sipkiopart5.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 14353 "sipkiopart5.cpp"
#line 100 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 14356 "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 *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,sipName_KBookmarkExporterBase,sipName_write);

    if (!meth)
        return;

    extern void sipVH_kio_66(sip_gilstate_t,PyObject *,const KBookmarkGroup&);

    sipVH_kio_66(sipGILState,meth,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/kdebindings-4.5.5/python/pykde4/sip/kio/kbookmarkdombuilder.sip"
#include <kbookmarkdombuilder.h>
#line 14586 "sipkiopart5.cpp"

#line 100 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 14590 "sipkiopart5.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/kbookmarkmanager.sip"
#include <kbookmarkmanager.h>
#line 14593 "sipkiopart5.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 14596 "sipkiopart5.cpp"
#line 39 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 14599 "sipkiopart5.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 14602 "sipkiopart5.cpp"
#line 315 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 14605 "sipkiopart5.cpp"
#line 303 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 14608 "sipkiopart5.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 14611 "sipkiopart5.cpp"
#line 38 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 14614 "sipkiopart5.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 14617 "sipkiopart5.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 14620 "sipkiopart5.cpp"
#line 125 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 14623 "sipkiopart5.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 14626 "sipkiopart5.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 14629 "sipkiopart5.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 14632 "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 *meth;

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

    if (!meth)
        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,meth,a0);
}

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

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

    if (!meth)
        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,meth,a0,a1);
}

void sipKBookmarkDomBuilder::timerEvent(QTimerEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

void sipKBookmarkDomBuilder::childEvent(QChildEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

void sipKBookmarkDomBuilder::customEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

void sipKBookmarkDomBuilder::connectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        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,meth,a0);
}

void sipKBookmarkDomBuilder::disconnectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        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,meth,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 529 "/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 14916 "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 546 "/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 14958 "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[] = {{133, 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/kdebindings-4.5.5/python/pykde4/sip/kio/kbookmarkdialog.sip"
#include <kbookmarkdialog.h>
#line 15399 "sipkiopart5.cpp"

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/kbookmarkmanager.sip"
#include <kbookmarkmanager.h>
#line 15403 "sipkiopart5.cpp"
#line 40 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 15406 "sipkiopart5.cpp"
#line 100 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 15409 "sipkiopart5.cpp"
#line 205 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 15413 "sipkiopart5.cpp"
#line 82 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 15416 "sipkiopart5.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 15419 "sipkiopart5.cpp"
#line 40 "/usr/local/share/py-sip/QtGui/qtreewidget.sip"
#include <qtreewidget.h>
#line 15422 "sipkiopart5.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 15425 "sipkiopart5.cpp"
#line 33 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 15428 "sipkiopart5.cpp"
#line 344 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 15431 "sipkiopart5.cpp"
#line 431 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 15434 "sipkiopart5.cpp"
#line 464 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 15437 "sipkiopart5.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 15440 "sipkiopart5.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 15443 "sipkiopart5.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 15446 "sipkiopart5.cpp"
#line 36 "/usr/local/share/py-sip/QtGui/qlayout.sip"
#include <qlayout.h>
#line 15449 "sipkiopart5.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 15452 "sipkiopart5.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdeui/kpushbutton.sip"
#include <kpushbutton.h>
#line 15455 "sipkiopart5.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 15458 "sipkiopart5.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kconfigbase.sip"
#include <kconfigbase.h>
#line 15461 "sipkiopart5.cpp"
#line 36 "/usr/local/share/py-sip/QtGui/qmenu.sip"
#include <qmenu.h>
#line 15464 "sipkiopart5.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdeui/kguiitem.sip"
#include <kguiitem.h>
#line 15467 "sipkiopart5.cpp"
#line 33 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdeui/kicon.sip"
#include <kicon.h>
#line 15470 "sipkiopart5.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 15473 "sipkiopart5.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 15476 "sipkiopart5.cpp"
#line 39 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 15479 "sipkiopart5.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 15482 "sipkiopart5.cpp"
#line 475 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 15485 "sipkiopart5.cpp"
#line 418 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 15488 "sipkiopart5.cpp"
#line 453 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 15491 "sipkiopart5.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 15494 "sipkiopart5.cpp"
#line 44 "/usr/local/share/py-sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 15497 "sipkiopart5.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 15500 "sipkiopart5.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 15503 "sipkiopart5.cpp"
#line 38 "/usr/local/share/py-sip/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 15506 "sipkiopart5.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 15509 "sipkiopart5.cpp"
#line 36 "/usr/local/share/py-sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 15512 "sipkiopart5.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 15515 "sipkiopart5.cpp"
#line 40 "/usr/local/share/py-sip/QtGui/qregion.sip"
#include <qregion.h>
#line 15518 "sipkiopart5.cpp"
#line 40 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 15521 "sipkiopart5.cpp"
#line 40 "/usr/local/share/py-sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 611 "/usr/local/share/py-sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 15526 "sipkiopart5.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 15529 "sipkiopart5.cpp"
#line 36 "/usr/local/share/py-sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 15532 "sipkiopart5.cpp"
#line 36 "/usr/local/share/py-sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 15535 "sipkiopart5.cpp"
#line 40 "/usr/local/share/py-sip/QtGui/qfont.sip"
#include <qfont.h>
#line 15538 "sipkiopart5.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 15541 "sipkiopart5.cpp"
#line 40 "/usr/local/share/py-sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 15544 "sipkiopart5.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 15547 "sipkiopart5.cpp"
#line 504 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 522 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 15552 "sipkiopart5.cpp"
#line 547 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 15555 "sipkiopart5.cpp"
#line 598 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 15558 "sipkiopart5.cpp"
#line 571 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 15561 "sipkiopart5.cpp"
#line 587 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 15564 "sipkiopart5.cpp"
#line 650 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 15567 "sipkiopart5.cpp"
#line 296 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 15570 "sipkiopart5.cpp"
#line 405 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 15573 "sipkiopart5.cpp"
#line 391 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 15576 "sipkiopart5.cpp"
#line 372 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 15579 "sipkiopart5.cpp"
#line 275 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 15582 "sipkiopart5.cpp"
#line 236 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 15585 "sipkiopart5.cpp"
#line 36 "/usr/local/share/py-sip/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 15588 "sipkiopart5.cpp"
#line 66 "/usr/local/share/py-sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 15591 "sipkiopart5.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 15594 "sipkiopart5.cpp"
#line 125 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 15597 "sipkiopart5.cpp"
#line 36 "/usr/local/share/py-sip/QtGui/qaction.sip"
#include <qaction.h>
#line 15600 "sipkiopart5.cpp"
#line 40 "/usr/local/share/py-sip/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 15603 "sipkiopart5.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 15606 "sipkiopart5.cpp"
#line 40 "/usr/local/share/py-sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 15609 "sipkiopart5.cpp"
#line 40 "/usr/local/share/py-sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 15612 "sipkiopart5.cpp"
#line 40 "/usr/local/share/py-sip/QtGui/qicon.sip"
#include <qicon.h>
#line 15615 "sipkiopart5.cpp"
#line 40 "/usr/local/share/py-sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 15618 "sipkiopart5.cpp"
#line 40 "/usr/local/share/py-sip/QtGui/qstyle.sip"
#include <qstyle.h>
#line 15621 "sipkiopart5.cpp"
#line 315 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 15624 "sipkiopart5.cpp"
#line 303 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 15627 "sipkiopart5.cpp"
#line 38 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 15630 "sipkiopart5.cpp"
#line 125 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 15633 "sipkiopart5.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 15636 "sipkiopart5.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 15639 "sipkiopart5.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 15642 "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 *meth;

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

    if (!meth)
    {
        KBookmarkDialog::initLayout();
        return;
    }

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

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

void sipKBookmarkDialog::aboutToShow(KBookmarkDialog::BookmarkDialogMode a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KBookmarkDialog::aboutToShow(a0);
        return;
    }

    extern void sipVH_kio_72(sip_gilstate_t,PyObject *,int);

    sipVH_kio_72(sipGILState,meth,(int)a0);
}

void sipKBookmarkDialog::save(KBookmarkDialog::BookmarkDialogMode a0,const KBookmark& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KBookmarkDialog::save(a0,a1);
        return;
    }

    extern void sipVH_kio_71(sip_gilstate_t,PyObject *,int,const KBookmark&);

    sipVH_kio_71(sipGILState,meth,(int)a0,a1);
}

QSize sipKBookmarkDialog::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KDialog::sizeHint();

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

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

QSize sipKBookmarkDialog::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KDialog::minimumSizeHint();

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

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

void sipKBookmarkDialog::setCaption(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        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,meth,a0);
}

void sipKBookmarkDialog::setCaption(const QString& a0,bool a1)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        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,meth,a0,a1);
}

void sipKBookmarkDialog::setPlainCaption(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        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,meth,a0);
}

void sipKBookmarkDialog::hideEvent(QHideEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KDialog::hideEvent(a0);
        return;
    }

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

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

void sipKBookmarkDialog::closeEvent(QCloseEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KDialog::closeEvent(a0);
        return;
    }

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

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

void sipKBookmarkDialog::keyPressEvent(QKeyEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KDialog::keyPressEvent(a0);
        return;
    }

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

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

void sipKBookmarkDialog::slotButtonClicked(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_slotButtonClicked);

    if (!meth)
    {
        KBookmarkDialog::slotButtonClicked(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t,PyObject *,int);

    ((sipVH_QtCore_4)(sipModuleAPI_kio_QtCore->em_virthandlers[4]))(sipGILState,meth,a0);
}

void sipKBookmarkDialog::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_setVisible);

    if (!meth)
    {
        QDialog::setVisible(a0);
        return;
    }

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

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

void sipKBookmarkDialog::done(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_done);

    if (!meth)
    {
        QDialog::done(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t,PyObject *,int);

    ((sipVH_QtCore_4)(sipModuleAPI_kio_QtCore->em_virthandlers[4]))(sipGILState,meth,a0);
}

void sipKBookmarkDialog::accept()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_accept);

    if (!meth)
    {
        QDialog::accept();
        return;
    }

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

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

void sipKBookmarkDialog::reject()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        QDialog::reject();
        return;
    }

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

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

void sipKBookmarkDialog::showEvent(QShowEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_showEvent);

    if (!meth)
    {
        QDialog::showEvent(a0);
        return;
    }

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

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

void sipKBookmarkDialog::resizeEvent(QResizeEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_resizeEvent);

    if (!meth)
    {
        QDialog::resizeEvent(a0);
        return;
    }

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

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

void sipKBookmarkDialog::contextMenuEvent(QContextMenuEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!meth)
    {
        QDialog::contextMenuEvent(a0);
        return;
    }

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

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

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

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

    if (!meth)
        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,meth,a0,a1);
}

int sipKBookmarkDialog::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

int sipKBookmarkDialog::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        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,meth,a0);
}

QPaintEngine * sipKBookmarkDialog::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

bool sipKBookmarkDialog::event(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        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,meth,a0);
}

void sipKBookmarkDialog::mousePressEvent(QMouseEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_mousePressEvent);

    if (!meth)
    {
        QWidget::mousePressEvent(a0);
        return;
    }

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

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

void sipKBookmarkDialog::mouseReleaseEvent(QMouseEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!meth)
    {
        QWidget::mouseReleaseEvent(a0);
        return;
    }

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

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

void sipKBookmarkDialog::mouseDoubleClickEvent(QMouseEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

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

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

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

void sipKBookmarkDialog::mouseMoveEvent(QMouseEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!meth)
    {
        QWidget::mouseMoveEvent(a0);
        return;
    }

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

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

void sipKBookmarkDialog::wheelEvent(QWheelEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_wheelEvent);

    if (!meth)
    {
        QWidget::wheelEvent(a0);
        return;
    }

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

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

void sipKBookmarkDialog::keyReleaseEvent(QKeyEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_keyReleaseEvent);

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

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

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

void sipKBookmarkDialog::focusInEvent(QFocusEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_focusInEvent);

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

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

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

void sipKBookmarkDialog::focusOutEvent(QFocusEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_focusOutEvent);

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

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

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

void sipKBookmarkDialog::enterEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_enterEvent);

    if (!meth)
    {
        QWidget::enterEvent(a0);
        return;
    }

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

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

void sipKBookmarkDialog::leaveEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_leaveEvent);

    if (!meth)
    {
        QWidget::leaveEvent(a0);
        return;
    }

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

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

void sipKBookmarkDialog::paintEvent(QPaintEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_paintEvent);

    if (!meth)
    {
        QWidget::paintEvent(a0);
        return;
    }

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

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

void sipKBookmarkDialog::moveEvent(QMoveEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_moveEvent);

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

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

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

void sipKBookmarkDialog::tabletEvent(QTabletEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_tabletEvent);

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

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

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

void sipKBookmarkDialog::actionEvent(QActionEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_actionEvent);

    if (!meth)
    {
        QWidget::actionEvent(a0);
        return;
    }

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

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

void sipKBookmarkDialog::dragEnterEvent(QDragEnterEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_dragEnterEvent);

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

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

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

void sipKBookmarkDialog::dragMoveEvent(QDragMoveEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_dragMoveEvent);

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

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

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

void sipKBookmarkDialog::dragLeaveEvent(QDragLeaveEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_dragLeaveEvent);

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

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

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

void sipKBookmarkDialog::dropEvent(QDropEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_dropEvent);

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

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

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

void sipKBookmarkDialog::changeEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_changeEvent);

    if (!meth)
    {
        QWidget::changeEvent(a0);
        return;
    }

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

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

int sipKBookmarkDialog::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        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,meth,a0);
}

void sipKBookmarkDialog::inputMethodEvent(QInputMethodEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_inputMethodEvent);

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

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

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

QVariant sipKBookmarkDialog::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        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,meth,a0);
}

bool sipKBookmarkDialog::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!meth)
        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,meth,a0);
}

void sipKBookmarkDialog::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_enabledChange);

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

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

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

void sipKBookmarkDialog::paletteChange(const QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_paletteChange);

    if (!meth)
    {
        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,meth,a0);
}

void sipKBookmarkDialog::fontChange(const QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_fontChange);

    if (!meth)
    {
        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,meth,a0);
}

void sipKBookmarkDialog::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_windowActivationChange);

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

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

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

void sipKBookmarkDialog::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_languageChange);

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

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

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

void sipKBookmarkDialog::timerEvent(QTimerEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

void sipKBookmarkDialog::childEvent(QChildEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

void sipKBookmarkDialog::customEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

void sipKBookmarkDialog::connectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        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,meth,a0);
}

void sipKBookmarkDialog::disconnectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        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,meth,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 529 "/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 17143 "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 546 "/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 17185 "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 *);}
static PyObject *meth_KBookmarkDialog_create(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

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

        if (sipParseArgs(&sipParseErr, sipArgs, "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 *);}
static PyObject *meth_KBookmarkDialog_destroy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

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

        if (sipParseArgs(&sipParseErr, sipArgs, "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[] = {{78, 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), meth_KBookmarkDialog_create, METH_VARARGS, 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), meth_KBookmarkDialog_destroy, METH_VARARGS, 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, 20},
    {sipName_NewBookmark, sipKBookmarkDialog::NewBookmark, 20},
    {sipName_NewFolder, sipKBookmarkDialog::NewFolder, 20},
    {sipName_NewMultipleBookmarks, sipKBookmarkDialog::NewMultipleBookmarks, 20},
    {sipName_SelectFolder, sipKBookmarkDialog::SelectFolder, 20},
};


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/kdebindings-4.5.5/python/pykde4/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 19115 "sipkiopart5.cpp"

#line 100 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 19119 "sipkiopart5.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 19122 "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 *meth;

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

    if (!meth)
    {
        KBookmarkGroupTraverser::visit(a0);
        return;
    }

    extern void sipVH_kio_32(sip_gilstate_t,PyObject *,const KBookmark&);

    sipVH_kio_32(sipGILState,meth,a0);
}

void sipKBookmarkGroupTraverser::visitEnter(const KBookmarkGroup& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KBookmarkGroupTraverser::visitEnter(a0);
        return;
    }

    extern void sipVH_kio_66(sip_gilstate_t,PyObject *,const KBookmarkGroup&);

    sipVH_kio_66(sipGILState,meth,a0);
}

void sipKBookmarkGroupTraverser::visitLeave(const KBookmarkGroup& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KBookmarkGroupTraverser::visitLeave(a0);
        return;
    }

    extern void sipVH_kio_66(sip_gilstate_t,PyObject *,const KBookmarkGroup&);

    sipVH_kio_66(sipGILState,meth,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
};

#line 100 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 19495 "sipkiopart5.cpp"

#line 330 "/usr/local/share/py-sip/QtXml/qdom.sip"
#include <qdom.h>
#line 19499 "sipkiopart5.cpp"
#line 38 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 19502 "sipkiopart5.cpp"
#line 33 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 19505 "sipkiopart5.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 19508 "sipkiopart5.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 19511 "sipkiopart5.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 19514 "sipkiopart5.cpp"
#line 67 "/usr/local/share/py-sip/QtXml/qdom.sip"
#include <qdom.h>
#line 19517 "sipkiopart5.cpp"


class sipKBookmarkGroup : public KBookmarkGroup
{
public:
    sipKBookmarkGroup();
    sipKBookmarkGroup(const QDomElement&);
    sipKBookmarkGroup(const KBookmarkGroup&);
    ~sipKBookmarkGroup();

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QDomElement sipProtect_nextKnownTag(const QDomElement&,bool) const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKBookmarkGroup(const sipKBookmarkGroup &);
    sipKBookmarkGroup &operator = (const sipKBookmarkGroup &);
};

sipKBookmarkGroup::sipKBookmarkGroup(): KBookmarkGroup(), sipPySelf(0)
{
}

sipKBookmarkGroup::sipKBookmarkGroup(const QDomElement& a0): KBookmarkGroup(a0), sipPySelf(0)
{
}

sipKBookmarkGroup::sipKBookmarkGroup(const KBookmarkGroup& a0): KBookmarkGroup(a0), sipPySelf(0)
{
}

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

QDomElement sipKBookmarkGroup::sipProtect_nextKnownTag(const QDomElement& a0,bool a1) const
{
    return KBookmarkGroup::nextKnownTag(a0,a1);
}


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

    {
        KBookmarkGroup *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isOpen();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KBookmarkGroup *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        const KBookmark * a0;
        KBookmarkGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KBookmarkGroup, &sipCpp, sipType_KBookmark, &a0))
        {
            KBookmark *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KBookmark(sipCpp->previous(*a0));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KBookmark * a0;
        KBookmarkGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KBookmarkGroup, &sipCpp, sipType_KBookmark, &a0))
        {
            KBookmark *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KBookmark(sipCpp->next(*a0));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KBookmark * a0;
        KBookmarkGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KBookmarkGroup, &sipCpp, sipType_KBookmark, &a0))
        {
            int sipRes;

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

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KBookmarkGroup, &sipCpp, sipType_QString,&a0, &a0State))
        {
            KBookmarkGroup *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KBookmarkGroup(sipCpp->createNewFolder(*a0));
            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_KBookmarkGroup, sipName_createNewFolder, NULL);

    return NULL;
}


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

    {
        KBookmarkGroup *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        const KBookmark * a0;
        KBookmarkGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KBookmarkGroup, &sipCpp, sipType_KBookmark, &a0))
        {
            KBookmark *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KBookmark(sipCpp->addBookmark(*a0));
            Py_END_ALLOW_THREADS

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

    {
        const QString * a0;
        int a0State = 0;
        const KUrl * a1;
        const QString& a2def = QString();
        const QString * a2 = &a2def;
        int a2State = 0;
        KBookmarkGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J9|J1", &sipSelf, sipType_KBookmarkGroup, &sipCpp, sipType_QString,&a0, &a0State, sipType_KUrl, &a1, sipType_QString,&a2, &a2State))
        {
            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);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

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

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

    return NULL;
}


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

    {
        const KBookmark * a0;
        const KBookmark * a1;
        KBookmarkGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J9", &sipSelf, sipType_KBookmarkGroup, &sipCpp, sipType_KBookmark, &a0, sipType_KBookmark, &a1))
        {
            bool sipRes;

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KBookmark * a0;
        const KBookmark * a1;
        KBookmarkGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J9", &sipSelf, sipType_KBookmarkGroup, &sipCpp, sipType_KBookmark, &a0, sipType_KBookmark, &a1))
        {
            bool sipRes;

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KBookmark * a0;
        KBookmarkGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KBookmarkGroup, &sipCpp, sipType_KBookmark, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->deleteBookmark(*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_KBookmarkGroup, sipName_deleteBookmark, NULL);

    return NULL;
}


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

    {
        KBookmarkGroup *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isToolbarGroup();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KBookmarkGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KBookmarkGroup, &sipCpp))
        {
            QDomElement *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDomElement(sipCpp->findToolbar());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KBookmarkGroup *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<KUrl>(sipCpp->groupUrlList());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const QDomElement * a0;
        bool a1;
        sipKBookmarkGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9b", &sipSelf, sipType_KBookmarkGroup, &sipCpp, sipType_QDomElement, &a0, &a1))
        {
            QDomElement *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDomElement(sipCpp->sipProtect_nextKnownTag(*a0,a1));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    if (targetType == sipType_KBookmarkGroup)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KBookmark)->ctd_cast((KBookmark *)(KBookmarkGroup *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKBookmarkGroup *>(sipCppV);
    else
        delete reinterpret_cast<KBookmarkGroup *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


extern "C" {static void *array_KBookmarkGroup(SIP_SSIZE_T);}
static void *array_KBookmarkGroup(SIP_SSIZE_T sipNrElem)
{
    return new KBookmarkGroup[sipNrElem];
}


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


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

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


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

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QDomElement * a0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const KBookmarkGroup * a0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_KBookmarkGroup[] = {
    {SIP_MLNAME_CAST(sipName_addBookmark), meth_KBookmarkGroup_addBookmark, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_createNewFolder), meth_KBookmarkGroup_createNewFolder, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_createNewSeparator), meth_KBookmarkGroup_createNewSeparator, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_deleteBookmark), meth_KBookmarkGroup_deleteBookmark, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_findToolbar), meth_KBookmarkGroup_findToolbar, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_first), meth_KBookmarkGroup_first, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_groupUrlList), meth_KBookmarkGroup_groupUrlList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_indexOf), meth_KBookmarkGroup_indexOf, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isOpen), meth_KBookmarkGroup_isOpen, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isToolbarGroup), meth_KBookmarkGroup_isToolbarGroup, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_moveBookmark), meth_KBookmarkGroup_moveBookmark, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_moveItem), meth_KBookmarkGroup_moveItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_next), meth_KBookmarkGroup_next, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_nextKnownTag), meth_KBookmarkGroup_nextKnownTag, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_previous), meth_KBookmarkGroup_previous, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kio_KBookmarkGroup = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KBookmarkGroup,
        {0}
    },
    {
        sipNameNr_KBookmarkGroup,
        {0, 0, 1},
        15, methods_KBookmarkGroup,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KBookmarkGroup,
    0,
    init_KBookmarkGroup,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KBookmarkGroup,
    assign_KBookmarkGroup,
    array_KBookmarkGroup,
    copy_KBookmarkGroup,
    release_KBookmarkGroup,
    cast_KBookmarkGroup,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 20198 "sipkiopart5.cpp"

#line 36 "/usr/local/share/py-sip/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 20202 "sipkiopart5.cpp"
#line 211 "/usr/local/share/py-sip/QtXml/qdom.sip"
#include <qdom.h>
#line 20205 "sipkiopart5.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 20208 "sipkiopart5.cpp"


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

    {
        QMimeData * a0;
        KBookmark::List *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KBookmark_List, &sipCpp, sipType_QMimeData, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->populateMimeData(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_List, sipName_populateMimeData, NULL);

    return NULL;
}


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

    {
        const QMimeData * a0;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = KBookmark::List::canDecode(a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            QStringList *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(KBookmark::List::mimeDataTypes());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const QMimeData * a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J8", sipType_QMimeData, &a0))
        {
            KBookmark::List *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KBookmark::List(KBookmark::List::fromMimeData(a0));
            Py_END_ALLOW_THREADS

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

    {
        const QMimeData * a0;
        QDomDocument * a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "J8J9", sipType_QMimeData, &a0, sipType_QDomDocument, &a1))
        {
            KBookmark::List *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KBookmark::List(KBookmark::List::fromMimeData(a0,*a1));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    return NULL;
}


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

    delete reinterpret_cast<KBookmark::List *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


extern "C" {static void *array_KBookmark_List(SIP_SSIZE_T);}
static void *array_KBookmark_List(SIP_SSIZE_T sipNrElem)
{
    return new KBookmark::List[sipNrElem];
}


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


extern "C" {static void dealloc_KBookmark_List(sipSimpleWrapper *);}
static void dealloc_KBookmark_List(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KBookmark_List(sipGetAddress(sipSelf),0);
    }
}


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

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

            return sipCpp;
        }
    }

    {
        const KBookmark::List * a0;

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

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_KBookmark_List[] = {
    {SIP_MLNAME_CAST(sipName_canDecode), meth_KBookmark_List_canDecode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fromMimeData), meth_KBookmark_List_fromMimeData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mimeDataTypes), meth_KBookmark_List_mimeDataTypes, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_populateMimeData), meth_KBookmark_List_populateMimeData, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kio_KBookmark_List = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KBookmark__List,
        {0}
    },
    {
        sipNameNr_List,
        {12, 255, 0},
        4, methods_KBookmark_List,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_KBookmark_List,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KBookmark_List,
    assign_KBookmark_List,
    array_KBookmark_List,
    copy_KBookmark_List,
    release_KBookmark_List,
    cast_KBookmark_List,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 20480 "sipkiopart5.cpp"

#line 330 "/usr/local/share/py-sip/QtXml/qdom.sip"
#include <qdom.h>
#line 20484 "sipkiopart5.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 20487 "sipkiopart5.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 20490 "sipkiopart5.cpp"
#line 67 "/usr/local/share/py-sip/QtXml/qdom.sip"
#include <qdom.h>
#line 20493 "sipkiopart5.cpp"
#line 100 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 20496 "sipkiopart5.cpp"
#line 33 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 20499 "sipkiopart5.cpp"


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "J1J9|J1", sipType_QString,&a0, &a0State, sipType_KUrl, &a1, sipType_QString,&a2, &a2State))
        {
            KBookmark *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KBookmark(KBookmark::standaloneBookmark(*a0,*a1,*a2));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

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

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

    return NULL;
}


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

    {
        KBookmark *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isGroup();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KBookmark *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isSeparator();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KBookmark *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isNull();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KBookmark *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasParent();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KBookmark *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        KBookmark *sipCpp;

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

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

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KBookmark, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setFullText(*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_KBookmark, sipName_setFullText, NULL);

    return NULL;
}


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

    {
        KBookmark *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        const KUrl * a0;
        KBookmark *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KBookmark, &sipCpp, sipType_KUrl, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setUrl(*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_KBookmark, sipName_setUrl, NULL);

    return NULL;
}


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

    {
        KBookmark *sipCpp;

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

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

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KBookmark, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setIcon(*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_KBookmark, sipName_setIcon, NULL);

    return NULL;
}


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

    {
        KBookmark *sipCpp;

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

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

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KBookmark, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMimeType(*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_KBookmark, sipName_setMimeType, NULL);

    return NULL;
}


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

    {
        KBookmark *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->showInToolbar();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        KBookmark *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KBookmark, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setShowInToolbar(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_KBookmark, sipName_setShowInToolbar, NULL);

    return NULL;
}


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

    {
        KBookmark *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KBookmark, &sipCpp))
        {
            KBookmarkGroup *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KBookmarkGroup(sipCpp->parentGroup());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KBookmark *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KBookmark, &sipCpp))
        {
            KBookmarkGroup *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KBookmarkGroup(sipCpp->toGroup());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KBookmark *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        KBookmark *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->positionInParent();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    {
        const QString * a0;
        int a0State = 0;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = KBookmark::positionInParent(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyLong_FromUnsignedLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KBookmark *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KBookmark, &sipCpp))
        {
            QDomElement *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDomElement(sipCpp->internalElement());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KBookmark *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KBookmark::parentAddress(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

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

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

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KBookmark::previousAddress(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

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

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

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KBookmark::nextAddress(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

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

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

    return NULL;
}


extern "C" {static PyObject *meth_KBookmark_commonParent(PyObject *, PyObject *);}
static PyObject *meth_KBookmark_commonParent(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))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KBookmark::commonParent(*a0,*a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1b", &sipSelf, sipType_KBookmark, &sipCpp, sipType_QString,&a0, &a0State, &a1))
        {
            QDomNode *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDomNode(sipCpp->metaData(*a0,a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KBookmark, &sipCpp, sipType_QString,&a0, &a0State))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->metaDataItem(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBookmark, sipName_metaDataItem, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmark_setMetaDataItem(PyObject *, PyObject *);}
static PyObject *meth_KBookmark_setMetaDataItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString * a0;
        int a0State = 0;
        const QString * a1;
        int a1State = 0;
        KBookmark::MetaDataOverwriteMode a2 = KBookmark::OverwriteMetaData;
        KBookmark *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1|E", &sipSelf, sipType_KBookmark, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_KBookmark_MetaDataOverwriteMode, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMetaDataItem(*a0,*a1,a2);
            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_KBookmark, sipName_setMetaDataItem, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmark_populateMimeData(PyObject *, PyObject *);}
static PyObject *meth_KBookmark_populateMimeData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QMimeData * a0;
        KBookmark *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KBookmark, &sipCpp, sipType_QMimeData, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->populateMimeData(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_KBookmark, sipName_populateMimeData, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmark_description(PyObject *, PyObject *);}
static PyObject *meth_KBookmark_description(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KBookmark *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KBookmark, &sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->description());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBookmark, sipName_description, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmark_setDescription(PyObject *, PyObject *);}
static PyObject *meth_KBookmark_setDescription(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString * a0;
        int a0State = 0;
        KBookmark *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KBookmark, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDescription(*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_KBookmark, sipName_setDescription, NULL);

    return NULL;
}


extern "C" {static PyObject *slot_KBookmark___ne__(PyObject *,PyObject *);}
static PyObject *slot_KBookmark___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    KBookmark *sipCpp = reinterpret_cast<KBookmark *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KBookmark));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KBookmark * a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_KBookmark, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = !sipCpp->KBookmark::operator==(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kio,ne_slot,sipType_KBookmark,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KBookmark___eq__(PyObject *,PyObject *);}
static PyObject *slot_KBookmark___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    KBookmark *sipCpp = reinterpret_cast<KBookmark *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KBookmark));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KBookmark * a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_KBookmark, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->KBookmark::operator==(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kio,eq_slot,sipType_KBookmark,sipSelf,sipArg);
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KBookmark(void *, const sipTypeDef *);}
static void *cast_KBookmark(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_KBookmark)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KBookmark(void *, int);}
static void release_KBookmark(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<KBookmark *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KBookmark(void *, SIP_SSIZE_T, const void *);}
static void assign_KBookmark(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<KBookmark *>(sipDst)[sipDstIdx] = *reinterpret_cast<const KBookmark *>(sipSrc);
}


extern "C" {static void *array_KBookmark(SIP_SSIZE_T);}
static void *array_KBookmark(SIP_SSIZE_T sipNrElem)
{
    return new KBookmark[sipNrElem];
}


extern "C" {static void *copy_KBookmark(const void *, SIP_SSIZE_T);}
static void *copy_KBookmark(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new KBookmark(reinterpret_cast<const KBookmark *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_KBookmark(sipSimpleWrapper *);}
static void dealloc_KBookmark(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KBookmark(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_KBookmark(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_KBookmark(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    KBookmark *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KBookmark();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const QDomElement * a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QDomElement, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KBookmark(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const KBookmark * a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_KBookmark, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KBookmark(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_KBookmark[] = {
    {(void *)slot_KBookmark___ne__, ne_slot},
    {(void *)slot_KBookmark___eq__, eq_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_KBookmark[] = {
    {SIP_MLNAME_CAST(sipName_address), meth_KBookmark_address, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_commonParent), meth_KBookmark_commonParent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_description), meth_KBookmark_description, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fullText), meth_KBookmark_fullText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hasParent), meth_KBookmark_hasParent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_icon), meth_KBookmark_icon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_internalElement), meth_KBookmark_internalElement, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isGroup), meth_KBookmark_isGroup, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isNull), meth_KBookmark_isNull, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isSeparator), meth_KBookmark_isSeparator, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_metaData), meth_KBookmark_metaData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_metaDataItem), meth_KBookmark_metaDataItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mimeType), meth_KBookmark_mimeType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_nextAddress), meth_KBookmark_nextAddress, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_parentAddress), meth_KBookmark_parentAddress, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_parentGroup), meth_KBookmark_parentGroup, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_populateMimeData), meth_KBookmark_populateMimeData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_positionInParent), meth_KBookmark_positionInParent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_previousAddress), meth_KBookmark_previousAddress, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDescription), meth_KBookmark_setDescription, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setFullText), meth_KBookmark_setFullText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setIcon), meth_KBookmark_setIcon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMetaDataItem), meth_KBookmark_setMetaDataItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMimeType), meth_KBookmark_setMimeType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setShowInToolbar), meth_KBookmark_setShowInToolbar, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setUrl), meth_KBookmark_setUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showInToolbar), meth_KBookmark_showInToolbar, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_standaloneBookmark), meth_KBookmark_standaloneBookmark, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_text), meth_KBookmark_text, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toGroup), meth_KBookmark_toGroup, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateAccessMetadata), meth_KBookmark_updateAccessMetadata, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_url), meth_KBookmark_url, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KBookmark[] = {
    {sipName_DontOverwriteMetaData, KBookmark::DontOverwriteMetaData, 14},
    {sipName_OverwriteMetaData, KBookmark::OverwriteMetaData, 14},
};


pyqt4ClassTypeDef sipTypeDef_kio_KBookmark = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KBookmark,
        {0}
    },
    {
        sipNameNr_KBookmark,
        {0, 0, 1},
        32, methods_KBookmark,
        2, enummembers_KBookmark,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    slots_KBookmark,
    init_KBookmark,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KBookmark,
    assign_KBookmark,
    array_KBookmark,
    copy_KBookmark,
    release_KBookmark,
    cast_KBookmark,
    0,
    0,
    0
},
    0,
    0,
    0
};
