/*
 * Module code.
 *
 * Generated by SIP 4.8.2 on Sun Oct 11 20:13:02 2009
 */

#include "sipAPIkio.h"

#line 40 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kbookmarkimporter_opera.sip"
#include <kbookmarkimporter_opera.h>
#line 12 "sipkiopart7.cpp"

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kbookmarkmanager.sip"
#include <kbookmarkmanager.h>
#line 16 "sipkiopart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 19 "sipkiopart7.cpp"
#line 96 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 22 "sipkiopart7.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)
{
    extern void sipVH_kio_83(sip_gilstate_t,PyObject *,const KBookmarkGroup&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    sipVH_kio_83(sipGILState,meth,a0);
}


extern "C" {static PyObject *meth_KOperaBookmarkExporterImpl_write(PyObject *, PyObject *);}
static PyObject *meth_KOperaBookmarkExporterImpl_write(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KBookmarkGroup * a0;
        KOperaBookmarkExporterImpl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KOperaBookmarkExporterImpl,sipName_write);

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

    if (state & 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 *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KOperaBookmarkExporterImpl(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_KOperaBookmarkExporterImpl(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KOperaBookmarkExporterImpl(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    sipKOperaBookmarkExporterImpl *sipCpp = 0;

    if (!sipCpp)
    {
        KBookmarkManager * a0;
        const QString * a1;
        int a1State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"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);
        }
    }

    if (!sipCpp)
    {
        const KOperaBookmarkExporterImpl * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_KOperaBookmarkExporterImpl,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKOperaBookmarkExporterImpl(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KOperaBookmarkExporterImpl[] = {{22, 255, 1}};


static PyMethodDef methods_KOperaBookmarkExporterImpl[] = {
    {SIP_MLNAME_CAST(sipName_write), meth_KOperaBookmarkExporterImpl_write, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_kio_KOperaBookmarkExporterImpl = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KOperaBookmarkExporterImpl,
        {0}
    },
    sipNameNr_KOperaBookmarkExporterImpl,
    -1,
    -1,
    {0, 0, 1},
    supers_KOperaBookmarkExporterImpl,
    0,
    1, methods_KOperaBookmarkExporterImpl,
    0, 0,
    0, 0,
    init_KOperaBookmarkExporterImpl,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KOperaBookmarkExporterImpl,
    release_KOperaBookmarkExporterImpl,
    cast_KOperaBookmarkExporterImpl,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kbookmarkimporter_opera.sip"
#include <kbookmarkimporter_opera.h>
#line 251 "sipkiopart7.cpp"

#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 255 "sipkiopart7.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kbookmarkimporter.sip"
#include <kbookmarkimporter.h>
#line 258 "sipkiopart7.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 261 "sipkiopart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 264 "sipkiopart7.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 267 "sipkiopart7.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 270 "sipkiopart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 273 "sipkiopart7.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 304 "sipkiopart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 307 "sipkiopart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 310 "sipkiopart7.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 313 "sipkiopart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 316 "sipkiopart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 319 "sipkiopart7.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 322 "sipkiopart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 325 "sipkiopart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 328 "sipkiopart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 331 "sipkiopart7.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.
     */
    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()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

QString sipKOperaBookmarkImporterImpl::findDefaultLocation(bool a0) const
{
    extern QString sipVH_kio_87(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    return sipVH_kio_87(sipGILState,meth,a0);
}

bool sipKOperaBookmarkImporterImpl::event(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QObject::event(a0);

    return ((sipVH_QtCore_13)(sipModuleAPI_kio_QtCore->em_virthandlers[13]))(sipGILState,meth,a0);
}

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    return ((sipVH_QtCore_21)(sipModuleAPI_kio_QtCore->em_virthandlers[21]))(sipGILState,meth,a0,a1);
}

void sipKOperaBookmarkImporterImpl::timerEvent(QTimerEvent *a0)
{
    typedef void (*sipVH_QtCore_3)(sip_gilstate_t,PyObject *,QTimerEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_3)(sipModuleAPI_kio_QtCore->em_virthandlers[3]))(sipGILState,meth,a0);
}

void sipKOperaBookmarkImporterImpl::childEvent(QChildEvent *a0)
{
    typedef void (*sipVH_QtCore_20)(sip_gilstate_t,PyObject *,QChildEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_20)(sipModuleAPI_kio_QtCore->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipKOperaBookmarkImporterImpl::customEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_19)(sipModuleAPI_kio_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipKOperaBookmarkImporterImpl::connectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipKOperaBookmarkImporterImpl::disconnectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

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_receivers(PyObject *, PyObject *);}
static PyObject *meth_KOperaBookmarkImporterImpl_receivers(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        char * a0;
        sipKOperaBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KOperaBookmarkImporterImpl,&sipCpp,&a0))
        {
            int sipRes = 0;

#line 462 "/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)
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
#line 619 "sipkiopart7.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KOperaBookmarkImporterImpl_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_KOperaBookmarkImporterImpl_timerEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipKOperaBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&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(sipArgsParsed,sipName_KOperaBookmarkImporterImpl,sipName_timerEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KOperaBookmarkImporterImpl_childEvent(PyObject *, PyObject *);}
static PyObject *meth_KOperaBookmarkImporterImpl_childEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipKOperaBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&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(sipArgsParsed,sipName_KOperaBookmarkImporterImpl,sipName_childEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KOperaBookmarkImporterImpl_customEvent(PyObject *, PyObject *);}
static PyObject *meth_KOperaBookmarkImporterImpl_customEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKOperaBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&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(sipArgsParsed,sipName_KOperaBookmarkImporterImpl,sipName_customEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KOperaBookmarkImporterImpl_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_KOperaBookmarkImporterImpl_connectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKOperaBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&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(sipArgsParsed,sipName_KOperaBookmarkImporterImpl,sipName_connectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KOperaBookmarkImporterImpl_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_KOperaBookmarkImporterImpl_disconnectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKOperaBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&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(sipArgsParsed,sipName_KOperaBookmarkImporterImpl,sipName_disconnectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KOperaBookmarkImporterImpl_parse(PyObject *, PyObject *);}
static PyObject *meth_KOperaBookmarkImporterImpl_parse(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KOperaBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KOperaBookmarkImporterImpl,sipName_parse);

    return NULL;
}


extern "C" {static PyObject *meth_KOperaBookmarkImporterImpl_findDefaultLocation(PyObject *, PyObject *);}
static PyObject *meth_KOperaBookmarkImporterImpl_findDefaultLocation(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0 = 0;
        KOperaBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KOperaBookmarkImporterImpl,sipName_findDefaultLocation);

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

    if (state & 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 *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KOperaBookmarkImporterImpl(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_KOperaBookmarkImporterImpl(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KOperaBookmarkImporterImpl(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    sipKOperaBookmarkImporterImpl *sipCpp = 0;

    if (!sipCpp)
    {
        if (sipParseArgs(sipArgsParsed,sipArgs,""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKOperaBookmarkImporterImpl();
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef 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_timerEvent), meth_KOperaBookmarkImporterImpl_timerEvent, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_kio_KOperaBookmarkImporterImpl = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KOperaBookmarkImporterImpl,
        {0}
    },
    sipNameNr_KOperaBookmarkImporterImpl,
    -1,
    -1,
    {0, 0, 1},
    supers_KOperaBookmarkImporterImpl,
    0,
    8, methods_KOperaBookmarkImporterImpl,
    0, 0,
    0, 0,
    init_KOperaBookmarkImporterImpl,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KOperaBookmarkImporterImpl,
    release_KOperaBookmarkImporterImpl,
    cast_KOperaBookmarkImporterImpl,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KOperaBookmarkImporterImpl::staticMetaObject,
    0,
    0
};

#line 53 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kbookmarkimporter_ns.sip"
#include <kbookmarkimporter_ns.h>
#line 957 "sipkiopart7.cpp"

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kbookmarkmanager.sip"
#include <kbookmarkmanager.h>
#line 961 "sipkiopart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 964 "sipkiopart7.cpp"
#line 96 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 967 "sipkiopart7.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)
{
    extern void sipVH_kio_83(sip_gilstate_t,PyObject *,const KBookmarkGroup&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    sipVH_kio_83(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)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KBookmarkGroup * a0;
        KNSBookmarkExporterImpl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KNSBookmarkExporterImpl,sipName_write);

    return NULL;
}


extern "C" {static PyObject *meth_KNSBookmarkExporterImpl_setUtf8(PyObject *, PyObject *);}
static PyObject *meth_KNSBookmarkExporterImpl_setUtf8(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0;
        KNSBookmarkExporterImpl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KNSBookmarkExporterImpl,sipName_setUtf8);

    return NULL;
}


extern "C" {static PyObject *meth_KNSBookmarkExporterImpl_folderAsString(PyObject *, PyObject *);}
static PyObject *meth_KNSBookmarkExporterImpl_folderAsString(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KBookmarkGroup * a0;
        sipKNSBookmarkExporterImpl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ;",&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(sipArgsParsed,sipName_KNSBookmarkExporterImpl,sipName_folderAsString);

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

    if (state & 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 *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KNSBookmarkExporterImpl(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_KNSBookmarkExporterImpl(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KNSBookmarkExporterImpl(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    sipKNSBookmarkExporterImpl *sipCpp = 0;

    if (!sipCpp)
    {
        KBookmarkManager * a0;
        const QString * a1;
        int a1State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"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);
        }
    }

    if (!sipCpp)
    {
        const KNSBookmarkExporterImpl * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_KNSBookmarkExporterImpl,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKNSBookmarkExporterImpl(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef 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 pyqt4Type_kio_KNSBookmarkExporterImpl = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KNSBookmarkExporterImpl,
        {0}
    },
    sipNameNr_KNSBookmarkExporterImpl,
    -1,
    -1,
    {0, 0, 1},
    supers_KNSBookmarkExporterImpl,
    0,
    3, methods_KNSBookmarkExporterImpl,
    0, 0,
    0, 0,
    init_KNSBookmarkExporterImpl,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KNSBookmarkExporterImpl,
    release_KNSBookmarkExporterImpl,
    cast_KNSBookmarkExporterImpl,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 41 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kbookmarkimporter_ns.sip"
#include <kbookmarkimporter_ns.h>
#line 1264 "sipkiopart7.cpp"

#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 1268 "sipkiopart7.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kbookmarkimporter.sip"
#include <kbookmarkimporter.h>
#line 1271 "sipkiopart7.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 1274 "sipkiopart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1277 "sipkiopart7.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1280 "sipkiopart7.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1283 "sipkiopart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 1286 "sipkiopart7.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 1317 "sipkiopart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 1320 "sipkiopart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 1323 "sipkiopart7.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 1326 "sipkiopart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 1329 "sipkiopart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 1332 "sipkiopart7.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1335 "sipkiopart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 1338 "sipkiopart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 1341 "sipkiopart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 1344 "sipkiopart7.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.
     */
    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()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

QString sipKMozillaBookmarkImporterImpl::findDefaultLocation(bool a0) const
{
    extern QString sipVH_kio_87(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    return sipVH_kio_87(sipGILState,meth,a0);
}

bool sipKMozillaBookmarkImporterImpl::event(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QObject::event(a0);

    return ((sipVH_QtCore_13)(sipModuleAPI_kio_QtCore->em_virthandlers[13]))(sipGILState,meth,a0);
}

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    return ((sipVH_QtCore_21)(sipModuleAPI_kio_QtCore->em_virthandlers[21]))(sipGILState,meth,a0,a1);
}

void sipKMozillaBookmarkImporterImpl::timerEvent(QTimerEvent *a0)
{
    typedef void (*sipVH_QtCore_3)(sip_gilstate_t,PyObject *,QTimerEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_3)(sipModuleAPI_kio_QtCore->em_virthandlers[3]))(sipGILState,meth,a0);
}

void sipKMozillaBookmarkImporterImpl::childEvent(QChildEvent *a0)
{
    typedef void (*sipVH_QtCore_20)(sip_gilstate_t,PyObject *,QChildEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_20)(sipModuleAPI_kio_QtCore->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipKMozillaBookmarkImporterImpl::customEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_19)(sipModuleAPI_kio_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipKMozillaBookmarkImporterImpl::connectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipKMozillaBookmarkImporterImpl::disconnectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

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_receivers(PyObject *, PyObject *);}
static PyObject *meth_KMozillaBookmarkImporterImpl_receivers(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        char * a0;
        sipKMozillaBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KMozillaBookmarkImporterImpl,&sipCpp,&a0))
        {
            int sipRes = 0;

#line 462 "/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)
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
#line 1632 "sipkiopart7.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KMozillaBookmarkImporterImpl_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_KMozillaBookmarkImporterImpl_timerEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipKMozillaBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&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(sipArgsParsed,sipName_KMozillaBookmarkImporterImpl,sipName_timerEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KMozillaBookmarkImporterImpl_childEvent(PyObject *, PyObject *);}
static PyObject *meth_KMozillaBookmarkImporterImpl_childEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipKMozillaBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&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(sipArgsParsed,sipName_KMozillaBookmarkImporterImpl,sipName_childEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KMozillaBookmarkImporterImpl_customEvent(PyObject *, PyObject *);}
static PyObject *meth_KMozillaBookmarkImporterImpl_customEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKMozillaBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&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(sipArgsParsed,sipName_KMozillaBookmarkImporterImpl,sipName_customEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KMozillaBookmarkImporterImpl_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_KMozillaBookmarkImporterImpl_connectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKMozillaBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&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(sipArgsParsed,sipName_KMozillaBookmarkImporterImpl,sipName_connectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KMozillaBookmarkImporterImpl_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_KMozillaBookmarkImporterImpl_disconnectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKMozillaBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&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(sipArgsParsed,sipName_KMozillaBookmarkImporterImpl,sipName_disconnectNotify);

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

    if (state & 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 *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KMozillaBookmarkImporterImpl(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_KMozillaBookmarkImporterImpl(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KMozillaBookmarkImporterImpl(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    sipKMozillaBookmarkImporterImpl *sipCpp = 0;

    if (!sipCpp)
    {
        if (sipParseArgs(sipArgsParsed,sipArgs,""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKMozillaBookmarkImporterImpl();
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KMozillaBookmarkImporterImpl[] = {{182, 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_timerEvent), meth_KMozillaBookmarkImporterImpl_timerEvent, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_kio_KMozillaBookmarkImporterImpl = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KMozillaBookmarkImporterImpl,
        {0}
    },
    sipNameNr_KMozillaBookmarkImporterImpl,
    -1,
    -1,
    {0, 0, 1},
    supers_KMozillaBookmarkImporterImpl,
    0,
    6, methods_KMozillaBookmarkImporterImpl,
    0, 0,
    0, 0,
    init_KMozillaBookmarkImporterImpl,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KMozillaBookmarkImporterImpl,
    release_KMozillaBookmarkImporterImpl,
    cast_KMozillaBookmarkImporterImpl,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KMozillaBookmarkImporterImpl::staticMetaObject,
    0,
    0
};

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kbookmarkimporter_ns.sip"
#include <kbookmarkimporter_ns.h>
#line 1912 "sipkiopart7.cpp"

#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 1916 "sipkiopart7.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kbookmarkimporter.sip"
#include <kbookmarkimporter.h>
#line 1919 "sipkiopart7.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 1922 "sipkiopart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1925 "sipkiopart7.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1928 "sipkiopart7.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1931 "sipkiopart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 1934 "sipkiopart7.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 1965 "sipkiopart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 1968 "sipkiopart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 1971 "sipkiopart7.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 1974 "sipkiopart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 1977 "sipkiopart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 1980 "sipkiopart7.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1983 "sipkiopart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 1986 "sipkiopart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 1989 "sipkiopart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 1992 "sipkiopart7.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.
     */
    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()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

QString sipKNSBookmarkImporterImpl::findDefaultLocation(bool a0) const
{
    extern QString sipVH_kio_87(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    return sipVH_kio_87(sipGILState,meth,a0);
}

bool sipKNSBookmarkImporterImpl::event(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QObject::event(a0);

    return ((sipVH_QtCore_13)(sipModuleAPI_kio_QtCore->em_virthandlers[13]))(sipGILState,meth,a0);
}

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    return ((sipVH_QtCore_21)(sipModuleAPI_kio_QtCore->em_virthandlers[21]))(sipGILState,meth,a0,a1);
}

void sipKNSBookmarkImporterImpl::timerEvent(QTimerEvent *a0)
{
    typedef void (*sipVH_QtCore_3)(sip_gilstate_t,PyObject *,QTimerEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_3)(sipModuleAPI_kio_QtCore->em_virthandlers[3]))(sipGILState,meth,a0);
}

void sipKNSBookmarkImporterImpl::childEvent(QChildEvent *a0)
{
    typedef void (*sipVH_QtCore_20)(sip_gilstate_t,PyObject *,QChildEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_20)(sipModuleAPI_kio_QtCore->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipKNSBookmarkImporterImpl::customEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_19)(sipModuleAPI_kio_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipKNSBookmarkImporterImpl::connectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipKNSBookmarkImporterImpl::disconnectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

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_receivers(PyObject *, PyObject *);}
static PyObject *meth_KNSBookmarkImporterImpl_receivers(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        char * a0;
        sipKNSBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KNSBookmarkImporterImpl,&sipCpp,&a0))
        {
            int sipRes = 0;

#line 462 "/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)
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
#line 2280 "sipkiopart7.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KNSBookmarkImporterImpl_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_KNSBookmarkImporterImpl_timerEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipKNSBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&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(sipArgsParsed,sipName_KNSBookmarkImporterImpl,sipName_timerEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KNSBookmarkImporterImpl_childEvent(PyObject *, PyObject *);}
static PyObject *meth_KNSBookmarkImporterImpl_childEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipKNSBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&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(sipArgsParsed,sipName_KNSBookmarkImporterImpl,sipName_childEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KNSBookmarkImporterImpl_customEvent(PyObject *, PyObject *);}
static PyObject *meth_KNSBookmarkImporterImpl_customEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKNSBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&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(sipArgsParsed,sipName_KNSBookmarkImporterImpl,sipName_customEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KNSBookmarkImporterImpl_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_KNSBookmarkImporterImpl_connectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKNSBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&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(sipArgsParsed,sipName_KNSBookmarkImporterImpl,sipName_connectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KNSBookmarkImporterImpl_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_KNSBookmarkImporterImpl_disconnectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKNSBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&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(sipArgsParsed,sipName_KNSBookmarkImporterImpl,sipName_disconnectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KNSBookmarkImporterImpl_setUtf8(PyObject *, PyObject *);}
static PyObject *meth_KNSBookmarkImporterImpl_setUtf8(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0;
        KNSBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KNSBookmarkImporterImpl,sipName_setUtf8);

    return NULL;
}


extern "C" {static PyObject *meth_KNSBookmarkImporterImpl_parse(PyObject *, PyObject *);}
static PyObject *meth_KNSBookmarkImporterImpl_parse(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KNSBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KNSBookmarkImporterImpl,sipName_parse);

    return NULL;
}


extern "C" {static PyObject *meth_KNSBookmarkImporterImpl_findDefaultLocation(PyObject *, PyObject *);}
static PyObject *meth_KNSBookmarkImporterImpl_findDefaultLocation(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0 = 0;
        KNSBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KNSBookmarkImporterImpl,sipName_findDefaultLocation);

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

    if (state & 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 *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KNSBookmarkImporterImpl(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_KNSBookmarkImporterImpl(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KNSBookmarkImporterImpl(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    sipKNSBookmarkImporterImpl *sipCpp = 0;

    if (!sipCpp)
    {
        if (sipParseArgs(sipArgsParsed,sipArgs,""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKNSBookmarkImporterImpl();
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef 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_setUtf8), meth_KNSBookmarkImporterImpl_setUtf8, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KNSBookmarkImporterImpl_timerEvent, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_kio_KNSBookmarkImporterImpl = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KNSBookmarkImporterImpl,
        {0}
    },
    sipNameNr_KNSBookmarkImporterImpl,
    -1,
    -1,
    {0, 0, 1},
    supers_KNSBookmarkImporterImpl,
    0,
    9, methods_KNSBookmarkImporterImpl,
    0, 0,
    0, 0,
    init_KNSBookmarkImporterImpl,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KNSBookmarkImporterImpl,
    release_KNSBookmarkImporterImpl,
    cast_KNSBookmarkImporterImpl,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KNSBookmarkImporterImpl::staticMetaObject,
    0,
    0
};

#line 40 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kbookmarkimporter_ie.sip"
#include <kbookmarkimporter_ie.h>
#line 2646 "sipkiopart7.cpp"

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kbookmarkmanager.sip"
#include <kbookmarkmanager.h>
#line 2650 "sipkiopart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 2653 "sipkiopart7.cpp"
#line 96 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 2656 "sipkiopart7.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)
{
    extern void sipVH_kio_83(sip_gilstate_t,PyObject *,const KBookmarkGroup&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    sipVH_kio_83(sipGILState,meth,a0);
}


extern "C" {static PyObject *meth_KIEBookmarkExporterImpl_write(PyObject *, PyObject *);}
static PyObject *meth_KIEBookmarkExporterImpl_write(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KBookmarkGroup * a0;
        KIEBookmarkExporterImpl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KIEBookmarkExporterImpl,sipName_write);

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

    if (state & 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 *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KIEBookmarkExporterImpl(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_KIEBookmarkExporterImpl(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KIEBookmarkExporterImpl(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    sipKIEBookmarkExporterImpl *sipCpp = 0;

    if (!sipCpp)
    {
        KBookmarkManager * a0;
        const QString * a1;
        int a1State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"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);
        }
    }

    if (!sipCpp)
    {
        const KIEBookmarkExporterImpl * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_KIEBookmarkExporterImpl,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKIEBookmarkExporterImpl(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KIEBookmarkExporterImpl[] = {{22, 255, 1}};


static PyMethodDef methods_KIEBookmarkExporterImpl[] = {
    {SIP_MLNAME_CAST(sipName_write), meth_KIEBookmarkExporterImpl_write, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_kio_KIEBookmarkExporterImpl = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KIEBookmarkExporterImpl,
        {0}
    },
    sipNameNr_KIEBookmarkExporterImpl,
    -1,
    -1,
    {0, 0, 1},
    supers_KIEBookmarkExporterImpl,
    0,
    1, methods_KIEBookmarkExporterImpl,
    0, 0,
    0, 0,
    init_KIEBookmarkExporterImpl,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KIEBookmarkExporterImpl,
    release_KIEBookmarkExporterImpl,
    cast_KIEBookmarkExporterImpl,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kbookmarkimporter_ie.sip"
#include <kbookmarkimporter_ie.h>
#line 2885 "sipkiopart7.cpp"

#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 2889 "sipkiopart7.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kbookmarkimporter.sip"
#include <kbookmarkimporter.h>
#line 2892 "sipkiopart7.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 2895 "sipkiopart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2898 "sipkiopart7.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2901 "sipkiopart7.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2904 "sipkiopart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 2907 "sipkiopart7.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 2938 "sipkiopart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 2941 "sipkiopart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 2944 "sipkiopart7.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 2947 "sipkiopart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 2950 "sipkiopart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 2953 "sipkiopart7.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2956 "sipkiopart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 2959 "sipkiopart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 2962 "sipkiopart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 2965 "sipkiopart7.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.
     */
    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()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

QString sipKIEBookmarkImporterImpl::findDefaultLocation(bool a0) const
{
    extern QString sipVH_kio_87(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    return sipVH_kio_87(sipGILState,meth,a0);
}

bool sipKIEBookmarkImporterImpl::event(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QObject::event(a0);

    return ((sipVH_QtCore_13)(sipModuleAPI_kio_QtCore->em_virthandlers[13]))(sipGILState,meth,a0);
}

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    return ((sipVH_QtCore_21)(sipModuleAPI_kio_QtCore->em_virthandlers[21]))(sipGILState,meth,a0,a1);
}

void sipKIEBookmarkImporterImpl::timerEvent(QTimerEvent *a0)
{
    typedef void (*sipVH_QtCore_3)(sip_gilstate_t,PyObject *,QTimerEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_3)(sipModuleAPI_kio_QtCore->em_virthandlers[3]))(sipGILState,meth,a0);
}

void sipKIEBookmarkImporterImpl::childEvent(QChildEvent *a0)
{
    typedef void (*sipVH_QtCore_20)(sip_gilstate_t,PyObject *,QChildEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_20)(sipModuleAPI_kio_QtCore->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipKIEBookmarkImporterImpl::customEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_19)(sipModuleAPI_kio_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipKIEBookmarkImporterImpl::connectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipKIEBookmarkImporterImpl::disconnectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

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_receivers(PyObject *, PyObject *);}
static PyObject *meth_KIEBookmarkImporterImpl_receivers(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        char * a0;
        sipKIEBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KIEBookmarkImporterImpl,&sipCpp,&a0))
        {
            int sipRes = 0;

#line 462 "/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)
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
#line 3253 "sipkiopart7.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KIEBookmarkImporterImpl_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_KIEBookmarkImporterImpl_timerEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipKIEBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&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(sipArgsParsed,sipName_KIEBookmarkImporterImpl,sipName_timerEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KIEBookmarkImporterImpl_childEvent(PyObject *, PyObject *);}
static PyObject *meth_KIEBookmarkImporterImpl_childEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipKIEBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&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(sipArgsParsed,sipName_KIEBookmarkImporterImpl,sipName_childEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KIEBookmarkImporterImpl_customEvent(PyObject *, PyObject *);}
static PyObject *meth_KIEBookmarkImporterImpl_customEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKIEBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&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(sipArgsParsed,sipName_KIEBookmarkImporterImpl,sipName_customEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KIEBookmarkImporterImpl_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_KIEBookmarkImporterImpl_connectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKIEBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&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(sipArgsParsed,sipName_KIEBookmarkImporterImpl,sipName_connectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KIEBookmarkImporterImpl_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_KIEBookmarkImporterImpl_disconnectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKIEBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&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(sipArgsParsed,sipName_KIEBookmarkImporterImpl,sipName_disconnectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KIEBookmarkImporterImpl_parse(PyObject *, PyObject *);}
static PyObject *meth_KIEBookmarkImporterImpl_parse(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KIEBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KIEBookmarkImporterImpl,sipName_parse);

    return NULL;
}


extern "C" {static PyObject *meth_KIEBookmarkImporterImpl_findDefaultLocation(PyObject *, PyObject *);}
static PyObject *meth_KIEBookmarkImporterImpl_findDefaultLocation(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0 = 0;
        KIEBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KIEBookmarkImporterImpl,sipName_findDefaultLocation);

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

    if (state & 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 *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KIEBookmarkImporterImpl(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_KIEBookmarkImporterImpl(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KIEBookmarkImporterImpl(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    sipKIEBookmarkImporterImpl *sipCpp = 0;

    if (!sipCpp)
    {
        if (sipParseArgs(sipArgsParsed,sipArgs,""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKIEBookmarkImporterImpl();
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef 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_timerEvent), meth_KIEBookmarkImporterImpl_timerEvent, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_kio_KIEBookmarkImporterImpl = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KIEBookmarkImporterImpl,
        {0}
    },
    sipNameNr_KIEBookmarkImporterImpl,
    -1,
    -1,
    {0, 0, 1},
    supers_KIEBookmarkImporterImpl,
    0,
    8, methods_KIEBookmarkImporterImpl,
    0, 0,
    0, 0,
    init_KIEBookmarkImporterImpl,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KIEBookmarkImporterImpl,
    release_KIEBookmarkImporterImpl,
    cast_KIEBookmarkImporterImpl,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KIEBookmarkImporterImpl::staticMetaObject,
    0,
    0
};

#line 46 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kbookmarkimporter_crash.sip"
#include <kbookmarkimporter_crash.h>
#line 3591 "sipkiopart7.cpp"

#line 46 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 3595 "sipkiopart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 3598 "sipkiopart7.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kbookmarkimporter.sip"
#include <kbookmarkimporter.h>
#line 3601 "sipkiopart7.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 3604 "sipkiopart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 3607 "sipkiopart7.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 3610 "sipkiopart7.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 3613 "sipkiopart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 3616 "sipkiopart7.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 3647 "sipkiopart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 3650 "sipkiopart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 3653 "sipkiopart7.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 3656 "sipkiopart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 3659 "sipkiopart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 3662 "sipkiopart7.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 3665 "sipkiopart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 3668 "sipkiopart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 3671 "sipkiopart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 3674 "sipkiopart7.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.
     */
    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()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

QString sipKCrashBookmarkImporterImpl::findDefaultLocation(bool a0) const
{
    extern QString sipVH_kio_87(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    return sipVH_kio_87(sipGILState,meth,a0);
}

bool sipKCrashBookmarkImporterImpl::event(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QObject::event(a0);

    return ((sipVH_QtCore_13)(sipModuleAPI_kio_QtCore->em_virthandlers[13]))(sipGILState,meth,a0);
}

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    return ((sipVH_QtCore_21)(sipModuleAPI_kio_QtCore->em_virthandlers[21]))(sipGILState,meth,a0,a1);
}

void sipKCrashBookmarkImporterImpl::timerEvent(QTimerEvent *a0)
{
    typedef void (*sipVH_QtCore_3)(sip_gilstate_t,PyObject *,QTimerEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_3)(sipModuleAPI_kio_QtCore->em_virthandlers[3]))(sipGILState,meth,a0);
}

void sipKCrashBookmarkImporterImpl::childEvent(QChildEvent *a0)
{
    typedef void (*sipVH_QtCore_20)(sip_gilstate_t,PyObject *,QChildEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_20)(sipModuleAPI_kio_QtCore->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipKCrashBookmarkImporterImpl::customEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_19)(sipModuleAPI_kio_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipKCrashBookmarkImporterImpl::connectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipKCrashBookmarkImporterImpl::disconnectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

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_receivers(PyObject *, PyObject *);}
static PyObject *meth_KCrashBookmarkImporterImpl_receivers(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        char * a0;
        sipKCrashBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KCrashBookmarkImporterImpl,&sipCpp,&a0))
        {
            int sipRes = 0;

#line 462 "/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)
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
#line 3962 "sipkiopart7.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KCrashBookmarkImporterImpl_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_KCrashBookmarkImporterImpl_timerEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipKCrashBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&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(sipArgsParsed,sipName_KCrashBookmarkImporterImpl,sipName_timerEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KCrashBookmarkImporterImpl_childEvent(PyObject *, PyObject *);}
static PyObject *meth_KCrashBookmarkImporterImpl_childEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipKCrashBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&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(sipArgsParsed,sipName_KCrashBookmarkImporterImpl,sipName_childEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KCrashBookmarkImporterImpl_customEvent(PyObject *, PyObject *);}
static PyObject *meth_KCrashBookmarkImporterImpl_customEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKCrashBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&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(sipArgsParsed,sipName_KCrashBookmarkImporterImpl,sipName_customEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KCrashBookmarkImporterImpl_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_KCrashBookmarkImporterImpl_connectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKCrashBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&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(sipArgsParsed,sipName_KCrashBookmarkImporterImpl,sipName_connectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KCrashBookmarkImporterImpl_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_KCrashBookmarkImporterImpl_disconnectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKCrashBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&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(sipArgsParsed,sipName_KCrashBookmarkImporterImpl,sipName_disconnectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KCrashBookmarkImporterImpl_setShouldDelete(PyObject *, PyObject *);}
static PyObject *meth_KCrashBookmarkImporterImpl_setShouldDelete(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0;
        KCrashBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KCrashBookmarkImporterImpl,sipName_setShouldDelete);

    return NULL;
}


extern "C" {static PyObject *meth_KCrashBookmarkImporterImpl_parse(PyObject *, PyObject *);}
static PyObject *meth_KCrashBookmarkImporterImpl_parse(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KCrashBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KCrashBookmarkImporterImpl,sipName_parse);

    return NULL;
}


extern "C" {static PyObject *meth_KCrashBookmarkImporterImpl_findDefaultLocation(PyObject *, PyObject *);}
static PyObject *meth_KCrashBookmarkImporterImpl_findDefaultLocation(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0 = 0;
        KCrashBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KCrashBookmarkImporterImpl,sipName_findDefaultLocation);

    return NULL;
}


extern "C" {static PyObject *meth_KCrashBookmarkImporterImpl_getCrashLogs(PyObject *, PyObject *);}
static PyObject *meth_KCrashBookmarkImporterImpl_getCrashLogs(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KCrashBookmarkImporterImpl,sipName_getCrashLogs);

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

    if (state & 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 *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KCrashBookmarkImporterImpl(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_KCrashBookmarkImporterImpl(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KCrashBookmarkImporterImpl(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    sipKCrashBookmarkImporterImpl *sipCpp = 0;

    if (!sipCpp)
    {
        if (sipParseArgs(sipArgsParsed,sipArgs,""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKCrashBookmarkImporterImpl();
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef 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_setShouldDelete), meth_KCrashBookmarkImporterImpl_setShouldDelete, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KCrashBookmarkImporterImpl_timerEvent, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_kio_KCrashBookmarkImporterImpl = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KCrashBookmarkImporterImpl,
        {0}
    },
    sipNameNr_KCrashBookmarkImporterImpl,
    -1,
    -1,
    {0, 0, 1},
    supers_KCrashBookmarkImporterImpl,
    0,
    10, methods_KCrashBookmarkImporterImpl,
    0, 0,
    0, 0,
    init_KCrashBookmarkImporterImpl,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KCrashBookmarkImporterImpl,
    release_KCrashBookmarkImporterImpl,
    cast_KCrashBookmarkImporterImpl,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KCrashBookmarkImporterImpl::staticMetaObject,
    0,
    0
};

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kbookmarkimporter_crash.sip"
#include <kbookmarkimporter_crash.h>
#line 4354 "sipkiopart7.cpp"

#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 4358 "sipkiopart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4361 "sipkiopart7.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4364 "sipkiopart7.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4367 "sipkiopart7.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 4370 "sipkiopart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 4373 "sipkiopart7.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 4404 "sipkiopart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 4407 "sipkiopart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 4410 "sipkiopart7.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 4413 "sipkiopart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 4416 "sipkiopart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 4419 "sipkiopart7.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 4422 "sipkiopart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 4425 "sipkiopart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 4428 "sipkiopart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 4431 "sipkiopart7.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.
     */
    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)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QObject::event(a0);

    return ((sipVH_QtCore_13)(sipModuleAPI_kio_QtCore->em_virthandlers[13]))(sipGILState,meth,a0);
}

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    return ((sipVH_QtCore_21)(sipModuleAPI_kio_QtCore->em_virthandlers[21]))(sipGILState,meth,a0,a1);
}

void sipKCrashBookmarkImporter::timerEvent(QTimerEvent *a0)
{
    typedef void (*sipVH_QtCore_3)(sip_gilstate_t,PyObject *,QTimerEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_3)(sipModuleAPI_kio_QtCore->em_virthandlers[3]))(sipGILState,meth,a0);
}

void sipKCrashBookmarkImporter::childEvent(QChildEvent *a0)
{
    typedef void (*sipVH_QtCore_20)(sip_gilstate_t,PyObject *,QChildEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_20)(sipModuleAPI_kio_QtCore->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipKCrashBookmarkImporter::customEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_19)(sipModuleAPI_kio_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipKCrashBookmarkImporter::connectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipKCrashBookmarkImporter::disconnectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

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_receivers(PyObject *, PyObject *);}
static PyObject *meth_KCrashBookmarkImporter_receivers(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        char * a0;
        sipKCrashBookmarkImporter *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KCrashBookmarkImporter,&sipCpp,&a0))
        {
            int sipRes = 0;

#line 462 "/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)
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
#line 4684 "sipkiopart7.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KCrashBookmarkImporter_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_KCrashBookmarkImporter_timerEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipKCrashBookmarkImporter *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&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(sipArgsParsed,sipName_KCrashBookmarkImporter,sipName_timerEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KCrashBookmarkImporter_childEvent(PyObject *, PyObject *);}
static PyObject *meth_KCrashBookmarkImporter_childEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipKCrashBookmarkImporter *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&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(sipArgsParsed,sipName_KCrashBookmarkImporter,sipName_childEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KCrashBookmarkImporter_customEvent(PyObject *, PyObject *);}
static PyObject *meth_KCrashBookmarkImporter_customEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKCrashBookmarkImporter *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&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(sipArgsParsed,sipName_KCrashBookmarkImporter,sipName_customEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KCrashBookmarkImporter_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_KCrashBookmarkImporter_connectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKCrashBookmarkImporter *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&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(sipArgsParsed,sipName_KCrashBookmarkImporter,sipName_connectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KCrashBookmarkImporter_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_KCrashBookmarkImporter_disconnectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKCrashBookmarkImporter *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&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(sipArgsParsed,sipName_KCrashBookmarkImporter,sipName_disconnectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KCrashBookmarkImporter_parseCrashBookmarks(PyObject *, PyObject *);}
static PyObject *meth_KCrashBookmarkImporter_parseCrashBookmarks(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0 = 1;
        KCrashBookmarkImporter *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KCrashBookmarkImporter,sipName_parseCrashBookmarks);

    return NULL;
}


extern "C" {static PyObject *meth_KCrashBookmarkImporter_crashBookmarksDir(PyObject *, PyObject *);}
static PyObject *meth_KCrashBookmarkImporter_crashBookmarksDir(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KCrashBookmarkImporter,sipName_crashBookmarksDir);

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

    if (state & 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 *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KCrashBookmarkImporter(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_KCrashBookmarkImporter(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KCrashBookmarkImporter(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    sipKCrashBookmarkImporter *sipCpp = 0;

    if (!sipCpp)
    {
        const QString * a0;
        int a0State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"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);
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KCrashBookmarkImporter[] = {{111, 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_timerEvent), meth_KCrashBookmarkImporter_timerEvent, METH_VARARGS, NULL}
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_KCrashBookmarkImporter[] = {
    {"endFolder()", 0},
    {"newSeparator()", 0},
    {"newFolder(const QString&,bool,const QString&)", 0},
    {"newBookmark(const QString&,const QString&,const QString&)", 0},
    {0, 0}
};


pyqt4ClassTypeDef pyqt4Type_kio_KCrashBookmarkImporter = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KCrashBookmarkImporter,
        {0}
    },
    sipNameNr_KCrashBookmarkImporter,
    -1,
    -1,
    {0, 0, 1},
    supers_KCrashBookmarkImporter,
    0,
    8, methods_KCrashBookmarkImporter,
    0, 0,
    0, 0,
    init_KCrashBookmarkImporter,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KCrashBookmarkImporter,
    release_KCrashBookmarkImporter,
    cast_KCrashBookmarkImporter,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KCrashBookmarkImporter::staticMetaObject,
    0,
    pyqt4_signals_KCrashBookmarkImporter
};

#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kbookmarkimporter.sip"
#include <kbookmarkimporter.h>
#line 5033 "sipkiopart7.cpp"

#line 96 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 5037 "sipkiopart7.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 5040 "sipkiopart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 5043 "sipkiopart7.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kbookmarkimporter.sip"
#include <kbookmarkimporter.h>
#line 5046 "sipkiopart7.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 5049 "sipkiopart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 5052 "sipkiopart7.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 5055 "sipkiopart7.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 5058 "sipkiopart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 5061 "sipkiopart7.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 5092 "sipkiopart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 5095 "sipkiopart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 5098 "sipkiopart7.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 5101 "sipkiopart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 5104 "sipkiopart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 5107 "sipkiopart7.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 5110 "sipkiopart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 5113 "sipkiopart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 5116 "sipkiopart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 5119 "sipkiopart7.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&);
    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()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

QString sipKXBELBookmarkImporterImpl::findDefaultLocation(bool a0) const
{
    extern QString sipVH_kio_87(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    return sipVH_kio_87(sipGILState,meth,a0);
}

void sipKXBELBookmarkImporterImpl::visit(const KBookmark& a0)
{
    extern void sipVH_kio_81(sip_gilstate_t,PyObject *,const KBookmark&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    sipVH_kio_81(sipGILState,meth,a0);
}

void sipKXBELBookmarkImporterImpl::visitEnter(const KBookmarkGroup& a0)
{
    extern void sipVH_kio_83(sip_gilstate_t,PyObject *,const KBookmarkGroup&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    sipVH_kio_83(sipGILState,meth,a0);
}

void sipKXBELBookmarkImporterImpl::visitLeave(const KBookmarkGroup& a0)
{
    extern void sipVH_kio_83(sip_gilstate_t,PyObject *,const KBookmarkGroup&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    sipVH_kio_83(sipGILState,meth,a0);
}

bool sipKXBELBookmarkImporterImpl::event(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QObject::event(a0);

    return ((sipVH_QtCore_13)(sipModuleAPI_kio_QtCore->em_virthandlers[13]))(sipGILState,meth,a0);
}

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    return ((sipVH_QtCore_21)(sipModuleAPI_kio_QtCore->em_virthandlers[21]))(sipGILState,meth,a0,a1);
}

void sipKXBELBookmarkImporterImpl::timerEvent(QTimerEvent *a0)
{
    typedef void (*sipVH_QtCore_3)(sip_gilstate_t,PyObject *,QTimerEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_3)(sipModuleAPI_kio_QtCore->em_virthandlers[3]))(sipGILState,meth,a0);
}

void sipKXBELBookmarkImporterImpl::childEvent(QChildEvent *a0)
{
    typedef void (*sipVH_QtCore_20)(sip_gilstate_t,PyObject *,QChildEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_20)(sipModuleAPI_kio_QtCore->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipKXBELBookmarkImporterImpl::customEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_19)(sipModuleAPI_kio_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipKXBELBookmarkImporterImpl::connectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipKXBELBookmarkImporterImpl::disconnectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipKXBELBookmarkImporterImpl::sipProtect_traverse(const KBookmarkGroup& a0)
{
    KBookmarkGroupTraverser::traverse(a0);
}

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)
{
    int sipArgsParsed = 0;

    {
        const KBookmarkGroup * a0;
        sipKXBELBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&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(sipArgsParsed,sipName_KXBELBookmarkImporterImpl,sipName_traverse);

    return NULL;
}


extern "C" {static PyObject *meth_KXBELBookmarkImporterImpl_receivers(PyObject *, PyObject *);}
static PyObject *meth_KXBELBookmarkImporterImpl_receivers(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        char * a0;
        sipKXBELBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KXBELBookmarkImporterImpl,&sipCpp,&a0))
        {
            int sipRes = 0;

#line 462 "/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)
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
#line 5515 "sipkiopart7.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KXBELBookmarkImporterImpl_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_KXBELBookmarkImporterImpl_timerEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipKXBELBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&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(sipArgsParsed,sipName_KXBELBookmarkImporterImpl,sipName_timerEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KXBELBookmarkImporterImpl_childEvent(PyObject *, PyObject *);}
static PyObject *meth_KXBELBookmarkImporterImpl_childEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipKXBELBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&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(sipArgsParsed,sipName_KXBELBookmarkImporterImpl,sipName_childEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KXBELBookmarkImporterImpl_customEvent(PyObject *, PyObject *);}
static PyObject *meth_KXBELBookmarkImporterImpl_customEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKXBELBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&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(sipArgsParsed,sipName_KXBELBookmarkImporterImpl,sipName_customEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KXBELBookmarkImporterImpl_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_KXBELBookmarkImporterImpl_connectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKXBELBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&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(sipArgsParsed,sipName_KXBELBookmarkImporterImpl,sipName_connectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KXBELBookmarkImporterImpl_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_KXBELBookmarkImporterImpl_disconnectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKXBELBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&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(sipArgsParsed,sipName_KXBELBookmarkImporterImpl,sipName_disconnectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KXBELBookmarkImporterImpl_parse(PyObject *, PyObject *);}
static PyObject *meth_KXBELBookmarkImporterImpl_parse(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KXBELBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KXBELBookmarkImporterImpl,sipName_parse);

    return NULL;
}


extern "C" {static PyObject *meth_KXBELBookmarkImporterImpl_findDefaultLocation(PyObject *, PyObject *);}
static PyObject *meth_KXBELBookmarkImporterImpl_findDefaultLocation(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0 = 0;
        KXBELBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KXBELBookmarkImporterImpl,sipName_findDefaultLocation);

    return NULL;
}


extern "C" {static PyObject *meth_KXBELBookmarkImporterImpl_visit(PyObject *, PyObject *);}
static PyObject *meth_KXBELBookmarkImporterImpl_visit(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KBookmark * a0;
        sipKXBELBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&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(sipArgsParsed,sipName_KXBELBookmarkImporterImpl,sipName_visit);

    return NULL;
}


extern "C" {static PyObject *meth_KXBELBookmarkImporterImpl_visitEnter(PyObject *, PyObject *);}
static PyObject *meth_KXBELBookmarkImporterImpl_visitEnter(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KBookmarkGroup * a0;
        sipKXBELBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&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(sipArgsParsed,sipName_KXBELBookmarkImporterImpl,sipName_visitEnter);

    return NULL;
}


extern "C" {static PyObject *meth_KXBELBookmarkImporterImpl_visitLeave(PyObject *, PyObject *);}
static PyObject *meth_KXBELBookmarkImporterImpl_visitLeave(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KBookmarkGroup * a0;
        sipKXBELBookmarkImporterImpl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&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(sipArgsParsed,sipName_KXBELBookmarkImporterImpl,sipName_visitLeave);

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

    if (state & 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 *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KXBELBookmarkImporterImpl(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_KXBELBookmarkImporterImpl(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KXBELBookmarkImporterImpl(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    sipKXBELBookmarkImporterImpl *sipCpp = 0;

    if (!sipCpp)
    {
        if (sipParseArgs(sipArgsParsed,sipArgs,""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKXBELBookmarkImporterImpl();
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef 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_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 pyqt4Type_kio_KXBELBookmarkImporterImpl = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KXBELBookmarkImporterImpl,
        {0}
    },
    sipNameNr_KXBELBookmarkImporterImpl,
    -1,
    -1,
    {0, 0, 1},
    supers_KXBELBookmarkImporterImpl,
    0,
    12, methods_KXBELBookmarkImporterImpl,
    0, 0,
    0, 0,
    init_KXBELBookmarkImporterImpl,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KXBELBookmarkImporterImpl,
    release_KXBELBookmarkImporterImpl,
    cast_KXBELBookmarkImporterImpl,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KXBELBookmarkImporterImpl::staticMetaObject,
    0,
    0
};

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kbookmarkimporter.sip"
#include <kbookmarkimporter.h>
#line 5944 "sipkiopart7.cpp"

#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 5948 "sipkiopart7.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 5951 "sipkiopart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 5954 "sipkiopart7.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 5957 "sipkiopart7.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 5960 "sipkiopart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 5963 "sipkiopart7.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 5994 "sipkiopart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 5997 "sipkiopart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 6000 "sipkiopart7.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 6003 "sipkiopart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 6006 "sipkiopart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 6009 "sipkiopart7.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 6012 "sipkiopart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 6015 "sipkiopart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 6018 "sipkiopart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 6021 "sipkiopart7.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.
     */
    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()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return;

    ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

QString sipKBookmarkImporterBase::findDefaultLocation(bool a0) const
{
    extern QString sipVH_kio_87(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QString();

    return sipVH_kio_87(sipGILState,meth,a0);
}

bool sipKBookmarkImporterBase::event(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QObject::event(a0);

    return ((sipVH_QtCore_13)(sipModuleAPI_kio_QtCore->em_virthandlers[13]))(sipGILState,meth,a0);
}

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    return ((sipVH_QtCore_21)(sipModuleAPI_kio_QtCore->em_virthandlers[21]))(sipGILState,meth,a0,a1);
}

void sipKBookmarkImporterBase::timerEvent(QTimerEvent *a0)
{
    typedef void (*sipVH_QtCore_3)(sip_gilstate_t,PyObject *,QTimerEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_3)(sipModuleAPI_kio_QtCore->em_virthandlers[3]))(sipGILState,meth,a0);
}

void sipKBookmarkImporterBase::childEvent(QChildEvent *a0)
{
    typedef void (*sipVH_QtCore_20)(sip_gilstate_t,PyObject *,QChildEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_20)(sipModuleAPI_kio_QtCore->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipKBookmarkImporterBase::customEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_19)(sipModuleAPI_kio_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipKBookmarkImporterBase::connectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipKBookmarkImporterBase::disconnectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

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_receivers(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkImporterBase_receivers(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        char * a0;
        sipKBookmarkImporterBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KBookmarkImporterBase,&sipCpp,&a0))
        {
            int sipRes = 0;

#line 462 "/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)
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
#line 6306 "sipkiopart7.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkImporterBase_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkImporterBase_timerEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipKBookmarkImporterBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&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(sipArgsParsed,sipName_KBookmarkImporterBase,sipName_timerEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkImporterBase_childEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkImporterBase_childEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipKBookmarkImporterBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&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(sipArgsParsed,sipName_KBookmarkImporterBase,sipName_childEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkImporterBase_customEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkImporterBase_customEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKBookmarkImporterBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&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(sipArgsParsed,sipName_KBookmarkImporterBase,sipName_customEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkImporterBase_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkImporterBase_connectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKBookmarkImporterBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&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(sipArgsParsed,sipName_KBookmarkImporterBase,sipName_connectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkImporterBase_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkImporterBase_disconnectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKBookmarkImporterBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&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(sipArgsParsed,sipName_KBookmarkImporterBase,sipName_disconnectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkImporterBase_setFilename(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkImporterBase_setFilename(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        KBookmarkImporterBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KBookmarkImporterBase,sipName_setFilename);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkImporterBase_parse(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkImporterBase_parse(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KBookmarkImporterBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KBookmarkImporterBase,&sipCpp))
        {
            if (sipSelfWasArg)
            {
                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(sipArgsParsed,sipName_KBookmarkImporterBase,sipName_parse);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkImporterBase_findDefaultLocation(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkImporterBase_findDefaultLocation(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0 = 0;
        KBookmarkImporterBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B|b",&sipSelf,sipType_KBookmarkImporterBase,&sipCpp,&a0))
        {
            QString *sipRes;

            if (sipSelfWasArg)
            {
                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(sipArgsParsed,sipName_KBookmarkImporterBase,sipName_findDefaultLocation);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkImporterBase_setupSignalForwards(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkImporterBase_setupSignalForwards(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        QObject * a0;
        QObject * a1;
        KBookmarkImporterBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KBookmarkImporterBase,sipName_setupSignalForwards);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkImporterBase_factory(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkImporterBase_factory(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KBookmarkImporterBase,sipName_factory);

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

    if (state & 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 *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KBookmarkImporterBase(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_KBookmarkImporterBase(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KBookmarkImporterBase(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    sipKBookmarkImporterBase *sipCpp = 0;

    if (!sipCpp)
    {
        if (sipParseArgs(sipArgsParsed,sipArgs,""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKBookmarkImporterBase();
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KBookmarkImporterBase[] = {{111, 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_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},
    {"newSeparator()", 0},
    {"newFolder(const QString&,bool,const QString&)", 0},
    {"newBookmark(const QString&,const QString&,const QString&)", 0},
    {0, 0}
};


pyqt4ClassTypeDef pyqt4Type_kio_KBookmarkImporterBase = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KBookmarkImporterBase,
        {0}
    },
    sipNameNr_KBookmarkImporterBase,
    -1,
    -1,
    {0, 0, 1},
    supers_KBookmarkImporterBase,
    0,
    11, methods_KBookmarkImporterBase,
    0, 0,
    0, 0,
    init_KBookmarkImporterBase,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KBookmarkImporterBase,
    release_KBookmarkImporterBase,
    cast_KBookmarkImporterBase,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KBookmarkImporterBase::staticMetaObject,
    0,
    pyqt4_signals_KBookmarkImporterBase
};

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kbookmarkexporter.sip"
#include <kbookmarkexporter.h>
#line 6757 "sipkiopart7.cpp"

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kbookmarkmanager.sip"
#include <kbookmarkmanager.h>
#line 6761 "sipkiopart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 6764 "sipkiopart7.cpp"
#line 96 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 6767 "sipkiopart7.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)
{
    extern void sipVH_kio_83(sip_gilstate_t,PyObject *,const KBookmarkGroup&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return;

    sipVH_kio_83(sipGILState,meth,a0);
}


extern "C" {static PyObject *meth_KBookmarkExporterBase_write(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkExporterBase_write(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KBookmarkGroup * a0;
        KBookmarkExporterBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_KBookmarkExporterBase,&sipCpp,sipType_KBookmarkGroup,&a0))
        {
            if (sipSelfWasArg)
            {
                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(sipArgsParsed,sipName_KBookmarkExporterBase,sipName_write);

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

    if (state & 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 *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KBookmarkExporterBase(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_KBookmarkExporterBase(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KBookmarkExporterBase(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    sipKBookmarkExporterBase *sipCpp = 0;

    if (!sipCpp)
    {
        KBookmarkManager * a0;
        const QString * a1;
        int a1State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"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);
        }
    }

    if (!sipCpp)
    {
        const KBookmarkExporterBase * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_KBookmarkExporterBase,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKBookmarkExporterBase(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


static PyMethodDef methods_KBookmarkExporterBase[] = {
    {SIP_MLNAME_CAST(sipName_write), meth_KBookmarkExporterBase_write, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_kio_KBookmarkExporterBase = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_CLASS,
        sipNameNr_KBookmarkExporterBase,
        {0}
    },
    sipNameNr_KBookmarkExporterBase,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {0, 0, 1},
    0,
    0,
    1, methods_KBookmarkExporterBase,
    0, 0,
    0, 0,
    init_KBookmarkExporterBase,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KBookmarkExporterBase,
    release_KBookmarkExporterBase,
    cast_KBookmarkExporterBase,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kbookmarkdombuilder.sip"
#include <kbookmarkdombuilder.h>
#line 6990 "sipkiopart7.cpp"

#line 96 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 6994 "sipkiopart7.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kbookmarkmanager.sip"
#include <kbookmarkmanager.h>
#line 6997 "sipkiopart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 7000 "sipkiopart7.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 7003 "sipkiopart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7006 "sipkiopart7.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7009 "sipkiopart7.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7012 "sipkiopart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 7015 "sipkiopart7.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 7046 "sipkiopart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 7049 "sipkiopart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 7052 "sipkiopart7.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 7055 "sipkiopart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 7058 "sipkiopart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 7061 "sipkiopart7.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7064 "sipkiopart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 7067 "sipkiopart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 7070 "sipkiopart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 7073 "sipkiopart7.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.
     */
    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)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QObject::event(a0);

    return ((sipVH_QtCore_13)(sipModuleAPI_kio_QtCore->em_virthandlers[13]))(sipGILState,meth,a0);
}

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    return ((sipVH_QtCore_21)(sipModuleAPI_kio_QtCore->em_virthandlers[21]))(sipGILState,meth,a0,a1);
}

void sipKBookmarkDomBuilder::timerEvent(QTimerEvent *a0)
{
    typedef void (*sipVH_QtCore_3)(sip_gilstate_t,PyObject *,QTimerEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_3)(sipModuleAPI_kio_QtCore->em_virthandlers[3]))(sipGILState,meth,a0);
}

void sipKBookmarkDomBuilder::childEvent(QChildEvent *a0)
{
    typedef void (*sipVH_QtCore_20)(sip_gilstate_t,PyObject *,QChildEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_20)(sipModuleAPI_kio_QtCore->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipKBookmarkDomBuilder::customEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_19)(sipModuleAPI_kio_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipKBookmarkDomBuilder::connectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipKBookmarkDomBuilder::disconnectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

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_receivers(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDomBuilder_receivers(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        char * a0;
        sipKBookmarkDomBuilder *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KBookmarkDomBuilder,&sipCpp,&a0))
        {
            int sipRes = 0;

#line 462 "/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)
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
#line 7350 "sipkiopart7.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDomBuilder_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDomBuilder_timerEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipKBookmarkDomBuilder *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&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(sipArgsParsed,sipName_KBookmarkDomBuilder,sipName_timerEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDomBuilder_childEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDomBuilder_childEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipKBookmarkDomBuilder *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&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(sipArgsParsed,sipName_KBookmarkDomBuilder,sipName_childEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDomBuilder_customEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDomBuilder_customEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKBookmarkDomBuilder *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&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(sipArgsParsed,sipName_KBookmarkDomBuilder,sipName_customEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDomBuilder_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDomBuilder_connectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKBookmarkDomBuilder *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&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(sipArgsParsed,sipName_KBookmarkDomBuilder,sipName_connectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDomBuilder_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDomBuilder_disconnectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKBookmarkDomBuilder *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&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(sipArgsParsed,sipName_KBookmarkDomBuilder,sipName_disconnectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDomBuilder_connectImporter(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDomBuilder_connectImporter(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QObject * a0;
        KBookmarkDomBuilder *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KBookmarkDomBuilder,sipName_connectImporter);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDomBuilder_newBookmark(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDomBuilder_newBookmark(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        const QString * a1;
        int a1State = 0;
        const QString * a2;
        int a2State = 0;
        sipKBookmarkDomBuilder *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1J1J1",&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(sipArgsParsed,sipName_KBookmarkDomBuilder,sipName_newBookmark);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDomBuilder_newFolder(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDomBuilder_newFolder(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        bool a1;
        const QString * a2;
        int a2State = 0;
        sipKBookmarkDomBuilder *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1bJ1",&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(sipArgsParsed,sipName_KBookmarkDomBuilder,sipName_newFolder);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDomBuilder_newSeparator(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDomBuilder_newSeparator(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKBookmarkDomBuilder *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&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(sipArgsParsed,sipName_KBookmarkDomBuilder,sipName_newSeparator);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDomBuilder_endFolder(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDomBuilder_endFolder(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKBookmarkDomBuilder *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&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(sipArgsParsed,sipName_KBookmarkDomBuilder,sipName_endFolder);

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

    if (state & 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 *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KBookmarkDomBuilder(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_KBookmarkDomBuilder(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KBookmarkDomBuilder(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    sipKBookmarkDomBuilder *sipCpp = 0;

    if (!sipCpp)
    {
        const KBookmarkGroup * a0;
        KBookmarkManager * a1;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9J8",sipType_KBookmarkGroup,&a0,sipType_KBookmarkManager,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKBookmarkDomBuilder(*a0,a1);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KBookmarkDomBuilder[] = {{111, 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_timerEvent), meth_KBookmarkDomBuilder_timerEvent, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_kio_KBookmarkDomBuilder = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KBookmarkDomBuilder,
        {0}
    },
    sipNameNr_KBookmarkDomBuilder,
    -1,
    -1,
    {0, 0, 1},
    supers_KBookmarkDomBuilder,
    0,
    11, methods_KBookmarkDomBuilder,
    0, 0,
    0, 0,
    init_KBookmarkDomBuilder,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KBookmarkDomBuilder,
    release_KBookmarkDomBuilder,
    cast_KBookmarkDomBuilder,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KBookmarkDomBuilder::staticMetaObject,
    0,
    0
};

#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kbookmarkdialog.sip"
#include <kbookmarkdialog.h>
#line 7787 "sipkiopart7.cpp"

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kbookmarkmanager.sip"
#include <kbookmarkmanager.h>
#line 7791 "sipkiopart7.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 7794 "sipkiopart7.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtreewidget.sip"
#include <qtreewidget.h>
#line 7797 "sipkiopart7.cpp"
#line 96 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 7800 "sipkiopart7.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 7803 "sipkiopart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 7806 "sipkiopart7.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 7837 "sipkiopart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 7840 "sipkiopart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 7843 "sipkiopart7.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 7846 "sipkiopart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 7849 "sipkiopart7.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 7852 "sipkiopart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 7855 "sipkiopart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 7858 "sipkiopart7.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 7861 "sipkiopart7.cpp"
#line 296 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 7864 "sipkiopart7.cpp"
#line 388 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 7867 "sipkiopart7.cpp"
#line 424 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 7870 "sipkiopart7.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 7873 "sipkiopart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 7876 "sipkiopart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 7879 "sipkiopart7.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qlayout.sip"
#include <qlayout.h>
#line 7882 "sipkiopart7.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 7885 "sipkiopart7.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kpushbutton.sip"
#include <kpushbutton.h>
#line 7888 "sipkiopart7.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 7891 "sipkiopart7.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kconfigbase.sip"
#include <kconfigbase.h>
#line 7894 "sipkiopart7.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qmenu.sip"
#include <qmenu.h>
#line 7897 "sipkiopart7.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kguiitem.sip"
#include <kguiitem.h>
#line 7900 "sipkiopart7.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kicon.sip"
#include <kicon.h>
#line 7903 "sipkiopart7.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7906 "sipkiopart7.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 7909 "sipkiopart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7912 "sipkiopart7.cpp"
#line 436 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 7915 "sipkiopart7.cpp"
#line 374 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 7918 "sipkiopart7.cpp"
#line 412 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 7921 "sipkiopart7.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 7924 "sipkiopart7.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 7927 "sipkiopart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 7930 "sipkiopart7.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qregion.sip"
#include <qregion.h>
#line 7933 "sipkiopart7.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 7936 "sipkiopart7.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 7939 "sipkiopart7.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 7942 "sipkiopart7.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 7945 "sipkiopart7.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qfont.sip"
#include <qfont.h>
#line 7948 "sipkiopart7.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7951 "sipkiopart7.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 7954 "sipkiopart7.cpp"
#line 466 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 482 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 7959 "sipkiopart7.cpp"
#line 508 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 7962 "sipkiopart7.cpp"
#line 562 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 7965 "sipkiopart7.cpp"
#line 533 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 7968 "sipkiopart7.cpp"
#line 550 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 7971 "sipkiopart7.cpp"
#line 618 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 7974 "sipkiopart7.cpp"
#line 247 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 7977 "sipkiopart7.cpp"
#line 360 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 7980 "sipkiopart7.cpp"
#line 345 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 7983 "sipkiopart7.cpp"
#line 325 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 7986 "sipkiopart7.cpp"
#line 225 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 7989 "sipkiopart7.cpp"
#line 184 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 7992 "sipkiopart7.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 7995 "sipkiopart7.cpp"
#line 74 "/usr/local/share/py-sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 7998 "sipkiopart7.cpp"
#line 47 "/usr/local/share/py-sip/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 8001 "sipkiopart7.cpp"
#line 136 "/usr/local/share/py-sip/QtGui/qfontdatabase.sip"
#include <qfontdatabase.h>
#include <qlist.h>
#line 66 "/usr/local/share/py-sip/QtGui/qprinterinfo.sip"
#include <qlist.h>
#line 229 "/usr/local/share/py-sip/QtGui/qwizard.sip"
#include <qwizard.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 520 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 8062 "sipkiopart7.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qaction.sip"
#include <qaction.h>
#line 8065 "sipkiopart7.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 8068 "sipkiopart7.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 8071 "sipkiopart7.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qabstractbutton.sip"
#include <qabstractbutton.h>
#line 8074 "sipkiopart7.cpp"
#line 466 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 482 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 8079 "sipkiopart7.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 8082 "sipkiopart7.cpp"
#line 99 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 8085 "sipkiopart7.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 8088 "sipkiopart7.cpp"
#line 165 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 8091 "sipkiopart7.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qlistwidget.sip"
#include <qlistwidget.h>
#line 8094 "sipkiopart7.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qdockwidget.sip"
#include <qdockwidget.h>
#line 8097 "sipkiopart7.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qmdisubwindow.sip"
#include <qmdisubwindow.h>
#line 8100 "sipkiopart7.cpp"
#line 334 "/usr/local/share/py-sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 8103 "sipkiopart7.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtextedit.sip"
#include <qtextedit.h>
#line 56 "/usr/local/share/py-sip/QtGui/qtextedit.sip"
#include <qtextedit.h>
#line 8108 "sipkiopart7.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qprinterinfo.sip"
#include <qprinterinfo.h>
#line 8111 "sipkiopart7.cpp"
#line 202 "/usr/local/share/py-sip/QtGui/qstandarditemmodel.sip"
#include <qstandarditemmodel.h>
#line 8114 "sipkiopart7.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 8117 "sipkiopart7.cpp"
#line 66 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 8120 "sipkiopart7.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtextoption.sip"
#include <qtextoption.h>
#line 114 "/usr/local/share/py-sip/QtGui/qtextoption.sip"
#include <qtextoption.h>
#line 8125 "sipkiopart7.cpp"
#line 65 "/usr/local/share/py-sip/QtGui/qtextlayout.sip"
#include <qtextlayout.h>
#line 88 "/usr/local/share/py-sip/QtGui/qtextlayout.sip"
#include <qtextlayout.h>
#line 8130 "sipkiopart7.cpp"
#line 149 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 175 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 8135 "sipkiopart7.cpp"
#line 83 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 101 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 8140 "sipkiopart7.cpp"
#line 75 "/usr/local/share/py-sip/QtGui/qundostack.sip"
#include <qundostack.h>
#line 8143 "sipkiopart7.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qwizard.sip"
#include <qwizard.h>
#line 8146 "sipkiopart7.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qprinter.sip"
#include <qprinter.h>
#line 8149 "sipkiopart7.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontdatabase.sip"
#include <qfontdatabase.h>
#line 8152 "sipkiopart7.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 8155 "sipkiopart7.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 8158 "sipkiopart7.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 8161 "sipkiopart7.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qicon.sip"
#include <qicon.h>
#line 8164 "sipkiopart7.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 8167 "sipkiopart7.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qstyle.sip"
#include <qstyle.h>
#line 8170 "sipkiopart7.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8173 "sipkiopart7.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8176 "sipkiopart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 8179 "sipkiopart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 8182 "sipkiopart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 8185 "sipkiopart7.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.
     */
    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()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

void sipKBookmarkDialog::aboutToShow(KBookmarkDialog::BookmarkDialogMode a0)
{
    extern void sipVH_kio_89(sip_gilstate_t,PyObject *,int);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipKBookmarkDialog::save(KBookmarkDialog::BookmarkDialogMode a0,const KBookmark& a1)
{
    extern void sipVH_kio_88(sip_gilstate_t,PyObject *,int,const KBookmark&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

QSize sipKBookmarkDialog::sizeHint() const
{
    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

QSize sipKBookmarkDialog::minimumSizeHint() const
{
    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipKBookmarkDialog::setCaption(const QString& a0)
{
    typedef void (*sipVH_QtCore_29)(sip_gilstate_t,PyObject *,const QString&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_29)(sipModuleAPI_kio_QtCore->em_virthandlers[29]))(sipGILState,meth,a0);
}

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KDialog::setCaption(a0,a1);
        return;
    }

    ((sipVH_QtXml_24)(sipModuleAPI_kio_QtXml->em_virthandlers[24]))(sipGILState,meth,a0,a1);
}

void sipKBookmarkDialog::setPlainCaption(const QString& a0)
{
    typedef void (*sipVH_QtCore_29)(sip_gilstate_t,PyObject *,const QString&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_29)(sipModuleAPI_kio_QtCore->em_virthandlers[29]))(sipGILState,meth,a0);
}

void sipKBookmarkDialog::hideEvent(QHideEvent *a0)
{
    typedef void (*sipVH_QtGui_0)(sip_gilstate_t,PyObject *,QHideEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipKBookmarkDialog::closeEvent(QCloseEvent *a0)
{
    typedef void (*sipVH_QtGui_23)(sip_gilstate_t,PyObject *,QCloseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipKBookmarkDialog::keyPressEvent(QKeyEvent *a0)
{
    typedef void (*sipVH_QtGui_26)(sip_gilstate_t,PyObject *,QKeyEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipKBookmarkDialog::slotButtonClicked(int a0)
{
    typedef void (*sipVH_QtNetwork_1)(sip_gilstate_t,PyObject *,int);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtNetwork_1)(sipModuleAPI_kio_QtNetwork->em_virthandlers[1]))(sipGILState,meth,a0);
}

void sipKBookmarkDialog::setVisible(bool a0)
{
    typedef void (*sipVH_QtGui_7)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipKBookmarkDialog::done(int a0)
{
    typedef void (*sipVH_QtGui_6)(sip_gilstate_t,PyObject *,int);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipKBookmarkDialog::accept()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

void sipKBookmarkDialog::reject()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

void sipKBookmarkDialog::showEvent(QShowEvent *a0)
{
    typedef void (*sipVH_QtGui_1)(sip_gilstate_t,PyObject *,QShowEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipKBookmarkDialog::resizeEvent(QResizeEvent *a0)
{
    typedef void (*sipVH_QtGui_2)(sip_gilstate_t,PyObject *,QResizeEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipKBookmarkDialog::contextMenuEvent(QContextMenuEvent *a0)
{
    typedef void (*sipVH_QtGui_22)(sip_gilstate_t,PyObject *,QContextMenuEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QDialog::eventFilter(a0,a1);

    return ((sipVH_QtCore_21)(sipModuleAPI_kio_QtCore->em_virthandlers[21]))(sipGILState,meth,a0,a1);
}

int sipKBookmarkDialog::devType() const
{
    typedef int (*sipVH_QtCore_8)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    return ((sipVH_QtCore_8)(sipModuleAPI_kio_QtCore->em_virthandlers[8]))(sipGILState,meth);
}

int sipKBookmarkDialog::heightForWidth(int a0) const
{
    typedef int (*sipVH_QtGui_29)(sip_gilstate_t,PyObject *,int);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    return ((sipVH_QtGui_29)(sipModuleAPI_kio_QtGui->em_virthandlers[29]))(sipGILState,meth,a0);
}

QPaintEngine * sipKBookmarkDialog::paintEngine() const
{
    typedef QPaintEngine * (*sipVH_QtGui_28)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

bool sipKBookmarkDialog::event(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QWidget::event(a0);

    return ((sipVH_QtCore_13)(sipModuleAPI_kio_QtCore->em_virthandlers[13]))(sipGILState,meth,a0);
}

void sipKBookmarkDialog::mousePressEvent(QMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_27)(sip_gilstate_t,PyObject *,QMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipKBookmarkDialog::mouseReleaseEvent(QMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_27)(sip_gilstate_t,PyObject *,QMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipKBookmarkDialog::mouseDoubleClickEvent(QMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_27)(sip_gilstate_t,PyObject *,QMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipKBookmarkDialog::mouseMoveEvent(QMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_27)(sip_gilstate_t,PyObject *,QMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipKBookmarkDialog::wheelEvent(QWheelEvent *a0)
{
    typedef void (*sipVH_QtGui_5)(sip_gilstate_t,PyObject *,QWheelEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipKBookmarkDialog::keyReleaseEvent(QKeyEvent *a0)
{
    typedef void (*sipVH_QtGui_26)(sip_gilstate_t,PyObject *,QKeyEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipKBookmarkDialog::focusInEvent(QFocusEvent *a0)
{
    typedef void (*sipVH_QtGui_25)(sip_gilstate_t,PyObject *,QFocusEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipKBookmarkDialog::focusOutEvent(QFocusEvent *a0)
{
    typedef void (*sipVH_QtGui_25)(sip_gilstate_t,PyObject *,QFocusEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipKBookmarkDialog::enterEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_19)(sipModuleAPI_kio_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipKBookmarkDialog::leaveEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_19)(sipModuleAPI_kio_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipKBookmarkDialog::paintEvent(QPaintEvent *a0)
{
    typedef void (*sipVH_QtGui_3)(sip_gilstate_t,PyObject *,QPaintEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipKBookmarkDialog::moveEvent(QMoveEvent *a0)
{
    typedef void (*sipVH_QtGui_24)(sip_gilstate_t,PyObject *,QMoveEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipKBookmarkDialog::tabletEvent(QTabletEvent *a0)
{
    typedef void (*sipVH_QtGui_21)(sip_gilstate_t,PyObject *,QTabletEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipKBookmarkDialog::actionEvent(QActionEvent *a0)
{
    typedef void (*sipVH_QtGui_20)(sip_gilstate_t,PyObject *,QActionEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipKBookmarkDialog::dragEnterEvent(QDragEnterEvent *a0)
{
    typedef void (*sipVH_QtGui_19)(sip_gilstate_t,PyObject *,QDragEnterEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipKBookmarkDialog::dragMoveEvent(QDragMoveEvent *a0)
{
    typedef void (*sipVH_QtGui_18)(sip_gilstate_t,PyObject *,QDragMoveEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipKBookmarkDialog::dragLeaveEvent(QDragLeaveEvent *a0)
{
    typedef void (*sipVH_QtGui_17)(sip_gilstate_t,PyObject *,QDragLeaveEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipKBookmarkDialog::dropEvent(QDropEvent *a0)
{
    typedef void (*sipVH_QtGui_16)(sip_gilstate_t,PyObject *,QDropEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipKBookmarkDialog::changeEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_19)(sipModuleAPI_kio_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

int sipKBookmarkDialog::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    typedef int (*sipVH_QtGui_15)(sip_gilstate_t,PyObject *,QPaintDevice::PaintDeviceMetric);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipKBookmarkDialog::inputMethodEvent(QInputMethodEvent *a0)
{
    typedef void (*sipVH_QtGui_14)(sip_gilstate_t,PyObject *,QInputMethodEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

QVariant sipKBookmarkDialog::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    typedef QVariant (*sipVH_QtGui_13)(sip_gilstate_t,PyObject *,Qt::InputMethodQuery);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

bool sipKBookmarkDialog::focusNextPrevChild(bool a0)
{
    typedef bool (*sipVH_QtGui_12)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QWidget::focusNextPrevChild(a0);

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

void sipKBookmarkDialog::enabledChange(bool a0)
{
    typedef void (*sipVH_QtGui_7)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipKBookmarkDialog::paletteChange(const QPalette& a0)
{
    typedef void (*sipVH_QtGui_11)(sip_gilstate_t,PyObject *,const QPalette&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipKBookmarkDialog::fontChange(const QFont& a0)
{
    typedef void (*sipVH_QtGui_10)(sip_gilstate_t,PyObject *,const QFont&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipKBookmarkDialog::windowActivationChange(bool a0)
{
    typedef void (*sipVH_QtGui_7)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipKBookmarkDialog::languageChange()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

void sipKBookmarkDialog::timerEvent(QTimerEvent *a0)
{
    typedef void (*sipVH_QtCore_3)(sip_gilstate_t,PyObject *,QTimerEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_3)(sipModuleAPI_kio_QtCore->em_virthandlers[3]))(sipGILState,meth,a0);
}

void sipKBookmarkDialog::childEvent(QChildEvent *a0)
{
    typedef void (*sipVH_QtCore_20)(sip_gilstate_t,PyObject *,QChildEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_20)(sipModuleAPI_kio_QtCore->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipKBookmarkDialog::customEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_19)(sipModuleAPI_kio_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipKBookmarkDialog::connectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipKBookmarkDialog::disconnectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

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_receivers(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_receivers(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        char * a0;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KBookmarkDialog,&sipCpp,&a0))
        {
            int sipRes = 0;

#line 462 "/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)
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
#line 9679 "sipkiopart7.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_timerEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&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(sipArgsParsed,sipName_KBookmarkDialog,sipName_timerEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_childEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_childEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&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(sipArgsParsed,sipName_KBookmarkDialog,sipName_childEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_customEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_customEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&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(sipArgsParsed,sipName_KBookmarkDialog,sipName_customEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_connectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&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(sipArgsParsed,sipName_KBookmarkDialog,sipName_connectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_disconnectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&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(sipArgsParsed,sipName_KBookmarkDialog,sipName_disconnectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_event(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_event(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&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(sipArgsParsed,sipName_KBookmarkDialog,sipName_event);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_mousePressEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_mousePressEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent * a0;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&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(sipArgsParsed,sipName_KBookmarkDialog,sipName_mousePressEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_mouseReleaseEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_mouseReleaseEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent * a0;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&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(sipArgsParsed,sipName_KBookmarkDialog,sipName_mouseReleaseEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_mouseDoubleClickEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_mouseDoubleClickEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent * a0;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&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(sipArgsParsed,sipName_KBookmarkDialog,sipName_mouseDoubleClickEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_mouseMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_mouseMoveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent * a0;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&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(sipArgsParsed,sipName_KBookmarkDialog,sipName_mouseMoveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_wheelEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_wheelEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent * a0;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&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(sipArgsParsed,sipName_KBookmarkDialog,sipName_wheelEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_keyReleaseEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_keyReleaseEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent * a0;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&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(sipArgsParsed,sipName_KBookmarkDialog,sipName_keyReleaseEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_focusInEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_focusInEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent * a0;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&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(sipArgsParsed,sipName_KBookmarkDialog,sipName_focusInEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_focusOutEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_focusOutEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent * a0;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&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(sipArgsParsed,sipName_KBookmarkDialog,sipName_focusOutEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_enterEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_enterEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&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(sipArgsParsed,sipName_KBookmarkDialog,sipName_enterEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_leaveEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_leaveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&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(sipArgsParsed,sipName_KBookmarkDialog,sipName_leaveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_paintEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_paintEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent * a0;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&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(sipArgsParsed,sipName_KBookmarkDialog,sipName_paintEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_moveEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_moveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent * a0;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&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(sipArgsParsed,sipName_KBookmarkDialog,sipName_moveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_tabletEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_tabletEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent * a0;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&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(sipArgsParsed,sipName_KBookmarkDialog,sipName_tabletEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_actionEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_actionEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent * a0;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&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(sipArgsParsed,sipName_KBookmarkDialog,sipName_actionEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_dragEnterEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_dragEnterEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent * a0;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&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(sipArgsParsed,sipName_KBookmarkDialog,sipName_dragEnterEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_dragMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_dragMoveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent * a0;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&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(sipArgsParsed,sipName_KBookmarkDialog,sipName_dragMoveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_dragLeaveEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_dragLeaveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent * a0;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&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(sipArgsParsed,sipName_KBookmarkDialog,sipName_dragLeaveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_dropEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_dropEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent * a0;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&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(sipArgsParsed,sipName_KBookmarkDialog,sipName_dropEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_changeEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_changeEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&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(sipArgsParsed,sipName_KBookmarkDialog,sipName_changeEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_metric(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_metric(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pE",&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(sipArgsParsed,sipName_KBookmarkDialog,sipName_metric);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_inputMethodEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_inputMethodEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent * a0;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&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(sipArgsParsed,sipName_KBookmarkDialog,sipName_inputMethodEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_resetInputContext(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_resetInputContext(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&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(sipArgsParsed,sipName_KBookmarkDialog,sipName_resetInputContext);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_updateMicroFocus(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_updateMicroFocus(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&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(sipArgsParsed,sipName_KBookmarkDialog,sipName_updateMicroFocus);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_create(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_create(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p|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(sipArgsParsed,sipName_KBookmarkDialog,sipName_create);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_destroy(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_destroy(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p|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(sipArgsParsed,sipName_KBookmarkDialog,sipName_destroy);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_focusNextPrevChild(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_focusNextPrevChild(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&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(sipArgsParsed,sipName_KBookmarkDialog,sipName_focusNextPrevChild);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_focusNextChild(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_focusNextChild(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&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(sipArgsParsed,sipName_KBookmarkDialog,sipName_focusNextChild);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_focusPreviousChild(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_focusPreviousChild(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&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(sipArgsParsed,sipName_KBookmarkDialog,sipName_focusPreviousChild);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_enabledChange(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_enabledChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&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(sipArgsParsed,sipName_KBookmarkDialog,sipName_enabledChange);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_paletteChange(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_paletteChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QPalette * a0;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&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(sipArgsParsed,sipName_KBookmarkDialog,sipName_paletteChange);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_fontChange(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_fontChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QFont * a0;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&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(sipArgsParsed,sipName_KBookmarkDialog,sipName_fontChange);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_windowActivationChange(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_windowActivationChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&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(sipArgsParsed,sipName_KBookmarkDialog,sipName_windowActivationChange);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_languageChange(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_languageChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&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(sipArgsParsed,sipName_KBookmarkDialog,sipName_languageChange);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_showEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_showEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent * a0;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&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(sipArgsParsed,sipName_KBookmarkDialog,sipName_showEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_resizeEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_resizeEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent * a0;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&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(sipArgsParsed,sipName_KBookmarkDialog,sipName_resizeEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_contextMenuEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_contextMenuEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent * a0;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&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(sipArgsParsed,sipName_KBookmarkDialog,sipName_contextMenuEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_eventFilter(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_eventFilter(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8J8",&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(sipArgsParsed,sipName_KBookmarkDialog,sipName_eventFilter);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_hideEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_hideEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent * a0;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&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(sipArgsParsed,sipName_KBookmarkDialog,sipName_hideEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_closeEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_closeEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent * a0;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&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(sipArgsParsed,sipName_KBookmarkDialog,sipName_closeEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_keyPressEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_keyPressEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent * a0;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&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(sipArgsParsed,sipName_KBookmarkDialog,sipName_keyPressEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_updateGeometry(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_updateGeometry(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&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(sipArgsParsed,sipName_KBookmarkDialog,sipName_updateGeometry);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_editBookmark(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_editBookmark(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KBookmark * a0;
        KBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KBookmarkDialog,sipName_editBookmark);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_addBookmark(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_addBookmark(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        const KUrl * a1;
        KBookmark a2def = KBookmark();
        KBookmark * a2 = &a2def;
        KBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KBookmarkDialog,sipName_addBookmark);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_addBookmarks(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_addBookmarks(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        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(&sipArgsParsed,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(sipArgsParsed,sipName_KBookmarkDialog,sipName_addBookmarks);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_createNewFolder(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_createNewFolder(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        KBookmark a1def = KBookmark();
        KBookmark * a1 = &a1def;
        KBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KBookmarkDialog,sipName_createNewFolder);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_selectFolder(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_selectFolder(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KBookmark a0def = KBookmark();
        KBookmark * a0 = &a0def;
        KBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KBookmarkDialog,sipName_selectFolder);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_initLayout(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_initLayout(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&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(sipArgsParsed,sipName_KBookmarkDialog,sipName_initLayout);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_aboutToShow(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_aboutToShow(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pE",&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(sipArgsParsed,sipName_KBookmarkDialog,sipName_aboutToShow);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_save(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_save(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        const KBookmark * a1;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pEJ9",&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(sipArgsParsed,sipName_KBookmarkDialog,sipName_save);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_setParentBookmark(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_setParentBookmark(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KBookmark * a0;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&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(sipArgsParsed,sipName_KBookmarkDialog,sipName_setParentBookmark);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_parentBookmark(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_parentBookmark(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&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(sipArgsParsed,sipName_KBookmarkDialog,sipName_parentBookmark);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_slotButtonClicked(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_slotButtonClicked(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pi",&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(sipArgsParsed,sipName_KBookmarkDialog,sipName_slotButtonClicked);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_fillGroup(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_fillGroup(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        QTreeWidgetItem * a0;
        const KBookmarkGroup * a1;
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8J9",&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(sipArgsParsed,sipName_KBookmarkDialog,sipName_fillGroup);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_initLayoutPrivate(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_initLayoutPrivate(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&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(sipArgsParsed,sipName_KBookmarkDialog,sipName_initLayoutPrivate);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkDialog_newFolderButton(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkDialog_newFolderButton(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKBookmarkDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&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(sipArgsParsed,sipName_KBookmarkDialog,sipName_newFolderButton);

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

    if (state & 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 *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KBookmarkDialog(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_KBookmarkDialog(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KBookmarkDialog(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    sipKBookmarkDialog *sipCpp = 0;

    if (!sipCpp)
    {
        KBookmarkManager * a0;
        QWidget * a1 = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J8|J8",sipType_KBookmarkManager,&a0,sipType_QWidget,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKBookmarkDialog(a0,a1);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KBookmarkDialog[] = {{72, 6, 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_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 pyqt4Type_kio_KBookmarkDialog = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KBookmarkDialog,
        {0}
    },
    sipNameNr_KBookmarkDialog,
    -1,
    -1,
    {0, 0, 1},
    supers_KBookmarkDialog,
    0,
    62, methods_KBookmarkDialog,
    5, enummembers_KBookmarkDialog,
    0, 0,
    init_KBookmarkDialog,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KBookmarkDialog,
    release_KBookmarkDialog,
    cast_KBookmarkDialog,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KBookmarkDialog::staticMetaObject,
    0,
    0
};

#line 127 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 11606 "sipkiopart7.cpp"

#line 96 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 11610 "sipkiopart7.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 11613 "sipkiopart7.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)
{
    extern void sipVH_kio_81(sip_gilstate_t,PyObject *,const KBookmark&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    sipVH_kio_81(sipGILState,meth,a0);
}

void sipKBookmarkGroupTraverser::visitEnter(const KBookmarkGroup& a0)
{
    extern void sipVH_kio_83(sip_gilstate_t,PyObject *,const KBookmarkGroup&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    sipVH_kio_83(sipGILState,meth,a0);
}

void sipKBookmarkGroupTraverser::visitLeave(const KBookmarkGroup& a0)
{
    extern void sipVH_kio_83(sip_gilstate_t,PyObject *,const KBookmarkGroup&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    sipVH_kio_83(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)
{
    int sipArgsParsed = 0;

    {
        const KBookmarkGroup * a0;
        sipKBookmarkGroupTraverser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&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(sipArgsParsed,sipName_KBookmarkGroupTraverser,sipName_traverse);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkGroupTraverser_visit(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkGroupTraverser_visit(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KBookmark * a0;
        sipKBookmarkGroupTraverser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&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(sipArgsParsed,sipName_KBookmarkGroupTraverser,sipName_visit);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkGroupTraverser_visitEnter(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkGroupTraverser_visitEnter(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KBookmarkGroup * a0;
        sipKBookmarkGroupTraverser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&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(sipArgsParsed,sipName_KBookmarkGroupTraverser,sipName_visitEnter);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkGroupTraverser_visitLeave(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkGroupTraverser_visitLeave(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KBookmarkGroup * a0;
        sipKBookmarkGroupTraverser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&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(sipArgsParsed,sipName_KBookmarkGroupTraverser,sipName_visitLeave);

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

    if (state & 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 *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KBookmarkGroupTraverser(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_KBookmarkGroupTraverser(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KBookmarkGroupTraverser(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    sipKBookmarkGroupTraverser *sipCpp = 0;

    if (!sipCpp)
    {
        if (sipParseArgs(sipArgsParsed,sipArgs,""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKBookmarkGroupTraverser();
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        const KBookmarkGroupTraverser * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_KBookmarkGroupTraverser,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKBookmarkGroupTraverser(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


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 pyqt4Type_kio_KBookmarkGroupTraverser = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KBookmarkGroupTraverser,
        {0}
    },
    sipNameNr_KBookmarkGroupTraverser,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {0, 0, 1},
    0,
    0,
    4, methods_KBookmarkGroupTraverser,
    0, 0,
    0, 0,
    init_KBookmarkGroupTraverser,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KBookmarkGroupTraverser,
    release_KBookmarkGroupTraverser,
    cast_KBookmarkGroupTraverser,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 96 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 11978 "sipkiopart7.cpp"

#line 345 "/usr/local/share/py-sip/QtXml/qdom.sip"
#include <qdom.h>
#line 11982 "sipkiopart7.cpp"
#line 708 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <qlist.h>
#line 102 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservice.sip"
#include <qlist.h>
#line 81 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kmimetype.sip"
#include <qlist.h>
#line 61 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservicetype.sip"
#include <qlist.h>
#line 65 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ksycocaentry.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 12035 "sipkiopart7.cpp"
#line 136 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 12038 "sipkiopart7.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kplugininfo.sip"
#include <kplugininfo.h>
#line 12041 "sipkiopart7.cpp"
#line 36 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kprotocolinfo.sip"
#include <kprotocolinfo.h>
#line 12044 "sipkiopart7.cpp"
#line 184 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 12047 "sipkiopart7.cpp"
#line 184 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 12050 "sipkiopart7.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kserviceaction.sip"
#include <kserviceaction.h>
#line 12053 "sipkiopart7.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktimezone.sip"
#include <ktimezone.h>
#line 12056 "sipkiopart7.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktimezone.sip"
#include <ktimezone.h>
#line 12059 "sipkiopart7.cpp"
#line 321 "/usr/local/share/py-sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 12062 "sipkiopart7.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktimezone.sip"
#include <ktimezone.h>
#line 12065 "sipkiopart7.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kautosavefile.sip"
#include <kautosavefile.h>
#line 12068 "sipkiopart7.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 12071 "sipkiopart7.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 12074 "sipkiopart7.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kaboutdata.sip"
#include <kaboutdata.h>
#line 12077 "sipkiopart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 12080 "sipkiopart7.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/klocale.sip"
#include <klocale.h>
#line 12083 "sipkiopart7.cpp"
#line 57 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktcpsocket.sip"
#include <ktcpsocket.h>
#line 12086 "sipkiopart7.cpp"
#line 79 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktcpsocket.sip"
#include <ktcpsocket.h>
#line 12089 "sipkiopart7.cpp"
#line 83 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kuser.sip"
#include <kuser.h>
#line 12092 "sipkiopart7.cpp"
#line 34 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kuser.sip"
#include <kuser.h>
#line 12095 "sipkiopart7.cpp"
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 12110 "sipkiopart7.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/klockfile.sip"
#include <klockfile.h>
#line 12113 "sipkiopart7.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kmimetype.sip"
#include <kmimetype.h>
#line 12116 "sipkiopart7.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservice.sip"
#include <kservice.h>
#line 12119 "sipkiopart7.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservicegroup.sip"
#include <kservicegroup.h>
#line 12122 "sipkiopart7.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservicetype.sip"
#include <kservicetype.h>
#line 12125 "sipkiopart7.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ksharedconfig.sip"
#include <ksharedconfig.h>
#line 12128 "sipkiopart7.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ksycocaentry.sip"
#include <ksycocaentry.h>
#line 12131 "sipkiopart7.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 12134 "sipkiopart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 12137 "sipkiopart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 12140 "sipkiopart7.cpp"
#line 74 "/usr/local/share/py-sip/QtXml/qdom.sip"
#include <qdom.h>
#line 12143 "sipkiopart7.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)
{
    int sipArgsParsed = 0;

    {
        KBookmarkGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KBookmarkGroup,sipName_isOpen);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkGroup_first(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkGroup_first(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KBookmarkGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KBookmarkGroup,sipName_first);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkGroup_previous(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkGroup_previous(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KBookmark * a0;
        KBookmarkGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KBookmarkGroup,sipName_previous);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkGroup_next(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkGroup_next(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KBookmark * a0;
        KBookmarkGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KBookmarkGroup,sipName_next);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkGroup_indexOf(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkGroup_indexOf(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KBookmark * a0;
        KBookmarkGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KBookmarkGroup,sipName_indexOf);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkGroup_createNewFolder(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkGroup_createNewFolder(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        KBookmarkGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KBookmarkGroup,sipName_createNewFolder);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkGroup_createNewSeparator(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkGroup_createNewSeparator(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KBookmarkGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KBookmarkGroup,sipName_createNewSeparator);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkGroup_addBookmark(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkGroup_addBookmark(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KBookmark * a0;
        KBookmarkGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(&sipArgsParsed,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(sipArgsParsed,sipName_KBookmarkGroup,sipName_addBookmark);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkGroup_moveBookmark(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkGroup_moveBookmark(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KBookmark * a0;
        const KBookmark * a1;
        KBookmarkGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KBookmarkGroup,sipName_moveBookmark);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkGroup_moveItem(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkGroup_moveItem(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KBookmark * a0;
        const KBookmark * a1;
        KBookmarkGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KBookmarkGroup,sipName_moveItem);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkGroup_deleteBookmark(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkGroup_deleteBookmark(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KBookmark * a0;
        KBookmarkGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KBookmarkGroup,sipName_deleteBookmark);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkGroup_isToolbarGroup(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkGroup_isToolbarGroup(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KBookmarkGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KBookmarkGroup,sipName_isToolbarGroup);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkGroup_findToolbar(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkGroup_findToolbar(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KBookmarkGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KBookmarkGroup,sipName_findToolbar);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkGroup_groupUrlList(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkGroup_groupUrlList(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KBookmarkGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KBookmarkGroup,&sipCpp))
        {
            QList<KUrl> *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<KUrl>(sipCpp->groupUrlList());
            Py_END_ALLOW_THREADS

            PyObject *sipResObj = sipConvertFromType(sipRes,sipType_QList_0200KUrl,NULL);
            delete sipRes;

            return sipResObj;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KBookmarkGroup,sipName_groupUrlList);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkGroup_nextKnownTag(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkGroup_nextKnownTag(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QDomElement * a0;
        bool a1;
        sipKBookmarkGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9b",&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(sipArgsParsed,sipName_KBookmarkGroup,sipName_nextKnownTag);

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

    if (state & 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 *, const void*);}
static void assign_KBookmarkGroup(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<KBookmarkGroup *>(sipDst) = *reinterpret_cast<const KBookmarkGroup *>(sipSrc);
}


extern "C" {static void dealloc_KBookmarkGroup(sipSimpleWrapper *);}
static void dealloc_KBookmarkGroup(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKBookmarkGroup *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KBookmarkGroup(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_KBookmarkGroup(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KBookmarkGroup(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    sipKBookmarkGroup *sipCpp = 0;

    if (!sipCpp)
    {
        if (sipParseArgs(sipArgsParsed,sipArgs,""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKBookmarkGroup();
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        const QDomElement * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_QDomElement,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKBookmarkGroup(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        const KBookmarkGroup * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_KBookmarkGroup,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKBookmarkGroup(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef 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 pyqt4Type_kio_KBookmarkGroup = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KBookmarkGroup,
        {0}
    },
    sipNameNr_KBookmarkGroup,
    -1,
    -1,
    {0, 0, 1},
    supers_KBookmarkGroup,
    0,
    15, methods_KBookmarkGroup,
    0, 0,
    0, 0,
    init_KBookmarkGroup,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KBookmarkGroup,
    release_KBookmarkGroup,
    cast_KBookmarkGroup,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_KBookmarkGroup,
    0,
    0,
    0
};

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 12804 "sipkiopart7.cpp"

#line 42 "/usr/local/share/py-sip/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 12808 "sipkiopart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 12811 "sipkiopart7.cpp"


extern "C" {static PyObject *meth_KBookmark_List_populateMimeData(PyObject *, PyObject *);}
static PyObject *meth_KBookmark_List_populateMimeData(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        QMimeData * a0;
        KBookmark::List *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_List,sipName_populateMimeData);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmark_List_canDecode(PyObject *, PyObject *);}
static PyObject *meth_KBookmark_List_canDecode(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QMimeData * a0;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_List,sipName_canDecode);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmark_List_mimeDataTypes(PyObject *, PyObject *);}
static PyObject *meth_KBookmark_List_mimeDataTypes(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_List,sipName_mimeDataTypes);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmark_List_fromMimeData(PyObject *, PyObject *);}
static PyObject *meth_KBookmark_List_fromMimeData(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QMimeData * a0;

        if (sipParseArgs(&sipArgsParsed,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);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_List,sipName_fromMimeData);

    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 *, const void*);}
static void assign_KBookmark_List(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<KBookmark::List *>(sipDst) = *reinterpret_cast<const KBookmark::List *>(sipSrc);
}


extern "C" {static void dealloc_KBookmark_List(sipSimpleWrapper *);}
static void dealloc_KBookmark_List(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KBookmark_List(sipSelf->u.cppPtr,0);
    }
}


extern "C" {static void *init_KBookmark_List(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KBookmark_List(sipSimpleWrapper *, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    KBookmark::List *sipCpp = 0;

    if (!sipCpp)
    {
        if (sipParseArgs(sipArgsParsed,sipArgs,""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KBookmark::List();
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        const KBookmark::List * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_KBookmark_List,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KBookmark::List(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    return sipCpp;
}


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 pyqt4Type_kio_KBookmark_List = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KBookmark__List,
        {0}
    },
    sipNameNr_List,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {12, 255, 0},
    0,
    0,
    4, methods_KBookmark_List,
    0, 0,
    0, 0,
    init_KBookmark_List,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KBookmark_List,
    release_KBookmark_List,
    cast_KBookmark_List,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_KBookmark_List,
    0,
    0,
    0
};

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 13046 "sipkiopart7.cpp"

#line 345 "/usr/local/share/py-sip/QtXml/qdom.sip"
#include <qdom.h>
#line 13050 "sipkiopart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 13053 "sipkiopart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 13056 "sipkiopart7.cpp"
#line 74 "/usr/local/share/py-sip/QtXml/qdom.sip"
#include <qdom.h>
#line 13059 "sipkiopart7.cpp"
#line 96 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 13062 "sipkiopart7.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 13065 "sipkiopart7.cpp"


extern "C" {static PyObject *meth_KBookmark_standaloneBookmark(PyObject *, PyObject *);}
static PyObject *meth_KBookmark_standaloneBookmark(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

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

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KBookmark,sipName_standaloneBookmark);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmark_isGroup(PyObject *, PyObject *);}
static PyObject *meth_KBookmark_isGroup(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KBookmark *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KBookmark,sipName_isGroup);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmark_isSeparator(PyObject *, PyObject *);}
static PyObject *meth_KBookmark_isSeparator(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KBookmark *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KBookmark,sipName_isSeparator);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmark_isNull(PyObject *, PyObject *);}
static PyObject *meth_KBookmark_isNull(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KBookmark *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KBookmark,sipName_isNull);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmark_hasParent(PyObject *, PyObject *);}
static PyObject *meth_KBookmark_hasParent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KBookmark *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KBookmark,sipName_hasParent);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmark_text(PyObject *, PyObject *);}
static PyObject *meth_KBookmark_text(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KBookmark *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KBookmark,sipName_text);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmark_fullText(PyObject *, PyObject *);}
static PyObject *meth_KBookmark_fullText(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KBookmark *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KBookmark,sipName_fullText);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmark_setFullText(PyObject *, PyObject *);}
static PyObject *meth_KBookmark_setFullText(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        KBookmark *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KBookmark,sipName_setFullText);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmark_url(PyObject *, PyObject *);}
static PyObject *meth_KBookmark_url(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KBookmark *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KBookmark,sipName_url);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmark_setUrl(PyObject *, PyObject *);}
static PyObject *meth_KBookmark_setUrl(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KUrl * a0;
        KBookmark *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KBookmark,sipName_setUrl);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmark_icon(PyObject *, PyObject *);}
static PyObject *meth_KBookmark_icon(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KBookmark *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KBookmark,sipName_icon);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmark_setIcon(PyObject *, PyObject *);}
static PyObject *meth_KBookmark_setIcon(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        KBookmark *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KBookmark,sipName_setIcon);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmark_mimeType(PyObject *, PyObject *);}
static PyObject *meth_KBookmark_mimeType(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KBookmark *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KBookmark,sipName_mimeType);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmark_setMimeType(PyObject *, PyObject *);}
static PyObject *meth_KBookmark_setMimeType(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        KBookmark *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KBookmark,sipName_setMimeType);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmark_showInToolbar(PyObject *, PyObject *);}
static PyObject *meth_KBookmark_showInToolbar(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KBookmark *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KBookmark,sipName_showInToolbar);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmark_setShowInToolbar(PyObject *, PyObject *);}
static PyObject *meth_KBookmark_setShowInToolbar(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0;
        KBookmark *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KBookmark,sipName_setShowInToolbar);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmark_parentGroup(PyObject *, PyObject *);}
static PyObject *meth_KBookmark_parentGroup(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KBookmark *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KBookmark,sipName_parentGroup);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmark_toGroup(PyObject *, PyObject *);}
static PyObject *meth_KBookmark_toGroup(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KBookmark *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KBookmark,sipName_toGroup);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmark_address(PyObject *, PyObject *);}
static PyObject *meth_KBookmark_address(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KBookmark *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KBookmark,sipName_address);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmark_positionInParent(PyObject *, PyObject *);}
static PyObject *meth_KBookmark_positionInParent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KBookmark *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(&sipArgsParsed,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(sipArgsParsed,sipName_KBookmark,sipName_positionInParent);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmark_internalElement(PyObject *, PyObject *);}
static PyObject *meth_KBookmark_internalElement(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KBookmark *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KBookmark,sipName_internalElement);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmark_updateAccessMetadata(PyObject *, PyObject *);}
static PyObject *meth_KBookmark_updateAccessMetadata(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KBookmark *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KBookmark,sipName_updateAccessMetadata);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmark_parentAddress(PyObject *, PyObject *);}
static PyObject *meth_KBookmark_parentAddress(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KBookmark,sipName_parentAddress);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmark_previousAddress(PyObject *, PyObject *);}
static PyObject *meth_KBookmark_previousAddress(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KBookmark,sipName_previousAddress);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmark_nextAddress(PyObject *, PyObject *);}
static PyObject *meth_KBookmark_nextAddress(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KBookmark,sipName_nextAddress);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmark_commonParent(PyObject *, PyObject *);}
static PyObject *meth_KBookmark_commonParent(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

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

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KBookmark,sipName_commonParent);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmark_metaData(PyObject *, PyObject *);}
static PyObject *meth_KBookmark_metaData(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        bool a1;
        KBookmark *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KBookmark,sipName_metaData);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmark_metaDataItem(PyObject *, PyObject *);}
static PyObject *meth_KBookmark_metaDataItem(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        KBookmark *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KBookmark,sipName_metaDataItem);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmark_setMetaDataItem(PyObject *, PyObject *);}
static PyObject *meth_KBookmark_setMetaDataItem(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        const QString * a1;
        int a1State = 0;
        KBookmark::MetaDataOverwriteMode a2 = KBookmark::OverwriteMetaData;
        KBookmark *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KBookmark,sipName_setMetaDataItem);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmark_populateMimeData(PyObject *, PyObject *);}
static PyObject *meth_KBookmark_populateMimeData(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        QMimeData * a0;
        KBookmark *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KBookmark,sipName_populateMimeData);

    return NULL;
}


extern "C" {static PyObject *slot_KBookmark___ne__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_KBookmark___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    KBookmark *sipCpp = reinterpret_cast<KBookmark *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KBookmark));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        const KBookmark * a0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1J9",sipType_KBookmark,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = !sipCpp->KBookmark::operator==(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    return sipPySlotExtend(&sipModuleAPI_kio,ne_slot,sipType_KBookmark,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KBookmark___eq__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_KBookmark___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    KBookmark *sipCpp = reinterpret_cast<KBookmark *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KBookmark));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        const KBookmark * a0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1J9",sipType_KBookmark,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->KBookmark::operator==(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    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 *, const void*);}
static void assign_KBookmark(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<KBookmark *>(sipDst) = *reinterpret_cast<const KBookmark *>(sipSrc);
}


extern "C" {static void dealloc_KBookmark(sipSimpleWrapper *);}
static void dealloc_KBookmark(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KBookmark(sipSelf->u.cppPtr,0);
    }
}


extern "C" {static void *init_KBookmark(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KBookmark(sipSimpleWrapper *, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    KBookmark *sipCpp = 0;

    if (!sipCpp)
    {
        if (sipParseArgs(sipArgsParsed,sipArgs,""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KBookmark();
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        const QDomElement * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_QDomElement,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KBookmark(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        const KBookmark * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_KBookmark,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KBookmark(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    return sipCpp;
}


/* 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_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_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 pyqt4Type_kio_KBookmark = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KBookmark,
        {0}
    },
    sipNameNr_KBookmark,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {0, 0, 1},
    0,
    slots_KBookmark,
    30, methods_KBookmark,
    2, enummembers_KBookmark,
    0, 0,
    init_KBookmark,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KBookmark,
    release_KBookmark,
    cast_KBookmark,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_KBookmark,
    0,
    0,
    0
};
