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

#include "sipAPIkio.h"


#line 188 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/global.sip"
#include<qmap.h>
#line 13 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtNetwork/qsslconfiguration.sip"
#include <qsslconfiguration.h>
#line 16 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"


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

    {
        const KIO::MetaData* a0;
        int a0State = 0;
        QSslConfiguration* a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1J9", sipType_KIO_MetaData,&a0, &a0State, sipType_QSslConfiguration, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::Integration::sslConfigFromMetaData(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<KIO::MetaData *>(a0),sipType_KIO_MetaData,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


static PyMethodDef methods_KIO_Integration[] = {
    {SIP_MLNAME_CAST(sipName_sslConfigFromMetaData), meth_KIO_Integration_sslConfigFromMetaData, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kio_KIO_Integration = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_NAMESPACE,
        sipNameNr_KIO__Integration,
        {0}
    },
    {
        sipNameNr_Integration,
        {101, 255, 0},
        1, methods_KIO_Integration,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    0,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/accessmanager.sip"
#include <kio/accessmanager.h>
#line 109 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"

#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 113 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtNetwork/qnetworkreply.sip"
#include <qnetworkreply.h>
#line 116 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 119 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 188 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/global.sip"
#include<qmap.h>
#line 122 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtNetwork/qnetworkaccessmanager.sip"
#include <qnetworkaccessmanager.h>
#line 125 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtNetwork/qnetworkrequest.sip"
#include <qnetworkrequest.h>
#line 128 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 131 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtNetwork/qnetworkconfiguration.sip"
#include <qnetworkconfiguration.h>
#line 134 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 37 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 137 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 190 "/usr/share/python3-sip/PyQt4/QtNetwork/qabstractnetworkcache.sip"
#include <qabstractnetworkcache.h>
#line 140 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 186 "/usr/share/python3-sip/PyQt4/QtNetwork/qnetworkproxy.sip"
#include <qnetworkproxy.h>
#line 143 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 146 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtNetwork/qsslerror.sip"
#include <qsslerror.h>
#line 149 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtNetwork/qauthenticator.sip"
#include <qauthenticator.h>
#line 152 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtNetwork/qnetworkproxy.sip"
#include <qnetworkproxy.h>
#line 155 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 57 "/usr/share/python3-sip/PyQt4/QtNetwork/qhttpmultipart.sip"
#include <qhttpmultipart.h>
#line 158 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtNetwork/qnetworkcookiejar.sip"
#include <qnetworkcookiejar.h>
#line 161 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 164 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 355 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 167 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 338 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 170 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 274 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 173 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 176 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 179 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 182 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 185 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 188 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 191 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 194 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"


class sipKIO_AccessManager : public KIO::AccessManager
{
public:
    sipKIO_AccessManager(QObject*);
    virtual ~sipKIO_AccessManager();

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

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    QNetworkReply* createRequest(QNetworkAccessManager::Operation,const QNetworkRequest&,QIODevice*);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[8];
};

sipKIO_AccessManager::sipKIO_AccessManager(QObject*a0): KIO::AccessManager(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipKIO_AccessManager::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KIO_AccessManager);
}

int sipKIO_AccessManager::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KIO::AccessManager::qt_metacall(_c,_id,_a);

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

    return _id;
}

void *sipKIO_AccessManager::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast(sipPySelf, sipType_KIO_AccessManager, _clname)) ? this : KIO::AccessManager::qt_metacast(_clname);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if (!sipMeth)
        return KIO::AccessManager::event(a0);

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

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

QNetworkReply* sipKIO_AccessManager::createRequest(QNetworkAccessManager::Operation a0,const QNetworkRequest& a1,QIODevice*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KIO::AccessManager::createRequest(a0,a1,a2);

    extern QNetworkReply* sipVH_kio_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QNetworkAccessManager::Operation,const QNetworkRequest&,QIODevice*);

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


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

    {
        bool a0;
        KIO::AccessManager *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KIO_AccessManager, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setExternalContentAllowed(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KIO::AccessManager *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isExternalContentAllowed();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QNetworkAccessManager::Operation a0;
        const QNetworkRequest* a1;
        QIODevice* a2 = 0;
        KIO::AccessManager *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pEJ9|J8", &sipSelf, sipType_KIO_AccessManager, &sipCpp, sipType_QNetworkAccessManager_Operation, &a0, sipType_QNetworkRequest, &a1, sipType_QIODevice, &a2))
        {
            QNetworkReply*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KIO::AccessManager::createRequest(a0,*a1,a2) : sipCpp->createRequest(a0,*a1,a2));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        WId a0;
        KIO::AccessManager *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bm", &sipSelf, sipType_KIO_AccessManager, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCookieJarWindowId(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KIO::AccessManager *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIO_AccessManager, &sipCpp))
        {
            WId sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->cookieJarWindowid();
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KIO::AccessManager *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIO_AccessManager, &sipCpp))
        {
            KIO::MetaData*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &sipCpp->requestMetaData();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KIO::AccessManager *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIO_AccessManager, &sipCpp))
        {
            KIO::MetaData*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &sipCpp->sessionMetaData();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        QWidget* a0;
        KIO::AccessManager *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KIO_AccessManager, &sipCpp, sipType_QWidget, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setWindow(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KIO::AccessManager *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIO_AccessManager, &sipCpp))
        {
            QWidget*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->window();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        QNetworkReply* a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J8", sipType_QNetworkReply, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            KIO::AccessManager::putReplyOnHold(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        KIO::AccessManager *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KIO_AccessManager, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setEmitReadyReadOnMetaDataChange(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_KIO_AccessManager)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QNetworkAccessManager)->ctd_cast((QNetworkAccessManager *)(KIO::AccessManager *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    Py_BEGIN_ALLOW_THREADS

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

    Py_END_ALLOW_THREADS
}


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

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


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

    {
        QObject* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "JH", sipType_QObject, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKIO_AccessManager(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_KIO_AccessManager[] = {
    {SIP_MLNAME_CAST(sipName_cookieJarWindowid), meth_KIO_AccessManager_cookieJarWindowid, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_createRequest), meth_KIO_AccessManager_createRequest, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isExternalContentAllowed), meth_KIO_AccessManager_isExternalContentAllowed, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_putReplyOnHold), meth_KIO_AccessManager_putReplyOnHold, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_requestMetaData), meth_KIO_AccessManager_requestMetaData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sessionMetaData), meth_KIO_AccessManager_sessionMetaData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCookieJarWindowId), meth_KIO_AccessManager_setCookieJarWindowId, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setEmitReadyReadOnMetaDataChange), meth_KIO_AccessManager_setEmitReadyReadOnMetaDataChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setExternalContentAllowed), meth_KIO_AccessManager_setExternalContentAllowed, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setWindow), meth_KIO_AccessManager_setWindow, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_window), meth_KIO_AccessManager_window, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KIO_AccessManager[] = {
    {sipName_KioError, static_cast<int>(KIO::AccessManager::KioError), 103},
    {sipName_MetaData, static_cast<int>(KIO::AccessManager::MetaData), 103},
};


pyqt4ClassTypeDef sipTypeDef_kio_KIO_AccessManager = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KIO__AccessManager,
        {0}
    },
    {
        sipNameNr_AccessManager,
        {101, 255, 0},
        11, methods_KIO_AccessManager,
        2, enummembers_KIO_AccessManager,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KIO_AccessManager,
    0,
    init_type_KIO_AccessManager,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KIO_AccessManager,
    0,
    0,
    0,
    release_KIO_AccessManager,
    cast_KIO_AccessManager,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KIO::AccessManager::staticMetaObject,
    0,
    0
};


#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 847 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 850 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"


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

    {
        const QString* a0;
        int a0State = 0;
        KImageIO::Mode a1 = KImageIO::Writing;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1|E", sipType_QString,&a0, &a0State, sipType_KImageIO_Mode, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KImageIO::isSupported(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KImageIO::Mode a0 = KImageIO::Writing;

        if (sipParseArgs(&sipParseErr, sipArgs, "|E", sipType_KImageIO_Mode, &a0))
        {
            QStringList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(KImageIO::mimeTypes(a0));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KImageIO::Mode a0 = KImageIO::Writing;

        if (sipParseArgs(&sipParseErr, sipArgs, "|E", sipType_KImageIO_Mode, &a0))
        {
            QStringList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(KImageIO::types(a0));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
            QStringList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(KImageIO::typeForMime(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

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

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

    return NULL;
}


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

    {
        KImageIO::Mode a0 = KImageIO::Reading;

        if (sipParseArgs(&sipParseErr, sipArgs, "|E", sipType_KImageIO_Mode, &a0))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KImageIO::pattern(a0));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


static PyMethodDef methods_KImageIO[] = {
    {SIP_MLNAME_CAST(sipName_isSupported), meth_KImageIO_isSupported, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mimeTypes), meth_KImageIO_mimeTypes, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_pattern), meth_KImageIO_pattern, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_typeForMime), meth_KImageIO_typeForMime, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_types), meth_KImageIO_types, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KImageIO[] = {
    {sipName_Reading, static_cast<int>(KImageIO::Reading), 182},
    {sipName_Writing, static_cast<int>(KImageIO::Writing), 182},
};


pyqt4ClassTypeDef sipTypeDef_kio_KImageIO = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_NAMESPACE,
        sipNameNr_KImageIO,
        {0}
    },
    {
        sipNameNr_KImageIO,
        {0, 0, 1},
        5, methods_KImageIO,
        2, enummembers_KImageIO,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    0,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kimagefilepreview.sip"
#include <kimagefilepreview.h>
#include <jobclasses.h>
#line 1063 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"

#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 1067 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/previewjob.sip"
#include <previewjob.h>
#line 1070 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 1073 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 570 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1076 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kfileitem.sip"
#include <kfileitem.h>
#line 1079 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 1082 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 1085 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 1088 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1091 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 39 "/usr/share/python3-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 1094 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1097 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1100 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 39 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 1103 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 1106 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 1109 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 1112 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 1115 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 1118 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 1121 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 1124 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 1127 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 37 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 1130 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 1133 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 1136 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 1139 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 1142 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1145 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 1148 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 274 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 1151 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 656 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1154 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1157 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 616 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1160 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 605 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1163 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 748 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1166 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 801 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1169 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 774 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1172 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 790 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1175 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 863 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1178 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 412 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1181 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 627 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1184 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 583 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1187 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 557 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1190 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 533 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1193 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 514 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1196 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 483 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1199 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 356 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1202 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 261 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1205 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 1208 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 61 "/usr/share/python3-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 1211 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 39 "/usr/share/python3-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 1214 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 1217 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 1220 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 1223 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 1226 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1229 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 1232 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 1235 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 1238 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 1241 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 1244 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 355 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1247 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 338 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1250 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 1253 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 1256 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 1259 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 1262 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 1265 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 1268 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"


class sipKImageFilePreview : public KImageFilePreview
{
public:
    sipKImageFilePreview(QWidget*);
    virtual ~sipKImageFilePreview();

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

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[51];
};

sipKImageFilePreview::sipKImageFilePreview(QWidget*a0): KImageFilePreview(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipKImageFilePreview::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KImageFilePreview);
}

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

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

    return _id;
}

void *sipKImageFilePreview::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast(sipPySelf, sipType_KImageFilePreview, _clname)) ? this : KImageFilePreview::qt_metacast(_clname);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

KIO::PreviewJob* sipKImageFilePreview::createJob(const KUrl& a0,int a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KImageFilePreview::createJob(a0,a1,a2);

    extern KIO::PreviewJob* sipVH_kio_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const KUrl&,int,int);

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

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

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

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

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

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

void sipKImageFilePreview::gotPreview(const KFileItem& a0,const QPixmap& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KImageFilePreview::gotPreview(a0,a1);
        return;
    }

    extern void sipVH_kio_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const KFileItem&,const QPixmap&);

    sipVH_kio_36(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKImageFilePreview::clearPreview()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_clearPreview);

    if (!sipMeth)
    {
        KImageFilePreview::clearPreview();
        return;
    }

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

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

void sipKImageFilePreview::showPreview(const KUrl& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_showPreview);

    if (!sipMeth)
    {
        KImageFilePreview::showPreview(a0);
        return;
    }

    typedef void (*sipVH_kdecore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const KUrl&);

    ((sipVH_kdecore_47)(sipModuleAPI_kio_kdecore->em_virthandlers[47]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

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


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

    {
        const KImageFilePreview *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KImageFilePreview, &sipCpp))
        {
            QSize*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSize((sipSelfWasArg ? sipCpp->KImageFilePreview::sizeHint() : sipCpp->sizeHint()));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KUrl* a0;
        KImageFilePreview *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KImageFilePreview, &sipCpp, sipType_KUrl, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KImageFilePreview::showPreview(*a0) : sipCpp->showPreview(*a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        KImageFilePreview *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const KUrl* a0;
        bool a1;
        KImageFilePreview *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9b", &sipSelf, sipType_KImageFilePreview, &sipCpp, sipType_KUrl, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->showPreview(*a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KImageFilePreview *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KImageFilePreview, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KImageFilePreview::clearPreview() : sipCpp->clearPreview());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KFileItem* a0;
        const QPixmap* a1;
        KImageFilePreview *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9J9", &sipSelf, sipType_KImageFilePreview, &sipCpp, sipType_KFileItem, &a0, sipType_QPixmap, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KImageFilePreview::gotPreview(*a0,*a1) : sipCpp->gotPreview(*a0,*a1));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QResizeEvent* a0;
        KImageFilePreview *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KImageFilePreview, &sipCpp, sipType_QResizeEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KImageFilePreview::resizeEvent(a0) : sipCpp->resizeEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KUrl* a0;
        int a1;
        int a2;
        KImageFilePreview *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9ii", &sipSelf, sipType_KImageFilePreview, &sipCpp, sipType_KUrl, &a0, &a1, &a2))
        {
            KIO::PreviewJob*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KImageFilePreview::createJob(*a0,a1,a2) : sipCpp->createJob(*a0,a1,a2));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    if (targetType == sipType_KImageFilePreview)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KPreviewWidgetBase)->ctd_cast((KPreviewWidgetBase *)(KImageFilePreview *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    Py_BEGIN_ALLOW_THREADS

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

    Py_END_ALLOW_THREADS
}


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

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


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

    {
        QWidget* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKImageFilePreview(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KImageFilePreview[] = {{201, 255, 1}};


static PyMethodDef methods_KImageFilePreview[] = {
    {SIP_MLNAME_CAST(sipName_clearPreview), meth_KImageFilePreview_clearPreview, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_createJob), meth_KImageFilePreview_createJob, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_gotPreview), meth_KImageFilePreview_gotPreview, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_KImageFilePreview_resizeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showPreview), meth_KImageFilePreview_showPreview, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_KImageFilePreview_sizeHint, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kio_KImageFilePreview = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KImageFilePreview,
        {0}
    },
    {
        sipNameNr_KImageFilePreview,
        {0, 0, 1},
        6, methods_KImageFilePreview,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KImageFilePreview,
    0,
    init_type_KImageFilePreview,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KImageFilePreview,
    0,
    0,
    0,
    release_KImageFilePreview,
    cast_KImageFilePreview,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KImageFilePreview::staticMetaObject,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kpreviewwidgetbase.sip"
#include <kpreviewwidgetbase.h>
#line 2604 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"

#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 2608 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 2611 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 2614 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2617 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 39 "/usr/share/python3-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 2620 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2623 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2626 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 39 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 2629 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 2632 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 2635 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 2638 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 2641 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 2644 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 2647 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 2650 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 2653 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 37 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 2656 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 2659 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 2662 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 2665 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 2668 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 2671 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2674 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 2677 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 274 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 2680 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 656 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2683 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2686 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 616 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2689 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 605 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2692 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 748 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2695 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 801 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2698 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 774 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2701 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 790 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2704 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 863 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2707 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 412 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2710 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 627 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2713 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 583 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2716 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 570 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2719 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 557 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2722 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 533 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2725 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 514 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2728 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 483 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2731 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 356 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2734 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 261 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2737 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 2740 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 61 "/usr/share/python3-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 2743 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 39 "/usr/share/python3-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 2746 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 2749 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 2752 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 2755 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 2758 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2761 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 2764 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 2767 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 2770 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 2773 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 2776 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 355 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2779 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 338 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2782 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 2785 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 2788 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 2791 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 2794 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 2797 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 2800 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"


class sipKPreviewWidgetBase : public KPreviewWidgetBase
{
public:
    sipKPreviewWidgetBase(QWidget*);
    virtual ~sipKPreviewWidgetBase();

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

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[49];
};

sipKPreviewWidgetBase::sipKPreviewWidgetBase(QWidget*a0): KPreviewWidgetBase(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipKPreviewWidgetBase::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KPreviewWidgetBase);
}

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

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

    return _id;
}

void *sipKPreviewWidgetBase::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast(sipPySelf, sipType_KPreviewWidgetBase, _clname)) ? this : KPreviewWidgetBase::qt_metacast(_clname);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

void sipKPreviewWidgetBase::clearPreview()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,sipName_KPreviewWidgetBase,sipName_clearPreview);

    if (!sipMeth)
        return;

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

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

void sipKPreviewWidgetBase::showPreview(const KUrl& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,sipName_KPreviewWidgetBase,sipName_showPreview);

    if (!sipMeth)
        return;

    typedef void (*sipVH_kdecore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const KUrl&);

    ((sipVH_kdecore_47)(sipModuleAPI_kio_kdecore->em_virthandlers[47]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}


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

    {
        const KUrl* a0;
        KPreviewWidgetBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KPreviewWidgetBase, &sipCpp, sipType_KUrl, &a0))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KPreviewWidgetBase, sipName_showPreview);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->showPreview(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KPreviewWidgetBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPreviewWidgetBase, &sipCpp))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KPreviewWidgetBase, sipName_clearPreview);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->clearPreview();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KPreviewWidgetBase *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        const QStringList* a0;
        int a0State = 0;
        KPreviewWidgetBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1", &sipSelf, sipType_KPreviewWidgetBase, &sipCpp, sipType_QStringList,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSupportedMimeTypes(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QStringList *>(a0),sipType_QStringList,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_KPreviewWidgetBase)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QWidget)->ctd_cast((QWidget *)(KPreviewWidgetBase *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    Py_BEGIN_ALLOW_THREADS

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

    Py_END_ALLOW_THREADS
}


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

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


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

    {
        QWidget* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "JH", sipType_QWidget, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKPreviewWidgetBase(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_KPreviewWidgetBase[] = {
    {SIP_MLNAME_CAST(sipName_clearPreview), meth_KPreviewWidgetBase_clearPreview, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSupportedMimeTypes), meth_KPreviewWidgetBase_setSupportedMimeTypes, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showPreview), meth_KPreviewWidgetBase_showPreview, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_supportedMimeTypes), meth_KPreviewWidgetBase_supportedMimeTypes, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kio_KPreviewWidgetBase = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KPreviewWidgetBase,
        {0}
    },
    {
        sipNameNr_KPreviewWidgetBase,
        {0, 0, 1},
        4, methods_KPreviewWidgetBase,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KPreviewWidgetBase,
    0,
    init_type_KPreviewWidgetBase,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KPreviewWidgetBase,
    0,
    0,
    0,
    release_KPreviewWidgetBase,
    cast_KPreviewWidgetBase,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KPreviewWidgetBase::staticMetaObject,
    0,
    0
};

#line 91 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kicondialog.sip"
#include <kicondialog.h>
#line 4015 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"

#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 4019 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kdeui/kiconloader.sip"
#include <kiconloader.h>
#line 4022 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 4025 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 4028 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 514 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4031 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 483 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4034 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 533 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4037 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4040 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 705 "/usr/share/python3-sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 4043 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qmenu.sip"
#include <qmenu.h>
#line 4046 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 4049 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 338 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4052 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 261 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4055 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 4058 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qbuttongroup.sip"
#include <qbuttongroup.h>
#line 4061 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 4064 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 4067 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 39 "/usr/share/python3-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 4070 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 4073 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 4076 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 39 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 4079 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 4082 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 4085 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 4088 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 4091 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 4094 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 4097 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 37 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 4100 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 4103 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 4106 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 4109 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 4112 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 4115 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 4118 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 274 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 4121 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 656 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4124 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 616 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4127 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 605 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4130 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 748 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4133 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 801 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4136 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 774 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4139 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 790 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4142 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 863 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4145 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 412 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4148 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 627 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4151 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 583 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4154 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 570 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4157 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 557 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4160 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 356 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4163 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 4166 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 61 "/usr/share/python3-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 4169 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 39 "/usr/share/python3-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 4172 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 4175 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 4178 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 4181 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 4184 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 4187 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 4190 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 4193 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 4196 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 355 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4199 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 4202 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 4205 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 4208 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 4211 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 4214 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 4217 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"


class sipKIconButton : public KIconButton
{
public:
    sipKIconButton(QWidget*);
    sipKIconButton(KIconLoader*,QWidget*);
    virtual ~sipKIconButton();

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

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[50];
};

sipKIconButton::sipKIconButton(QWidget*a0): KIconButton(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKIconButton::sipKIconButton(KIconLoader*a0,QWidget*a1): KIconButton(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipKIconButton::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KIconButton);
}

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

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

    return _id;
}

void *sipKIconButton::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast(sipPySelf, sipType_KIconButton, _clname)) ? this : KIconButton::qt_metacast(_clname);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

void sipKIconButton::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        KIconButton::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kio_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconButton::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        KIconButton::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kio_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconButton::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        KIconButton::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kio_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconButton::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        KIconButton::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kio_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconButton::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        KIconButton::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kio_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconButton::nextCheckState()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_nextCheckState);

    if (!sipMeth)
    {
        KIconButton::nextCheckState();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKIconButton::checkStateSet()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_checkStateSet);

    if (!sipMeth)
    {
        KIconButton::checkStateSet();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipKIconButton::hitButton(const QPoint& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[42]),sipPySelf,NULL,sipName_hitButton);

    if (!sipMeth)
        return KIconButton::hitButton(a0);

    typedef bool (*sipVH_QtGui_57)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPoint&);

    return ((sipVH_QtGui_57)(sipModuleAPI_kio_QtGui->em_virthandlers[57]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconButton::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        KIconButton::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kio_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconButton::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        KIconButton::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kio_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconButton::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        KIconButton::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kio_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconButton::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        KIconButton::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_kio_QtGui->em_virthandlers[3]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKIconButton::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KIconButton::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QSize sipKIconButton::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[48]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return KIconButton::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kio_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

QSize sipKIconButton::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[49]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return KIconButton::sizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kio_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}


extern "C" {static PyObject *meth_KIconButton_setStrictIconSize(PyObject *, PyObject *);}
static PyObject *meth_KIconButton_setStrictIconSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KIconButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KIconButton, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setStrictIconSize(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIconButton, sipName_setStrictIconSize, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIconButton_strictIconSize(PyObject *, PyObject *);}
static PyObject *meth_KIconButton_strictIconSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KIconButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIconButton, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->strictIconSize();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIconButton, sipName_strictIconSize, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIconButton_setIconType(PyObject *, PyObject *);}
static PyObject *meth_KIconButton_setIconType(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KIconLoader::Group a0;
        KIconLoader::Context a1;
        bool a2 = 0;
        KIconButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEE|b", &sipSelf, sipType_KIconButton, &sipCpp, sipType_KIconLoader_Group, &a0, sipType_KIconLoader_Context, &a1, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setIconType(a0,a1,a2);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIconButton, sipName_setIconType, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIconButton_setIcon(PyObject *, PyObject *);}
static PyObject *meth_KIconButton_setIcon(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KIconButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KIconButton, &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;
        }
    }

    {
        const QIcon* a0;
        KIconButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KIconButton, &sipCpp, sipType_QIcon, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setIcon(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIconButton, sipName_setIcon, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIconButton_resetIcon(PyObject *, PyObject *);}
static PyObject *meth_KIconButton_resetIcon(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KIconButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIconButton, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->resetIcon();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIconButton, sipName_resetIcon, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIconButton_icon(PyObject *, PyObject *);}
static PyObject *meth_KIconButton_icon(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KIconButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIconButton, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->icon());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIconButton, sipName_icon, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIconButton_setIconSize(PyObject *, PyObject *);}
static PyObject *meth_KIconButton_setIconSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        KIconButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KIconButton, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setIconSize(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIconButton, sipName_setIconSize, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIconButton_iconSize(PyObject *, PyObject *);}
static PyObject *meth_KIconButton_iconSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KIconButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIconButton, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->iconSize();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIconButton, sipName_iconSize, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIconButton_setButtonIconSize(PyObject *, PyObject *);}
static PyObject *meth_KIconButton_setButtonIconSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        KIconButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KIconButton, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setButtonIconSize(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIconButton, sipName_setButtonIconSize, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIconButton_buttonIconSize(PyObject *, PyObject *);}
static PyObject *meth_KIconButton_buttonIconSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KIconButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIconButton, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->buttonIconSize();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIconButton, sipName_buttonIconSize, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KIconButton(void *, const sipTypeDef *);}
static void *cast_KIconButton(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KIconButton)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QPushButton)->ctd_cast((QPushButton *)(KIconButton *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KIconButton(void *, int);}
static void release_KIconButton(void *sipCppV,int)
{
    KIconButton *sipCpp = reinterpret_cast<KIconButton *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KIconButton(sipSimpleWrapper *);}
static void dealloc_KIconButton(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKIconButton *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KIconButton(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KIconButton(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KIconButton(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKIconButton *sipCpp = 0;

    {
        QWidget* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKIconButton(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        KIconLoader* a0;
        QWidget* a1;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8JH", sipType_KIconLoader, &a0, sipType_QWidget, &a1, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKIconButton(a0,a1);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KIconButton[] = {{427, 2, 1}};


static PyMethodDef methods_KIconButton[] = {
    {SIP_MLNAME_CAST(sipName_buttonIconSize), meth_KIconButton_buttonIconSize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_icon), meth_KIconButton_icon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_iconSize), meth_KIconButton_iconSize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resetIcon), meth_KIconButton_resetIcon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setButtonIconSize), meth_KIconButton_setButtonIconSize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setIcon), meth_KIconButton_setIcon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setIconSize), meth_KIconButton_setIconSize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setIconType), meth_KIconButton_setIconType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setStrictIconSize), meth_KIconButton_setStrictIconSize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_strictIconSize), meth_KIconButton_strictIconSize, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KIconButton[] = {
    {"iconChanged(QString)", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kio_KIconButton = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KIconButton,
        {0}
    },
    {
        sipNameNr_KIconButton,
        {0, 0, 1},
        10, methods_KIconButton,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KIconButton,
    0,
    init_type_KIconButton,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KIconButton,
    0,
    0,
    0,
    release_KIconButton,
    cast_KIconButton,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KIconButton::staticMetaObject,
    0,
    signals_KIconButton,
};

#line 55 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kicondialog.sip"
#include <kicondialog.h>
#line 5654 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"

#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 5658 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kdeui/kiconloader.sip"
#include <kiconloader.h>
#line 5661 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 5664 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 483 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5667 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 583 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5670 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 616 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5673 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 5676 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 5679 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 5682 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 5685 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 5688 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kdeui/kpushbutton.sip"
#include <kpushbutton.h>
#line 5691 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 5694 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kdecore/kconfigbase.sip"
#include <kconfigbase.h>
#line 5697 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qmenu.sip"
#include <qmenu.h>
#line 5700 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kdeui/kguiitem.sip"
#include <kguiitem.h>
#line 5703 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kdeui/kicon.sip"
#include <kicon.h>
#line 5706 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 5709 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 5712 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 5715 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 5718 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 627 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5721 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 570 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5724 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 605 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5727 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 5730 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 39 "/usr/share/python3-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 5733 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 5736 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 39 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 5739 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 5742 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 5745 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 5748 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 5751 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 5754 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 5757 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 5760 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 37 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 5763 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 5766 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 5769 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 5772 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 5775 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 5778 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 274 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 5781 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 656 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5784 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 748 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5787 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 801 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5790 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 774 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5793 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 790 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5796 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 863 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5799 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 412 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5802 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 557 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5805 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 533 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5808 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 514 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5811 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 356 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5814 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 261 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5817 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 5820 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 61 "/usr/share/python3-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 5823 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 39 "/usr/share/python3-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 5826 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 5829 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 5832 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 5835 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 5838 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 5841 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 5844 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 5847 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 5850 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 5853 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 355 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 5856 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 338 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 5859 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 5862 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 5865 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 5868 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 5871 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 5874 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"


class sipKIconDialog : public KIconDialog
{
public:
    sipKIconDialog(QWidget*);
    sipKIconDialog(KIconLoader*,QWidget*);
    virtual ~sipKIconDialog();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    void languageChange();
    void windowActivationChange(bool);
    void fontChange(const QFont&);
    void paletteChange(const QPalette&);
    void enabledChange(bool);
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void changeEvent(QEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void moveEvent(QMoveEvent*);
    void paintEvent(QPaintEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    bool event(QEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    int devType() const;
    bool eventFilter(QObject*,QEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void resizeEvent(QResizeEvent*);
    void showEvent(QShowEvent*);
    void reject();
    void accept();
    void done(int);
    void setVisible(bool);
    void slotButtonClicked(int);
    void keyPressEvent(QKeyEvent*);
    void closeEvent(QCloseEvent*);
    void hideEvent(QHideEvent*);
    void setPlainCaption(const QString&);
    void setCaption(const QString&,bool);
    void setCaption(const QString&);
    QSize minimumSizeHint() const;
    QSize sizeHint() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKIconDialog(const sipKIconDialog &);
    sipKIconDialog &operator = (const sipKIconDialog &);

    char sipPyMethods[54];
};

sipKIconDialog::sipKIconDialog(QWidget*a0): KIconDialog(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKIconDialog::sipKIconDialog(KIconLoader*a0,QWidget*a1): KIconDialog(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKIconDialog::~sipKIconDialog()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKIconDialog::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KIconDialog);
}

int sipKIconDialog::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KIconDialog::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kio_qt_metacall(sipPySelf,sipType_KIconDialog,_c,_id,_a);

    return _id;
}

void *sipKIconDialog::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast(sipPySelf, sipType_KIconDialog, _clname)) ? this : KIconDialog::qt_metacast(_clname);
}

void sipKIconDialog::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KIconDialog::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconDialog::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KIconDialog::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconDialog::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KIconDialog::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kio_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconDialog::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KIconDialog::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kio_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconDialog::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KIconDialog::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kio_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconDialog::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
        KIconDialog::languageChange();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKIconDialog::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
        KIconDialog::windowActivationChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kio_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconDialog::fontChange(const QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
        KIconDialog::fontChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QFont&);

    ((sipVH_QtGui_9)(sipModuleAPI_kio_QtGui->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconDialog::paletteChange(const QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
        KIconDialog::paletteChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_10)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPalette&);

    ((sipVH_QtGui_10)(sipModuleAPI_kio_QtGui->em_virthandlers[10]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconDialog::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
        KIconDialog::enabledChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kio_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKIconDialog::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return KIconDialog::focusNextPrevChild(a0);

    typedef bool (*sipVH_QtGui_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return ((sipVH_QtGui_11)(sipModuleAPI_kio_QtGui->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QVariant sipKIconDialog::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return KIconDialog::inputMethodQuery(a0);

    typedef QVariant (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return ((sipVH_QtGui_12)(sipModuleAPI_kio_QtGui->em_virthandlers[12]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconDialog::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        KIconDialog::inputMethodEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_13)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    ((sipVH_QtGui_13)(sipModuleAPI_kio_QtGui->em_virthandlers[13]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKIconDialog::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return KIconDialog::metric(a0);

    typedef int (*sipVH_QtGui_14)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_14)(sipModuleAPI_kio_QtGui->em_virthandlers[14]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconDialog::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        KIconDialog::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kio_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconDialog::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        KIconDialog::dropEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_15)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    ((sipVH_QtGui_15)(sipModuleAPI_kio_QtGui->em_virthandlers[15]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconDialog::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        KIconDialog::dragLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_16)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    ((sipVH_QtGui_16)(sipModuleAPI_kio_QtGui->em_virthandlers[16]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconDialog::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        KIconDialog::dragMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    ((sipVH_QtGui_17)(sipModuleAPI_kio_QtGui->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconDialog::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        KIconDialog::dragEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    ((sipVH_QtGui_18)(sipModuleAPI_kio_QtGui->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconDialog::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        KIconDialog::actionEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_19)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    ((sipVH_QtGui_19)(sipModuleAPI_kio_QtGui->em_virthandlers[19]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconDialog::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        KIconDialog::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_20)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_20)(sipModuleAPI_kio_QtGui->em_virthandlers[20]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconDialog::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        KIconDialog::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_23)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_23)(sipModuleAPI_kio_QtGui->em_virthandlers[23]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconDialog::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        KIconDialog::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_kio_QtGui->em_virthandlers[3]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconDialog::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        KIconDialog::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kio_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconDialog::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        KIconDialog::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kio_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconDialog::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        KIconDialog::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kio_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconDialog::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        KIconDialog::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kio_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconDialog::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        KIconDialog::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kio_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconDialog::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        KIconDialog::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_kio_QtGui->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconDialog::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        KIconDialog::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kio_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconDialog::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        KIconDialog::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kio_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconDialog::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        KIconDialog::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kio_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconDialog::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        KIconDialog::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kio_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKIconDialog::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KIconDialog::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QPaintEngine* sipKIconDialog::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return KIconDialog::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_27)(sipModuleAPI_kio_QtGui->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKIconDialog::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[35]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return KIconDialog::heightForWidth(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtGui_28)(sipModuleAPI_kio_QtGui->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKIconDialog::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[36]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return KIconDialog::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_kio_QtCore->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipKIconDialog::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KIconDialog::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKIconDialog::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        KIconDialog::contextMenuEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_21)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    ((sipVH_QtGui_21)(sipModuleAPI_kio_QtGui->em_virthandlers[21]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconDialog::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        KIconDialog::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_kio_QtGui->em_virthandlers[2]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconDialog::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        KIconDialog::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_1)(sipModuleAPI_kio_QtGui->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconDialog::reject()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_reject);

    if (!sipMeth)
    {
        KIconDialog::reject();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKIconDialog::accept()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_accept);

    if (!sipMeth)
    {
        KIconDialog::accept();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKIconDialog::done(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_done);

    if (!sipMeth)
    {
        KIconDialog::done(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_kio_QtCore->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconDialog::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        KIconDialog::setVisible(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kio_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconDialog::slotButtonClicked(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_slotButtonClicked);

    if (!sipMeth)
    {
        KIconDialog::slotButtonClicked(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_kio_QtCore->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconDialog::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        KIconDialog::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kio_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconDialog::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        KIconDialog::closeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_22)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    ((sipVH_QtGui_22)(sipModuleAPI_kio_QtGui->em_virthandlers[22]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconDialog::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        KIconDialog::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_kio_QtGui->em_virthandlers[0]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconDialog::setPlainCaption(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_setPlainCaption);

    if (!sipMeth)
    {
        KIconDialog::setPlainCaption(a0);
        return;
    }

    typedef void (*sipVH_QtCore_33)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    ((sipVH_QtCore_33)(sipModuleAPI_kio_QtCore->em_virthandlers[33]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconDialog::setCaption(const QString& a0,bool a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_setCaption);

    if (!sipMeth)
    {
        KIconDialog::setCaption(a0,a1);
        return;
    }

    typedef void (*sipVH_QtXml_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&,bool);

    ((sipVH_QtXml_24)(sipModuleAPI_kio_QtXml->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKIconDialog::setCaption(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_setCaption);

    if (!sipMeth)
    {
        KIconDialog::setCaption(a0);
        return;
    }

    typedef void (*sipVH_QtCore_33)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    ((sipVH_QtCore_33)(sipModuleAPI_kio_QtCore->em_virthandlers[33]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QSize sipKIconDialog::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[52]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return KIconDialog::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kio_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

QSize sipKIconDialog::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[53]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return KIconDialog::sizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kio_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}


extern "C" {static PyObject *meth_KIconDialog_setStrictIconSize(PyObject *, PyObject *);}
static PyObject *meth_KIconDialog_setStrictIconSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KIconDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KIconDialog, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setStrictIconSize(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIconDialog, sipName_setStrictIconSize, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIconDialog_strictIconSize(PyObject *, PyObject *);}
static PyObject *meth_KIconDialog_strictIconSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KIconDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIconDialog, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->strictIconSize();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIconDialog, sipName_strictIconSize, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIconDialog_setCustomLocation(PyObject *, PyObject *);}
static PyObject *meth_KIconDialog_setCustomLocation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KIconDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KIconDialog, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCustomLocation(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIconDialog, sipName_setCustomLocation, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIconDialog_setIconSize(PyObject *, PyObject *);}
static PyObject *meth_KIconDialog_setIconSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        KIconDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KIconDialog, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setIconSize(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIconDialog, sipName_setIconSize, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIconDialog_iconSize(PyObject *, PyObject *);}
static PyObject *meth_KIconDialog_iconSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KIconDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIconDialog, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->iconSize();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIconDialog, sipName_iconSize, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIconDialog_setup(PyObject *, PyObject *);}
static PyObject *meth_KIconDialog_setup(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KIconLoader::Group a0;
        KIconLoader::Context a1 = KIconLoader::Application;
        bool a2 = 0;
        int a3 = 0;
        bool a4 = 0;
        bool a5 = 0;
        bool a6 = 0;
        KIconDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE|Ebibbb", &sipSelf, sipType_KIconDialog, &sipCpp, sipType_KIconLoader_Group, &a0, sipType_KIconLoader_Context, &a1, &a2, &a3, &a4, &a5, &a6))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setup(a0,a1,a2,a3,a4,a5,a6);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIconDialog, sipName_setup, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIconDialog_openDialog(PyObject *, PyObject *);}
static PyObject *meth_KIconDialog_openDialog(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KIconDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIconDialog, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->openDialog());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIconDialog, sipName_openDialog, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIconDialog_showDialog(PyObject *, PyObject *);}
static PyObject *meth_KIconDialog_showDialog(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KIconDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIconDialog, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->showDialog();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIconDialog, sipName_showDialog, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIconDialog_getIcon(PyObject *, PyObject *);}
static PyObject *meth_KIconDialog_getIcon(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KIconLoader::Group a0 = KIconLoader::Desktop;
        KIconLoader::Context a1 = KIconLoader::Application;
        bool a2 = 0;
        int a3 = 0;
        bool a4 = 0;
        QWidget* a5 = 0;
        const QString& a6def = QString();
        const QString* a6 = &a6def;
        int a6State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "|EEbibJ:J1", sipType_KIconLoader_Group, &a0, sipType_KIconLoader_Context, &a1, &a2, &a3, &a4, sipType_QWidget, &a5, sipType_QString,&a6, &a6State))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KIconDialog::getIcon(a0,a1,a2,a3,a4,a5,*a6));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a6),sipType_QString,a6State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIconDialog, sipName_getIcon, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIconDialog_slotOk(PyObject *, PyObject *);}
static PyObject *meth_KIconDialog_slotOk(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KIconDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KIconDialog, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->slotOk();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIconDialog, sipName_slotOk, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KIconDialog(void *, const sipTypeDef *);}
static void *cast_KIconDialog(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KIconDialog)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KDialog)->ctd_cast((KDialog *)(KIconDialog *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KIconDialog(void *, int);}
static void release_KIconDialog(void *sipCppV,int)
{
    KIconDialog *sipCpp = reinterpret_cast<KIconDialog *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KIconDialog(sipSimpleWrapper *);}
static void dealloc_KIconDialog(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKIconDialog *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KIconDialog(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KIconDialog(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KIconDialog(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKIconDialog *sipCpp = 0;

    {
        QWidget* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKIconDialog(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        KIconLoader* a0;
        QWidget* a1 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8|JH", sipType_KIconLoader, &a0, sipType_QWidget, &a1, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKIconDialog(a0,a1);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KIconDialog[] = {{86, 7, 1}};


static PyMethodDef methods_KIconDialog[] = {
    {SIP_MLNAME_CAST(sipName_getIcon), meth_KIconDialog_getIcon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_iconSize), meth_KIconDialog_iconSize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_openDialog), meth_KIconDialog_openDialog, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCustomLocation), meth_KIconDialog_setCustomLocation, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setIconSize), meth_KIconDialog_setIconSize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setStrictIconSize), meth_KIconDialog_setStrictIconSize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setup), meth_KIconDialog_setup, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showDialog), meth_KIconDialog_showDialog, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotOk), meth_KIconDialog_slotOk, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_strictIconSize), meth_KIconDialog_strictIconSize, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KIconDialog[] = {
    {"newIconName(QString)", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kio_KIconDialog = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KIconDialog,
        {0}
    },
    {
        sipNameNr_KIconDialog,
        {0, 0, 1},
        10, methods_KIconDialog,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KIconDialog,
    0,
    init_type_KIconDialog,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KIconDialog,
    0,
    0,
    0,
    release_KIconDialog,
    cast_KIconDialog,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KIconDialog::staticMetaObject,
    0,
    signals_KIconDialog,
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kicondialog.sip"
#include <kicondialog.h>
#line 7387 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"

#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 7391 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 7394 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 7397 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 261 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7400 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7403 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 514 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7406 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 483 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7409 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qlistwidget.sip"
#include <qlistwidget.h>
#line 7412 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 7415 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 127 "/usr/share/python3-sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 7418 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 748 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7421 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 7424 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 7427 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 7430 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7433 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7436 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 7439 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7442 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 7445 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 94 "/usr/share/python3-sip/PyQt4/QtGui/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 7448 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 174 "/usr/share/python3-sip/PyQt4/QtGui/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 7451 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 7454 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 7457 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7460 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 533 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7463 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 1135 "/usr/share/python3-sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 7466 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 801 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7469 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 774 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7472 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 570 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7475 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 338 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7478 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qlistview.sip"
#include <qlistview.h>
#line 7481 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 7484 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 656 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7487 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 274 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 7490 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qabstractitemdelegate.sip"
#include <qabstractitemdelegate.h>
#line 7493 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 790 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7496 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 7499 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 7502 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 94 "/usr/share/python3-sip/PyQt4/QtGui/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 7505 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 7508 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7511 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qscrollbar.sip"
#include <qscrollbar.h>
#line 7514 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 627 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7517 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 356 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7520 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 39 "/usr/share/python3-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 7523 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 7526 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qframe.sip"
#include <qframe.h>
#line 7529 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7532 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7535 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 39 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 7538 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 7541 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 7544 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 7547 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 7550 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 37 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 7553 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 7556 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 7559 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 7562 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7565 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 7568 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 616 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7571 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 605 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7574 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 863 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7577 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 412 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7580 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 583 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7583 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 557 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7586 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 7589 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 61 "/usr/share/python3-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 7592 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 39 "/usr/share/python3-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 7595 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 7598 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 7601 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 7604 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 7607 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7610 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 7613 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 7616 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 7619 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 7622 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 7625 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 355 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7628 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 7631 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 7634 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 7637 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 7640 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 7643 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"


class sipKIconCanvas : public KIconCanvas
{
public:
    sipKIconCanvas(QWidget*);
    virtual ~sipKIconCanvas();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    bool eventFilter(QObject*,QEvent*);
    void languageChange();
    void windowActivationChange(bool);
    void fontChange(const QFont&);
    void paletteChange(const QPalette&);
    void enabledChange(bool);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void closeEvent(QCloseEvent*);
    void moveEvent(QMoveEvent*);
    void enterEvent(QEvent*);
    void keyReleaseEvent(QKeyEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    void setVisible(bool);
    int devType() const;
    void changeEvent(QEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void wheelEvent(QWheelEvent*);
    QSize sizeHint() const;
    QSize minimumSizeHint() const;
    void inputMethodEvent(QInputMethodEvent*);
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void focusInEvent(QFocusEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    bool viewportEvent(QEvent*);
    QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex&,const QEvent*) const;
    bool edit(const QModelIndex&,QAbstractItemView::EditTrigger,QEvent*);
    void editorDestroyed(QObject*);
    void commitData(QWidget*);
    void closeEditor(QWidget*,QAbstractItemDelegate::EndEditHint);
    void horizontalScrollbarValueChanged(int);
    void verticalScrollbarValueChanged(int);
    void horizontalScrollbarAction(int);
    void verticalScrollbarAction(int);
    void updateEditorGeometries();
    void updateEditorData();
    void selectAll();
    int sizeHintForColumn(int) const;
    int sizeHintForRow(int) const;
    void keyboardSearch(const QString&);
    void setSelectionModel(QItemSelectionModel*);
    void currentChanged(const QModelIndex&,const QModelIndex&);
    void selectionChanged(const QItemSelection&,const QItemSelection&);
    bool isIndexHidden(const QModelIndex&) const;
    void updateGeometries();
    QModelIndexList selectedIndexes() const;
    QRegion visualRegionForSelection(const QItemSelection&) const;
    void setSelection(const QRect&,QItemSelectionModel::SelectionFlags);
    QModelIndex moveCursor(QAbstractItemView::CursorAction,Qt::KeyboardModifiers);
    int verticalOffset() const;
    int horizontalOffset() const;
    void paintEvent(QPaintEvent*);
    QStyleOptionViewItem viewOptions() const;
    void startDrag(Qt::DropActions);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void resizeEvent(QResizeEvent*);
    void timerEvent(QTimerEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void rowsAboutToBeRemoved(const QModelIndex&,int,int);
    void rowsInserted(const QModelIndex&,int,int);
    void dataChanged(const QModelIndex&,const QModelIndex&);
    void scrollContentsBy(int,int);
    void setRootIndex(const QModelIndex&);
    void reset();
    QModelIndex indexAt(const QPoint&) const;
    void scrollTo(const QModelIndex&,QAbstractItemView::ScrollHint);
    QRect visualRect(const QModelIndex&) const;
    void dropEvent(QDropEvent*);
    bool event(QEvent*);
    Qt::DropActions supportedDropActions() const;
    bool dropMimeData(int,const QMimeData*,Qt::DropAction);
    QMimeData* mimeData(const QList<QListWidgetItem*>) const;
    QStringList mimeTypes() const;
    void mouseDoubleClickEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    void leaveEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void keyPressEvent(QKeyEvent*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKIconCanvas(const sipKIconCanvas &);
    sipKIconCanvas &operator = (const sipKIconCanvas &);

    char sipPyMethods[89];
};

sipKIconCanvas::sipKIconCanvas(QWidget*a0): KIconCanvas(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKIconCanvas::~sipKIconCanvas()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKIconCanvas::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KIconCanvas);
}

int sipKIconCanvas::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KIconCanvas::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kio_qt_metacall(sipPySelf,sipType_KIconCanvas,_c,_id,_a);

    return _id;
}

void *sipKIconCanvas::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast(sipPySelf, sipType_KIconCanvas, _clname)) ? this : KIconCanvas::qt_metacast(_clname);
}

void sipKIconCanvas::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KIconCanvas::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconCanvas::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KIconCanvas::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconCanvas::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KIconCanvas::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kio_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconCanvas::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KIconCanvas::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kio_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKIconCanvas::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KIconCanvas::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKIconCanvas::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
        KIconCanvas::languageChange();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKIconCanvas::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
        KIconCanvas::windowActivationChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kio_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconCanvas::fontChange(const QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
        KIconCanvas::fontChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QFont&);

    ((sipVH_QtGui_9)(sipModuleAPI_kio_QtGui->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconCanvas::paletteChange(const QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
        KIconCanvas::paletteChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_10)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPalette&);

    ((sipVH_QtGui_10)(sipModuleAPI_kio_QtGui->em_virthandlers[10]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconCanvas::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
        KIconCanvas::enabledChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kio_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKIconCanvas::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return KIconCanvas::metric(a0);

    typedef int (*sipVH_QtGui_14)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_14)(sipModuleAPI_kio_QtGui->em_virthandlers[14]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconCanvas::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        KIconCanvas::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_kio_QtGui->em_virthandlers[0]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconCanvas::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        KIconCanvas::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_1)(sipModuleAPI_kio_QtGui->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconCanvas::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        KIconCanvas::actionEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_19)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    ((sipVH_QtGui_19)(sipModuleAPI_kio_QtGui->em_virthandlers[19]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconCanvas::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        KIconCanvas::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_20)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_20)(sipModuleAPI_kio_QtGui->em_virthandlers[20]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconCanvas::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        KIconCanvas::closeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_22)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    ((sipVH_QtGui_22)(sipModuleAPI_kio_QtGui->em_virthandlers[22]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconCanvas::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        KIconCanvas::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_23)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_23)(sipModuleAPI_kio_QtGui->em_virthandlers[23]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconCanvas::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        KIconCanvas::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kio_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconCanvas::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        KIconCanvas::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kio_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QPaintEngine* sipKIconCanvas::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[19]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return KIconCanvas::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_27)(sipModuleAPI_kio_QtGui->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKIconCanvas::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[20]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return KIconCanvas::heightForWidth(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtGui_28)(sipModuleAPI_kio_QtGui->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconCanvas::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        KIconCanvas::setVisible(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kio_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKIconCanvas::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[22]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return KIconCanvas::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_kio_QtCore->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKIconCanvas::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        KIconCanvas::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kio_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconCanvas::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        KIconCanvas::contextMenuEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_21)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    ((sipVH_QtGui_21)(sipModuleAPI_kio_QtGui->em_virthandlers[21]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconCanvas::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        KIconCanvas::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_kio_QtGui->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QSize sipKIconCanvas::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[26]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return KIconCanvas::sizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kio_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

QSize sipKIconCanvas::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[27]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return KIconCanvas::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kio_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKIconCanvas::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        KIconCanvas::inputMethodEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_13)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    ((sipVH_QtGui_13)(sipModuleAPI_kio_QtGui->em_virthandlers[13]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKIconCanvas::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return KIconCanvas::focusNextPrevChild(a0);

    typedef bool (*sipVH_QtGui_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return ((sipVH_QtGui_11)(sipModuleAPI_kio_QtGui->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QVariant sipKIconCanvas::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[30]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return KIconCanvas::inputMethodQuery(a0);

    typedef QVariant (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return ((sipVH_QtGui_12)(sipModuleAPI_kio_QtGui->em_virthandlers[12]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconCanvas::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        KIconCanvas::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kio_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconCanvas::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        KIconCanvas::dragEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    ((sipVH_QtGui_18)(sipModuleAPI_kio_QtGui->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKIconCanvas::viewportEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_viewportEvent);

    if (!sipMeth)
        return KIconCanvas::viewportEvent(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QItemSelectionModel::SelectionFlags sipKIconCanvas::selectionCommand(const QModelIndex& a0,const QEvent*a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_selectionCommand);

    if (!sipMeth)
        return KIconCanvas::selectionCommand(a0,a1);

    typedef QItemSelectionModel::SelectionFlags (*sipVH_QtGui_233)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QEvent*);

    return ((sipVH_QtGui_233)(sipModuleAPI_kio_QtGui->em_virthandlers[233]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKIconCanvas::edit(const QModelIndex& a0,QAbstractItemView::EditTrigger a1,QEvent*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_edit);

    if (!sipMeth)
        return KIconCanvas::edit(a0,a1,a2);

    typedef bool (*sipVH_QtGui_234)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,QAbstractItemView::EditTrigger,QEvent*);

    return ((sipVH_QtGui_234)(sipModuleAPI_kio_QtGui->em_virthandlers[234]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipKIconCanvas::editorDestroyed(QObject*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_editorDestroyed);

    if (!sipMeth)
    {
        KIconCanvas::editorDestroyed(a0);
        return;
    }

    typedef void (*sipVH_QtGui_235)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*);

    ((sipVH_QtGui_235)(sipModuleAPI_kio_QtGui->em_virthandlers[235]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconCanvas::commitData(QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_commitData);

    if (!sipMeth)
    {
        KIconCanvas::commitData(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*);

    ((sipVH_QtGui_7)(sipModuleAPI_kio_QtGui->em_virthandlers[7]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconCanvas::closeEditor(QWidget*a0,QAbstractItemDelegate::EndEditHint a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_closeEditor);

    if (!sipMeth)
    {
        KIconCanvas::closeEditor(a0,a1);
        return;
    }

    typedef void (*sipVH_QtGui_236)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*,QAbstractItemDelegate::EndEditHint);

    ((sipVH_QtGui_236)(sipModuleAPI_kio_QtGui->em_virthandlers[236]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKIconCanvas::horizontalScrollbarValueChanged(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_horizontalScrollbarValueChanged);

    if (!sipMeth)
    {
        KIconCanvas::horizontalScrollbarValueChanged(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_kio_QtCore->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconCanvas::verticalScrollbarValueChanged(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_verticalScrollbarValueChanged);

    if (!sipMeth)
    {
        KIconCanvas::verticalScrollbarValueChanged(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_kio_QtCore->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconCanvas::horizontalScrollbarAction(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_horizontalScrollbarAction);

    if (!sipMeth)
    {
        KIconCanvas::horizontalScrollbarAction(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_kio_QtCore->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconCanvas::verticalScrollbarAction(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_verticalScrollbarAction);

    if (!sipMeth)
    {
        KIconCanvas::verticalScrollbarAction(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_kio_QtCore->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconCanvas::updateEditorGeometries()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_updateEditorGeometries);

    if (!sipMeth)
    {
        KIconCanvas::updateEditorGeometries();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKIconCanvas::updateEditorData()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_updateEditorData);

    if (!sipMeth)
    {
        KIconCanvas::updateEditorData();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKIconCanvas::selectAll()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_selectAll);

    if (!sipMeth)
    {
        KIconCanvas::selectAll();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKIconCanvas::sizeHintForColumn(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[46]),sipPySelf,NULL,sipName_sizeHintForColumn);

    if (!sipMeth)
        return KIconCanvas::sizeHintForColumn(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtGui_28)(sipModuleAPI_kio_QtGui->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKIconCanvas::sizeHintForRow(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[47]),sipPySelf,NULL,sipName_sizeHintForRow);

    if (!sipMeth)
        return KIconCanvas::sizeHintForRow(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtGui_28)(sipModuleAPI_kio_QtGui->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconCanvas::keyboardSearch(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_keyboardSearch);

    if (!sipMeth)
    {
        KIconCanvas::keyboardSearch(a0);
        return;
    }

    typedef void (*sipVH_QtCore_33)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    ((sipVH_QtCore_33)(sipModuleAPI_kio_QtCore->em_virthandlers[33]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconCanvas::setSelectionModel(QItemSelectionModel*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_setSelectionModel);

    if (!sipMeth)
    {
        KIconCanvas::setSelectionModel(a0);
        return;
    }

    typedef void (*sipVH_QtGui_37)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QItemSelectionModel*);

    ((sipVH_QtGui_37)(sipModuleAPI_kio_QtGui->em_virthandlers[37]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconCanvas::currentChanged(const QModelIndex& a0,const QModelIndex& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_currentChanged);

    if (!sipMeth)
    {
        KIconCanvas::currentChanged(a0,a1);
        return;
    }

    typedef void (*sipVH_QtGui_45)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QModelIndex&);

    ((sipVH_QtGui_45)(sipModuleAPI_kio_QtGui->em_virthandlers[45]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKIconCanvas::selectionChanged(const QItemSelection& a0,const QItemSelection& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_selectionChanged);

    if (!sipMeth)
    {
        KIconCanvas::selectionChanged(a0,a1);
        return;
    }

    typedef void (*sipVH_QtGui_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QItemSelection&,const QItemSelection&);

    ((sipVH_QtGui_46)(sipModuleAPI_kio_QtGui->em_virthandlers[46]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKIconCanvas::isIndexHidden(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[52]),sipPySelf,NULL,sipName_isIndexHidden);

    if (!sipMeth)
        return KIconCanvas::isIndexHidden(a0);

    typedef bool (*sipVH_QtCore_42)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_42)(sipModuleAPI_kio_QtCore->em_virthandlers[42]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconCanvas::updateGeometries()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_updateGeometries);

    if (!sipMeth)
    {
        KIconCanvas::updateGeometries();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

QModelIndexList sipKIconCanvas::selectedIndexes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[54]),sipPySelf,NULL,sipName_selectedIndexes);

    if (!sipMeth)
        return KIconCanvas::selectedIndexes();

    typedef QList<QModelIndex> (*sipVH_QtGui_49)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_49)(sipModuleAPI_kio_QtGui->em_virthandlers[49]))(sipGILState, 0, sipPySelf, sipMeth);
}

QRegion sipKIconCanvas::visualRegionForSelection(const QItemSelection& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[55]),sipPySelf,NULL,sipName_visualRegionForSelection);

    if (!sipMeth)
        return KIconCanvas::visualRegionForSelection(a0);

    typedef QRegion (*sipVH_QtGui_50)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QItemSelection&);

    return ((sipVH_QtGui_50)(sipModuleAPI_kio_QtGui->em_virthandlers[50]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconCanvas::setSelection(const QRect& a0,QItemSelectionModel::SelectionFlags a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[56],sipPySelf,NULL,sipName_setSelection);

    if (!sipMeth)
    {
        KIconCanvas::setSelection(a0,a1);
        return;
    }

    typedef void (*sipVH_QtGui_51)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QRect&,QItemSelectionModel::SelectionFlags);

    ((sipVH_QtGui_51)(sipModuleAPI_kio_QtGui->em_virthandlers[51]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

QModelIndex sipKIconCanvas::moveCursor(QAbstractItemView::CursorAction a0,Qt::KeyboardModifiers a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[57],sipPySelf,NULL,sipName_moveCursor);

    if (!sipMeth)
        return KIconCanvas::moveCursor(a0,a1);

    typedef QModelIndex (*sipVH_QtGui_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QAbstractItemView::CursorAction,Qt::KeyboardModifiers);

    return ((sipVH_QtGui_52)(sipModuleAPI_kio_QtGui->em_virthandlers[52]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

int sipKIconCanvas::verticalOffset() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[58]),sipPySelf,NULL,sipName_verticalOffset);

    if (!sipMeth)
        return KIconCanvas::verticalOffset();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_kio_QtCore->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKIconCanvas::horizontalOffset() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[59]),sipPySelf,NULL,sipName_horizontalOffset);

    if (!sipMeth)
        return KIconCanvas::horizontalOffset();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_kio_QtCore->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKIconCanvas::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[60],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        KIconCanvas::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_kio_QtGui->em_virthandlers[3]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QStyleOptionViewItem sipKIconCanvas::viewOptions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[61]),sipPySelf,NULL,sipName_viewOptions);

    if (!sipMeth)
        return KIconCanvas::viewOptions();

    typedef QStyleOptionViewItem (*sipVH_QtGui_71)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_71)(sipModuleAPI_kio_QtGui->em_virthandlers[71]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKIconCanvas::startDrag(Qt::DropActions a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[62],sipPySelf,NULL,sipName_startDrag);

    if (!sipMeth)
    {
        KIconCanvas::startDrag(a0);
        return;
    }

    typedef void (*sipVH_QtGui_153)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::DropActions);

    ((sipVH_QtGui_153)(sipModuleAPI_kio_QtGui->em_virthandlers[153]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconCanvas::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[63],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        KIconCanvas::dragLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_16)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    ((sipVH_QtGui_16)(sipModuleAPI_kio_QtGui->em_virthandlers[16]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconCanvas::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[64],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        KIconCanvas::dragMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    ((sipVH_QtGui_17)(sipModuleAPI_kio_QtGui->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconCanvas::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[65],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        KIconCanvas::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_kio_QtGui->em_virthandlers[2]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconCanvas::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[66],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KIconCanvas::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kio_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconCanvas::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[67],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        KIconCanvas::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kio_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconCanvas::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[68],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        KIconCanvas::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kio_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconCanvas::rowsAboutToBeRemoved(const QModelIndex& a0,int a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[69],sipPySelf,NULL,sipName_rowsAboutToBeRemoved);

    if (!sipMeth)
    {
        KIconCanvas::rowsAboutToBeRemoved(a0,a1,a2);
        return;
    }

    typedef void (*sipVH_QtGui_53)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int,int);

    ((sipVH_QtGui_53)(sipModuleAPI_kio_QtGui->em_virthandlers[53]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipKIconCanvas::rowsInserted(const QModelIndex& a0,int a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[70],sipPySelf,NULL,sipName_rowsInserted);

    if (!sipMeth)
    {
        KIconCanvas::rowsInserted(a0,a1,a2);
        return;
    }

    typedef void (*sipVH_QtGui_53)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int,int);

    ((sipVH_QtGui_53)(sipModuleAPI_kio_QtGui->em_virthandlers[53]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipKIconCanvas::dataChanged(const QModelIndex& a0,const QModelIndex& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[71],sipPySelf,NULL,sipName_dataChanged);

    if (!sipMeth)
    {
        KIconCanvas::dataChanged(a0,a1);
        return;
    }

    typedef void (*sipVH_QtGui_45)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QModelIndex&);

    ((sipVH_QtGui_45)(sipModuleAPI_kio_QtGui->em_virthandlers[45]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKIconCanvas::scrollContentsBy(int a0,int a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[72],sipPySelf,NULL,sipName_scrollContentsBy);

    if (!sipMeth)
    {
        KIconCanvas::scrollContentsBy(a0,a1);
        return;
    }

    typedef void (*sipVH_QtGui_32)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int);

    ((sipVH_QtGui_32)(sipModuleAPI_kio_QtGui->em_virthandlers[32]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKIconCanvas::setRootIndex(const QModelIndex& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[73],sipPySelf,NULL,sipName_setRootIndex);

    if (!sipMeth)
    {
        KIconCanvas::setRootIndex(a0);
        return;
    }

    typedef void (*sipVH_QtCore_51)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    ((sipVH_QtCore_51)(sipModuleAPI_kio_QtCore->em_virthandlers[51]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconCanvas::reset()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[74],sipPySelf,NULL,sipName_reset);

    if (!sipMeth)
    {
        KIconCanvas::reset();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

QModelIndex sipKIconCanvas::indexAt(const QPoint& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[75]),sipPySelf,NULL,sipName_indexAt);

    if (!sipMeth)
        return KIconCanvas::indexAt(a0);

    typedef QModelIndex (*sipVH_QtGui_54)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPoint&);

    return ((sipVH_QtGui_54)(sipModuleAPI_kio_QtGui->em_virthandlers[54]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconCanvas::scrollTo(const QModelIndex& a0,QAbstractItemView::ScrollHint a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[76],sipPySelf,NULL,sipName_scrollTo);

    if (!sipMeth)
    {
        KIconCanvas::scrollTo(a0,a1);
        return;
    }

    typedef void (*sipVH_QtGui_55)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,QAbstractItemView::ScrollHint);

    ((sipVH_QtGui_55)(sipModuleAPI_kio_QtGui->em_virthandlers[55]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

QRect sipKIconCanvas::visualRect(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[77]),sipPySelf,NULL,sipName_visualRect);

    if (!sipMeth)
        return KIconCanvas::visualRect(a0);

    typedef QRect (*sipVH_QtGui_56)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtGui_56)(sipModuleAPI_kio_QtGui->em_virthandlers[56]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconCanvas::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[78],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        KIconCanvas::dropEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_15)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    ((sipVH_QtGui_15)(sipModuleAPI_kio_QtGui->em_virthandlers[15]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKIconCanvas::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[79],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KIconCanvas::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

Qt::DropActions sipKIconCanvas::supportedDropActions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[80]),sipPySelf,NULL,sipName_supportedDropActions);

    if (!sipMeth)
        return KIconCanvas::supportedDropActions();

    typedef Qt::DropActions (*sipVH_QtCore_53)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_53)(sipModuleAPI_kio_QtCore->em_virthandlers[53]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipKIconCanvas::dropMimeData(int a0,const QMimeData*a1,Qt::DropAction a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[81],sipPySelf,NULL,sipName_dropMimeData);

    if (!sipMeth)
        return KIconCanvas::dropMimeData(a0,a1,a2);

    typedef bool (*sipVH_QtGui_148)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,const QMimeData*,Qt::DropAction);

    return ((sipVH_QtGui_148)(sipModuleAPI_kio_QtGui->em_virthandlers[148]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

QMimeData* sipKIconCanvas::mimeData(const QList<QListWidgetItem*> a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[82]),sipPySelf,NULL,sipName_mimeData);

    if (!sipMeth)
        return KIconCanvas::mimeData(a0);

    typedef QMimeData* (*sipVH_QtGui_149)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QList<QListWidgetItem*>);

    return ((sipVH_QtGui_149)(sipModuleAPI_kio_QtGui->em_virthandlers[149]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QStringList sipKIconCanvas::mimeTypes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[83]),sipPySelf,NULL,sipName_mimeTypes);

    if (!sipMeth)
        return KIconCanvas::mimeTypes();

    typedef QStringList (*sipVH_QtCore_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_27)(sipModuleAPI_kio_QtCore->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKIconCanvas::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[84],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        KIconCanvas::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kio_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconCanvas::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[85],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        KIconCanvas::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kio_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconCanvas::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[86],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        KIconCanvas::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kio_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconCanvas::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[87],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        KIconCanvas::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kio_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconCanvas::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[88],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        KIconCanvas::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kio_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_KIconCanvas_loadFiles(PyObject *, PyObject *);}
static PyObject *meth_KIconCanvas_loadFiles(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QStringList* a0;
        int a0State = 0;
        KIconCanvas *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KIconCanvas, &sipCpp, sipType_QStringList,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->loadFiles(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QStringList *>(a0),sipType_QStringList,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIconCanvas, sipName_loadFiles, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIconCanvas_getCurrent(PyObject *, PyObject *);}
static PyObject *meth_KIconCanvas_getCurrent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KIconCanvas *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIconCanvas, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->getCurrent());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIconCanvas, sipName_getCurrent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIconCanvas_stopLoading(PyObject *, PyObject *);}
static PyObject *meth_KIconCanvas_stopLoading(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KIconCanvas *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIconCanvas, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->stopLoading();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIconCanvas, sipName_stopLoading, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KIconCanvas(void *, const sipTypeDef *);}
static void *cast_KIconCanvas(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KIconCanvas)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KListWidget)->ctd_cast((KListWidget *)(KIconCanvas *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KIconCanvas(void *, int);}
static void release_KIconCanvas(void *sipCppV,int)
{
    KIconCanvas *sipCpp = reinterpret_cast<KIconCanvas *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KIconCanvas(sipSimpleWrapper *);}
static void dealloc_KIconCanvas(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKIconCanvas *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KIconCanvas(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KIconCanvas(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KIconCanvas(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKIconCanvas *sipCpp = 0;

    {
        QWidget* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKIconCanvas(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KIconCanvas[] = {{182, 7, 1}};


static PyMethodDef methods_KIconCanvas[] = {
    {SIP_MLNAME_CAST(sipName_getCurrent), meth_KIconCanvas_getCurrent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_loadFiles), meth_KIconCanvas_loadFiles, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_stopLoading), meth_KIconCanvas_stopLoading, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KIconCanvas[] = {
    {"finished()", 0, 0, 0},
    {"progress(int)", 0, 0, 0},
    {"startLoading(int)", 0, 0, 0},
    {"nameChanged(QString)", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kio_KIconCanvas = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KIconCanvas,
        {0}
    },
    {
        sipNameNr_KIconCanvas,
        {0, 0, 1},
        3, methods_KIconCanvas,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KIconCanvas,
    0,
    init_type_KIconCanvas,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KIconCanvas,
    0,
    0,
    0,
    release_KIconCanvas,
    cast_KIconCanvas,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KIconCanvas::staticMetaObject,
    0,
    signals_KIconCanvas,
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kfilewriteplugin.sip"
#include <kfilewriteplugin.h>
#line 9538 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"

#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 9542 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 9545 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 9548 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qmap.sip"
#include <qmap.h>
#line 9551 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 77 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 9554 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 9557 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 9560 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 274 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 9563 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9566 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 355 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9569 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 338 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9572 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 9575 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 37 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 9578 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 9581 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 9584 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 9587 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 9590 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 9593 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"


class sipKFileWritePlugin : public KFileWritePlugin
{
public:
    sipKFileWritePlugin(QObject*,const QStringList&);
    virtual ~sipKFileWritePlugin();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    bool write(const KUrl&,const QVariantMap&);
    bool canWrite(const KUrl&,const QString&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKFileWritePlugin(const sipKFileWritePlugin &);
    sipKFileWritePlugin &operator = (const sipKFileWritePlugin &);

    char sipPyMethods[9];
};

sipKFileWritePlugin::sipKFileWritePlugin(QObject*a0,const QStringList& a1): KFileWritePlugin(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKFileWritePlugin::~sipKFileWritePlugin()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKFileWritePlugin::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KFileWritePlugin);
}

int sipKFileWritePlugin::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KFileWritePlugin::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kio_qt_metacall(sipPySelf,sipType_KFileWritePlugin,_c,_id,_a);

    return _id;
}

void *sipKFileWritePlugin::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast(sipPySelf, sipType_KFileWritePlugin, _clname)) ? this : KFileWritePlugin::qt_metacast(_clname);
}

void sipKFileWritePlugin::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KFileWritePlugin::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWritePlugin::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KFileWritePlugin::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWritePlugin::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KFileWritePlugin::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kio_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWritePlugin::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KFileWritePlugin::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kio_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWritePlugin::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KFileWritePlugin::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kio_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKFileWritePlugin::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KFileWritePlugin::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKFileWritePlugin::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KFileWritePlugin::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKFileWritePlugin::write(const KUrl& a0,const QVariantMap& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,sipName_KFileWritePlugin,sipName_write);

    if (!sipMeth)
        return 0;

    extern bool sipVH_kio_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const KUrl&,const QMap<QString,QVariant>&);

    return sipVH_kio_37(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKFileWritePlugin::canWrite(const KUrl& a0,const QString& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,sipName_KFileWritePlugin,sipName_canWrite);

    if (!sipMeth)
        return 0;

    extern bool sipVH_kio_38(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const KUrl&,const QString&);

    return sipVH_kio_38(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}


extern "C" {static PyObject *meth_KFileWritePlugin_canWrite(PyObject *, PyObject *);}
static PyObject *meth_KFileWritePlugin_canWrite(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        const KUrl* a0;
        const QString* a1;
        int a1State = 0;
        KFileWritePlugin *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J1", &sipSelf, sipType_KFileWritePlugin, &sipCpp, sipType_KUrl, &a0, sipType_QString,&a1, &a1State))
        {
            bool sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KFileWritePlugin, sipName_canWrite);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->canWrite(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileWritePlugin, sipName_canWrite, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileWritePlugin_write(PyObject *, PyObject *);}
static PyObject *meth_KFileWritePlugin_write(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        const KUrl* a0;
        const QVariantMap* a1;
        int a1State = 0;
        KFileWritePlugin *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J1", &sipSelf, sipType_KFileWritePlugin, &sipCpp, sipType_KUrl, &a0, sipType_QMap_0100QString_0100QVariant,&a1, &a1State))
        {
            bool sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KFileWritePlugin, sipName_write);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->write(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QVariantMap *>(a1),sipType_QMap_0100QString_0100QVariant,a1State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileWritePlugin, sipName_write, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KFileWritePlugin(void *, const sipTypeDef *);}
static void *cast_KFileWritePlugin(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KFileWritePlugin)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(KFileWritePlugin *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KFileWritePlugin(void *, int);}
static void release_KFileWritePlugin(void *sipCppV,int)
{
    KFileWritePlugin *sipCpp = reinterpret_cast<KFileWritePlugin *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KFileWritePlugin(sipSimpleWrapper *);}
static void dealloc_KFileWritePlugin(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKFileWritePlugin *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KFileWritePlugin(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KFileWritePlugin(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KFileWritePlugin(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKFileWritePlugin *sipCpp = 0;

    {
        QObject* a0;
        const QStringList* a1;
        int a1State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "JHJ1", sipType_QObject, &a0, sipOwner, sipType_QStringList,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKFileWritePlugin(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QStringList *>(a1),sipType_QStringList,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KFileWritePlugin[] = {{141, 0, 1}};


static PyMethodDef methods_KFileWritePlugin[] = {
    {SIP_MLNAME_CAST(sipName_canWrite), meth_KFileWritePlugin_canWrite, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_write), meth_KFileWritePlugin_write, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kio_KFileWritePlugin = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KFileWritePlugin,
        {0}
    },
    {
        sipNameNr_KFileWritePlugin,
        {0, 0, 1},
        2, methods_KFileWritePlugin,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KFileWritePlugin,
    0,
    init_type_KFileWritePlugin,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KFileWritePlugin,
    0,
    0,
    0,
    release_KFileWritePlugin,
    cast_KFileWritePlugin,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KFileWritePlugin::staticMetaObject,
    0,
    0
};

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kfilewidget.sip"
#include <kfilewidget.h>
#line 10026 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"

#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 10030 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 10033 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 10036 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kdiroperator.sip"
#include <kdiroperator.h>
#line 10039 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 10042 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 10045 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10048 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 605 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10051 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 570 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10054 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kdeui/kactioncollection.sip"
#include <kactioncollection.h>
#line 10057 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kfilefiltercombo.sip"
#include <kfilefiltercombo.h>
#line 10060 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kurlcombobox.sip"
#include <kurlcombobox.h>
#line 10063 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kdeui/kpushbutton.sip"
#include <kpushbutton.h>
#line 10066 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kdeui/ktoolbar.sip"
#include <ktoolbar.h>
#line 10069 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kfile.sip"
#include <kfile.h>
#line 10072 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kpreviewwidgetbase.sip"
#include <kpreviewwidgetbase.h>
#line 10075 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 10078 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 340 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 10081 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kdecore/kmimetype.sip"
#include <kmimetype.h>
#line 10084 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kabstractfilewidget.sip"
#include <kabstractfilewidget.h>
#line 10087 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 10090 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 10093 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 39 "/usr/share/python3-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 10096 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 10099 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 10102 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 39 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 10105 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 10108 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 10111 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 10114 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 10117 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 10120 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 10123 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 10126 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 37 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 10129 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 10132 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 10135 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 10138 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 10141 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 10144 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 10147 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 10150 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 274 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 10153 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 656 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10156 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 616 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10159 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 748 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10162 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 801 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10165 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 774 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10168 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 790 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10171 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 863 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10174 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 412 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10177 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 627 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10180 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 583 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10183 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 557 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10186 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 533 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10189 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 514 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10192 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 483 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10195 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 356 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10198 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 261 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10201 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 10204 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 61 "/usr/share/python3-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 10207 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 39 "/usr/share/python3-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 10210 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 10213 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 10216 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 10219 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 10222 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 10225 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 10228 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 10231 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 10234 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 10237 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 10240 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 355 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10243 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 338 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10246 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 10249 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 10252 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 10255 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 10258 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 10261 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"


class sipKFileWidget : public KFileWidget
{
public:
    sipKFileWidget(const KUrl&,QWidget*);
    virtual ~sipKFileWidget();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void virtual_hook(int,void*);
    KActionCollection* actionCollection() const;
    KFileFilterCombo* filterWidget() const;
    KUrlComboBox* locationEdit() const;
    KPushButton* cancelButton() const;
    KPushButton* okButton() const;
    KToolBar* toolBar() const;
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    void languageChange();
    void windowActivationChange(bool);
    void fontChange(const QFont&);
    void paletteChange(const QPalette&);
    void enabledChange(bool);
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void changeEvent(QEvent*);
    void hideEvent(QHideEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void closeEvent(QCloseEvent*);
    void moveEvent(QMoveEvent*);
    void paintEvent(QPaintEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    bool event(QEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    QSize minimumSizeHint() const;
    QSize sizeHint() const;
    void setVisible(bool);
    int devType() const;
    bool eventFilter(QObject*,QEvent*);
    void showEvent(QShowEvent*);
    void resizeEvent(QResizeEvent*);
    void slotCancel();
    void accept();
    void slotOk();
    void setCustomWidget(const QString&,QWidget*);
    void setCustomWidget(QWidget*);
    void setLocationLabel(const QString&);
    KFile::Modes mode() const;
    void setMode(KFile::Modes);
    void setPreviewWidget(KPreviewWidgetBase*);
    void clearFilter();
    QString currentMimeFilter() const;
    void setMimeFilter(const QStringList&,const QString&);
    KMimeType::Ptr currentFilterMimeType();
    QString currentFilter() const;
    void setFilter(const QString&);
    bool keepsLocation() const;
    void setKeepLocation(bool);
    KAbstractFileWidget::OperationMode operationMode() const;
    void setOperationMode(KAbstractFileWidget::OperationMode);
    void setSelection(const QString&);
    void setUrl(const KUrl&,bool);
    QStringList selectedFiles() const;
    QString selectedFile() const;
    KUrl baseUrl() const;
    KUrl::List selectedUrls() const;
    KUrl selectedUrl() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKFileWidget(const sipKFileWidget &);
    sipKFileWidget &operator = (const sipKFileWidget &);

    char sipPyMethods[80];
};

sipKFileWidget::sipKFileWidget(const KUrl& a0,QWidget*a1): KFileWidget(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKFileWidget::~sipKFileWidget()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKFileWidget::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KFileWidget);
}

int sipKFileWidget::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KFileWidget::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kio_qt_metacall(sipPySelf,sipType_KFileWidget,_c,_id,_a);

    return _id;
}

void *sipKFileWidget::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast(sipPySelf, sipType_KFileWidget, _clname)) ? this : KFileWidget::qt_metacast(_clname);
}

void sipKFileWidget::virtual_hook(int a0,void*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,sipName_KFileWidget,sipName_virtual_hook);

    if (!sipMeth)
        return;

    extern void sipVH_kio_78(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,void*);

    sipVH_kio_78(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

KActionCollection* sipKFileWidget::actionCollection() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_actionCollection);

    if (!sipMeth)
        return KFileWidget::actionCollection();

    typedef KActionCollection* (*sipVH_kdeui_20)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_kdeui_20)(sipModuleAPI_kio_kdeui->em_virthandlers[20]))(sipGILState, 0, sipPySelf, sipMeth);
}

KFileFilterCombo* sipKFileWidget::filterWidget() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName_filterWidget);

    if (!sipMeth)
        return KFileWidget::filterWidget();

    extern KFileFilterCombo* sipVH_kio_79(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_79(sipGILState, 0, sipPySelf, sipMeth);
}

KUrlComboBox* sipKFileWidget::locationEdit() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_locationEdit);

    if (!sipMeth)
        return KFileWidget::locationEdit();

    extern KUrlComboBox* sipVH_kio_80(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_80(sipGILState, 0, sipPySelf, sipMeth);
}

KPushButton* sipKFileWidget::cancelButton() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,NULL,sipName_cancelButton);

    if (!sipMeth)
        return KFileWidget::cancelButton();

    extern KPushButton* sipVH_kio_81(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_81(sipGILState, 0, sipPySelf, sipMeth);
}

KPushButton* sipKFileWidget::okButton() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_okButton);

    if (!sipMeth)
        return KFileWidget::okButton();

    extern KPushButton* sipVH_kio_81(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_81(sipGILState, 0, sipPySelf, sipMeth);
}

KToolBar* sipKFileWidget::toolBar() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_toolBar);

    if (!sipMeth)
        return KFileWidget::toolBar();

    extern KToolBar* sipVH_kio_82(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_82(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKFileWidget::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KFileWidget::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWidget::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KFileWidget::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWidget::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KFileWidget::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kio_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWidget::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KFileWidget::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kio_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWidget::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KFileWidget::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kio_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWidget::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
        KFileWidget::languageChange();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKFileWidget::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
        KFileWidget::windowActivationChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kio_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWidget::fontChange(const QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
        KFileWidget::fontChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QFont&);

    ((sipVH_QtGui_9)(sipModuleAPI_kio_QtGui->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWidget::paletteChange(const QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
        KFileWidget::paletteChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_10)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPalette&);

    ((sipVH_QtGui_10)(sipModuleAPI_kio_QtGui->em_virthandlers[10]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWidget::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
        KFileWidget::enabledChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kio_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKFileWidget::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return KFileWidget::focusNextPrevChild(a0);

    typedef bool (*sipVH_QtGui_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return ((sipVH_QtGui_11)(sipModuleAPI_kio_QtGui->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QVariant sipKFileWidget::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[18]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return KFileWidget::inputMethodQuery(a0);

    typedef QVariant (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return ((sipVH_QtGui_12)(sipModuleAPI_kio_QtGui->em_virthandlers[12]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWidget::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        KFileWidget::inputMethodEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_13)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    ((sipVH_QtGui_13)(sipModuleAPI_kio_QtGui->em_virthandlers[13]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKFileWidget::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[20]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return KFileWidget::metric(a0);

    typedef int (*sipVH_QtGui_14)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_14)(sipModuleAPI_kio_QtGui->em_virthandlers[14]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWidget::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        KFileWidget::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kio_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWidget::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        KFileWidget::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_kio_QtGui->em_virthandlers[0]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWidget::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        KFileWidget::dropEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_15)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    ((sipVH_QtGui_15)(sipModuleAPI_kio_QtGui->em_virthandlers[15]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWidget::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        KFileWidget::dragLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_16)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    ((sipVH_QtGui_16)(sipModuleAPI_kio_QtGui->em_virthandlers[16]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWidget::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        KFileWidget::dragMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    ((sipVH_QtGui_17)(sipModuleAPI_kio_QtGui->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWidget::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        KFileWidget::dragEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    ((sipVH_QtGui_18)(sipModuleAPI_kio_QtGui->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWidget::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        KFileWidget::actionEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_19)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    ((sipVH_QtGui_19)(sipModuleAPI_kio_QtGui->em_virthandlers[19]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWidget::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        KFileWidget::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_20)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_20)(sipModuleAPI_kio_QtGui->em_virthandlers[20]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWidget::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        KFileWidget::contextMenuEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_21)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    ((sipVH_QtGui_21)(sipModuleAPI_kio_QtGui->em_virthandlers[21]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWidget::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        KFileWidget::closeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_22)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    ((sipVH_QtGui_22)(sipModuleAPI_kio_QtGui->em_virthandlers[22]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWidget::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        KFileWidget::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_23)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_23)(sipModuleAPI_kio_QtGui->em_virthandlers[23]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWidget::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        KFileWidget::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_kio_QtGui->em_virthandlers[3]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWidget::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        KFileWidget::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kio_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWidget::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        KFileWidget::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kio_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWidget::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        KFileWidget::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kio_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWidget::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        KFileWidget::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kio_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWidget::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        KFileWidget::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kio_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWidget::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        KFileWidget::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kio_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWidget::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        KFileWidget::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_kio_QtGui->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWidget::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        KFileWidget::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kio_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWidget::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        KFileWidget::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kio_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWidget::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        KFileWidget::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kio_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWidget::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        KFileWidget::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kio_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKFileWidget::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KFileWidget::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QPaintEngine* sipKFileWidget::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[45]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return KFileWidget::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_27)(sipModuleAPI_kio_QtGui->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKFileWidget::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[46]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return KFileWidget::heightForWidth(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtGui_28)(sipModuleAPI_kio_QtGui->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QSize sipKFileWidget::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[47]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return KFileWidget::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kio_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

QSize sipKFileWidget::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[48]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return KFileWidget::sizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kio_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKFileWidget::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        KFileWidget::setVisible(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kio_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKFileWidget::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[50]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return KFileWidget::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_kio_QtCore->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipKFileWidget::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KFileWidget::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKFileWidget::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        KFileWidget::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_1)(sipModuleAPI_kio_QtGui->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWidget::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        KFileWidget::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_kio_QtGui->em_virthandlers[2]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWidget::slotCancel()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_slotCancel);

    if (!sipMeth)
    {
        KFileWidget::slotCancel();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKFileWidget::accept()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[55],sipPySelf,NULL,sipName_accept);

    if (!sipMeth)
    {
        KFileWidget::accept();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKFileWidget::slotOk()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[56],sipPySelf,NULL,sipName_slotOk);

    if (!sipMeth)
    {
        KFileWidget::slotOk();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKFileWidget::setCustomWidget(const QString& a0,QWidget*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[57],sipPySelf,NULL,sipName_setCustomWidget);

    if (!sipMeth)
    {
        KFileWidget::setCustomWidget(a0,a1);
        return;
    }

    extern void sipVH_kio_39(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&,QWidget*);

    sipVH_kio_39(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKFileWidget::setCustomWidget(QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[58],sipPySelf,NULL,sipName_setCustomWidget);

    if (!sipMeth)
    {
        KFileWidget::setCustomWidget(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*);

    ((sipVH_QtGui_7)(sipModuleAPI_kio_QtGui->em_virthandlers[7]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWidget::setLocationLabel(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[59],sipPySelf,NULL,sipName_setLocationLabel);

    if (!sipMeth)
    {
        KFileWidget::setLocationLabel(a0);
        return;
    }

    typedef void (*sipVH_QtCore_33)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    ((sipVH_QtCore_33)(sipModuleAPI_kio_QtCore->em_virthandlers[33]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

KFile::Modes sipKFileWidget::mode() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[60]),sipPySelf,NULL,sipName_mode);

    if (!sipMeth)
        return KFileWidget::mode();

    extern KFile::Modes sipVH_kio_40(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_40(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKFileWidget::setMode(KFile::Modes a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[61],sipPySelf,NULL,sipName_setMode);

    if (!sipMeth)
    {
        KFileWidget::setMode(a0);
        return;
    }

    extern void sipVH_kio_41(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KFile::Modes);

    sipVH_kio_41(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWidget::setPreviewWidget(KPreviewWidgetBase*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[62],sipPySelf,NULL,sipName_setPreviewWidget);

    if (!sipMeth)
    {
        KFileWidget::setPreviewWidget(a0);
        return;
    }

    extern void sipVH_kio_42(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KPreviewWidgetBase*);

    sipVH_kio_42(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWidget::clearFilter()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[63],sipPySelf,NULL,sipName_clearFilter);

    if (!sipMeth)
    {
        KFileWidget::clearFilter();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

QString sipKFileWidget::currentMimeFilter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[64]),sipPySelf,NULL,sipName_currentMimeFilter);

    if (!sipMeth)
        return KFileWidget::currentMimeFilter();

    typedef QString (*sipVH_QtCore_62)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_62)(sipModuleAPI_kio_QtCore->em_virthandlers[62]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKFileWidget::setMimeFilter(const QStringList& a0,const QString& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[65],sipPySelf,NULL,sipName_setMimeFilter);

    if (!sipMeth)
    {
        KFileWidget::setMimeFilter(a0,a1);
        return;
    }

    extern void sipVH_kio_43(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QStringList&,const QString&);

    sipVH_kio_43(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

KMimeType::Ptr sipKFileWidget::currentFilterMimeType()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[66],sipPySelf,NULL,sipName_currentFilterMimeType);

    if (!sipMeth)
        return KFileWidget::currentFilterMimeType();

    extern KSharedPtr<KMimeType> sipVH_kio_44(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_44(sipGILState, 0, sipPySelf, sipMeth);
}

QString sipKFileWidget::currentFilter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[67]),sipPySelf,NULL,sipName_currentFilter);

    if (!sipMeth)
        return KFileWidget::currentFilter();

    typedef QString (*sipVH_QtCore_62)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_62)(sipModuleAPI_kio_QtCore->em_virthandlers[62]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKFileWidget::setFilter(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[68],sipPySelf,NULL,sipName_setFilter);

    if (!sipMeth)
    {
        KFileWidget::setFilter(a0);
        return;
    }

    typedef void (*sipVH_QtCore_33)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    ((sipVH_QtCore_33)(sipModuleAPI_kio_QtCore->em_virthandlers[33]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKFileWidget::keepsLocation() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[69]),sipPySelf,NULL,sipName_keepsLocation);

    if (!sipMeth)
        return KFileWidget::keepsLocation();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_kio_QtCore->em_virthandlers[7]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKFileWidget::setKeepLocation(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[70],sipPySelf,NULL,sipName_setKeepLocation);

    if (!sipMeth)
    {
        KFileWidget::setKeepLocation(a0);
        return;
    }

    typedef void (*sipVH_QtNetwork_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtNetwork_1)(sipModuleAPI_kio_QtNetwork->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

KAbstractFileWidget::OperationMode sipKFileWidget::operationMode() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[71]),sipPySelf,NULL,sipName_operationMode);

    if (!sipMeth)
        return KFileWidget::operationMode();

    extern KAbstractFileWidget::OperationMode sipVH_kio_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_45(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKFileWidget::setOperationMode(KAbstractFileWidget::OperationMode a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[72],sipPySelf,NULL,sipName_setOperationMode);

    if (!sipMeth)
    {
        KFileWidget::setOperationMode(a0);
        return;
    }

    extern void sipVH_kio_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KAbstractFileWidget::OperationMode);

    sipVH_kio_46(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWidget::setSelection(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[73],sipPySelf,NULL,sipName_setSelection);

    if (!sipMeth)
    {
        KFileWidget::setSelection(a0);
        return;
    }

    typedef void (*sipVH_QtCore_33)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    ((sipVH_QtCore_33)(sipModuleAPI_kio_QtCore->em_virthandlers[33]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWidget::setUrl(const KUrl& a0,bool a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[74],sipPySelf,NULL,sipName_setUrl);

    if (!sipMeth)
    {
        KFileWidget::setUrl(a0,a1);
        return;
    }

    extern void sipVH_kio_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const KUrl&,bool);

    sipVH_kio_6(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

QStringList sipKFileWidget::selectedFiles() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[75]),sipPySelf,NULL,sipName_selectedFiles);

    if (!sipMeth)
        return KFileWidget::selectedFiles();

    typedef QStringList (*sipVH_QtCore_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_27)(sipModuleAPI_kio_QtCore->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth);
}

QString sipKFileWidget::selectedFile() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[76]),sipPySelf,NULL,sipName_selectedFile);

    if (!sipMeth)
        return KFileWidget::selectedFile();

    typedef QString (*sipVH_QtCore_62)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_62)(sipModuleAPI_kio_QtCore->em_virthandlers[62]))(sipGILState, 0, sipPySelf, sipMeth);
}

KUrl sipKFileWidget::baseUrl() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[77]),sipPySelf,NULL,sipName_baseUrl);

    if (!sipMeth)
        return KFileWidget::baseUrl();

    extern KUrl sipVH_kio_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_47(sipGILState, 0, sipPySelf, sipMeth);
}

KUrl::List sipKFileWidget::selectedUrls() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[78]),sipPySelf,NULL,sipName_selectedUrls);

    if (!sipMeth)
        return KFileWidget::selectedUrls();

    extern KUrl::List sipVH_kio_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_48(sipGILState, 0, sipPySelf, sipMeth);
}

KUrl sipKFileWidget::selectedUrl() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[79]),sipPySelf,NULL,sipName_selectedUrl);

    if (!sipMeth)
        return KFileWidget::selectedUrl();

    extern KUrl sipVH_kio_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_47(sipGILState, 0, sipPySelf, sipMeth);
}


extern "C" {static PyObject *meth_KFileWidget_selectedUrl(PyObject *, PyObject *);}
static PyObject *meth_KFileWidget_selectedUrl(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KFileWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileWidget, &sipCpp))
        {
            KUrl*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl((sipSelfWasArg ? sipCpp->KFileWidget::selectedUrl() : sipCpp->selectedUrl()));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KUrl,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileWidget, sipName_selectedUrl, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileWidget_selectedUrls(PyObject *, PyObject *);}
static PyObject *meth_KFileWidget_selectedUrls(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KFileWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileWidget, &sipCpp))
        {
            KUrl::List*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl::List((sipSelfWasArg ? sipCpp->KFileWidget::selectedUrls() : sipCpp->selectedUrls()));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KUrl_List,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileWidget, sipName_selectedUrls, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileWidget_baseUrl(PyObject *, PyObject *);}
static PyObject *meth_KFileWidget_baseUrl(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KFileWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileWidget, &sipCpp))
        {
            KUrl*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl((sipSelfWasArg ? sipCpp->KFileWidget::baseUrl() : sipCpp->baseUrl()));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KUrl,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileWidget, sipName_baseUrl, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileWidget_selectedFile(PyObject *, PyObject *);}
static PyObject *meth_KFileWidget_selectedFile(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KFileWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileWidget, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString((sipSelfWasArg ? sipCpp->KFileWidget::selectedFile() : sipCpp->selectedFile()));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileWidget, sipName_selectedFile, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileWidget_selectedFiles(PyObject *, PyObject *);}
static PyObject *meth_KFileWidget_selectedFiles(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KFileWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileWidget, &sipCpp))
        {
            QStringList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList((sipSelfWasArg ? sipCpp->KFileWidget::selectedFiles() : sipCpp->selectedFiles()));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileWidget, sipName_selectedFiles, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileWidget_setUrl(PyObject *, PyObject *);}
static PyObject *meth_KFileWidget_setUrl(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KUrl* a0;
        bool a1 = 1;
        KFileWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9|b", &sipSelf, sipType_KFileWidget, &sipCpp, sipType_KUrl, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KFileWidget::setUrl(*a0,a1) : sipCpp->setUrl(*a0,a1));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileWidget, sipName_setUrl, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileWidget_setSelection(PyObject *, PyObject *);}
static PyObject *meth_KFileWidget_setSelection(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString* a0;
        int a0State = 0;
        KFileWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KFileWidget, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KFileWidget::setSelection(*a0) : sipCpp->setSelection(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileWidget, sipName_setSelection, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileWidget_setOperationMode(PyObject *, PyObject *);}
static PyObject *meth_KFileWidget_setOperationMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KAbstractFileWidget::OperationMode a0;
        KFileWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KFileWidget, &sipCpp, sipType_KAbstractFileWidget_OperationMode, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KFileWidget::setOperationMode(a0) : sipCpp->setOperationMode(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileWidget, sipName_setOperationMode, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileWidget_operationMode(PyObject *, PyObject *);}
static PyObject *meth_KFileWidget_operationMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KFileWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileWidget, &sipCpp))
        {
            KAbstractFileWidget::OperationMode sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KFileWidget::operationMode() : sipCpp->operationMode());
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KAbstractFileWidget_OperationMode);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileWidget, sipName_operationMode, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileWidget_setKeepLocation(PyObject *, PyObject *);}
static PyObject *meth_KFileWidget_setKeepLocation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        KFileWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KFileWidget, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KFileWidget::setKeepLocation(a0) : sipCpp->setKeepLocation(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileWidget, sipName_setKeepLocation, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileWidget_keepsLocation(PyObject *, PyObject *);}
static PyObject *meth_KFileWidget_keepsLocation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KFileWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileWidget, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KFileWidget::keepsLocation() : sipCpp->keepsLocation());
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileWidget, sipName_keepsLocation, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileWidget_setFilter(PyObject *, PyObject *);}
static PyObject *meth_KFileWidget_setFilter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString* a0;
        int a0State = 0;
        KFileWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KFileWidget, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KFileWidget::setFilter(*a0) : sipCpp->setFilter(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileWidget, sipName_setFilter, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileWidget_currentFilter(PyObject *, PyObject *);}
static PyObject *meth_KFileWidget_currentFilter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KFileWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileWidget, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString((sipSelfWasArg ? sipCpp->KFileWidget::currentFilter() : sipCpp->currentFilter()));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileWidget, sipName_currentFilter, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileWidget_currentFilterMimeType(PyObject *, PyObject *);}
static PyObject *meth_KFileWidget_currentFilterMimeType(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KFileWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileWidget, &sipCpp))
        {
            KMimeType::Ptr*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KMimeType::Ptr((sipSelfWasArg ? sipCpp->KFileWidget::currentFilterMimeType() : sipCpp->currentFilterMimeType()));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KSharedPtr_0100KMimeType,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileWidget, sipName_currentFilterMimeType, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileWidget_setMimeFilter(PyObject *, PyObject *);}
static PyObject *meth_KFileWidget_setMimeFilter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QStringList* a0;
        int a0State = 0;
        const QString& a1def = QString();
        const QString* a1 = &a1def;
        int a1State = 0;
        KFileWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|J1", &sipSelf, sipType_KFileWidget, &sipCpp, sipType_QStringList,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KFileWidget::setMimeFilter(*a0,*a1) : sipCpp->setMimeFilter(*a0,*a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QStringList *>(a0),sipType_QStringList,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileWidget, sipName_setMimeFilter, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileWidget_currentMimeFilter(PyObject *, PyObject *);}
static PyObject *meth_KFileWidget_currentMimeFilter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KFileWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileWidget, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString((sipSelfWasArg ? sipCpp->KFileWidget::currentMimeFilter() : sipCpp->currentMimeFilter()));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileWidget, sipName_currentMimeFilter, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileWidget_clearFilter(PyObject *, PyObject *);}
static PyObject *meth_KFileWidget_clearFilter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KFileWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileWidget, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KFileWidget::clearFilter() : sipCpp->clearFilter());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileWidget, sipName_clearFilter, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileWidget_setPreviewWidget(PyObject *, PyObject *);}
static PyObject *meth_KFileWidget_setPreviewWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KPreviewWidgetBase* a0;
        KFileWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KFileWidget, &sipCpp, sipType_KPreviewWidgetBase, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KFileWidget::setPreviewWidget(a0) : sipCpp->setPreviewWidget(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileWidget, sipName_setPreviewWidget, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileWidget_setMode(PyObject *, PyObject *);}
static PyObject *meth_KFileWidget_setMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KFile::Modes* a0;
        int a0State = 0;
        KFileWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KFileWidget, &sipCpp, sipType_KFile_Modes, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KFileWidget::setMode(*a0) : sipCpp->setMode(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KFile_Modes,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileWidget, sipName_setMode, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileWidget_mode(PyObject *, PyObject *);}
static PyObject *meth_KFileWidget_mode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KFileWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileWidget, &sipCpp))
        {
            KFile::Modes*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KFile::Modes((sipSelfWasArg ? sipCpp->KFileWidget::mode() : sipCpp->mode()));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KFile_Modes,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileWidget, sipName_mode, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileWidget_setLocationLabel(PyObject *, PyObject *);}
static PyObject *meth_KFileWidget_setLocationLabel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString* a0;
        int a0State = 0;
        KFileWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KFileWidget, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KFileWidget::setLocationLabel(*a0) : sipCpp->setLocationLabel(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileWidget, sipName_setLocationLabel, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileWidget_toolBar(PyObject *, PyObject *);}
static PyObject *meth_KFileWidget_toolBar(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KFileWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileWidget, &sipCpp))
        {
            KToolBar*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KFileWidget::toolBar() : sipCpp->toolBar());
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KToolBar,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileWidget, sipName_toolBar, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileWidget_okButton(PyObject *, PyObject *);}
static PyObject *meth_KFileWidget_okButton(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KFileWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileWidget, &sipCpp))
        {
            KPushButton*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KFileWidget::okButton() : sipCpp->okButton());
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KPushButton,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileWidget, sipName_okButton, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileWidget_cancelButton(PyObject *, PyObject *);}
static PyObject *meth_KFileWidget_cancelButton(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KFileWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileWidget, &sipCpp))
        {
            KPushButton*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KFileWidget::cancelButton() : sipCpp->cancelButton());
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KPushButton,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileWidget, sipName_cancelButton, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileWidget_locationEdit(PyObject *, PyObject *);}
static PyObject *meth_KFileWidget_locationEdit(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KFileWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileWidget, &sipCpp))
        {
            KUrlComboBox*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KFileWidget::locationEdit() : sipCpp->locationEdit());
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KUrlComboBox,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileWidget, sipName_locationEdit, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileWidget_filterWidget(PyObject *, PyObject *);}
static PyObject *meth_KFileWidget_filterWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KFileWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileWidget, &sipCpp))
        {
            KFileFilterCombo*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KFileWidget::filterWidget() : sipCpp->filterWidget());
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KFileFilterCombo,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileWidget, sipName_filterWidget, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileWidget_actionCollection(PyObject *, PyObject *);}
static PyObject *meth_KFileWidget_actionCollection(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KFileWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileWidget, &sipCpp))
        {
            KActionCollection*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KFileWidget::actionCollection() : sipCpp->actionCollection());
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KActionCollection,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileWidget, sipName_actionCollection, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileWidget_getStartUrl(PyObject *, PyObject *);}
static PyObject *meth_KFileWidget_getStartUrl(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KUrl* a0;
        QString* a1;
        int a1State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9J1", sipType_KUrl, &a0, sipType_QString,&a1, &a1State))
        {
            KUrl*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl(KFileWidget::getStartUrl(*a0,*a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a1,sipType_QString,a1State);

            return sipConvertFromNewType(sipRes,sipType_KUrl,NULL);
        }
    }

    {
        const KUrl* a0;
        QString* a1;
        int a1State = 0;
        QString* a2;
        int a2State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9J1J1", sipType_KUrl, &a0, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State))
        {
            KUrl*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl(KFileWidget::getStartUrl(*a0,*a1,*a2));
            Py_END_ALLOW_THREADS
            sipReleaseType(a1,sipType_QString,a1State);
            sipReleaseType(a2,sipType_QString,a2State);

            return sipConvertFromNewType(sipRes,sipType_KUrl,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileWidget, sipName_getStartUrl, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileWidget_setStartDir(PyObject *, PyObject *);}
static PyObject *meth_KFileWidget_setStartDir(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KUrl* a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9", sipType_KUrl, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            KFileWidget::setStartDir(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileWidget, sipName_setStartDir, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileWidget_setCustomWidget(PyObject *, PyObject *);}
static PyObject *meth_KFileWidget_setCustomWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWidget* a0;
        KFileWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KFileWidget, &sipCpp, sipType_QWidget, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KFileWidget::setCustomWidget(a0) : sipCpp->setCustomWidget(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        QWidget* a1;
        KFileWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J8", &sipSelf, sipType_KFileWidget, &sipCpp, sipType_QString,&a0, &a0State, sipType_QWidget, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KFileWidget::setCustomWidget(*a0,a1) : sipCpp->setCustomWidget(*a0,a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileWidget, sipName_setCustomWidget, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileWidget_slotOk(PyObject *, PyObject *);}
static PyObject *meth_KFileWidget_slotOk(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KFileWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileWidget, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KFileWidget::slotOk() : sipCpp->slotOk());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileWidget, sipName_slotOk, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileWidget_accept(PyObject *, PyObject *);}
static PyObject *meth_KFileWidget_accept(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KFileWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileWidget, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KFileWidget::accept() : sipCpp->accept());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileWidget, sipName_accept, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileWidget_slotCancel(PyObject *, PyObject *);}
static PyObject *meth_KFileWidget_slotCancel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KFileWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileWidget, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KFileWidget::slotCancel() : sipCpp->slotCancel());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileWidget, sipName_slotCancel, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileWidget_resizeEvent(PyObject *, PyObject *);}
static PyObject *meth_KFileWidget_resizeEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent* a0;
        KFileWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KFileWidget, &sipCpp, sipType_QResizeEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KFileWidget::resizeEvent(a0) : sipCpp->resizeEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileWidget, sipName_resizeEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileWidget_showEvent(PyObject *, PyObject *);}
static PyObject *meth_KFileWidget_showEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent* a0;
        KFileWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KFileWidget, &sipCpp, sipType_QShowEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KFileWidget::showEvent(a0) : sipCpp->showEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileWidget, sipName_showEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileWidget_eventFilter(PyObject *, PyObject *);}
static PyObject *meth_KFileWidget_eventFilter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QObject* a0;
        QEvent* a1;
        KFileWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8J8", &sipSelf, sipType_KFileWidget, &sipCpp, sipType_QObject, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KFileWidget::eventFilter(a0,a1) : sipCpp->eventFilter(a0,a1));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileWidget, sipName_eventFilter, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileWidget_dirOperator(PyObject *, PyObject *);}
static PyObject *meth_KFileWidget_dirOperator(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KFileWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileWidget, &sipCpp))
        {
            KDirOperator*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->dirOperator();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KDirOperator,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileWidget, sipName_dirOperator, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileWidget_readConfig(PyObject *, PyObject *);}
static PyObject *meth_KFileWidget_readConfig(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KConfigGroup* a0;
        KFileWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KFileWidget, &sipCpp, sipType_KConfigGroup, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->readConfig(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileWidget, sipName_readConfig, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KFileWidget(void *, const sipTypeDef *);}
static void *cast_KFileWidget(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KFileWidget)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QWidget)->ctd_cast((QWidget *)(KFileWidget *)ptr,targetType)) != NULL)
        return res;

    if ((res = ((const sipClassTypeDef *)sipType_KAbstractFileWidget)->ctd_cast((KAbstractFileWidget *)(KFileWidget *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KFileWidget(void *, int);}
static void release_KFileWidget(void *sipCppV,int)
{
    KFileWidget *sipCpp = reinterpret_cast<KFileWidget *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KFileWidget(sipSimpleWrapper *);}
static void dealloc_KFileWidget(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKFileWidget *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KFileWidget(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KFileWidget(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KFileWidget(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKFileWidget *sipCpp = 0;

    {
        const KUrl* a0;
        QWidget* a1;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9JH", sipType_KUrl, &a0, sipType_QWidget, &a1, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKFileWidget(*a0,a1);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KFileWidget[] = {{755, 2, 0}, {4, 255, 1}};


static PyMethodDef methods_KFileWidget[] = {
    {SIP_MLNAME_CAST(sipName_accept), meth_KFileWidget_accept, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_actionCollection), meth_KFileWidget_actionCollection, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_baseUrl), meth_KFileWidget_baseUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_cancelButton), meth_KFileWidget_cancelButton, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_clearFilter), meth_KFileWidget_clearFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_currentFilter), meth_KFileWidget_currentFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_currentFilterMimeType), meth_KFileWidget_currentFilterMimeType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_currentMimeFilter), meth_KFileWidget_currentMimeFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dirOperator), meth_KFileWidget_dirOperator, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_eventFilter), meth_KFileWidget_eventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_filterWidget), meth_KFileWidget_filterWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_getStartUrl), meth_KFileWidget_getStartUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keepsLocation), meth_KFileWidget_keepsLocation, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_locationEdit), meth_KFileWidget_locationEdit, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mode), meth_KFileWidget_mode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_okButton), meth_KFileWidget_okButton, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_operationMode), meth_KFileWidget_operationMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readConfig), meth_KFileWidget_readConfig, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_KFileWidget_resizeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_selectedFile), meth_KFileWidget_selectedFile, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_selectedFiles), meth_KFileWidget_selectedFiles, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_selectedUrl), meth_KFileWidget_selectedUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_selectedUrls), meth_KFileWidget_selectedUrls, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCustomWidget), meth_KFileWidget_setCustomWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setFilter), meth_KFileWidget_setFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setKeepLocation), meth_KFileWidget_setKeepLocation, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setLocationLabel), meth_KFileWidget_setLocationLabel, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMimeFilter), meth_KFileWidget_setMimeFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMode), meth_KFileWidget_setMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setOperationMode), meth_KFileWidget_setOperationMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPreviewWidget), meth_KFileWidget_setPreviewWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSelection), meth_KFileWidget_setSelection, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setStartDir), meth_KFileWidget_setStartDir, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setUrl), meth_KFileWidget_setUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), meth_KFileWidget_showEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotCancel), meth_KFileWidget_slotCancel, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotOk), meth_KFileWidget_slotOk, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toolBar), meth_KFileWidget_toolBar, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KFileWidget[] = {
    {"accepted()", 0, 0, 0},
    {"filterChanged(QString)", 0, 0, 0},
    {"selectionChanged()", 0, 0, 0},
    {"fileHighlighted(QString)", 0, 0, 0},
    {"fileHighlighted(KUrl)", 0, 0, 0},
    {"fileSelected(QString)", 0, 0, 0},
    {"fileSelected(KUrl)", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kio_KFileWidget = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KFileWidget,
        {0}
    },
    {
        sipNameNr_KFileWidget,
        {0, 0, 1},
        38, methods_KFileWidget,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KFileWidget,
    0,
    init_type_KFileWidget,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KFileWidget,
    0,
    0,
    0,
    release_KFileWidget,
    cast_KFileWidget,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KFileWidget::staticMetaObject,
    0,
    signals_KFileWidget,
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kfilesharedialog.sip"
#include <kfilesharedialog.h>
#line 13059 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kpropertiesdialog.sip"
#include <kpropertiesdialog.h>
#line 13063 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 13066 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 134 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kfileitem.sip"
#include <kfileitem.h>
#line 13069 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kfileitem.sip"
#include <kfileitem.h>
#line 13072 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13075 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 355 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13078 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 338 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13081 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 13084 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 274 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 13087 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 13090 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 37 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 13093 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 13096 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 13099 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 13102 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 13105 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 13108 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 13111 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"


class sipKFileSharePropsPlugin : public KFileSharePropsPlugin
{
public:
    sipKFileSharePropsPlugin(KPropertiesDialog*);
    virtual ~sipKFileSharePropsPlugin();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    void applyChanges();

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKFileSharePropsPlugin(const sipKFileSharePropsPlugin &);
    sipKFileSharePropsPlugin &operator = (const sipKFileSharePropsPlugin &);

    char sipPyMethods[8];
};

sipKFileSharePropsPlugin::sipKFileSharePropsPlugin(KPropertiesDialog*a0): KFileSharePropsPlugin(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKFileSharePropsPlugin::~sipKFileSharePropsPlugin()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKFileSharePropsPlugin::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KFileSharePropsPlugin);
}

int sipKFileSharePropsPlugin::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KFileSharePropsPlugin::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kio_qt_metacall(sipPySelf,sipType_KFileSharePropsPlugin,_c,_id,_a);

    return _id;
}

void *sipKFileSharePropsPlugin::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast(sipPySelf, sipType_KFileSharePropsPlugin, _clname)) ? this : KFileSharePropsPlugin::qt_metacast(_clname);
}

void sipKFileSharePropsPlugin::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KFileSharePropsPlugin::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileSharePropsPlugin::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KFileSharePropsPlugin::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileSharePropsPlugin::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KFileSharePropsPlugin::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kio_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileSharePropsPlugin::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KFileSharePropsPlugin::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kio_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileSharePropsPlugin::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KFileSharePropsPlugin::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kio_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKFileSharePropsPlugin::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KFileSharePropsPlugin::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKFileSharePropsPlugin::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KFileSharePropsPlugin::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileSharePropsPlugin::applyChanges()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_applyChanges);

    if (!sipMeth)
    {
        KFileSharePropsPlugin::applyChanges();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}


extern "C" {static PyObject *meth_KFileSharePropsPlugin_applyChanges(PyObject *, PyObject *);}
static PyObject *meth_KFileSharePropsPlugin_applyChanges(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KFileSharePropsPlugin *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileSharePropsPlugin, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KFileSharePropsPlugin::applyChanges() : sipCpp->applyChanges());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileSharePropsPlugin, sipName_applyChanges, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileSharePropsPlugin_supports(PyObject *, PyObject *);}
static PyObject *meth_KFileSharePropsPlugin_supports(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFileItemList* a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9", sipType_KFileItemList, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KFileSharePropsPlugin::supports(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileSharePropsPlugin, sipName_supports, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileSharePropsPlugin_page(PyObject *, PyObject *);}
static PyObject *meth_KFileSharePropsPlugin_page(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFileSharePropsPlugin *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileSharePropsPlugin, &sipCpp))
        {
            QWidget*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->page();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileSharePropsPlugin, sipName_page, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileSharePropsPlugin_slotConfigureFileSharing(PyObject *, PyObject *);}
static PyObject *meth_KFileSharePropsPlugin_slotConfigureFileSharing(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KFileSharePropsPlugin *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KFileSharePropsPlugin, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->slotConfigureFileSharing();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileSharePropsPlugin, sipName_slotConfigureFileSharing, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileSharePropsPlugin_slotConfigureFileSharingDone(PyObject *, PyObject *);}
static PyObject *meth_KFileSharePropsPlugin_slotConfigureFileSharingDone(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KFileSharePropsPlugin *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KFileSharePropsPlugin, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->slotConfigureFileSharingDone();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileSharePropsPlugin, sipName_slotConfigureFileSharingDone, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KFileSharePropsPlugin(void *, const sipTypeDef *);}
static void *cast_KFileSharePropsPlugin(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KFileSharePropsPlugin)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KPropertiesDialogPlugin)->ctd_cast((KPropertiesDialogPlugin *)(KFileSharePropsPlugin *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KFileSharePropsPlugin(void *, int);}
static void release_KFileSharePropsPlugin(void *sipCppV,int)
{
    KFileSharePropsPlugin *sipCpp = reinterpret_cast<KFileSharePropsPlugin *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KFileSharePropsPlugin(sipSimpleWrapper *);}
static void dealloc_KFileSharePropsPlugin(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKFileSharePropsPlugin *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KFileSharePropsPlugin(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KFileSharePropsPlugin(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KFileSharePropsPlugin(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipKFileSharePropsPlugin *sipCpp = 0;

    {
        KPropertiesDialog* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8", sipType_KPropertiesDialog, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKFileSharePropsPlugin(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KFileSharePropsPlugin[] = {{203, 255, 1}};


static PyMethodDef methods_KFileSharePropsPlugin[] = {
    {SIP_MLNAME_CAST(sipName_applyChanges), meth_KFileSharePropsPlugin_applyChanges, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_page), meth_KFileSharePropsPlugin_page, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotConfigureFileSharing), meth_KFileSharePropsPlugin_slotConfigureFileSharing, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotConfigureFileSharingDone), meth_KFileSharePropsPlugin_slotConfigureFileSharingDone, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_supports), meth_KFileSharePropsPlugin_supports, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kio_KFileSharePropsPlugin = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KFileSharePropsPlugin,
        {0}
    },
    {
        sipNameNr_KFileSharePropsPlugin,
        {0, 0, 1},
        5, methods_KFileSharePropsPlugin,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KFileSharePropsPlugin,
    0,
    init_type_KFileSharePropsPlugin,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KFileSharePropsPlugin,
    0,
    0,
    0,
    release_KFileSharePropsPlugin,
    cast_KFileSharePropsPlugin,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KFileSharePropsPlugin::staticMetaObject,
    0,
    0
};

#line 75 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kpropertiesdialog.sip"
#include <kpropertiesdialog.h>
#line 13588 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kpropertiesdialog.sip"
#include <kpropertiesdialog.h>
#line 13592 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kfileitem.sip"
#include <kfileitem.h>
#line 13595 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13598 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 355 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13601 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 338 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13604 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 13607 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 274 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 13610 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 13613 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 37 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 13616 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 13619 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 13622 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 13625 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 13628 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 13631 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 13634 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"


class sipKPropertiesDialogPlugin : public KPropertiesDialogPlugin
{
public:
    sipKPropertiesDialogPlugin(KPropertiesDialog*);
    virtual ~sipKPropertiesDialogPlugin();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    void applyChanges();

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKPropertiesDialogPlugin(const sipKPropertiesDialogPlugin &);
    sipKPropertiesDialogPlugin &operator = (const sipKPropertiesDialogPlugin &);

    char sipPyMethods[8];
};

sipKPropertiesDialogPlugin::sipKPropertiesDialogPlugin(KPropertiesDialog*a0): KPropertiesDialogPlugin(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKPropertiesDialogPlugin::~sipKPropertiesDialogPlugin()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKPropertiesDialogPlugin::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KPropertiesDialogPlugin);
}

int sipKPropertiesDialogPlugin::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KPropertiesDialogPlugin::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kio_qt_metacall(sipPySelf,sipType_KPropertiesDialogPlugin,_c,_id,_a);

    return _id;
}

void *sipKPropertiesDialogPlugin::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast(sipPySelf, sipType_KPropertiesDialogPlugin, _clname)) ? this : KPropertiesDialogPlugin::qt_metacast(_clname);
}

void sipKPropertiesDialogPlugin::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KPropertiesDialogPlugin::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPropertiesDialogPlugin::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KPropertiesDialogPlugin::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPropertiesDialogPlugin::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KPropertiesDialogPlugin::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kio_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPropertiesDialogPlugin::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KPropertiesDialogPlugin::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kio_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPropertiesDialogPlugin::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KPropertiesDialogPlugin::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kio_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKPropertiesDialogPlugin::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KPropertiesDialogPlugin::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKPropertiesDialogPlugin::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KPropertiesDialogPlugin::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPropertiesDialogPlugin::applyChanges()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_applyChanges);

    if (!sipMeth)
    {
        KPropertiesDialogPlugin::applyChanges();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}


extern "C" {static PyObject *meth_KPropertiesDialogPlugin_applyChanges(PyObject *, PyObject *);}
static PyObject *meth_KPropertiesDialogPlugin_applyChanges(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KPropertiesDialogPlugin *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPropertiesDialogPlugin, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KPropertiesDialogPlugin::applyChanges() : sipCpp->applyChanges());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPropertiesDialogPlugin, sipName_applyChanges, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPropertiesDialogPlugin_isDesktopFile(PyObject *, PyObject *);}
static PyObject *meth_KPropertiesDialogPlugin_isDesktopFile(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFileItem* a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9", sipType_KFileItem, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KPropertiesDialogPlugin::isDesktopFile(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPropertiesDialogPlugin, sipName_isDesktopFile, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPropertiesDialogPlugin_setDirty(PyObject *, PyObject *);}
static PyObject *meth_KPropertiesDialogPlugin_setDirty(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KPropertiesDialogPlugin *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KPropertiesDialogPlugin, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDirty(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        KPropertiesDialogPlugin *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPropertiesDialogPlugin, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDirty();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPropertiesDialogPlugin, sipName_setDirty, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPropertiesDialogPlugin_isDirty(PyObject *, PyObject *);}
static PyObject *meth_KPropertiesDialogPlugin_isDirty(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPropertiesDialogPlugin *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPropertiesDialogPlugin, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isDirty();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPropertiesDialogPlugin, sipName_isDirty, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPropertiesDialogPlugin_fontHeight(PyObject *, PyObject *);}
static PyObject *meth_KPropertiesDialogPlugin_fontHeight(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPropertiesDialogPlugin *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KPropertiesDialogPlugin, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->fontHeight();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPropertiesDialogPlugin, sipName_fontHeight, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KPropertiesDialogPlugin(void *, const sipTypeDef *);}
static void *cast_KPropertiesDialogPlugin(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KPropertiesDialogPlugin)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(KPropertiesDialogPlugin *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KPropertiesDialogPlugin(void *, int);}
static void release_KPropertiesDialogPlugin(void *sipCppV,int)
{
    KPropertiesDialogPlugin *sipCpp = reinterpret_cast<KPropertiesDialogPlugin *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KPropertiesDialogPlugin(sipSimpleWrapper *);}
static void dealloc_KPropertiesDialogPlugin(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKPropertiesDialogPlugin *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KPropertiesDialogPlugin(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KPropertiesDialogPlugin(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KPropertiesDialogPlugin(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipKPropertiesDialogPlugin *sipCpp = 0;

    {
        KPropertiesDialog* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8", sipType_KPropertiesDialog, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKPropertiesDialogPlugin(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KPropertiesDialogPlugin[] = {{141, 0, 1}};


static PyMethodDef methods_KPropertiesDialogPlugin[] = {
    {SIP_MLNAME_CAST(sipName_applyChanges), meth_KPropertiesDialogPlugin_applyChanges, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fontHeight), meth_KPropertiesDialogPlugin_fontHeight, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isDesktopFile), meth_KPropertiesDialogPlugin_isDesktopFile, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isDirty), meth_KPropertiesDialogPlugin_isDirty, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDirty), meth_KPropertiesDialogPlugin_setDirty, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KPropertiesDialogPlugin[] = {
    {"changed()", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kio_KPropertiesDialogPlugin = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KPropertiesDialogPlugin,
        {0}
    },
    {
        sipNameNr_KPropertiesDialogPlugin,
        {0, 0, 1},
        5, methods_KPropertiesDialogPlugin,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KPropertiesDialogPlugin,
    0,
    init_type_KPropertiesDialogPlugin,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KPropertiesDialogPlugin,
    0,
    0,
    0,
    release_KPropertiesDialogPlugin,
    cast_KPropertiesDialogPlugin,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KPropertiesDialogPlugin::staticMetaObject,
    0,
    signals_KPropertiesDialogPlugin,
};


#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 14135 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"


extern "C" {static PyObject *meth_KFileShare_nfsEnabled(PyObject *, PyObject *);}
static PyObject *meth_KFileShare_nfsEnabled(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KFileShare::nfsEnabled();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_nfsEnabled, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileShare_sambaEnabled(PyObject *, PyObject *);}
static PyObject *meth_KFileShare_sambaEnabled(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KFileShare::sambaEnabled();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_sambaEnabled, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileShare_shareMode(PyObject *, PyObject *);}
static PyObject *meth_KFileShare_shareMode(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KFileShare::ShareMode sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KFileShare::shareMode();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KFileShare_ShareMode);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_shareMode, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileShare_fileShareGroup(PyObject *, PyObject *);}
static PyObject *meth_KFileShare_fileShareGroup(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KFileShare::fileShareGroup());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_fileShareGroup, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileShare_isRestricted(PyObject *, PyObject *);}
static PyObject *meth_KFileShare_isRestricted(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KFileShare::isRestricted();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_isRestricted, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileShare_sharingEnabled(PyObject *, PyObject *);}
static PyObject *meth_KFileShare_sharingEnabled(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KFileShare::sharingEnabled();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_sharingEnabled, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileShare_setShared(PyObject *, PyObject *);}
static PyObject *meth_KFileShare_setShared(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        bool a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1b", sipType_QString,&a0, &a0State, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KFileShare::setShared(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_setShared, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileShare_authorization(PyObject *, PyObject *);}
static PyObject *meth_KFileShare_authorization(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KFileShare::Authorization sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KFileShare::authorization();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KFileShare_Authorization);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_authorization, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileShare_isDirectoryShared(PyObject *, PyObject *);}
static PyObject *meth_KFileShare_isDirectoryShared(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KFileShare::isDirectoryShared(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_isDirectoryShared, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileShare_readShareList(PyObject *, PyObject *);}
static PyObject *meth_KFileShare_readShareList(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            KFileShare::readShareList();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_readShareList, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileShare_readConfig(PyObject *, PyObject *);}
static PyObject *meth_KFileShare_readConfig(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            KFileShare::readConfig();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_readConfig, NULL);

    return NULL;
}


static PyMethodDef methods_KFileShare[] = {
    {SIP_MLNAME_CAST(sipName_authorization), meth_KFileShare_authorization, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fileShareGroup), meth_KFileShare_fileShareGroup, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isDirectoryShared), meth_KFileShare_isDirectoryShared, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isRestricted), meth_KFileShare_isRestricted, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_nfsEnabled), meth_KFileShare_nfsEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readConfig), meth_KFileShare_readConfig, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readShareList), meth_KFileShare_readShareList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sambaEnabled), meth_KFileShare_sambaEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setShared), meth_KFileShare_setShared, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_shareMode), meth_KFileShare_shareMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sharingEnabled), meth_KFileShare_sharingEnabled, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KFileShare[] = {
    {sipName_Advanced, static_cast<int>(KFileShare::Advanced), 95},
    {sipName_Authorized, static_cast<int>(KFileShare::Authorized), 94},
    {sipName_ErrorNotFound, static_cast<int>(KFileShare::ErrorNotFound), 94},
    {sipName_NotInitialized, static_cast<int>(KFileShare::NotInitialized), 94},
    {sipName_Simple, static_cast<int>(KFileShare::Simple), 95},
    {sipName_UserNotAllowed, static_cast<int>(KFileShare::UserNotAllowed), 94},
};


pyqt4ClassTypeDef sipTypeDef_kio_KFileShare = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_NAMESPACE,
        sipNameNr_KFileShare,
        {0}
    },
    {
        sipNameNr_KFileShare,
        {0, 0, 1},
        11, methods_KFileShare,
        6, enummembers_KFileShare,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    0,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 24 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kfilepreviewgenerator.sip"
#include <kfilepreviewgenerator.h>
#line 14499 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"

#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 14503 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 14506 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 14509 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 355 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 14512 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 338 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 14515 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 14518 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 274 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 14521 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 14524 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 37 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 14527 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 14530 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 14533 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 14536 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 14539 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 14542 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 14545 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"


class sipKFilePreviewGenerator : public KFilePreviewGenerator
{
public:
    sipKFilePreviewGenerator(QAbstractItemView*);
    virtual ~sipKFilePreviewGenerator();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKFilePreviewGenerator(const sipKFilePreviewGenerator &);
    sipKFilePreviewGenerator &operator = (const sipKFilePreviewGenerator &);

    char sipPyMethods[7];
};

sipKFilePreviewGenerator::sipKFilePreviewGenerator(QAbstractItemView*a0): KFilePreviewGenerator(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKFilePreviewGenerator::~sipKFilePreviewGenerator()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKFilePreviewGenerator::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KFilePreviewGenerator);
}

int sipKFilePreviewGenerator::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KFilePreviewGenerator::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kio_qt_metacall(sipPySelf,sipType_KFilePreviewGenerator,_c,_id,_a);

    return _id;
}

void *sipKFilePreviewGenerator::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast(sipPySelf, sipType_KFilePreviewGenerator, _clname)) ? this : KFilePreviewGenerator::qt_metacast(_clname);
}

void sipKFilePreviewGenerator::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KFilePreviewGenerator::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePreviewGenerator::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KFilePreviewGenerator::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePreviewGenerator::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KFilePreviewGenerator::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kio_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePreviewGenerator::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KFilePreviewGenerator::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kio_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePreviewGenerator::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KFilePreviewGenerator::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kio_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKFilePreviewGenerator::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KFilePreviewGenerator::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKFilePreviewGenerator::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KFilePreviewGenerator::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_KFilePreviewGenerator_setPreviewShown(PyObject *, PyObject *);}
static PyObject *meth_KFilePreviewGenerator_setPreviewShown(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KFilePreviewGenerator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KFilePreviewGenerator, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPreviewShown(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFilePreviewGenerator, sipName_setPreviewShown, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFilePreviewGenerator_isPreviewShown(PyObject *, PyObject *);}
static PyObject *meth_KFilePreviewGenerator_isPreviewShown(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFilePreviewGenerator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFilePreviewGenerator, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isPreviewShown();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFilePreviewGenerator, sipName_isPreviewShown, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFilePreviewGenerator_updatePreviews(PyObject *, PyObject *);}
static PyObject *meth_KFilePreviewGenerator_updatePreviews(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KFilePreviewGenerator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFilePreviewGenerator, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->updatePreviews();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFilePreviewGenerator, sipName_updatePreviews, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFilePreviewGenerator_updateIcons(PyObject *, PyObject *);}
static PyObject *meth_KFilePreviewGenerator_updateIcons(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KFilePreviewGenerator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFilePreviewGenerator, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->updateIcons();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFilePreviewGenerator, sipName_updateIcons, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFilePreviewGenerator_cancelPreviews(PyObject *, PyObject *);}
static PyObject *meth_KFilePreviewGenerator_cancelPreviews(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KFilePreviewGenerator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFilePreviewGenerator, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->cancelPreviews();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFilePreviewGenerator, sipName_cancelPreviews, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFilePreviewGenerator_setEnabledPlugins(PyObject *, PyObject *);}
static PyObject *meth_KFilePreviewGenerator_setEnabledPlugins(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QStringList* a0;
        int a0State = 0;
        KFilePreviewGenerator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KFilePreviewGenerator, &sipCpp, sipType_QStringList,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setEnabledPlugins(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QStringList *>(a0),sipType_QStringList,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFilePreviewGenerator, sipName_setEnabledPlugins, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFilePreviewGenerator_enabledPlugins(PyObject *, PyObject *);}
static PyObject *meth_KFilePreviewGenerator_enabledPlugins(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFilePreviewGenerator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFilePreviewGenerator, &sipCpp))
        {
            QStringList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->enabledPlugins());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFilePreviewGenerator, sipName_enabledPlugins, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KFilePreviewGenerator(void *, const sipTypeDef *);}
static void *cast_KFilePreviewGenerator(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KFilePreviewGenerator)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(KFilePreviewGenerator *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KFilePreviewGenerator(void *, int);}
static void release_KFilePreviewGenerator(void *sipCppV,int)
{
    KFilePreviewGenerator *sipCpp = reinterpret_cast<KFilePreviewGenerator *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KFilePreviewGenerator(sipSimpleWrapper *);}
static void dealloc_KFilePreviewGenerator(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKFilePreviewGenerator *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KFilePreviewGenerator(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KFilePreviewGenerator(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KFilePreviewGenerator(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipKFilePreviewGenerator *sipCpp = 0;

    {
        QAbstractItemView* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8", sipType_QAbstractItemView, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKFilePreviewGenerator(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KFilePreviewGenerator[] = {{141, 0, 1}};


static PyMethodDef methods_KFilePreviewGenerator[] = {
    {SIP_MLNAME_CAST(sipName_cancelPreviews), meth_KFilePreviewGenerator_cancelPreviews, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enabledPlugins), meth_KFilePreviewGenerator_enabledPlugins, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isPreviewShown), meth_KFilePreviewGenerator_isPreviewShown, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setEnabledPlugins), meth_KFilePreviewGenerator_setEnabledPlugins, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPreviewShown), meth_KFilePreviewGenerator_setPreviewShown, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateIcons), meth_KFilePreviewGenerator_updateIcons, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updatePreviews), meth_KFilePreviewGenerator_updatePreviews, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kio_KFilePreviewGenerator = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KFilePreviewGenerator,
        {0}
    },
    {
        sipNameNr_KFilePreviewGenerator,
        {0, 0, 1},
        7, methods_KFilePreviewGenerator,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KFilePreviewGenerator,
    0,
    init_type_KFilePreviewGenerator,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KFilePreviewGenerator,
    0,
    0,
    0,
    release_KFilePreviewGenerator,
    cast_KFilePreviewGenerator,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KFilePreviewGenerator::staticMetaObject,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kfileplacesview.sip"
#include <kfileplacesview.h>
#line 15060 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"

#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 15064 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 15067 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 748 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15070 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 15073 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 533 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15076 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 774 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15079 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 801 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15082 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 790 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15085 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 616 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15088 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 605 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15091 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 570 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15094 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 627 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15097 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 483 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15100 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 127 "/usr/share/python3-sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 15103 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 15106 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 174 "/usr/share/python3-sip/PyQt4/QtGui/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 15109 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 15112 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 15115 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 15118 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 94 "/usr/share/python3-sip/PyQt4/QtGui/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 15121 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 15124 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 15127 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 15130 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 1135 "/usr/share/python3-sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 15133 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 15136 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 338 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 15139 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 261 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15142 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 15145 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qlistview.sip"
#include <qlistview.h>
#line 15148 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 15151 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 656 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15154 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 274 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 15157 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qabstractitemdelegate.sip"
#include <qabstractitemdelegate.h>
#line 15160 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 514 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15163 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 15166 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 15169 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 15172 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 94 "/usr/share/python3-sip/PyQt4/QtGui/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 15175 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 15178 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 15181 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qscrollbar.sip"
#include <qscrollbar.h>
#line 15184 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 356 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15187 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 39 "/usr/share/python3-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 15190 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 15193 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qframe.sip"
#include <qframe.h>
#line 15196 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 15199 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 15202 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 39 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 15205 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 15208 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 15211 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 15214 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 15217 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 37 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 15220 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 15223 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 15226 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 15229 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 15232 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 15235 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 863 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15238 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 412 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15241 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 583 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15244 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 557 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15247 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 15250 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 61 "/usr/share/python3-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 15253 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 39 "/usr/share/python3-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 15256 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 15259 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 15262 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 15265 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 15268 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 15271 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 15274 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 15277 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 15280 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 15283 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 15286 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 355 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 15289 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 15292 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 15295 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 15298 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 15301 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 15304 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"


class sipKFilePlacesView : public KFilePlacesView
{
public:
    sipKFilePlacesView(QWidget*);
    virtual ~sipKFilePlacesView();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    bool eventFilter(QObject*,QEvent*);
    void languageChange();
    void windowActivationChange(bool);
    void fontChange(const QFont&);
    void paletteChange(const QPalette&);
    void enabledChange(bool);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void closeEvent(QCloseEvent*);
    void moveEvent(QMoveEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void keyReleaseEvent(QKeyEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    void setVisible(bool);
    int devType() const;
    void changeEvent(QEvent*);
    void wheelEvent(QWheelEvent*);
    QSize minimumSizeHint() const;
    void inputMethodEvent(QInputMethodEvent*);
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    bool viewportEvent(QEvent*);
    QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex&,const QEvent*) const;
    bool edit(const QModelIndex&,QAbstractItemView::EditTrigger,QEvent*);
    void editorDestroyed(QObject*);
    void commitData(QWidget*);
    void closeEditor(QWidget*,QAbstractItemDelegate::EndEditHint);
    void horizontalScrollbarValueChanged(int);
    void verticalScrollbarValueChanged(int);
    void horizontalScrollbarAction(int);
    void verticalScrollbarAction(int);
    void updateEditorGeometries();
    void updateEditorData();
    void rowsInserted(const QModelIndex&,int,int);
    void dataChanged(const QModelIndex&,const QModelIndex&);
    void selectAll();
    int sizeHintForColumn(int) const;
    int sizeHintForRow(int) const;
    void keyboardSearch(const QString&);
    void setSelectionModel(QItemSelectionModel*);
    void currentChanged(const QModelIndex&,const QModelIndex&);
    void selectionChanged(const QItemSelection&,const QItemSelection&);
    bool isIndexHidden(const QModelIndex&) const;
    void updateGeometries();
    QModelIndexList selectedIndexes() const;
    QRegion visualRegionForSelection(const QItemSelection&) const;
    void setSelection(const QRect&,QItemSelectionModel::SelectionFlags);
    QModelIndex moveCursor(QAbstractItemView::CursorAction,Qt::KeyboardModifiers);
    int verticalOffset() const;
    int horizontalOffset() const;
    QStyleOptionViewItem viewOptions() const;
    void startDrag(Qt::DropActions);
    void timerEvent(QTimerEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mouseMoveEvent(QMouseEvent*);
    bool event(QEvent*);
    void rowsAboutToBeRemoved(const QModelIndex&,int,int);
    void scrollContentsBy(int,int);
    void setRootIndex(const QModelIndex&);
    void reset();
    QModelIndex indexAt(const QPoint&) const;
    void scrollTo(const QModelIndex&,QAbstractItemView::ScrollHint);
    QRect visualRect(const QModelIndex&) const;
    void paintEvent(QPaintEvent*);
    void dropEvent(QDropEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    void resizeEvent(QResizeEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void keyPressEvent(QKeyEvent*);
    void setModel(QAbstractItemModel*);
    QSize sizeHint() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKFilePlacesView(const sipKFilePlacesView &);
    sipKFilePlacesView &operator = (const sipKFilePlacesView &);

    char sipPyMethods[88];
};

sipKFilePlacesView::sipKFilePlacesView(QWidget*a0): KFilePlacesView(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKFilePlacesView::~sipKFilePlacesView()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKFilePlacesView::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KFilePlacesView);
}

int sipKFilePlacesView::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KFilePlacesView::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kio_qt_metacall(sipPySelf,sipType_KFilePlacesView,_c,_id,_a);

    return _id;
}

void *sipKFilePlacesView::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast(sipPySelf, sipType_KFilePlacesView, _clname)) ? this : KFilePlacesView::qt_metacast(_clname);
}

void sipKFilePlacesView::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KFilePlacesView::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KFilePlacesView::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KFilePlacesView::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kio_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KFilePlacesView::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kio_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKFilePlacesView::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KFilePlacesView::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKFilePlacesView::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
        KFilePlacesView::languageChange();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKFilePlacesView::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
        KFilePlacesView::windowActivationChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kio_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::fontChange(const QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
        KFilePlacesView::fontChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QFont&);

    ((sipVH_QtGui_9)(sipModuleAPI_kio_QtGui->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::paletteChange(const QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
        KFilePlacesView::paletteChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_10)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPalette&);

    ((sipVH_QtGui_10)(sipModuleAPI_kio_QtGui->em_virthandlers[10]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
        KFilePlacesView::enabledChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kio_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKFilePlacesView::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return KFilePlacesView::metric(a0);

    typedef int (*sipVH_QtGui_14)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_14)(sipModuleAPI_kio_QtGui->em_virthandlers[14]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        KFilePlacesView::actionEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_19)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    ((sipVH_QtGui_19)(sipModuleAPI_kio_QtGui->em_virthandlers[19]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        KFilePlacesView::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_20)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_20)(sipModuleAPI_kio_QtGui->em_virthandlers[20]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        KFilePlacesView::closeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_22)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    ((sipVH_QtGui_22)(sipModuleAPI_kio_QtGui->em_virthandlers[22]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        KFilePlacesView::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_23)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_23)(sipModuleAPI_kio_QtGui->em_virthandlers[23]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        KFilePlacesView::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kio_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        KFilePlacesView::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kio_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        KFilePlacesView::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kio_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QPaintEngine* sipKFilePlacesView::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[18]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return KFilePlacesView::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_27)(sipModuleAPI_kio_QtGui->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKFilePlacesView::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[19]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return KFilePlacesView::heightForWidth(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtGui_28)(sipModuleAPI_kio_QtGui->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        KFilePlacesView::setVisible(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kio_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKFilePlacesView::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[21]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return KFilePlacesView::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_kio_QtCore->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKFilePlacesView::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        KFilePlacesView::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kio_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        KFilePlacesView::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_kio_QtGui->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QSize sipKFilePlacesView::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[24]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return KFilePlacesView::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kio_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKFilePlacesView::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        KFilePlacesView::inputMethodEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_13)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    ((sipVH_QtGui_13)(sipModuleAPI_kio_QtGui->em_virthandlers[13]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKFilePlacesView::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return KFilePlacesView::focusNextPrevChild(a0);

    typedef bool (*sipVH_QtGui_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return ((sipVH_QtGui_11)(sipModuleAPI_kio_QtGui->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QVariant sipKFilePlacesView::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[27]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return KFilePlacesView::inputMethodQuery(a0);

    typedef QVariant (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return ((sipVH_QtGui_12)(sipModuleAPI_kio_QtGui->em_virthandlers[12]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        KFilePlacesView::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kio_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        KFilePlacesView::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kio_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        KFilePlacesView::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kio_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        KFilePlacesView::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kio_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKFilePlacesView::viewportEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_viewportEvent);

    if (!sipMeth)
        return KFilePlacesView::viewportEvent(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QItemSelectionModel::SelectionFlags sipKFilePlacesView::selectionCommand(const QModelIndex& a0,const QEvent*a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[33]),sipPySelf,NULL,sipName_selectionCommand);

    if (!sipMeth)
        return KFilePlacesView::selectionCommand(a0,a1);

    typedef QItemSelectionModel::SelectionFlags (*sipVH_QtGui_233)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QEvent*);

    return ((sipVH_QtGui_233)(sipModuleAPI_kio_QtGui->em_virthandlers[233]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKFilePlacesView::edit(const QModelIndex& a0,QAbstractItemView::EditTrigger a1,QEvent*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_edit);

    if (!sipMeth)
        return KFilePlacesView::edit(a0,a1,a2);

    typedef bool (*sipVH_QtGui_234)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,QAbstractItemView::EditTrigger,QEvent*);

    return ((sipVH_QtGui_234)(sipModuleAPI_kio_QtGui->em_virthandlers[234]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipKFilePlacesView::editorDestroyed(QObject*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_editorDestroyed);

    if (!sipMeth)
    {
        KFilePlacesView::editorDestroyed(a0);
        return;
    }

    typedef void (*sipVH_QtGui_235)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*);

    ((sipVH_QtGui_235)(sipModuleAPI_kio_QtGui->em_virthandlers[235]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::commitData(QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_commitData);

    if (!sipMeth)
    {
        KFilePlacesView::commitData(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*);

    ((sipVH_QtGui_7)(sipModuleAPI_kio_QtGui->em_virthandlers[7]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::closeEditor(QWidget*a0,QAbstractItemDelegate::EndEditHint a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_closeEditor);

    if (!sipMeth)
    {
        KFilePlacesView::closeEditor(a0,a1);
        return;
    }

    typedef void (*sipVH_QtGui_236)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*,QAbstractItemDelegate::EndEditHint);

    ((sipVH_QtGui_236)(sipModuleAPI_kio_QtGui->em_virthandlers[236]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKFilePlacesView::horizontalScrollbarValueChanged(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_horizontalScrollbarValueChanged);

    if (!sipMeth)
    {
        KFilePlacesView::horizontalScrollbarValueChanged(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_kio_QtCore->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::verticalScrollbarValueChanged(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_verticalScrollbarValueChanged);

    if (!sipMeth)
    {
        KFilePlacesView::verticalScrollbarValueChanged(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_kio_QtCore->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::horizontalScrollbarAction(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_horizontalScrollbarAction);

    if (!sipMeth)
    {
        KFilePlacesView::horizontalScrollbarAction(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_kio_QtCore->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::verticalScrollbarAction(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_verticalScrollbarAction);

    if (!sipMeth)
    {
        KFilePlacesView::verticalScrollbarAction(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_kio_QtCore->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::updateEditorGeometries()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_updateEditorGeometries);

    if (!sipMeth)
    {
        KFilePlacesView::updateEditorGeometries();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKFilePlacesView::updateEditorData()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_updateEditorData);

    if (!sipMeth)
    {
        KFilePlacesView::updateEditorData();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKFilePlacesView::rowsInserted(const QModelIndex& a0,int a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_rowsInserted);

    if (!sipMeth)
    {
        KFilePlacesView::rowsInserted(a0,a1,a2);
        return;
    }

    typedef void (*sipVH_QtGui_53)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int,int);

    ((sipVH_QtGui_53)(sipModuleAPI_kio_QtGui->em_virthandlers[53]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipKFilePlacesView::dataChanged(const QModelIndex& a0,const QModelIndex& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_dataChanged);

    if (!sipMeth)
    {
        KFilePlacesView::dataChanged(a0,a1);
        return;
    }

    typedef void (*sipVH_QtGui_45)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QModelIndex&);

    ((sipVH_QtGui_45)(sipModuleAPI_kio_QtGui->em_virthandlers[45]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKFilePlacesView::selectAll()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_selectAll);

    if (!sipMeth)
    {
        KFilePlacesView::selectAll();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKFilePlacesView::sizeHintForColumn(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[47]),sipPySelf,NULL,sipName_sizeHintForColumn);

    if (!sipMeth)
        return KFilePlacesView::sizeHintForColumn(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtGui_28)(sipModuleAPI_kio_QtGui->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKFilePlacesView::sizeHintForRow(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[48]),sipPySelf,NULL,sipName_sizeHintForRow);

    if (!sipMeth)
        return KFilePlacesView::sizeHintForRow(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtGui_28)(sipModuleAPI_kio_QtGui->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::keyboardSearch(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_keyboardSearch);

    if (!sipMeth)
    {
        KFilePlacesView::keyboardSearch(a0);
        return;
    }

    typedef void (*sipVH_QtCore_33)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    ((sipVH_QtCore_33)(sipModuleAPI_kio_QtCore->em_virthandlers[33]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::setSelectionModel(QItemSelectionModel*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_setSelectionModel);

    if (!sipMeth)
    {
        KFilePlacesView::setSelectionModel(a0);
        return;
    }

    typedef void (*sipVH_QtGui_37)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QItemSelectionModel*);

    ((sipVH_QtGui_37)(sipModuleAPI_kio_QtGui->em_virthandlers[37]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::currentChanged(const QModelIndex& a0,const QModelIndex& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_currentChanged);

    if (!sipMeth)
    {
        KFilePlacesView::currentChanged(a0,a1);
        return;
    }

    typedef void (*sipVH_QtGui_45)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QModelIndex&);

    ((sipVH_QtGui_45)(sipModuleAPI_kio_QtGui->em_virthandlers[45]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKFilePlacesView::selectionChanged(const QItemSelection& a0,const QItemSelection& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_selectionChanged);

    if (!sipMeth)
    {
        KFilePlacesView::selectionChanged(a0,a1);
        return;
    }

    typedef void (*sipVH_QtGui_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QItemSelection&,const QItemSelection&);

    ((sipVH_QtGui_46)(sipModuleAPI_kio_QtGui->em_virthandlers[46]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKFilePlacesView::isIndexHidden(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[53]),sipPySelf,NULL,sipName_isIndexHidden);

    if (!sipMeth)
        return KFilePlacesView::isIndexHidden(a0);

    typedef bool (*sipVH_QtCore_42)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_42)(sipModuleAPI_kio_QtCore->em_virthandlers[42]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::updateGeometries()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_updateGeometries);

    if (!sipMeth)
    {
        KFilePlacesView::updateGeometries();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

QModelIndexList sipKFilePlacesView::selectedIndexes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[55]),sipPySelf,NULL,sipName_selectedIndexes);

    if (!sipMeth)
        return KFilePlacesView::selectedIndexes();

    typedef QList<QModelIndex> (*sipVH_QtGui_49)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_49)(sipModuleAPI_kio_QtGui->em_virthandlers[49]))(sipGILState, 0, sipPySelf, sipMeth);
}

QRegion sipKFilePlacesView::visualRegionForSelection(const QItemSelection& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[56]),sipPySelf,NULL,sipName_visualRegionForSelection);

    if (!sipMeth)
        return KFilePlacesView::visualRegionForSelection(a0);

    typedef QRegion (*sipVH_QtGui_50)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QItemSelection&);

    return ((sipVH_QtGui_50)(sipModuleAPI_kio_QtGui->em_virthandlers[50]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::setSelection(const QRect& a0,QItemSelectionModel::SelectionFlags a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[57],sipPySelf,NULL,sipName_setSelection);

    if (!sipMeth)
    {
        KFilePlacesView::setSelection(a0,a1);
        return;
    }

    typedef void (*sipVH_QtGui_51)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QRect&,QItemSelectionModel::SelectionFlags);

    ((sipVH_QtGui_51)(sipModuleAPI_kio_QtGui->em_virthandlers[51]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

QModelIndex sipKFilePlacesView::moveCursor(QAbstractItemView::CursorAction a0,Qt::KeyboardModifiers a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[58],sipPySelf,NULL,sipName_moveCursor);

    if (!sipMeth)
        return KFilePlacesView::moveCursor(a0,a1);

    typedef QModelIndex (*sipVH_QtGui_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QAbstractItemView::CursorAction,Qt::KeyboardModifiers);

    return ((sipVH_QtGui_52)(sipModuleAPI_kio_QtGui->em_virthandlers[52]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

int sipKFilePlacesView::verticalOffset() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[59]),sipPySelf,NULL,sipName_verticalOffset);

    if (!sipMeth)
        return KFilePlacesView::verticalOffset();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_kio_QtCore->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKFilePlacesView::horizontalOffset() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[60]),sipPySelf,NULL,sipName_horizontalOffset);

    if (!sipMeth)
        return KFilePlacesView::horizontalOffset();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_kio_QtCore->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth);
}

QStyleOptionViewItem sipKFilePlacesView::viewOptions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[61]),sipPySelf,NULL,sipName_viewOptions);

    if (!sipMeth)
        return KFilePlacesView::viewOptions();

    typedef QStyleOptionViewItem (*sipVH_QtGui_71)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_71)(sipModuleAPI_kio_QtGui->em_virthandlers[71]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKFilePlacesView::startDrag(Qt::DropActions a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[62],sipPySelf,NULL,sipName_startDrag);

    if (!sipMeth)
    {
        KFilePlacesView::startDrag(a0);
        return;
    }

    typedef void (*sipVH_QtGui_153)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::DropActions);

    ((sipVH_QtGui_153)(sipModuleAPI_kio_QtGui->em_virthandlers[153]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[63],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KFilePlacesView::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kio_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[64],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        KFilePlacesView::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kio_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[65],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        KFilePlacesView::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kio_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKFilePlacesView::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[66],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KFilePlacesView::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::rowsAboutToBeRemoved(const QModelIndex& a0,int a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[67],sipPySelf,NULL,sipName_rowsAboutToBeRemoved);

    if (!sipMeth)
    {
        KFilePlacesView::rowsAboutToBeRemoved(a0,a1,a2);
        return;
    }

    typedef void (*sipVH_QtGui_53)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int,int);

    ((sipVH_QtGui_53)(sipModuleAPI_kio_QtGui->em_virthandlers[53]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipKFilePlacesView::scrollContentsBy(int a0,int a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[68],sipPySelf,NULL,sipName_scrollContentsBy);

    if (!sipMeth)
    {
        KFilePlacesView::scrollContentsBy(a0,a1);
        return;
    }

    typedef void (*sipVH_QtGui_32)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int);

    ((sipVH_QtGui_32)(sipModuleAPI_kio_QtGui->em_virthandlers[32]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKFilePlacesView::setRootIndex(const QModelIndex& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[69],sipPySelf,NULL,sipName_setRootIndex);

    if (!sipMeth)
    {
        KFilePlacesView::setRootIndex(a0);
        return;
    }

    typedef void (*sipVH_QtCore_51)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    ((sipVH_QtCore_51)(sipModuleAPI_kio_QtCore->em_virthandlers[51]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::reset()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[70],sipPySelf,NULL,sipName_reset);

    if (!sipMeth)
    {
        KFilePlacesView::reset();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

QModelIndex sipKFilePlacesView::indexAt(const QPoint& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[71]),sipPySelf,NULL,sipName_indexAt);

    if (!sipMeth)
        return KFilePlacesView::indexAt(a0);

    typedef QModelIndex (*sipVH_QtGui_54)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPoint&);

    return ((sipVH_QtGui_54)(sipModuleAPI_kio_QtGui->em_virthandlers[54]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::scrollTo(const QModelIndex& a0,QAbstractItemView::ScrollHint a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[72],sipPySelf,NULL,sipName_scrollTo);

    if (!sipMeth)
    {
        KFilePlacesView::scrollTo(a0,a1);
        return;
    }

    typedef void (*sipVH_QtGui_55)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,QAbstractItemView::ScrollHint);

    ((sipVH_QtGui_55)(sipModuleAPI_kio_QtGui->em_virthandlers[55]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

QRect sipKFilePlacesView::visualRect(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[73]),sipPySelf,NULL,sipName_visualRect);

    if (!sipMeth)
        return KFilePlacesView::visualRect(a0);

    typedef QRect (*sipVH_QtGui_56)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtGui_56)(sipModuleAPI_kio_QtGui->em_virthandlers[56]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[74],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        KFilePlacesView::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_kio_QtGui->em_virthandlers[3]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[75],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        KFilePlacesView::dropEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_15)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    ((sipVH_QtGui_15)(sipModuleAPI_kio_QtGui->em_virthandlers[15]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[76],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        KFilePlacesView::dragMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    ((sipVH_QtGui_17)(sipModuleAPI_kio_QtGui->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[77],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        KFilePlacesView::dragLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_16)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    ((sipVH_QtGui_16)(sipModuleAPI_kio_QtGui->em_virthandlers[16]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[78],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        KFilePlacesView::dragEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    ((sipVH_QtGui_18)(sipModuleAPI_kio_QtGui->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[79],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        KFilePlacesView::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_kio_QtGui->em_virthandlers[0]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[80],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        KFilePlacesView::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_1)(sipModuleAPI_kio_QtGui->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[81],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        KFilePlacesView::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_kio_QtGui->em_virthandlers[2]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[82],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        KFilePlacesView::contextMenuEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_21)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    ((sipVH_QtGui_21)(sipModuleAPI_kio_QtGui->em_virthandlers[21]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[83],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        KFilePlacesView::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kio_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::setModel(QAbstractItemModel*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[84],sipPySelf,NULL,sipName_setModel);

    if (!sipMeth)
    {
        KFilePlacesView::setModel(a0);
        return;
    }

    typedef void (*sipVH_QtGui_36)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QAbstractItemModel*);

    ((sipVH_QtGui_36)(sipModuleAPI_kio_QtGui->em_virthandlers[36]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QSize sipKFilePlacesView::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[85]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return KFilePlacesView::sizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kio_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}


extern "C" {static PyObject *meth_KFilePlacesView_setDropOnPlaceEnabled(PyObject *, PyObject *);}
static PyObject *meth_KFilePlacesView_setDropOnPlaceEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KFilePlacesView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KFilePlacesView, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDropOnPlaceEnabled(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFilePlacesView, sipName_setDropOnPlaceEnabled, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFilePlacesView_isDropOnPlaceEnabled(PyObject *, PyObject *);}
static PyObject *meth_KFilePlacesView_isDropOnPlaceEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFilePlacesView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFilePlacesView, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isDropOnPlaceEnabled();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFilePlacesView, sipName_isDropOnPlaceEnabled, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFilePlacesView_setAutoResizeItemsEnabled(PyObject *, PyObject *);}
static PyObject *meth_KFilePlacesView_setAutoResizeItemsEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KFilePlacesView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KFilePlacesView, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAutoResizeItemsEnabled(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFilePlacesView, sipName_setAutoResizeItemsEnabled, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFilePlacesView_isAutoResizeItemsEnabled(PyObject *, PyObject *);}
static PyObject *meth_KFilePlacesView_isAutoResizeItemsEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFilePlacesView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFilePlacesView, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isAutoResizeItemsEnabled();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFilePlacesView, sipName_isAutoResizeItemsEnabled, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFilePlacesView_setUrl(PyObject *, PyObject *);}
static PyObject *meth_KFilePlacesView_setUrl(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KUrl* a0;
        KFilePlacesView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KFilePlacesView, &sipCpp, sipType_KUrl, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setUrl(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFilePlacesView, sipName_setUrl, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFilePlacesView_setShowAll(PyObject *, PyObject *);}
static PyObject *meth_KFilePlacesView_setShowAll(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KFilePlacesView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KFilePlacesView, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setShowAll(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFilePlacesView, sipName_setShowAll, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFilePlacesView_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_KFilePlacesView_sizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KFilePlacesView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFilePlacesView, &sipCpp))
        {
            QSize*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSize((sipSelfWasArg ? sipCpp->KFilePlacesView::sizeHint() : sipCpp->sizeHint()));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFilePlacesView, sipName_sizeHint, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFilePlacesView_setModel(PyObject *, PyObject *);}
static PyObject *meth_KFilePlacesView_setModel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QAbstractItemModel* a0;
        KFilePlacesView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KFilePlacesView, &sipCpp, sipType_QAbstractItemModel, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KFilePlacesView::setModel(a0) : sipCpp->setModel(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFilePlacesView, sipName_setModel, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFilePlacesView_keyPressEvent(PyObject *, PyObject *);}
static PyObject *meth_KFilePlacesView_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        KFilePlacesView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KFilePlacesView, &sipCpp, sipType_QKeyEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KFilePlacesView::keyPressEvent(a0) : sipCpp->keyPressEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFilePlacesView, sipName_keyPressEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFilePlacesView_contextMenuEvent(PyObject *, PyObject *);}
static PyObject *meth_KFilePlacesView_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent* a0;
        KFilePlacesView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KFilePlacesView, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KFilePlacesView::contextMenuEvent(a0) : sipCpp->contextMenuEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFilePlacesView, sipName_contextMenuEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFilePlacesView_resizeEvent(PyObject *, PyObject *);}
static PyObject *meth_KFilePlacesView_resizeEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent* a0;
        KFilePlacesView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KFilePlacesView, &sipCpp, sipType_QResizeEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KFilePlacesView::resizeEvent(a0) : sipCpp->resizeEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFilePlacesView, sipName_resizeEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFilePlacesView_showEvent(PyObject *, PyObject *);}
static PyObject *meth_KFilePlacesView_showEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent* a0;
        KFilePlacesView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KFilePlacesView, &sipCpp, sipType_QShowEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KFilePlacesView::showEvent(a0) : sipCpp->showEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFilePlacesView, sipName_showEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFilePlacesView_hideEvent(PyObject *, PyObject *);}
static PyObject *meth_KFilePlacesView_hideEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent* a0;
        KFilePlacesView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KFilePlacesView, &sipCpp, sipType_QHideEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KFilePlacesView::hideEvent(a0) : sipCpp->hideEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFilePlacesView, sipName_hideEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFilePlacesView_dragEnterEvent(PyObject *, PyObject *);}
static PyObject *meth_KFilePlacesView_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent* a0;
        KFilePlacesView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KFilePlacesView, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KFilePlacesView::dragEnterEvent(a0) : sipCpp->dragEnterEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFilePlacesView, sipName_dragEnterEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFilePlacesView_dragLeaveEvent(PyObject *, PyObject *);}
static PyObject *meth_KFilePlacesView_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent* a0;
        KFilePlacesView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KFilePlacesView, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KFilePlacesView::dragLeaveEvent(a0) : sipCpp->dragLeaveEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFilePlacesView, sipName_dragLeaveEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFilePlacesView_dragMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_KFilePlacesView_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent* a0;
        KFilePlacesView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KFilePlacesView, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KFilePlacesView::dragMoveEvent(a0) : sipCpp->dragMoveEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFilePlacesView, sipName_dragMoveEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFilePlacesView_dropEvent(PyObject *, PyObject *);}
static PyObject *meth_KFilePlacesView_dropEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent* a0;
        KFilePlacesView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KFilePlacesView, &sipCpp, sipType_QDropEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KFilePlacesView::dropEvent(a0) : sipCpp->dropEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFilePlacesView, sipName_dropEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFilePlacesView_paintEvent(PyObject *, PyObject *);}
static PyObject *meth_KFilePlacesView_paintEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent* a0;
        KFilePlacesView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KFilePlacesView, &sipCpp, sipType_QPaintEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KFilePlacesView::paintEvent(a0) : sipCpp->paintEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFilePlacesView, sipName_paintEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFilePlacesView_rowsInserted(PyObject *, PyObject *);}
static PyObject *meth_KFilePlacesView_rowsInserted(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        int a1;
        int a2;
        KFilePlacesView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ;ii", &sipSelf, sipType_KFilePlacesView, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KFilePlacesView::rowsInserted(*a0,a1,a2) : sipCpp->rowsInserted(*a0,a1,a2));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFilePlacesView, sipName_rowsInserted, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFilePlacesView_dataChanged(PyObject *, PyObject *);}
static PyObject *meth_KFilePlacesView_dataChanged(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        const QModelIndex* a1;
        KFilePlacesView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9J9", &sipSelf, sipType_KFilePlacesView, &sipCpp, sipType_QModelIndex, &a0, sipType_QModelIndex, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KFilePlacesView::dataChanged(*a0,*a1) : sipCpp->dataChanged(*a0,*a1));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFilePlacesView, sipName_dataChanged, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KFilePlacesView(void *, const sipTypeDef *);}
static void *cast_KFilePlacesView(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KFilePlacesView)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QListView)->ctd_cast((QListView *)(KFilePlacesView *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KFilePlacesView(void *, int);}
static void release_KFilePlacesView(void *sipCppV,int)
{
    KFilePlacesView *sipCpp = reinterpret_cast<KFilePlacesView *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KFilePlacesView(sipSimpleWrapper *);}
static void dealloc_KFilePlacesView(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKFilePlacesView *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KFilePlacesView(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KFilePlacesView(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KFilePlacesView(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKFilePlacesView *sipCpp = 0;

    {
        QWidget* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKFilePlacesView(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KFilePlacesView[] = {{314, 2, 1}};


static PyMethodDef methods_KFilePlacesView[] = {
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), meth_KFilePlacesView_contextMenuEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dataChanged), meth_KFilePlacesView_dataChanged, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), meth_KFilePlacesView_dragEnterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), meth_KFilePlacesView_dragLeaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), meth_KFilePlacesView_dragMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), meth_KFilePlacesView_dropEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), meth_KFilePlacesView_hideEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isAutoResizeItemsEnabled), meth_KFilePlacesView_isAutoResizeItemsEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isDropOnPlaceEnabled), meth_KFilePlacesView_isDropOnPlaceEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), meth_KFilePlacesView_keyPressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), meth_KFilePlacesView_paintEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_KFilePlacesView_resizeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_rowsInserted), meth_KFilePlacesView_rowsInserted, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAutoResizeItemsEnabled), meth_KFilePlacesView_setAutoResizeItemsEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDropOnPlaceEnabled), meth_KFilePlacesView_setDropOnPlaceEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setModel), meth_KFilePlacesView_setModel, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setShowAll), meth_KFilePlacesView_setShowAll, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setUrl), meth_KFilePlacesView_setUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), meth_KFilePlacesView_showEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_KFilePlacesView_sizeHint, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KFilePlacesView[] = {
    {"urlsDropped(KUrl,QDropEvent*,QWidget*)", 0, 0, 0},
    {"urlChanged(KUrl)", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kio_KFilePlacesView = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KFilePlacesView,
        {0}
    },
    {
        sipNameNr_KFilePlacesView,
        {0, 0, 1},
        20, methods_KFilePlacesView,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KFilePlacesView,
    0,
    init_type_KFilePlacesView,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KFilePlacesView,
    0,
    0,
    0,
    release_KFilePlacesView,
    cast_KFilePlacesView,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KFilePlacesView::staticMetaObject,
    0,
    signals_KFilePlacesView,
};

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kfileplacesmodel.sip"
#include <kfileplacesmodel.h>
#line 17644 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"

#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 17648 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 17651 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 17654 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 17657 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 17660 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 17663 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 17666 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 17669 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 17672 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 17675 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 274 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 17678 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 17681 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 17684 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/solid/device.sip"
#include <device.h>
#line 17687 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kdeui/kicon.sip"
#include <kicon.h>
#line 17690 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 144 "/usr/share/python3-sip/PyQt4/QtCore/qhash.sip"
#include <qhash.h>
#line 17693 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 37 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 17696 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qdatastream.sip"
#include <qdatastream.h>
#line 17699 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 17702 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 17705 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 144 "/usr/share/python3-sip/PyQt4/QtCore/qmap.sip"
#include <qmap.h>
#line 17708 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 17711 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 17714 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 355 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 17717 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 338 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 17720 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 17723 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 17726 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 17729 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 17732 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 17735 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"


class sipKFilePlacesModel : public KFilePlacesModel
{
public:
    sipKFilePlacesModel(QObject*);
    virtual ~sipKFilePlacesModel();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    void revert();
    bool submit();
    QSize span(const QModelIndex&) const;
    QModelIndexList match(const QModelIndex&,int,const QVariant&,int,Qt::MatchFlags) const;
    QModelIndex buddy(const QModelIndex&) const;
    void sort(int,Qt::SortOrder);
    Qt::ItemFlags flags(const QModelIndex&) const;
    bool canFetchMore(const QModelIndex&) const;
    void fetchMore(const QModelIndex&);
    bool removeColumns(int,int,const QModelIndex&);
    bool removeRows(int,int,const QModelIndex&);
    bool insertColumns(int,int,const QModelIndex&);
    bool insertRows(int,int,const QModelIndex&);
    Qt::DropActions supportedDropActions() const;
    bool dropMimeData(const QMimeData*,Qt::DropAction,int,int,const QModelIndex&);
    QMimeData* mimeData(const QModelIndexList&) const;
    QStringList mimeTypes() const;
    bool setItemData(const QModelIndex&,const QMap<int,QVariant>&);
    QMap<int,QVariant> itemData(const QModelIndex&) const;
    bool setHeaderData(int,Qt::Orientation,const QVariant&,int);
    QVariant headerData(int,Qt::Orientation,int) const;
    bool setData(const QModelIndex&,const QVariant&,int);
    QVariant data(const QModelIndex&,int) const;
    bool hasChildren(const QModelIndex&) const;
    int columnCount(const QModelIndex&) const;
    int rowCount(const QModelIndex&) const;
    QModelIndex parent(const QModelIndex&) const;
    QModelIndex index(int,int,const QModelIndex&) const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKFilePlacesModel(const sipKFilePlacesModel &);
    sipKFilePlacesModel &operator = (const sipKFilePlacesModel &);

    char sipPyMethods[35];
};

sipKFilePlacesModel::sipKFilePlacesModel(QObject*a0): KFilePlacesModel(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKFilePlacesModel::~sipKFilePlacesModel()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKFilePlacesModel::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KFilePlacesModel);
}

int sipKFilePlacesModel::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KFilePlacesModel::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kio_qt_metacall(sipPySelf,sipType_KFilePlacesModel,_c,_id,_a);

    return _id;
}

void *sipKFilePlacesModel::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast(sipPySelf, sipType_KFilePlacesModel, _clname)) ? this : KFilePlacesModel::qt_metacast(_clname);
}

void sipKFilePlacesModel::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KFilePlacesModel::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesModel::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KFilePlacesModel::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesModel::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KFilePlacesModel::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kio_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesModel::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KFilePlacesModel::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kio_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesModel::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KFilePlacesModel::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kio_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKFilePlacesModel::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KFilePlacesModel::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKFilePlacesModel::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KFilePlacesModel::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesModel::revert()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_revert);

    if (!sipMeth)
    {
        KFilePlacesModel::revert();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipKFilePlacesModel::submit()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_submit);

    if (!sipMeth)
        return KFilePlacesModel::submit();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_kio_QtCore->em_virthandlers[7]))(sipGILState, 0, sipPySelf, sipMeth);
}

QSize sipKFilePlacesModel::span(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_span);

    if (!sipMeth)
        return KFilePlacesModel::span(a0);

    typedef QSize (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_47)(sipModuleAPI_kio_QtCore->em_virthandlers[47]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QModelIndexList sipKFilePlacesModel::match(const QModelIndex& a0,int a1,const QVariant& a2,int a3,Qt::MatchFlags a4) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_match);

    if (!sipMeth)
        return KFilePlacesModel::match(a0,a1,a2,a3,a4);

    typedef QList<QModelIndex> (*sipVH_QtCore_48)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int,const QVariant&,int,Qt::MatchFlags);

    return ((sipVH_QtCore_48)(sipModuleAPI_kio_QtCore->em_virthandlers[48]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

QModelIndex sipKFilePlacesModel::buddy(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_buddy);

    if (!sipMeth)
        return KFilePlacesModel::buddy(a0);

    typedef QModelIndex (*sipVH_QtCore_44)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_44)(sipModuleAPI_kio_QtCore->em_virthandlers[44]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesModel::sort(int a0,Qt::SortOrder a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_sort);

    if (!sipMeth)
    {
        KFilePlacesModel::sort(a0,a1);
        return;
    }

    typedef void (*sipVH_QtCore_49)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,Qt::SortOrder);

    ((sipVH_QtCore_49)(sipModuleAPI_kio_QtCore->em_virthandlers[49]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

Qt::ItemFlags sipKFilePlacesModel::flags(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_flags);

    if (!sipMeth)
        return KFilePlacesModel::flags(a0);

    typedef Qt::ItemFlags (*sipVH_QtCore_50)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_50)(sipModuleAPI_kio_QtCore->em_virthandlers[50]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKFilePlacesModel::canFetchMore(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_canFetchMore);

    if (!sipMeth)
        return KFilePlacesModel::canFetchMore(a0);

    typedef bool (*sipVH_QtCore_42)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_42)(sipModuleAPI_kio_QtCore->em_virthandlers[42]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesModel::fetchMore(const QModelIndex& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_fetchMore);

    if (!sipMeth)
    {
        KFilePlacesModel::fetchMore(a0);
        return;
    }

    typedef void (*sipVH_QtCore_51)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    ((sipVH_QtCore_51)(sipModuleAPI_kio_QtCore->em_virthandlers[51]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKFilePlacesModel::removeColumns(int a0,int a1,const QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_removeColumns);

    if (!sipMeth)
        return KFilePlacesModel::removeColumns(a0,a1,a2);

    typedef bool (*sipVH_QtCore_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);

    return ((sipVH_QtCore_52)(sipModuleAPI_kio_QtCore->em_virthandlers[52]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipKFilePlacesModel::removeRows(int a0,int a1,const QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_removeRows);

    if (!sipMeth)
        return KFilePlacesModel::removeRows(a0,a1,a2);

    typedef bool (*sipVH_QtCore_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);

    return ((sipVH_QtCore_52)(sipModuleAPI_kio_QtCore->em_virthandlers[52]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipKFilePlacesModel::insertColumns(int a0,int a1,const QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_insertColumns);

    if (!sipMeth)
        return KFilePlacesModel::insertColumns(a0,a1,a2);

    typedef bool (*sipVH_QtCore_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);

    return ((sipVH_QtCore_52)(sipModuleAPI_kio_QtCore->em_virthandlers[52]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipKFilePlacesModel::insertRows(int a0,int a1,const QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_insertRows);

    if (!sipMeth)
        return KFilePlacesModel::insertRows(a0,a1,a2);

    typedef bool (*sipVH_QtCore_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);

    return ((sipVH_QtCore_52)(sipModuleAPI_kio_QtCore->em_virthandlers[52]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

Qt::DropActions sipKFilePlacesModel::supportedDropActions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[20]),sipPySelf,NULL,sipName_supportedDropActions);

    if (!sipMeth)
        return KFilePlacesModel::supportedDropActions();

    typedef Qt::DropActions (*sipVH_QtCore_53)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_53)(sipModuleAPI_kio_QtCore->em_virthandlers[53]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipKFilePlacesModel::dropMimeData(const QMimeData*a0,Qt::DropAction a1,int a2,int a3,const QModelIndex& a4)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_dropMimeData);

    if (!sipMeth)
        return KFilePlacesModel::dropMimeData(a0,a1,a2,a3,a4);

    typedef bool (*sipVH_QtCore_45)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMimeData*,Qt::DropAction,int,int,const QModelIndex&);

    return ((sipVH_QtCore_45)(sipModuleAPI_kio_QtCore->em_virthandlers[45]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

QMimeData* sipKFilePlacesModel::mimeData(const QModelIndexList& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[22]),sipPySelf,NULL,sipName_mimeData);

    if (!sipMeth)
        return KFilePlacesModel::mimeData(a0);

    typedef QMimeData* (*sipVH_QtCore_54)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QList<QModelIndex>&);

    return ((sipVH_QtCore_54)(sipModuleAPI_kio_QtCore->em_virthandlers[54]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QStringList sipKFilePlacesModel::mimeTypes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[23]),sipPySelf,NULL,sipName_mimeTypes);

    if (!sipMeth)
        return KFilePlacesModel::mimeTypes();

    typedef QStringList (*sipVH_QtCore_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_27)(sipModuleAPI_kio_QtCore->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipKFilePlacesModel::setItemData(const QModelIndex& a0,const QMap<int,QVariant>& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_setItemData);

    if (!sipMeth)
        return KFilePlacesModel::setItemData(a0,a1);

    typedef bool (*sipVH_QtCore_55)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QMap<int,QVariant>&);

    return ((sipVH_QtCore_55)(sipModuleAPI_kio_QtCore->em_virthandlers[55]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

QMap<int,QVariant> sipKFilePlacesModel::itemData(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[25]),sipPySelf,NULL,sipName_itemData);

    if (!sipMeth)
        return KFilePlacesModel::itemData(a0);

    typedef QMap<int,QVariant> (*sipVH_QtCore_56)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_56)(sipModuleAPI_kio_QtCore->em_virthandlers[56]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKFilePlacesModel::setHeaderData(int a0,Qt::Orientation a1,const QVariant& a2,int a3)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_setHeaderData);

    if (!sipMeth)
        return KFilePlacesModel::setHeaderData(a0,a1,a2,a3);

    typedef bool (*sipVH_QtCore_57)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,Qt::Orientation,const QVariant&,int);

    return ((sipVH_QtCore_57)(sipModuleAPI_kio_QtCore->em_virthandlers[57]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}

QVariant sipKFilePlacesModel::headerData(int a0,Qt::Orientation a1,int a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[27]),sipPySelf,NULL,sipName_headerData);

    if (!sipMeth)
        return KFilePlacesModel::headerData(a0,a1,a2);

    typedef QVariant (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,Qt::Orientation,int);

    return ((sipVH_QtCore_58)(sipModuleAPI_kio_QtCore->em_virthandlers[58]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipKFilePlacesModel::setData(const QModelIndex& a0,const QVariant& a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_setData);

    if (!sipMeth)
        return KFilePlacesModel::setData(a0,a1,a2);

    typedef bool (*sipVH_QtCore_59)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QVariant&,int);

    return ((sipVH_QtCore_59)(sipModuleAPI_kio_QtCore->em_virthandlers[59]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

QVariant sipKFilePlacesModel::data(const QModelIndex& a0,int a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[29]),sipPySelf,NULL,sipName_data);

    if (!sipMeth)
        return KFilePlacesModel::data(a0,a1);

    typedef QVariant (*sipVH_QtCore_60)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int);

    return ((sipVH_QtCore_60)(sipModuleAPI_kio_QtCore->em_virthandlers[60]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKFilePlacesModel::hasChildren(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[30]),sipPySelf,NULL,sipName_hasChildren);

    if (!sipMeth)
        return KFilePlacesModel::hasChildren(a0);

    typedef bool (*sipVH_QtCore_42)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_42)(sipModuleAPI_kio_QtCore->em_virthandlers[42]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKFilePlacesModel::columnCount(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[31]),sipPySelf,NULL,sipName_columnCount);

    if (!sipMeth)
        return KFilePlacesModel::columnCount(a0);

    typedef int (*sipVH_QtCore_43)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_43)(sipModuleAPI_kio_QtCore->em_virthandlers[43]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKFilePlacesModel::rowCount(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[32]),sipPySelf,NULL,sipName_rowCount);

    if (!sipMeth)
        return KFilePlacesModel::rowCount(a0);

    typedef int (*sipVH_QtCore_43)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_43)(sipModuleAPI_kio_QtCore->em_virthandlers[43]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QModelIndex sipKFilePlacesModel::parent(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[33]),sipPySelf,NULL,sipName_parent);

    if (!sipMeth)
        return KFilePlacesModel::parent(a0);

    typedef QModelIndex (*sipVH_QtCore_44)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_44)(sipModuleAPI_kio_QtCore->em_virthandlers[44]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QModelIndex sipKFilePlacesModel::index(int a0,int a1,const QModelIndex& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_index);

    if (!sipMeth)
        return KFilePlacesModel::index(a0,a1,a2);

    typedef QModelIndex (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);

    return ((sipVH_QtCore_46)(sipModuleAPI_kio_QtCore->em_virthandlers[46]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}


extern "C" {static PyObject *meth_KFilePlacesModel_url(PyObject *, PyObject *);}
static PyObject *meth_KFilePlacesModel_url(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        const KFilePlacesModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KFilePlacesModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            KUrl*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl(sipCpp->url(*a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KUrl,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFilePlacesModel, sipName_url, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFilePlacesModel_setupNeeded(PyObject *, PyObject *);}
static PyObject *meth_KFilePlacesModel_setupNeeded(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        const KFilePlacesModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KFilePlacesModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->setupNeeded(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFilePlacesModel, sipName_setupNeeded, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFilePlacesModel_icon(PyObject *, PyObject *);}
static PyObject *meth_KFilePlacesModel_icon(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        const KFilePlacesModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KFilePlacesModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            KIcon*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KIcon(sipCpp->icon(*a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KIcon,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFilePlacesModel, sipName_icon, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFilePlacesModel_text(PyObject *, PyObject *);}
static PyObject *meth_KFilePlacesModel_text(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        const KFilePlacesModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KFilePlacesModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->text(*a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFilePlacesModel, sipName_text, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFilePlacesModel_isHidden(PyObject *, PyObject *);}
static PyObject *meth_KFilePlacesModel_isHidden(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        const KFilePlacesModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KFilePlacesModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isHidden(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFilePlacesModel, sipName_isHidden, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFilePlacesModel_isDevice(PyObject *, PyObject *);}
static PyObject *meth_KFilePlacesModel_isDevice(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        const KFilePlacesModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KFilePlacesModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isDevice(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFilePlacesModel, sipName_isDevice, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFilePlacesModel_deviceForIndex(PyObject *, PyObject *);}
static PyObject *meth_KFilePlacesModel_deviceForIndex(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        const KFilePlacesModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KFilePlacesModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            Solid::Device*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Solid::Device(sipCpp->deviceForIndex(*a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_Solid_Device,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFilePlacesModel, sipName_deviceForIndex, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFilePlacesModel_bookmarkForIndex(PyObject *, PyObject *);}
static PyObject *meth_KFilePlacesModel_bookmarkForIndex(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        const KFilePlacesModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KFilePlacesModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            KBookmark*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KBookmark(sipCpp->bookmarkForIndex(*a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KBookmark,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFilePlacesModel, sipName_bookmarkForIndex, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFilePlacesModel_teardownActionForIndex(PyObject *, PyObject *);}
static PyObject *meth_KFilePlacesModel_teardownActionForIndex(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        const KFilePlacesModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KFilePlacesModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            QAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->teardownActionForIndex(*a0);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFilePlacesModel, sipName_teardownActionForIndex, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFilePlacesModel_ejectActionForIndex(PyObject *, PyObject *);}
static PyObject *meth_KFilePlacesModel_ejectActionForIndex(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        const KFilePlacesModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KFilePlacesModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            QAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->ejectActionForIndex(*a0);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFilePlacesModel, sipName_ejectActionForIndex, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFilePlacesModel_requestTeardown(PyObject *, PyObject *);}
static PyObject *meth_KFilePlacesModel_requestTeardown(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        KFilePlacesModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KFilePlacesModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->requestTeardown(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFilePlacesModel, sipName_requestTeardown, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFilePlacesModel_requestEject(PyObject *, PyObject *);}
static PyObject *meth_KFilePlacesModel_requestEject(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        KFilePlacesModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KFilePlacesModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->requestEject(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFilePlacesModel, sipName_requestEject, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFilePlacesModel_requestSetup(PyObject *, PyObject *);}
static PyObject *meth_KFilePlacesModel_requestSetup(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        KFilePlacesModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KFilePlacesModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->requestSetup(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFilePlacesModel, sipName_requestSetup, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFilePlacesModel_addPlace(PyObject *, PyObject *);}
static PyObject *meth_KFilePlacesModel_addPlace(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        const KUrl* a1;
        const QString& a2def = QString();
        const QString* a2 = &a2def;
        int a2State = 0;
        const QString& a3def = QString();
        const QString* a3 = &a3def;
        int a3State = 0;
        KFilePlacesModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J9|J1J1", &sipSelf, sipType_KFilePlacesModel, &sipCpp, sipType_QString,&a0, &a0State, sipType_KUrl, &a1, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addPlace(*a0,*a1,*a2,*a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        const KUrl* a1;
        const QString* a2;
        int a2State = 0;
        const QString* a3;
        int a3State = 0;
        const QModelIndex* a4;
        KFilePlacesModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J9J1J1J9", &sipSelf, sipType_KFilePlacesModel, &sipCpp, sipType_QString,&a0, &a0State, sipType_KUrl, &a1, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State, sipType_QModelIndex, &a4))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addPlace(*a0,*a1,*a2,*a3,*a4);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFilePlacesModel, sipName_addPlace, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFilePlacesModel_editPlace(PyObject *, PyObject *);}
static PyObject *meth_KFilePlacesModel_editPlace(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        const QString* a1;
        int a1State = 0;
        const KUrl* a2;
        const QString& a3def = QString();
        const QString* a3 = &a3def;
        int a3State = 0;
        const QString& a4def = QString();
        const QString* a4 = &a4def;
        int a4State = 0;
        KFilePlacesModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J1J9|J1J1", &sipSelf, sipType_KFilePlacesModel, &sipCpp, sipType_QModelIndex, &a0, sipType_QString,&a1, &a1State, sipType_KUrl, &a2, sipType_QString,&a3, &a3State, sipType_QString,&a4, &a4State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->editPlace(*a0,*a1,*a2,*a3,*a4);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);
            sipReleaseType(const_cast<QString *>(a4),sipType_QString,a4State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFilePlacesModel, sipName_editPlace, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFilePlacesModel_removePlace(PyObject *, PyObject *);}
static PyObject *meth_KFilePlacesModel_removePlace(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        const KFilePlacesModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KFilePlacesModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->removePlace(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFilePlacesModel, sipName_removePlace, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFilePlacesModel_setPlaceHidden(PyObject *, PyObject *);}
static PyObject *meth_KFilePlacesModel_setPlaceHidden(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        bool a1;
        KFilePlacesModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9b", &sipSelf, sipType_KFilePlacesModel, &sipCpp, sipType_QModelIndex, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPlaceHidden(*a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFilePlacesModel, sipName_setPlaceHidden, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFilePlacesModel_hiddenCount(PyObject *, PyObject *);}
static PyObject *meth_KFilePlacesModel_hiddenCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFilePlacesModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFilePlacesModel, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hiddenCount();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFilePlacesModel, sipName_hiddenCount, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFilePlacesModel_data(PyObject *, PyObject *);}
static PyObject *meth_KFilePlacesModel_data(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        int a1;
        const KFilePlacesModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9i", &sipSelf, sipType_KFilePlacesModel, &sipCpp, sipType_QModelIndex, &a0, &a1))
        {
            QVariant*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant((sipSelfWasArg ? sipCpp->KFilePlacesModel::data(*a0,a1) : sipCpp->data(*a0,a1)));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFilePlacesModel, sipName_data, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFilePlacesModel_index(PyObject *, PyObject *);}
static PyObject *meth_KFilePlacesModel_index(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        int a1;
        const QModelIndex& a2def = QModelIndex();
        const QModelIndex* a2 = &a2def;
        const KFilePlacesModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii|J;", &sipSelf, sipType_KFilePlacesModel, &sipCpp, &a0, &a1, sipType_QModelIndex, &a2))
        {
            QModelIndex*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QModelIndex((sipSelfWasArg ? sipCpp->KFilePlacesModel::index(a0,a1,*a2) : sipCpp->index(a0,a1,*a2)));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFilePlacesModel, sipName_index, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFilePlacesModel_parent(PyObject *, PyObject *);}
static PyObject *meth_KFilePlacesModel_parent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        const KFilePlacesModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KFilePlacesModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            QModelIndex*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QModelIndex((sipSelfWasArg ? sipCpp->KFilePlacesModel::parent(*a0) : sipCpp->parent(*a0)));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFilePlacesModel, sipName_parent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFilePlacesModel_rowCount(PyObject *, PyObject *);}
static PyObject *meth_KFilePlacesModel_rowCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex& a0def = QModelIndex();
        const QModelIndex* a0 = &a0def;
        const KFilePlacesModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|J;", &sipSelf, sipType_KFilePlacesModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KFilePlacesModel::rowCount(*a0) : sipCpp->rowCount(*a0));
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFilePlacesModel, sipName_rowCount, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFilePlacesModel_columnCount(PyObject *, PyObject *);}
static PyObject *meth_KFilePlacesModel_columnCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex& a0def = QModelIndex();
        const QModelIndex* a0 = &a0def;
        const KFilePlacesModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|J;", &sipSelf, sipType_KFilePlacesModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KFilePlacesModel::columnCount(*a0) : sipCpp->columnCount(*a0));
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFilePlacesModel, sipName_columnCount, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFilePlacesModel_closestItem(PyObject *, PyObject *);}
static PyObject *meth_KFilePlacesModel_closestItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KUrl* a0;
        const KFilePlacesModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KFilePlacesModel, &sipCpp, sipType_KUrl, &a0))
        {
            QModelIndex*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QModelIndex(sipCpp->closestItem(*a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFilePlacesModel, sipName_closestItem, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFilePlacesModel_supportedDropActions(PyObject *, PyObject *);}
static PyObject *meth_KFilePlacesModel_supportedDropActions(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KFilePlacesModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFilePlacesModel, &sipCpp))
        {
            Qt::DropActions*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::DropActions((sipSelfWasArg ? sipCpp->KFilePlacesModel::supportedDropActions() : sipCpp->supportedDropActions()));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_Qt_DropActions,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFilePlacesModel, sipName_supportedDropActions, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFilePlacesModel_flags(PyObject *, PyObject *);}
static PyObject *meth_KFilePlacesModel_flags(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        const KFilePlacesModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KFilePlacesModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            Qt::ItemFlags*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::ItemFlags((sipSelfWasArg ? sipCpp->KFilePlacesModel::flags(*a0) : sipCpp->flags(*a0)));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_Qt_ItemFlags,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFilePlacesModel, sipName_flags, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFilePlacesModel_mimeTypes(PyObject *, PyObject *);}
static PyObject *meth_KFilePlacesModel_mimeTypes(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KFilePlacesModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFilePlacesModel, &sipCpp))
        {
            QStringList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList((sipSelfWasArg ? sipCpp->KFilePlacesModel::mimeTypes() : sipCpp->mimeTypes()));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFilePlacesModel, sipName_mimeTypes, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFilePlacesModel_mimeData(PyObject *, PyObject *);}
static PyObject *meth_KFilePlacesModel_mimeData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndexList* a0;
        int a0State = 0;
        const KFilePlacesModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KFilePlacesModel, &sipCpp, sipType_QList_0100QModelIndex,&a0, &a0State))
        {
            QMimeData*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KFilePlacesModel::mimeData(*a0) : sipCpp->mimeData(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QModelIndexList *>(a0),sipType_QList_0100QModelIndex,a0State);

            return sipConvertFromType(sipRes,sipType_QMimeData,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFilePlacesModel, sipName_mimeData, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFilePlacesModel_dropMimeData(PyObject *, PyObject *);}
static PyObject *meth_KFilePlacesModel_dropMimeData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMimeData* a0;
        Qt::DropAction a1;
        int a2;
        int a3;
        const QModelIndex* a4;
        KFilePlacesModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8EiiJ;", &sipSelf, sipType_KFilePlacesModel, &sipCpp, sipType_QMimeData, &a0, sipType_Qt_DropAction, &a1, &a2, &a3, sipType_QModelIndex, &a4))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KFilePlacesModel::dropMimeData(a0,a1,a2,a3,*a4) : sipCpp->dropMimeData(a0,a1,a2,a3,*a4));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFilePlacesModel, sipName_dropMimeData, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KFilePlacesModel(void *, const sipTypeDef *);}
static void *cast_KFilePlacesModel(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KFilePlacesModel)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QAbstractItemModel)->ctd_cast((QAbstractItemModel *)(KFilePlacesModel *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KFilePlacesModel(void *, int);}
static void release_KFilePlacesModel(void *sipCppV,int)
{
    KFilePlacesModel *sipCpp = reinterpret_cast<KFilePlacesModel *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KFilePlacesModel(sipSimpleWrapper *);}
static void dealloc_KFilePlacesModel(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKFilePlacesModel *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KFilePlacesModel(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KFilePlacesModel(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KFilePlacesModel(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKFilePlacesModel *sipCpp = 0;

    {
        QObject* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKFilePlacesModel(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KFilePlacesModel[] = {{13, 0, 1}};


static PyMethodDef methods_KFilePlacesModel[] = {
    {SIP_MLNAME_CAST(sipName_addPlace), meth_KFilePlacesModel_addPlace, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_bookmarkForIndex), meth_KFilePlacesModel_bookmarkForIndex, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_closestItem), meth_KFilePlacesModel_closestItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_columnCount), meth_KFilePlacesModel_columnCount, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_data), meth_KFilePlacesModel_data, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_deviceForIndex), meth_KFilePlacesModel_deviceForIndex, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dropMimeData), meth_KFilePlacesModel_dropMimeData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_editPlace), meth_KFilePlacesModel_editPlace, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_ejectActionForIndex), meth_KFilePlacesModel_ejectActionForIndex, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_flags), meth_KFilePlacesModel_flags, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hiddenCount), meth_KFilePlacesModel_hiddenCount, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_icon), meth_KFilePlacesModel_icon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_index), meth_KFilePlacesModel_index, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isDevice), meth_KFilePlacesModel_isDevice, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isHidden), meth_KFilePlacesModel_isHidden, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mimeData), meth_KFilePlacesModel_mimeData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mimeTypes), meth_KFilePlacesModel_mimeTypes, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_parent), meth_KFilePlacesModel_parent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_removePlace), meth_KFilePlacesModel_removePlace, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_requestEject), meth_KFilePlacesModel_requestEject, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_requestSetup), meth_KFilePlacesModel_requestSetup, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_requestTeardown), meth_KFilePlacesModel_requestTeardown, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_rowCount), meth_KFilePlacesModel_rowCount, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPlaceHidden), meth_KFilePlacesModel_setPlaceHidden, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setupNeeded), meth_KFilePlacesModel_setupNeeded, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_supportedDropActions), meth_KFilePlacesModel_supportedDropActions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_teardownActionForIndex), meth_KFilePlacesModel_teardownActionForIndex, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_text), meth_KFilePlacesModel_text, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_url), meth_KFilePlacesModel_url, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KFilePlacesModel[] = {
    {sipName_CapacityBarRecommendedRole, static_cast<int>(KFilePlacesModel::CapacityBarRecommendedRole), 90},
    {sipName_FixedDeviceRole, static_cast<int>(KFilePlacesModel::FixedDeviceRole), 90},
    {sipName_HiddenRole, static_cast<int>(KFilePlacesModel::HiddenRole), 90},
    {sipName_SetupNeededRole, static_cast<int>(KFilePlacesModel::SetupNeededRole), 90},
    {sipName_UrlRole, static_cast<int>(KFilePlacesModel::UrlRole), 90},
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KFilePlacesModel[] = {
    {"setupDone(QModelIndex,bool)", 0, 0, 0},
    {"errorMessage(QString)", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kio_KFilePlacesModel = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KFilePlacesModel,
        {0}
    },
    {
        sipNameNr_KFilePlacesModel,
        {0, 0, 1},
        29, methods_KFilePlacesModel,
        5, enummembers_KFilePlacesModel,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KFilePlacesModel,
    0,
    init_type_KFilePlacesModel,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KFilePlacesModel,
    0,
    0,
    0,
    release_KFilePlacesModel,
    cast_KFilePlacesModel,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KFilePlacesModel::staticMetaObject,
    0,
    signals_KFilePlacesModel,
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kfilemetainfoitem.sip"
#include <kfilemetainfoitem.h>
#line 19430 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/predicateproperties.sip"
#include <predicateproperties.h>
#line 19434 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 274 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 19437 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kfilewriteplugin.sip"
#include <kfilewriteplugin.h>
#line 19440 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 19443 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"


extern "C" {static PyObject *meth_KFileMetaInfoItem_isEditable(PyObject *, PyObject *);}
static PyObject *meth_KFileMetaInfoItem_isEditable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFileMetaInfoItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileMetaInfoItem, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isEditable();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileMetaInfoItem, sipName_isEditable, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileMetaInfoItem_isRemoved(PyObject *, PyObject *);}
static PyObject *meth_KFileMetaInfoItem_isRemoved(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFileMetaInfoItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileMetaInfoItem, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isRemoved();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileMetaInfoItem, sipName_isRemoved, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileMetaInfoItem_isModified(PyObject *, PyObject *);}
static PyObject *meth_KFileMetaInfoItem_isModified(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFileMetaInfoItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileMetaInfoItem, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isModified();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileMetaInfoItem, sipName_isModified, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileMetaInfoItem_isSkipped(PyObject *, PyObject *);}
static PyObject *meth_KFileMetaInfoItem_isSkipped(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFileMetaInfoItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileMetaInfoItem, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isSkipped();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileMetaInfoItem, sipName_isSkipped, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileMetaInfoItem_value(PyObject *, PyObject *);}
static PyObject *meth_KFileMetaInfoItem_value(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFileMetaInfoItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileMetaInfoItem, &sipCpp))
        {
            QVariant*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant(sipCpp->value());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileMetaInfoItem, sipName_value, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileMetaInfoItem_setValue(PyObject *, PyObject *);}
static PyObject *meth_KFileMetaInfoItem_setValue(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QVariant* a0;
        int a0State = 0;
        KFileMetaInfoItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KFileMetaInfoItem, &sipCpp, sipType_QVariant,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->setValue(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QVariant *>(a0),sipType_QVariant,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileMetaInfoItem, sipName_setValue, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileMetaInfoItem_addValue(PyObject *, PyObject *);}
static PyObject *meth_KFileMetaInfoItem_addValue(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QVariant* a0;
        int a0State = 0;
        KFileMetaInfoItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KFileMetaInfoItem, &sipCpp, sipType_QVariant,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->addValue(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QVariant *>(a0),sipType_QVariant,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileMetaInfoItem, sipName_addValue, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileMetaInfoItem_isValid(PyObject *, PyObject *);}
static PyObject *meth_KFileMetaInfoItem_isValid(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFileMetaInfoItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileMetaInfoItem, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isValid();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileMetaInfoItem, sipName_isValid, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileMetaInfoItem_properties(PyObject *, PyObject *);}
static PyObject *meth_KFileMetaInfoItem_properties(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFileMetaInfoItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileMetaInfoItem, &sipCpp))
        {
            PredicateProperties*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new PredicateProperties(sipCpp->properties());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_PredicateProperties,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileMetaInfoItem, sipName_properties, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileMetaInfoItem_name(PyObject *, PyObject *);}
static PyObject *meth_KFileMetaInfoItem_name(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFileMetaInfoItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileMetaInfoItem, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->name());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileMetaInfoItem, sipName_name, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileMetaInfoItem_suffix(PyObject *, PyObject *);}
static PyObject *meth_KFileMetaInfoItem_suffix(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFileMetaInfoItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileMetaInfoItem, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->suffix());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileMetaInfoItem, sipName_suffix, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileMetaInfoItem_prefix(PyObject *, PyObject *);}
static PyObject *meth_KFileMetaInfoItem_prefix(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFileMetaInfoItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileMetaInfoItem, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->prefix());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileMetaInfoItem, sipName_prefix, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KFileMetaInfoItem(void *, const sipTypeDef *);}
static void *cast_KFileMetaInfoItem(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_KFileMetaInfoItem)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KFileMetaInfoItem(void *, int);}
static void release_KFileMetaInfoItem(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<KFileMetaInfoItem *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KFileMetaInfoItem(void *, SIP_SSIZE_T, const void *);}
static void assign_KFileMetaInfoItem(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<KFileMetaInfoItem *>(sipDst)[sipDstIdx] = *reinterpret_cast<const KFileMetaInfoItem *>(sipSrc);
}


extern "C" {static void *array_KFileMetaInfoItem(SIP_SSIZE_T);}
static void *array_KFileMetaInfoItem(SIP_SSIZE_T sipNrElem)
{
    return new KFileMetaInfoItem[sipNrElem];
}


extern "C" {static void *copy_KFileMetaInfoItem(const void *, SIP_SSIZE_T);}
static void *copy_KFileMetaInfoItem(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new KFileMetaInfoItem(reinterpret_cast<const KFileMetaInfoItem *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_KFileMetaInfoItem(sipSimpleWrapper *);}
static void dealloc_KFileMetaInfoItem(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KFileMetaInfoItem(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_KFileMetaInfoItem(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KFileMetaInfoItem(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    KFileMetaInfoItem *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KFileMetaInfoItem();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const KFileMetaInfoItem* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_KFileMetaInfoItem, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KFileMetaInfoItem(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_KFileMetaInfoItem[] = {
    {SIP_MLNAME_CAST(sipName_addValue), meth_KFileMetaInfoItem_addValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isEditable), meth_KFileMetaInfoItem_isEditable, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isModified), meth_KFileMetaInfoItem_isModified, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isRemoved), meth_KFileMetaInfoItem_isRemoved, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isSkipped), meth_KFileMetaInfoItem_isSkipped, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isValid), meth_KFileMetaInfoItem_isValid, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_name), meth_KFileMetaInfoItem_name, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_prefix), meth_KFileMetaInfoItem_prefix, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_properties), meth_KFileMetaInfoItem_properties, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setValue), meth_KFileMetaInfoItem_setValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_suffix), meth_KFileMetaInfoItem_suffix, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_value), meth_KFileMetaInfoItem_value, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kio_KFileMetaInfoItem = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KFileMetaInfoItem,
        {0}
    },
    {
        sipNameNr_KFileMetaInfoItem,
        {0, 0, 1},
        12, methods_KFileMetaInfoItem,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_type_KFileMetaInfoItem,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KFileMetaInfoItem,
    assign_KFileMetaInfoItem,
    array_KFileMetaInfoItem,
    copy_KFileMetaInfoItem,
    release_KFileMetaInfoItem,
    cast_KFileMetaInfoItem,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 37 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kfilemetainfo.sip"
#include <kfilemetainfo.h>
#line 19934 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"

#line 37 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kfilemetainfo.sip"
#include <kfilemetainfo.h>
#line 19938 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"


extern "C" {static int slot_KFileMetaInfo_WhatFlags___bool__(PyObject *);}
static int slot_KFileMetaInfo_WhatFlags___bool__(PyObject *sipSelf)
{
    KFileMetaInfo::WhatFlags *sipCpp = reinterpret_cast<KFileMetaInfo::WhatFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KFileMetaInfo_WhatFlags));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 370 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KFileMetaInfo::WhatFlags::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 19960 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KFileMetaInfo_WhatFlags___ne__(PyObject *,PyObject *);}
static PyObject *slot_KFileMetaInfo_WhatFlags___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    KFileMetaInfo::WhatFlags *sipCpp = reinterpret_cast<KFileMetaInfo::WhatFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KFileMetaInfo_WhatFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KFileMetaInfo::WhatFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KFileMetaInfo_WhatFlags, &a0, &a0State))
        {
            bool sipRes = 0;

#line 361 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KFileMetaInfo::WhatFlags::Int() != a0->operator KFileMetaInfo::WhatFlags::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 19994 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
            sipReleaseType(const_cast<KFileMetaInfo::WhatFlags *>(a0),sipType_KFileMetaInfo_WhatFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kio,ne_slot,sipType_KFileMetaInfo_WhatFlags,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KFileMetaInfo_WhatFlags___eq__(PyObject *,PyObject *);}
static PyObject *slot_KFileMetaInfo_WhatFlags___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    KFileMetaInfo::WhatFlags *sipCpp = reinterpret_cast<KFileMetaInfo::WhatFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KFileMetaInfo_WhatFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KFileMetaInfo::WhatFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KFileMetaInfo_WhatFlags, &a0, &a0State))
        {
            bool sipRes = 0;

#line 352 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KFileMetaInfo::WhatFlags::Int() == a0->operator KFileMetaInfo::WhatFlags::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 20034 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
            sipReleaseType(const_cast<KFileMetaInfo::WhatFlags *>(a0),sipType_KFileMetaInfo_WhatFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kio,eq_slot,sipType_KFileMetaInfo_WhatFlags,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KFileMetaInfo_WhatFlags___invert__(PyObject *);}
static PyObject *slot_KFileMetaInfo_WhatFlags___invert__(PyObject *sipSelf)
{
    KFileMetaInfo::WhatFlags *sipCpp = reinterpret_cast<KFileMetaInfo::WhatFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KFileMetaInfo_WhatFlags));

    if (!sipCpp)
        return 0;


    {
        {
            KFileMetaInfo::WhatFlags*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KFileMetaInfo::WhatFlags(~(*sipCpp));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KFileMetaInfo_WhatFlags,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KFileMetaInfo_WhatFlags___and__(PyObject *,PyObject *);}
static PyObject *slot_KFileMetaInfo_WhatFlags___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KFileMetaInfo::WhatFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KFileMetaInfo_WhatFlags, &a0, &a0State, &a1))
        {
            KFileMetaInfo::WhatFlags*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KFileMetaInfo::WhatFlags((*a0 & a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KFileMetaInfo_WhatFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_KFileMetaInfo_WhatFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kio,and_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KFileMetaInfo_WhatFlags___xor__(PyObject *,PyObject *);}
static PyObject *slot_KFileMetaInfo_WhatFlags___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KFileMetaInfo::WhatFlags* a0;
        int a0State = 0;
        KFileMetaInfo::WhatFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_KFileMetaInfo_WhatFlags, &a0, &a0State, sipType_KFileMetaInfo_WhatFlags, &a1, &a1State))
        {
            KFileMetaInfo::WhatFlags*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KFileMetaInfo::WhatFlags((*a0 ^ *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KFileMetaInfo_WhatFlags,a0State);
            sipReleaseType(a1,sipType_KFileMetaInfo_WhatFlags,a1State);

            return sipConvertFromNewType(sipRes,sipType_KFileMetaInfo_WhatFlags,NULL);
        }
    }

    {
        KFileMetaInfo::WhatFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KFileMetaInfo_WhatFlags, &a0, &a0State, &a1))
        {
            KFileMetaInfo::WhatFlags*sipRes = 0;

#line 346 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
        sipRes = new KFileMetaInfo::WhatFlags(*a0 ^ a1);
#line 20143 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
            sipReleaseType(a0,sipType_KFileMetaInfo_WhatFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_KFileMetaInfo_WhatFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kio,xor_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KFileMetaInfo_WhatFlags___or__(PyObject *,PyObject *);}
static PyObject *slot_KFileMetaInfo_WhatFlags___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KFileMetaInfo::WhatFlags* a0;
        int a0State = 0;
        KFileMetaInfo::WhatFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_KFileMetaInfo_WhatFlags, &a0, &a0State, sipType_KFileMetaInfo_WhatFlags, &a1, &a1State))
        {
            KFileMetaInfo::WhatFlags*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KFileMetaInfo::WhatFlags((*a0 | *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KFileMetaInfo_WhatFlags,a0State);
            sipReleaseType(a1,sipType_KFileMetaInfo_WhatFlags,a1State);

            return sipConvertFromNewType(sipRes,sipType_KFileMetaInfo_WhatFlags,NULL);
        }
    }

    {
        KFileMetaInfo::WhatFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KFileMetaInfo_WhatFlags, &a0, &a0State, &a1))
        {
            KFileMetaInfo::WhatFlags*sipRes = 0;

#line 341 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
        sipRes = new KFileMetaInfo::WhatFlags(*a0 | a1);
#line 20195 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
            sipReleaseType(a0,sipType_KFileMetaInfo_WhatFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_KFileMetaInfo_WhatFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kio,or_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KFileMetaInfo_WhatFlags___int__(PyObject *);}
static PyObject *slot_KFileMetaInfo_WhatFlags___int__(PyObject *sipSelf)
{
    KFileMetaInfo::WhatFlags *sipCpp = reinterpret_cast<KFileMetaInfo::WhatFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KFileMetaInfo_WhatFlags));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KFileMetaInfo_WhatFlags___ixor__(PyObject *,PyObject *);}
static PyObject *slot_KFileMetaInfo_WhatFlags___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KFileMetaInfo_WhatFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KFileMetaInfo::WhatFlags *sipCpp = reinterpret_cast<KFileMetaInfo::WhatFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KFileMetaInfo_WhatFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        KFileMetaInfo::WhatFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KFileMetaInfo_WhatFlags, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KFileMetaInfo::WhatFlags::operator^=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KFileMetaInfo_WhatFlags,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_KFileMetaInfo_WhatFlags___ior__(PyObject *,PyObject *);}
static PyObject *slot_KFileMetaInfo_WhatFlags___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KFileMetaInfo_WhatFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KFileMetaInfo::WhatFlags *sipCpp = reinterpret_cast<KFileMetaInfo::WhatFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KFileMetaInfo_WhatFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        KFileMetaInfo::WhatFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KFileMetaInfo_WhatFlags, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KFileMetaInfo::WhatFlags::operator|=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KFileMetaInfo_WhatFlags,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_KFileMetaInfo_WhatFlags___iand__(PyObject *,PyObject *);}
static PyObject *slot_KFileMetaInfo_WhatFlags___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KFileMetaInfo_WhatFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KFileMetaInfo::WhatFlags *sipCpp = reinterpret_cast<KFileMetaInfo::WhatFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KFileMetaInfo_WhatFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KFileMetaInfo::WhatFlags::operator&=(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KFileMetaInfo_WhatFlags(void *, const sipTypeDef *);}
static void *cast_KFileMetaInfo_WhatFlags(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_KFileMetaInfo_WhatFlags)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KFileMetaInfo_WhatFlags(void *, int);}
static void release_KFileMetaInfo_WhatFlags(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<KFileMetaInfo::WhatFlags *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KFileMetaInfo_WhatFlags(void *, SIP_SSIZE_T, const void *);}
static void assign_KFileMetaInfo_WhatFlags(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<KFileMetaInfo::WhatFlags *>(sipDst)[sipDstIdx] = *reinterpret_cast<const KFileMetaInfo::WhatFlags *>(sipSrc);
}


extern "C" {static void *array_KFileMetaInfo_WhatFlags(SIP_SSIZE_T);}
static void *array_KFileMetaInfo_WhatFlags(SIP_SSIZE_T sipNrElem)
{
    return new KFileMetaInfo::WhatFlags[sipNrElem];
}


extern "C" {static void *copy_KFileMetaInfo_WhatFlags(const void *, SIP_SSIZE_T);}
static void *copy_KFileMetaInfo_WhatFlags(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new KFileMetaInfo::WhatFlags(reinterpret_cast<const KFileMetaInfo::WhatFlags *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_KFileMetaInfo_WhatFlags(sipSimpleWrapper *);}
static void dealloc_KFileMetaInfo_WhatFlags(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KFileMetaInfo_WhatFlags(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_KFileMetaInfo_WhatFlags(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KFileMetaInfo_WhatFlags(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    KFileMetaInfo::WhatFlags *sipCpp = 0;

    {
        const KFileMetaInfo::WhatFlags* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_KFileMetaInfo_WhatFlags, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KFileMetaInfo::WhatFlags(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<KFileMetaInfo::WhatFlags *>(a0),sipType_KFileMetaInfo_WhatFlags,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KFileMetaInfo::WhatFlags(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KFileMetaInfo::WhatFlags();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_KFileMetaInfo_WhatFlags(PyObject *, void **, int *, PyObject *);}
static int convertTo_KFileMetaInfo_WhatFlags(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    KFileMetaInfo::WhatFlags **sipCppPtr = reinterpret_cast<KFileMetaInfo::WhatFlags **>(sipCppPtrV);

#line 379 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a KFileMetaInfo::WhatFlags is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KFileMetaInfo_What)) ||
            sipCanConvertToType(sipPy, sipType_KFileMetaInfo_WhatFlags, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KFileMetaInfo_What)))
{
    *sipCppPtr = new KFileMetaInfo::WhatFlags(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<KFileMetaInfo::WhatFlags *>(sipConvertToType(sipPy, sipType_KFileMetaInfo_WhatFlags, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 20490 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_KFileMetaInfo_WhatFlags[] = {
    {(void *)slot_KFileMetaInfo_WhatFlags___bool__, bool_slot},
    {(void *)slot_KFileMetaInfo_WhatFlags___ne__, ne_slot},
    {(void *)slot_KFileMetaInfo_WhatFlags___eq__, eq_slot},
    {(void *)slot_KFileMetaInfo_WhatFlags___invert__, invert_slot},
    {(void *)slot_KFileMetaInfo_WhatFlags___and__, and_slot},
    {(void *)slot_KFileMetaInfo_WhatFlags___xor__, xor_slot},
    {(void *)slot_KFileMetaInfo_WhatFlags___or__, or_slot},
    {(void *)slot_KFileMetaInfo_WhatFlags___int__, int_slot},
    {(void *)slot_KFileMetaInfo_WhatFlags___ixor__, ixor_slot},
    {(void *)slot_KFileMetaInfo_WhatFlags___ior__, ior_slot},
    {(void *)slot_KFileMetaInfo_WhatFlags___iand__, iand_slot},
    {0, (sipPySlotType)0}
};


pyqt4ClassTypeDef sipTypeDef_kio_KFileMetaInfo_WhatFlags = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KFileMetaInfo__WhatFlags,
        {0}
    },
    {
        sipNameNr_WhatFlags,
        {85, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    slots_KFileMetaInfo_WhatFlags,
    init_type_KFileMetaInfo_WhatFlags,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KFileMetaInfo_WhatFlags,
    assign_KFileMetaInfo_WhatFlags,
    array_KFileMetaInfo_WhatFlags,
    copy_KFileMetaInfo_WhatFlags,
    release_KFileMetaInfo_WhatFlags,
    cast_KFileMetaInfo_WhatFlags,
    convertTo_KFileMetaInfo_WhatFlags,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0
};

#line 37 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kfilemetainfo.sip"
#include <kfilemetainfo.h>
#line 20566 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"

#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 20570 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 37 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kfilemetainfo.sip"
#include <kfilemetainfo.h>
#line 20573 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 20576 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 20579 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kfilemetainfoitem.sip"
#include <kfilemetainfoitem.h>
#line 20582 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qhash.sip"
#include <qhash.h>
#line 20585 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 77 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 20588 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"


extern "C" {static PyObject *meth_KFileMetaInfo_applyChanges(PyObject *, PyObject *);}
static PyObject *meth_KFileMetaInfo_applyChanges(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KFileMetaInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileMetaInfo, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->applyChanges();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileMetaInfo, sipName_applyChanges, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileMetaInfo_items(PyObject *, PyObject *);}
static PyObject *meth_KFileMetaInfo_items(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFileMetaInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileMetaInfo, &sipCpp))
        {
            QHash<QString,KFileMetaInfoItem>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QHash<QString,KFileMetaInfoItem>(sipCpp->items());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QHash_0100QString_0100KFileMetaInfoItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileMetaInfo, sipName_items, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileMetaInfo_item(PyObject *, PyObject *);}
static PyObject *meth_KFileMetaInfo_item(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KFileMetaInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KFileMetaInfo, &sipCpp, sipType_QString,&a0, &a0State))
        {
            KFileMetaInfoItem*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &sipCpp->item(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromType(sipRes,sipType_KFileMetaInfoItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileMetaInfo, sipName_item, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileMetaInfo_isValid(PyObject *, PyObject *);}
static PyObject *meth_KFileMetaInfo_isValid(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFileMetaInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileMetaInfo, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isValid();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileMetaInfo, sipName_isValid, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileMetaInfo_preferredKeys(PyObject *, PyObject *);}
static PyObject *meth_KFileMetaInfo_preferredKeys(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFileMetaInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileMetaInfo, &sipCpp))
        {
            QStringList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->preferredKeys());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileMetaInfo, sipName_preferredKeys, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileMetaInfo_supportedKeys(PyObject *, PyObject *);}
static PyObject *meth_KFileMetaInfo_supportedKeys(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFileMetaInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileMetaInfo, &sipCpp))
        {
            QStringList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->supportedKeys());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileMetaInfo, sipName_supportedKeys, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileMetaInfo_keys(PyObject *, PyObject *);}
static PyObject *meth_KFileMetaInfo_keys(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFileMetaInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileMetaInfo, &sipCpp))
        {
            QStringList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->keys());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileMetaInfo, sipName_keys, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileMetaInfo_url(PyObject *, PyObject *);}
static PyObject *meth_KFileMetaInfo_url(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFileMetaInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileMetaInfo, &sipCpp))
        {
            KUrl*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl(sipCpp->url());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KUrl,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileMetaInfo, sipName_url, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KFileMetaInfo(void *, const sipTypeDef *);}
static void *cast_KFileMetaInfo(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_KFileMetaInfo)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KFileMetaInfo(void *, int);}
static void release_KFileMetaInfo(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<KFileMetaInfo *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KFileMetaInfo(void *, SIP_SSIZE_T, const void *);}
static void assign_KFileMetaInfo(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<KFileMetaInfo *>(sipDst)[sipDstIdx] = *reinterpret_cast<const KFileMetaInfo *>(sipSrc);
}


extern "C" {static void *array_KFileMetaInfo(SIP_SSIZE_T);}
static void *array_KFileMetaInfo(SIP_SSIZE_T sipNrElem)
{
    return new KFileMetaInfo[sipNrElem];
}


extern "C" {static void *copy_KFileMetaInfo(const void *, SIP_SSIZE_T);}
static void *copy_KFileMetaInfo(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new KFileMetaInfo(reinterpret_cast<const KFileMetaInfo *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_KFileMetaInfo(sipSimpleWrapper *);}
static void dealloc_KFileMetaInfo(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KFileMetaInfo(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_KFileMetaInfo(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KFileMetaInfo(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    KFileMetaInfo *sipCpp = 0;

    {
        const QString* a0;
        int a0State = 0;
        const QString& a1def = QString();
        const QString* a1 = &a1def;
        int a1State = 0;
        KFileMetaInfo::WhatFlags a2def = KFileMetaInfo::Everything;
        KFileMetaInfo::WhatFlags* a2 = &a2def;
        int a2State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1|J1J1", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_KFileMetaInfo_WhatFlags, &a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KFileMetaInfo(*a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(a2,sipType_KFileMetaInfo_WhatFlags,a2State);

            return sipCpp;
        }
    }

    {
        const KUrl* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_KUrl, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KFileMetaInfo(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KFileMetaInfo();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const KFileMetaInfo* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_KFileMetaInfo, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KFileMetaInfo(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_KFileMetaInfo[] = {
    {SIP_MLNAME_CAST(sipName_applyChanges), meth_KFileMetaInfo_applyChanges, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isValid), meth_KFileMetaInfo_isValid, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_item), meth_KFileMetaInfo_item, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_items), meth_KFileMetaInfo_items, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keys), meth_KFileMetaInfo_keys, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_preferredKeys), meth_KFileMetaInfo_preferredKeys, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_supportedKeys), meth_KFileMetaInfo_supportedKeys, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_url), meth_KFileMetaInfo_url, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KFileMetaInfo[] = {
    {sipName_ContentInfo, static_cast<int>(KFileMetaInfo::ContentInfo), 86},
    {sipName_Everything, static_cast<int>(KFileMetaInfo::Everything), 86},
    {sipName_ExternalSources, static_cast<int>(KFileMetaInfo::ExternalSources), 86},
    {sipName_Fastest, static_cast<int>(KFileMetaInfo::Fastest), 86},
    {sipName_LinkedData, static_cast<int>(KFileMetaInfo::LinkedData), 86},
    {sipName_TechnicalInfo, static_cast<int>(KFileMetaInfo::TechnicalInfo), 86},
    {sipName_Thumbnail, static_cast<int>(KFileMetaInfo::Thumbnail), 86},
};


pyqt4ClassTypeDef sipTypeDef_kio_KFileMetaInfo = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KFileMetaInfo,
        {0}
    },
    {
        sipNameNr_KFileMetaInfo,
        {0, 0, 1},
        8, methods_KFileMetaInfo,
        7, enummembers_KFileMetaInfo,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_type_KFileMetaInfo,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KFileMetaInfo,
    assign_KFileMetaInfo,
    array_KFileMetaInfo,
    copy_KFileMetaInfo,
    release_KFileMetaInfo,
    cast_KFileMetaInfo,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 23 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kfilemetadatawidget.sip"
#include <kfilemetadatawidget.h>
#line 21010 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"

#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 21014 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 134 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kfileitem.sip"
#include <kfileitem.h>
#line 21017 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 21020 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 21023 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 21026 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 21029 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 39 "/usr/share/python3-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 21032 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 21035 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 21038 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 39 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 21041 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 21044 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 21047 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 21050 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 21053 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 21056 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 21059 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 21062 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 21065 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 37 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 21068 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 21071 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 21074 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 21077 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 21080 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 21083 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 21086 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 274 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 21089 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 656 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21092 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 616 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21095 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 605 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21098 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 748 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21101 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 801 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21104 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 774 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21107 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 790 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21110 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 863 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21113 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 412 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21116 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 627 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21119 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 583 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21122 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 570 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21125 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 557 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21128 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 533 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21131 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 514 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21134 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 483 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21137 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 356 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21140 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 261 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21143 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 21146 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 61 "/usr/share/python3-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 21149 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 39 "/usr/share/python3-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 21152 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 21155 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 21158 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 21161 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 21164 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 21167 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 21170 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 21173 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 21176 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 21179 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 21182 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 355 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 21185 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 338 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 21188 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 21191 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 21194 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 21197 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 21200 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 21203 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 21206 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"


class sipKFileMetaDataWidget : public KFileMetaDataWidget
{
public:
    sipKFileMetaDataWidget(QWidget*);
    virtual ~sipKFileMetaDataWidget();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    void languageChange();
    void windowActivationChange(bool);
    void fontChange(const QFont&);
    void paletteChange(const QPalette&);
    void enabledChange(bool);
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void changeEvent(QEvent*);
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void closeEvent(QCloseEvent*);
    void resizeEvent(QResizeEvent*);
    void moveEvent(QMoveEvent*);
    void paintEvent(QPaintEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    QSize minimumSizeHint() const;
    void setVisible(bool);
    int devType() const;
    bool event(QEvent*);
    QSize sizeHint() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKFileMetaDataWidget(const sipKFileMetaDataWidget &);
    sipKFileMetaDataWidget &operator = (const sipKFileMetaDataWidget &);

    char sipPyMethods[47];
};

sipKFileMetaDataWidget::sipKFileMetaDataWidget(QWidget*a0): KFileMetaDataWidget(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKFileMetaDataWidget::~sipKFileMetaDataWidget()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKFileMetaDataWidget::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KFileMetaDataWidget);
}

int sipKFileMetaDataWidget::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KFileMetaDataWidget::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kio_qt_metacall(sipPySelf,sipType_KFileMetaDataWidget,_c,_id,_a);

    return _id;
}

void *sipKFileMetaDataWidget::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast(sipPySelf, sipType_KFileMetaDataWidget, _clname)) ? this : KFileMetaDataWidget::qt_metacast(_clname);
}

void sipKFileMetaDataWidget::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KFileMetaDataWidget::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataWidget::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KFileMetaDataWidget::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataWidget::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KFileMetaDataWidget::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kio_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataWidget::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KFileMetaDataWidget::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kio_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataWidget::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KFileMetaDataWidget::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kio_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKFileMetaDataWidget::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KFileMetaDataWidget::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKFileMetaDataWidget::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
        KFileMetaDataWidget::languageChange();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKFileMetaDataWidget::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
        KFileMetaDataWidget::windowActivationChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kio_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataWidget::fontChange(const QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
        KFileMetaDataWidget::fontChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QFont&);

    ((sipVH_QtGui_9)(sipModuleAPI_kio_QtGui->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataWidget::paletteChange(const QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
        KFileMetaDataWidget::paletteChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_10)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPalette&);

    ((sipVH_QtGui_10)(sipModuleAPI_kio_QtGui->em_virthandlers[10]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataWidget::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
        KFileMetaDataWidget::enabledChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kio_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKFileMetaDataWidget::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return KFileMetaDataWidget::focusNextPrevChild(a0);

    typedef bool (*sipVH_QtGui_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return ((sipVH_QtGui_11)(sipModuleAPI_kio_QtGui->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QVariant sipKFileMetaDataWidget::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return KFileMetaDataWidget::inputMethodQuery(a0);

    typedef QVariant (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return ((sipVH_QtGui_12)(sipModuleAPI_kio_QtGui->em_virthandlers[12]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataWidget::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        KFileMetaDataWidget::inputMethodEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_13)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    ((sipVH_QtGui_13)(sipModuleAPI_kio_QtGui->em_virthandlers[13]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKFileMetaDataWidget::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return KFileMetaDataWidget::metric(a0);

    typedef int (*sipVH_QtGui_14)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_14)(sipModuleAPI_kio_QtGui->em_virthandlers[14]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataWidget::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        KFileMetaDataWidget::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kio_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataWidget::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        KFileMetaDataWidget::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_kio_QtGui->em_virthandlers[0]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataWidget::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        KFileMetaDataWidget::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_1)(sipModuleAPI_kio_QtGui->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataWidget::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        KFileMetaDataWidget::dropEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_15)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    ((sipVH_QtGui_15)(sipModuleAPI_kio_QtGui->em_virthandlers[15]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataWidget::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        KFileMetaDataWidget::dragLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_16)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    ((sipVH_QtGui_16)(sipModuleAPI_kio_QtGui->em_virthandlers[16]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataWidget::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        KFileMetaDataWidget::dragMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    ((sipVH_QtGui_17)(sipModuleAPI_kio_QtGui->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataWidget::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        KFileMetaDataWidget::dragEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    ((sipVH_QtGui_18)(sipModuleAPI_kio_QtGui->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataWidget::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        KFileMetaDataWidget::actionEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_19)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    ((sipVH_QtGui_19)(sipModuleAPI_kio_QtGui->em_virthandlers[19]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataWidget::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        KFileMetaDataWidget::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_20)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_20)(sipModuleAPI_kio_QtGui->em_virthandlers[20]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataWidget::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        KFileMetaDataWidget::contextMenuEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_21)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    ((sipVH_QtGui_21)(sipModuleAPI_kio_QtGui->em_virthandlers[21]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataWidget::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        KFileMetaDataWidget::closeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_22)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    ((sipVH_QtGui_22)(sipModuleAPI_kio_QtGui->em_virthandlers[22]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataWidget::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        KFileMetaDataWidget::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_kio_QtGui->em_virthandlers[2]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataWidget::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        KFileMetaDataWidget::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_23)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_23)(sipModuleAPI_kio_QtGui->em_virthandlers[23]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataWidget::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        KFileMetaDataWidget::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_kio_QtGui->em_virthandlers[3]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataWidget::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        KFileMetaDataWidget::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kio_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataWidget::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        KFileMetaDataWidget::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kio_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataWidget::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        KFileMetaDataWidget::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kio_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataWidget::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        KFileMetaDataWidget::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kio_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataWidget::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        KFileMetaDataWidget::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kio_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataWidget::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        KFileMetaDataWidget::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kio_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataWidget::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        KFileMetaDataWidget::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_kio_QtGui->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataWidget::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        KFileMetaDataWidget::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kio_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataWidget::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        KFileMetaDataWidget::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kio_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataWidget::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        KFileMetaDataWidget::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kio_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataWidget::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        KFileMetaDataWidget::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kio_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QPaintEngine* sipKFileMetaDataWidget::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[40]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return KFileMetaDataWidget::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_27)(sipModuleAPI_kio_QtGui->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKFileMetaDataWidget::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[41]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return KFileMetaDataWidget::heightForWidth(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtGui_28)(sipModuleAPI_kio_QtGui->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QSize sipKFileMetaDataWidget::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[42]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return KFileMetaDataWidget::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kio_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKFileMetaDataWidget::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        KFileMetaDataWidget::setVisible(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kio_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKFileMetaDataWidget::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[44]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return KFileMetaDataWidget::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_kio_QtCore->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipKFileMetaDataWidget::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KFileMetaDataWidget::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QSize sipKFileMetaDataWidget::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[46]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return KFileMetaDataWidget::sizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kio_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}


extern "C" {static PyObject *meth_KFileMetaDataWidget_setItems(PyObject *, PyObject *);}
static PyObject *meth_KFileMetaDataWidget_setItems(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFileItemList* a0;
        KFileMetaDataWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KFileMetaDataWidget, &sipCpp, sipType_KFileItemList, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setItems(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileMetaDataWidget, sipName_setItems, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileMetaDataWidget_items(PyObject *, PyObject *);}
static PyObject *meth_KFileMetaDataWidget_items(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFileMetaDataWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileMetaDataWidget, &sipCpp))
        {
            KFileItemList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KFileItemList(sipCpp->items());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KFileItemList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileMetaDataWidget, sipName_items, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileMetaDataWidget_setReadOnly(PyObject *, PyObject *);}
static PyObject *meth_KFileMetaDataWidget_setReadOnly(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KFileMetaDataWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KFileMetaDataWidget, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setReadOnly(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileMetaDataWidget, sipName_setReadOnly, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileMetaDataWidget_isReadOnly(PyObject *, PyObject *);}
static PyObject *meth_KFileMetaDataWidget_isReadOnly(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFileMetaDataWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileMetaDataWidget, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isReadOnly();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileMetaDataWidget, sipName_isReadOnly, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileMetaDataWidget_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_KFileMetaDataWidget_sizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KFileMetaDataWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileMetaDataWidget, &sipCpp))
        {
            QSize*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSize((sipSelfWasArg ? sipCpp->KFileMetaDataWidget::sizeHint() : sipCpp->sizeHint()));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileMetaDataWidget, sipName_sizeHint, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileMetaDataWidget_event(PyObject *, PyObject *);}
static PyObject *meth_KFileMetaDataWidget_event(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        KFileMetaDataWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KFileMetaDataWidget, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KFileMetaDataWidget::event(a0) : sipCpp->event(a0));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileMetaDataWidget, sipName_event, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KFileMetaDataWidget(void *, const sipTypeDef *);}
static void *cast_KFileMetaDataWidget(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KFileMetaDataWidget)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QWidget)->ctd_cast((QWidget *)(KFileMetaDataWidget *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KFileMetaDataWidget(void *, int);}
static void release_KFileMetaDataWidget(void *sipCppV,int)
{
    KFileMetaDataWidget *sipCpp = reinterpret_cast<KFileMetaDataWidget *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KFileMetaDataWidget(sipSimpleWrapper *);}
static void dealloc_KFileMetaDataWidget(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKFileMetaDataWidget *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KFileMetaDataWidget(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KFileMetaDataWidget(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KFileMetaDataWidget(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKFileMetaDataWidget *sipCpp = 0;

    {
        QWidget* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKFileMetaDataWidget(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KFileMetaDataWidget[] = {{755, 2, 1}};


static PyMethodDef methods_KFileMetaDataWidget[] = {
    {SIP_MLNAME_CAST(sipName_event), meth_KFileMetaDataWidget_event, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isReadOnly), meth_KFileMetaDataWidget_isReadOnly, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_items), meth_KFileMetaDataWidget_items, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setItems), meth_KFileMetaDataWidget_setItems, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setReadOnly), meth_KFileMetaDataWidget_setReadOnly, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_KFileMetaDataWidget_sizeHint, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KFileMetaDataWidget[] = {
    {"metaDataRequestFinished(KFileItemList)", 0, 0, 0},
    {"urlActivated(KUrl)", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kio_KFileMetaDataWidget = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KFileMetaDataWidget,
        {0}
    },
    {
        sipNameNr_KFileMetaDataWidget,
        {0, 0, 1},
        6, methods_KFileMetaDataWidget,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KFileMetaDataWidget,
    0,
    init_type_KFileMetaDataWidget,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KFileMetaDataWidget,
    0,
    0,
    0,
    release_KFileMetaDataWidget,
    cast_KFileMetaDataWidget,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KFileMetaDataWidget::staticMetaObject,
    0,
    signals_KFileMetaDataWidget,
};

#line 23 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kfilemetadataconfigurationwidget.sip"
#include <kfilemetadataconfigurationwidget.h>
#line 22441 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"

#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 22445 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 22448 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 22451 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 134 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kfileitem.sip"
#include <kfileitem.h>
#line 22454 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 22457 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 39 "/usr/share/python3-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 22460 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 22463 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 22466 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 39 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 22469 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 22472 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 22475 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 22478 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 22481 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 22484 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 22487 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 22490 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 22493 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 37 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 22496 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 22499 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 22502 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 22505 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 22508 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 22511 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 22514 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 274 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 22517 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 656 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22520 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 616 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22523 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 605 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22526 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 748 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22529 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 801 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22532 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 774 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22535 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 790 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22538 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 863 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22541 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 412 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22544 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 627 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22547 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 583 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22550 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 570 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22553 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 557 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22556 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 533 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22559 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 514 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22562 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 483 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22565 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 356 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22568 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 261 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22571 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 22574 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 61 "/usr/share/python3-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 22577 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 39 "/usr/share/python3-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 22580 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 22583 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 22586 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 22589 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 22592 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 22595 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 22598 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 22601 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 22604 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 22607 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 22610 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 355 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 22613 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 338 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 22616 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 22619 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 22622 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 22625 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 22628 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 22631 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 22634 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"


class sipKFileMetaDataConfigurationWidget : public KFileMetaDataConfigurationWidget
{
public:
    sipKFileMetaDataConfigurationWidget(QWidget*);
    virtual ~sipKFileMetaDataConfigurationWidget();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    void languageChange();
    void windowActivationChange(bool);
    void fontChange(const QFont&);
    void paletteChange(const QPalette&);
    void enabledChange(bool);
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void changeEvent(QEvent*);
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void closeEvent(QCloseEvent*);
    void resizeEvent(QResizeEvent*);
    void moveEvent(QMoveEvent*);
    void paintEvent(QPaintEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    QSize minimumSizeHint() const;
    void setVisible(bool);
    int devType() const;
    bool event(QEvent*);
    QSize sizeHint() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKFileMetaDataConfigurationWidget(const sipKFileMetaDataConfigurationWidget &);
    sipKFileMetaDataConfigurationWidget &operator = (const sipKFileMetaDataConfigurationWidget &);

    char sipPyMethods[47];
};

sipKFileMetaDataConfigurationWidget::sipKFileMetaDataConfigurationWidget(QWidget*a0): KFileMetaDataConfigurationWidget(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKFileMetaDataConfigurationWidget::~sipKFileMetaDataConfigurationWidget()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKFileMetaDataConfigurationWidget::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KFileMetaDataConfigurationWidget);
}

int sipKFileMetaDataConfigurationWidget::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KFileMetaDataConfigurationWidget::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kio_qt_metacall(sipPySelf,sipType_KFileMetaDataConfigurationWidget,_c,_id,_a);

    return _id;
}

void *sipKFileMetaDataConfigurationWidget::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast(sipPySelf, sipType_KFileMetaDataConfigurationWidget, _clname)) ? this : KFileMetaDataConfigurationWidget::qt_metacast(_clname);
}

void sipKFileMetaDataConfigurationWidget::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KFileMetaDataConfigurationWidget::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataConfigurationWidget::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KFileMetaDataConfigurationWidget::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataConfigurationWidget::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KFileMetaDataConfigurationWidget::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kio_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataConfigurationWidget::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KFileMetaDataConfigurationWidget::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kio_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataConfigurationWidget::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KFileMetaDataConfigurationWidget::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kio_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKFileMetaDataConfigurationWidget::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KFileMetaDataConfigurationWidget::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKFileMetaDataConfigurationWidget::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
        KFileMetaDataConfigurationWidget::languageChange();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKFileMetaDataConfigurationWidget::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
        KFileMetaDataConfigurationWidget::windowActivationChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kio_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataConfigurationWidget::fontChange(const QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
        KFileMetaDataConfigurationWidget::fontChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QFont&);

    ((sipVH_QtGui_9)(sipModuleAPI_kio_QtGui->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataConfigurationWidget::paletteChange(const QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
        KFileMetaDataConfigurationWidget::paletteChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_10)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPalette&);

    ((sipVH_QtGui_10)(sipModuleAPI_kio_QtGui->em_virthandlers[10]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataConfigurationWidget::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
        KFileMetaDataConfigurationWidget::enabledChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kio_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKFileMetaDataConfigurationWidget::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return KFileMetaDataConfigurationWidget::focusNextPrevChild(a0);

    typedef bool (*sipVH_QtGui_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return ((sipVH_QtGui_11)(sipModuleAPI_kio_QtGui->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QVariant sipKFileMetaDataConfigurationWidget::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return KFileMetaDataConfigurationWidget::inputMethodQuery(a0);

    typedef QVariant (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return ((sipVH_QtGui_12)(sipModuleAPI_kio_QtGui->em_virthandlers[12]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataConfigurationWidget::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        KFileMetaDataConfigurationWidget::inputMethodEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_13)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    ((sipVH_QtGui_13)(sipModuleAPI_kio_QtGui->em_virthandlers[13]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKFileMetaDataConfigurationWidget::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return KFileMetaDataConfigurationWidget::metric(a0);

    typedef int (*sipVH_QtGui_14)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_14)(sipModuleAPI_kio_QtGui->em_virthandlers[14]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataConfigurationWidget::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        KFileMetaDataConfigurationWidget::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kio_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataConfigurationWidget::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        KFileMetaDataConfigurationWidget::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_kio_QtGui->em_virthandlers[0]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataConfigurationWidget::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        KFileMetaDataConfigurationWidget::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_1)(sipModuleAPI_kio_QtGui->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataConfigurationWidget::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        KFileMetaDataConfigurationWidget::dropEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_15)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    ((sipVH_QtGui_15)(sipModuleAPI_kio_QtGui->em_virthandlers[15]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataConfigurationWidget::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        KFileMetaDataConfigurationWidget::dragLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_16)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    ((sipVH_QtGui_16)(sipModuleAPI_kio_QtGui->em_virthandlers[16]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataConfigurationWidget::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        KFileMetaDataConfigurationWidget::dragMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    ((sipVH_QtGui_17)(sipModuleAPI_kio_QtGui->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataConfigurationWidget::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        KFileMetaDataConfigurationWidget::dragEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    ((sipVH_QtGui_18)(sipModuleAPI_kio_QtGui->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataConfigurationWidget::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        KFileMetaDataConfigurationWidget::actionEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_19)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    ((sipVH_QtGui_19)(sipModuleAPI_kio_QtGui->em_virthandlers[19]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataConfigurationWidget::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        KFileMetaDataConfigurationWidget::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_20)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_20)(sipModuleAPI_kio_QtGui->em_virthandlers[20]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataConfigurationWidget::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        KFileMetaDataConfigurationWidget::contextMenuEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_21)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    ((sipVH_QtGui_21)(sipModuleAPI_kio_QtGui->em_virthandlers[21]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataConfigurationWidget::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        KFileMetaDataConfigurationWidget::closeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_22)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    ((sipVH_QtGui_22)(sipModuleAPI_kio_QtGui->em_virthandlers[22]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataConfigurationWidget::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        KFileMetaDataConfigurationWidget::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_kio_QtGui->em_virthandlers[2]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataConfigurationWidget::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        KFileMetaDataConfigurationWidget::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_23)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_23)(sipModuleAPI_kio_QtGui->em_virthandlers[23]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataConfigurationWidget::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        KFileMetaDataConfigurationWidget::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_kio_QtGui->em_virthandlers[3]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataConfigurationWidget::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        KFileMetaDataConfigurationWidget::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kio_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataConfigurationWidget::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        KFileMetaDataConfigurationWidget::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kio_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataConfigurationWidget::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        KFileMetaDataConfigurationWidget::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kio_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataConfigurationWidget::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        KFileMetaDataConfigurationWidget::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kio_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataConfigurationWidget::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        KFileMetaDataConfigurationWidget::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kio_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataConfigurationWidget::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        KFileMetaDataConfigurationWidget::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kio_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataConfigurationWidget::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        KFileMetaDataConfigurationWidget::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_kio_QtGui->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataConfigurationWidget::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        KFileMetaDataConfigurationWidget::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kio_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataConfigurationWidget::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        KFileMetaDataConfigurationWidget::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kio_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataConfigurationWidget::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        KFileMetaDataConfigurationWidget::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kio_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataConfigurationWidget::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        KFileMetaDataConfigurationWidget::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kio_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QPaintEngine* sipKFileMetaDataConfigurationWidget::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[40]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return KFileMetaDataConfigurationWidget::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_27)(sipModuleAPI_kio_QtGui->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKFileMetaDataConfigurationWidget::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[41]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return KFileMetaDataConfigurationWidget::heightForWidth(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtGui_28)(sipModuleAPI_kio_QtGui->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QSize sipKFileMetaDataConfigurationWidget::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[42]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return KFileMetaDataConfigurationWidget::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kio_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKFileMetaDataConfigurationWidget::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        KFileMetaDataConfigurationWidget::setVisible(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kio_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKFileMetaDataConfigurationWidget::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[44]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return KFileMetaDataConfigurationWidget::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_kio_QtCore->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipKFileMetaDataConfigurationWidget::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KFileMetaDataConfigurationWidget::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QSize sipKFileMetaDataConfigurationWidget::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[46]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return KFileMetaDataConfigurationWidget::sizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kio_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}


extern "C" {static PyObject *meth_KFileMetaDataConfigurationWidget_setItems(PyObject *, PyObject *);}
static PyObject *meth_KFileMetaDataConfigurationWidget_setItems(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFileItemList* a0;
        KFileMetaDataConfigurationWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KFileMetaDataConfigurationWidget, &sipCpp, sipType_KFileItemList, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setItems(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileMetaDataConfigurationWidget, sipName_setItems, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileMetaDataConfigurationWidget_items(PyObject *, PyObject *);}
static PyObject *meth_KFileMetaDataConfigurationWidget_items(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFileMetaDataConfigurationWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileMetaDataConfigurationWidget, &sipCpp))
        {
            KFileItemList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KFileItemList(sipCpp->items());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KFileItemList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileMetaDataConfigurationWidget, sipName_items, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileMetaDataConfigurationWidget_save(PyObject *, PyObject *);}
static PyObject *meth_KFileMetaDataConfigurationWidget_save(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KFileMetaDataConfigurationWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileMetaDataConfigurationWidget, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->save();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileMetaDataConfigurationWidget, sipName_save, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileMetaDataConfigurationWidget_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_KFileMetaDataConfigurationWidget_sizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KFileMetaDataConfigurationWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileMetaDataConfigurationWidget, &sipCpp))
        {
            QSize*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSize((sipSelfWasArg ? sipCpp->KFileMetaDataConfigurationWidget::sizeHint() : sipCpp->sizeHint()));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileMetaDataConfigurationWidget, sipName_sizeHint, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileMetaDataConfigurationWidget_event(PyObject *, PyObject *);}
static PyObject *meth_KFileMetaDataConfigurationWidget_event(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        KFileMetaDataConfigurationWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KFileMetaDataConfigurationWidget, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KFileMetaDataConfigurationWidget::event(a0) : sipCpp->event(a0));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileMetaDataConfigurationWidget, sipName_event, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KFileMetaDataConfigurationWidget(void *, const sipTypeDef *);}
static void *cast_KFileMetaDataConfigurationWidget(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KFileMetaDataConfigurationWidget)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QWidget)->ctd_cast((QWidget *)(KFileMetaDataConfigurationWidget *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KFileMetaDataConfigurationWidget(void *, int);}
static void release_KFileMetaDataConfigurationWidget(void *sipCppV,int)
{
    KFileMetaDataConfigurationWidget *sipCpp = reinterpret_cast<KFileMetaDataConfigurationWidget *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KFileMetaDataConfigurationWidget(sipSimpleWrapper *);}
static void dealloc_KFileMetaDataConfigurationWidget(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKFileMetaDataConfigurationWidget *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KFileMetaDataConfigurationWidget(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KFileMetaDataConfigurationWidget(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KFileMetaDataConfigurationWidget(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKFileMetaDataConfigurationWidget *sipCpp = 0;

    {
        QWidget* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKFileMetaDataConfigurationWidget(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KFileMetaDataConfigurationWidget[] = {{755, 2, 1}};


static PyMethodDef methods_KFileMetaDataConfigurationWidget[] = {
    {SIP_MLNAME_CAST(sipName_event), meth_KFileMetaDataConfigurationWidget_event, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_items), meth_KFileMetaDataConfigurationWidget_items, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_save), meth_KFileMetaDataConfigurationWidget_save, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setItems), meth_KFileMetaDataConfigurationWidget_setItems, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_KFileMetaDataConfigurationWidget_sizeHint, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kio_KFileMetaDataConfigurationWidget = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KFileMetaDataConfigurationWidget,
        {0}
    },
    {
        sipNameNr_KFileMetaDataConfigurationWidget,
        {0, 0, 1},
        5, methods_KFileMetaDataConfigurationWidget,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KFileMetaDataConfigurationWidget,
    0,
    init_type_KFileMetaDataConfigurationWidget,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KFileMetaDataConfigurationWidget,
    0,
    0,
    0,
    release_KFileMetaDataConfigurationWidget,
    cast_KFileMetaDataConfigurationWidget,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KFileMetaDataConfigurationWidget::staticMetaObject,
    0,
    0
};

#line 25 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kfileitemlistproperties.sip"
#include <kfileitemlistproperties.h>
#line 23832 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"

#line 134 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kfileitem.sip"
#include <kfileitem.h>
#line 23836 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 23839 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 23842 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"


extern "C" {static PyObject *meth_KFileItemListProperties_setItems(PyObject *, PyObject *);}
static PyObject *meth_KFileItemListProperties_setItems(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFileItemList* a0;
        KFileItemListProperties *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KFileItemListProperties, &sipCpp, sipType_KFileItemList, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setItems(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileItemListProperties, sipName_setItems, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemListProperties_supportsReading(PyObject *, PyObject *);}
static PyObject *meth_KFileItemListProperties_supportsReading(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFileItemListProperties *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileItemListProperties, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->supportsReading();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileItemListProperties, sipName_supportsReading, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemListProperties_supportsDeleting(PyObject *, PyObject *);}
static PyObject *meth_KFileItemListProperties_supportsDeleting(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFileItemListProperties *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileItemListProperties, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->supportsDeleting();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileItemListProperties, sipName_supportsDeleting, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemListProperties_supportsWriting(PyObject *, PyObject *);}
static PyObject *meth_KFileItemListProperties_supportsWriting(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFileItemListProperties *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileItemListProperties, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->supportsWriting();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileItemListProperties, sipName_supportsWriting, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemListProperties_supportsMoving(PyObject *, PyObject *);}
static PyObject *meth_KFileItemListProperties_supportsMoving(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFileItemListProperties *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileItemListProperties, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->supportsMoving();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileItemListProperties, sipName_supportsMoving, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemListProperties_isLocal(PyObject *, PyObject *);}
static PyObject *meth_KFileItemListProperties_isLocal(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFileItemListProperties *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileItemListProperties, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isLocal();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileItemListProperties, sipName_isLocal, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemListProperties_items(PyObject *, PyObject *);}
static PyObject *meth_KFileItemListProperties_items(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFileItemListProperties *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileItemListProperties, &sipCpp))
        {
            KFileItemList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KFileItemList(sipCpp->items());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KFileItemList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileItemListProperties, sipName_items, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemListProperties_urlList(PyObject *, PyObject *);}
static PyObject *meth_KFileItemListProperties_urlList(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFileItemListProperties *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileItemListProperties, &sipCpp))
        {
            KUrl::List*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl::List(sipCpp->urlList());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KUrl_List,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileItemListProperties, sipName_urlList, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemListProperties_isDirectory(PyObject *, PyObject *);}
static PyObject *meth_KFileItemListProperties_isDirectory(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFileItemListProperties *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileItemListProperties, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isDirectory();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileItemListProperties, sipName_isDirectory, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemListProperties_mimeType(PyObject *, PyObject *);}
static PyObject *meth_KFileItemListProperties_mimeType(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFileItemListProperties *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileItemListProperties, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->mimeType());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileItemListProperties, sipName_mimeType, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemListProperties_mimeGroup(PyObject *, PyObject *);}
static PyObject *meth_KFileItemListProperties_mimeGroup(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFileItemListProperties *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileItemListProperties, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->mimeGroup());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileItemListProperties, sipName_mimeGroup, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KFileItemListProperties(void *, const sipTypeDef *);}
static void *cast_KFileItemListProperties(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_KFileItemListProperties)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KFileItemListProperties(void *, int);}
static void release_KFileItemListProperties(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<KFileItemListProperties *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KFileItemListProperties(void *, SIP_SSIZE_T, const void *);}
static void assign_KFileItemListProperties(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<KFileItemListProperties *>(sipDst)[sipDstIdx] = *reinterpret_cast<const KFileItemListProperties *>(sipSrc);
}


extern "C" {static void *array_KFileItemListProperties(SIP_SSIZE_T);}
static void *array_KFileItemListProperties(SIP_SSIZE_T sipNrElem)
{
    return new KFileItemListProperties[sipNrElem];
}


extern "C" {static void *copy_KFileItemListProperties(const void *, SIP_SSIZE_T);}
static void *copy_KFileItemListProperties(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new KFileItemListProperties(reinterpret_cast<const KFileItemListProperties *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_KFileItemListProperties(sipSimpleWrapper *);}
static void dealloc_KFileItemListProperties(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KFileItemListProperties(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_KFileItemListProperties(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KFileItemListProperties(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    KFileItemListProperties *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KFileItemListProperties();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const KFileItemList* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_KFileItemList, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KFileItemListProperties(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const KFileItemListProperties* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_KFileItemListProperties, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KFileItemListProperties(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_KFileItemListProperties[] = {
    {SIP_MLNAME_CAST(sipName_isDirectory), meth_KFileItemListProperties_isDirectory, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isLocal), meth_KFileItemListProperties_isLocal, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_items), meth_KFileItemListProperties_items, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mimeGroup), meth_KFileItemListProperties_mimeGroup, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mimeType), meth_KFileItemListProperties_mimeType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setItems), meth_KFileItemListProperties_setItems, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_supportsDeleting), meth_KFileItemListProperties_supportsDeleting, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_supportsMoving), meth_KFileItemListProperties_supportsMoving, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_supportsReading), meth_KFileItemListProperties_supportsReading, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_supportsWriting), meth_KFileItemListProperties_supportsWriting, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_urlList), meth_KFileItemListProperties_urlList, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kio_KFileItemListProperties = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KFileItemListProperties,
        {0}
    },
    {
        sipNameNr_KFileItemListProperties,
        {0, 0, 1},
        11, methods_KFileItemListProperties,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_type_KFileItemListProperties,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KFileItemListProperties,
    assign_KFileItemListProperties,
    array_KFileItemListProperties,
    copy_KFileItemListProperties,
    release_KFileItemListProperties,
    cast_KFileItemListProperties,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kfileitemdelegate.sip"
#include <kfileitemdelegate.h>
#line 24312 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"

#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 24316 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qtextoption.sip"
#include <qtextoption.h>
#line 24319 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 24322 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 1135 "/usr/share/python3-sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 24325 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 24328 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 24331 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 812 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24334 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 24337 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 24340 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 24343 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 119 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 24346 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qcolor.sip"
#include <qcolor.h>
#line 24349 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 24352 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 127 "/usr/share/python3-sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 24355 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 24358 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qabstractitemdelegate.sip"
#include <qabstractitemdelegate.h>
#line 24361 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 24364 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 24367 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 24370 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 355 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 24373 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 338 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 24376 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 274 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 24379 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 24382 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 37 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 24385 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 24388 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 24391 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 24394 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 24397 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"


class sipKFileItemDelegate : public KFileItemDelegate
{
public:
    sipKFileItemDelegate(QObject*);
    virtual ~sipKFileItemDelegate();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool event(QEvent*);
    bool eventFilter(QObject*,QEvent*);
    void updateEditorGeometry(QWidget*,const QStyleOptionViewItem&,const QModelIndex&) const;
    void setModelData(QWidget*,QAbstractItemModel*,const QModelIndex&) const;
    void setEditorData(QWidget*,const QModelIndex&) const;
    bool editorEvent(QEvent*,QAbstractItemModel*,const QStyleOptionViewItem&,const QModelIndex&);
    QWidget* createEditor(QWidget*,const QStyleOptionViewItem&,const QModelIndex&) const;
    void paint(QPainter*,const QStyleOptionViewItem&,const QModelIndex&) const;
    QSize sizeHint(const QStyleOptionViewItem&,const QModelIndex&) const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKFileItemDelegate(const sipKFileItemDelegate &);
    sipKFileItemDelegate &operator = (const sipKFileItemDelegate &);

    char sipPyMethods[14];
};

sipKFileItemDelegate::sipKFileItemDelegate(QObject*a0): KFileItemDelegate(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKFileItemDelegate::~sipKFileItemDelegate()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKFileItemDelegate::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KFileItemDelegate);
}

int sipKFileItemDelegate::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KFileItemDelegate::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kio_qt_metacall(sipPySelf,sipType_KFileItemDelegate,_c,_id,_a);

    return _id;
}

void *sipKFileItemDelegate::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast(sipPySelf, sipType_KFileItemDelegate, _clname)) ? this : KFileItemDelegate::qt_metacast(_clname);
}

void sipKFileItemDelegate::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KFileItemDelegate::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileItemDelegate::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KFileItemDelegate::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileItemDelegate::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KFileItemDelegate::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kio_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileItemDelegate::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KFileItemDelegate::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kio_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileItemDelegate::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KFileItemDelegate::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kio_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKFileItemDelegate::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KFileItemDelegate::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKFileItemDelegate::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KFileItemDelegate::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKFileItemDelegate::updateEditorGeometry(QWidget*a0,const QStyleOptionViewItem& a1,const QModelIndex& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_updateEditorGeometry);

    if (!sipMeth)
    {
        KFileItemDelegate::updateEditorGeometry(a0,a1,a2);
        return;
    }

    typedef void (*sipVH_QtGui_76)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*,const QStyleOptionViewItem&,const QModelIndex&);

    ((sipVH_QtGui_76)(sipModuleAPI_kio_QtGui->em_virthandlers[76]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipKFileItemDelegate::setModelData(QWidget*a0,QAbstractItemModel*a1,const QModelIndex& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_setModelData);

    if (!sipMeth)
    {
        KFileItemDelegate::setModelData(a0,a1,a2);
        return;
    }

    typedef void (*sipVH_QtGui_77)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*,QAbstractItemModel*,const QModelIndex&);

    ((sipVH_QtGui_77)(sipModuleAPI_kio_QtGui->em_virthandlers[77]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipKFileItemDelegate::setEditorData(QWidget*a0,const QModelIndex& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_setEditorData);

    if (!sipMeth)
    {
        KFileItemDelegate::setEditorData(a0,a1);
        return;
    }

    typedef void (*sipVH_QtGui_78)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*,const QModelIndex&);

    ((sipVH_QtGui_78)(sipModuleAPI_kio_QtGui->em_virthandlers[78]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKFileItemDelegate::editorEvent(QEvent*a0,QAbstractItemModel*a1,const QStyleOptionViewItem& a2,const QModelIndex& a3)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_editorEvent);

    if (!sipMeth)
        return KFileItemDelegate::editorEvent(a0,a1,a2,a3);

    typedef bool (*sipVH_QtGui_73)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*,QAbstractItemModel*,const QStyleOptionViewItem&,const QModelIndex&);

    return ((sipVH_QtGui_73)(sipModuleAPI_kio_QtGui->em_virthandlers[73]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}

QWidget* sipKFileItemDelegate::createEditor(QWidget*a0,const QStyleOptionViewItem& a1,const QModelIndex& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_createEditor);

    if (!sipMeth)
        return KFileItemDelegate::createEditor(a0,a1,a2);

    extern QWidget* sipVH_kio_49(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*,const QStyleOptionViewItem&,const QModelIndex&);

    return sipVH_kio_49(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipKFileItemDelegate::paint(QPainter*a0,const QStyleOptionViewItem& a1,const QModelIndex& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_paint);

    if (!sipMeth)
    {
        KFileItemDelegate::paint(a0,a1,a2);
        return;
    }

    typedef void (*sipVH_QtGui_48)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QStyleOptionViewItem&,const QModelIndex&);

    ((sipVH_QtGui_48)(sipModuleAPI_kio_QtGui->em_virthandlers[48]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

QSize sipKFileItemDelegate::sizeHint(const QStyleOptionViewItem& a0,const QModelIndex& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return KFileItemDelegate::sizeHint(a0,a1);

    typedef QSize (*sipVH_QtGui_80)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QStyleOptionViewItem&,const QModelIndex&);

    return ((sipVH_QtGui_80)(sipModuleAPI_kio_QtGui->em_virthandlers[80]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}


extern "C" {static PyObject *meth_KFileItemDelegate_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_KFileItemDelegate_sizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QStyleOptionViewItem* a0;
        const QModelIndex* a1;
        const KFileItemDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J9", &sipSelf, sipType_KFileItemDelegate, &sipCpp, sipType_QStyleOptionViewItem, &a0, sipType_QModelIndex, &a1))
        {
            QSize*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSize((sipSelfWasArg ? sipCpp->KFileItemDelegate::sizeHint(*a0,*a1) : sipCpp->sizeHint(*a0,*a1)));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileItemDelegate, sipName_sizeHint, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemDelegate_paint(PyObject *, PyObject *);}
static PyObject *meth_KFileItemDelegate_paint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const QStyleOptionViewItem* a1;
        const QModelIndex* a2;
        const KFileItemDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J9J9", &sipSelf, sipType_KFileItemDelegate, &sipCpp, sipType_QPainter, &a0, sipType_QStyleOptionViewItem, &a1, sipType_QModelIndex, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KFileItemDelegate::paint(a0,*a1,*a2) : sipCpp->paint(a0,*a1,*a2));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileItemDelegate, sipName_paint, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemDelegate_createEditor(PyObject *, PyObject *);}
static PyObject *meth_KFileItemDelegate_createEditor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWidget* a0;
        const QStyleOptionViewItem* a1;
        const QModelIndex* a2;
        const KFileItemDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:J9J9", &sipSelf, sipType_KFileItemDelegate, &sipCpp, sipType_QWidget, &a0, sipType_QStyleOptionViewItem, &a1, sipType_QModelIndex, &a2))
        {
            QWidget*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KFileItemDelegate::createEditor(a0,*a1,*a2) : sipCpp->createEditor(a0,*a1,*a2));
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileItemDelegate, sipName_createEditor, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemDelegate_editorEvent(PyObject *, PyObject *);}
static PyObject *meth_KFileItemDelegate_editorEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        QAbstractItemModel* a1;
        const QStyleOptionViewItem* a2;
        const QModelIndex* a3;
        KFileItemDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J8J9J9", &sipSelf, sipType_KFileItemDelegate, &sipCpp, sipType_QEvent, &a0, sipType_QAbstractItemModel, &a1, sipType_QStyleOptionViewItem, &a2, sipType_QModelIndex, &a3))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KFileItemDelegate::editorEvent(a0,a1,*a2,*a3) : sipCpp->editorEvent(a0,a1,*a2,*a3));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileItemDelegate, sipName_editorEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemDelegate_setEditorData(PyObject *, PyObject *);}
static PyObject *meth_KFileItemDelegate_setEditorData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWidget* a0;
        const QModelIndex* a1;
        const KFileItemDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J9", &sipSelf, sipType_KFileItemDelegate, &sipCpp, sipType_QWidget, &a0, sipType_QModelIndex, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KFileItemDelegate::setEditorData(a0,*a1) : sipCpp->setEditorData(a0,*a1));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileItemDelegate, sipName_setEditorData, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemDelegate_setModelData(PyObject *, PyObject *);}
static PyObject *meth_KFileItemDelegate_setModelData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWidget* a0;
        QAbstractItemModel* a1;
        const QModelIndex* a2;
        const KFileItemDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J8J9", &sipSelf, sipType_KFileItemDelegate, &sipCpp, sipType_QWidget, &a0, sipType_QAbstractItemModel, &a1, sipType_QModelIndex, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KFileItemDelegate::setModelData(a0,a1,*a2) : sipCpp->setModelData(a0,a1,*a2));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileItemDelegate, sipName_setModelData, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemDelegate_updateEditorGeometry(PyObject *, PyObject *);}
static PyObject *meth_KFileItemDelegate_updateEditorGeometry(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWidget* a0;
        const QStyleOptionViewItem* a1;
        const QModelIndex* a2;
        const KFileItemDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J9J9", &sipSelf, sipType_KFileItemDelegate, &sipCpp, sipType_QWidget, &a0, sipType_QStyleOptionViewItem, &a1, sipType_QModelIndex, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KFileItemDelegate::updateEditorGeometry(a0,*a1,*a2) : sipCpp->updateEditorGeometry(a0,*a1,*a2));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileItemDelegate, sipName_updateEditorGeometry, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemDelegate_setShowInformation(PyObject *, PyObject *);}
static PyObject *meth_KFileItemDelegate_setShowInformation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KFileItemDelegate::Information a0;
        KFileItemDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KFileItemDelegate, &sipCpp, sipType_KFileItemDelegate_Information, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setShowInformation(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileItemDelegate, sipName_setShowInformation, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemDelegate_setShadowColor(PyObject *, PyObject *);}
static PyObject *meth_KFileItemDelegate_setShadowColor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QColor* a0;
        int a0State = 0;
        KFileItemDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KFileItemDelegate, &sipCpp, sipType_QColor, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setShadowColor(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QColor *>(a0),sipType_QColor,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileItemDelegate, sipName_setShadowColor, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemDelegate_shadowColor(PyObject *, PyObject *);}
static PyObject *meth_KFileItemDelegate_shadowColor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFileItemDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileItemDelegate, &sipCpp))
        {
            QColor*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QColor(sipCpp->shadowColor());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QColor,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileItemDelegate, sipName_shadowColor, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemDelegate_setShadowOffset(PyObject *, PyObject *);}
static PyObject *meth_KFileItemDelegate_setShadowOffset(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPointF* a0;
        int a0State = 0;
        KFileItemDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KFileItemDelegate, &sipCpp, sipType_QPointF, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setShadowOffset(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QPointF *>(a0),sipType_QPointF,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileItemDelegate, sipName_setShadowOffset, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemDelegate_shadowOffset(PyObject *, PyObject *);}
static PyObject *meth_KFileItemDelegate_shadowOffset(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFileItemDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileItemDelegate, &sipCpp))
        {
            QPointF*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPointF(sipCpp->shadowOffset());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QPointF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileItemDelegate, sipName_shadowOffset, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemDelegate_setShadowBlur(PyObject *, PyObject *);}
static PyObject *meth_KFileItemDelegate_setShadowBlur(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        qreal a0;
        KFileItemDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_KFileItemDelegate, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setShadowBlur(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileItemDelegate, sipName_setShadowBlur, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemDelegate_shadowBlur(PyObject *, PyObject *);}
static PyObject *meth_KFileItemDelegate_shadowBlur(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFileItemDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileItemDelegate, &sipCpp))
        {
            qreal sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->shadowBlur();
            Py_END_ALLOW_THREADS

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileItemDelegate, sipName_shadowBlur, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemDelegate_setMaximumSize(PyObject *, PyObject *);}
static PyObject *meth_KFileItemDelegate_setMaximumSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QSize* a0;
        KFileItemDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KFileItemDelegate, &sipCpp, sipType_QSize, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMaximumSize(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileItemDelegate, sipName_setMaximumSize, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemDelegate_maximumSize(PyObject *, PyObject *);}
static PyObject *meth_KFileItemDelegate_maximumSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFileItemDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileItemDelegate, &sipCpp))
        {
            QSize*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSize(sipCpp->maximumSize());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileItemDelegate, sipName_maximumSize, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemDelegate_setShowToolTipWhenElided(PyObject *, PyObject *);}
static PyObject *meth_KFileItemDelegate_setShowToolTipWhenElided(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KFileItemDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KFileItemDelegate, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setShowToolTipWhenElided(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileItemDelegate, sipName_setShowToolTipWhenElided, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemDelegate_showToolTipWhenElided(PyObject *, PyObject *);}
static PyObject *meth_KFileItemDelegate_showToolTipWhenElided(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFileItemDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileItemDelegate, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->showToolTipWhenElided();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileItemDelegate, sipName_showToolTipWhenElided, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemDelegate_eventFilter(PyObject *, PyObject *);}
static PyObject *meth_KFileItemDelegate_eventFilter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QObject* a0;
        QEvent* a1;
        KFileItemDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J8", &sipSelf, sipType_KFileItemDelegate, &sipCpp, sipType_QObject, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KFileItemDelegate::eventFilter(a0,a1) : sipCpp->eventFilter(a0,a1));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileItemDelegate, sipName_eventFilter, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemDelegate_helpEvent(PyObject *, PyObject *);}
static PyObject *meth_KFileItemDelegate_helpEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QHelpEvent* a0;
        QAbstractItemView* a1;
        const QStyleOptionViewItem* a2;
        const QModelIndex* a3;
        KFileItemDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J8J9J9", &sipSelf, sipType_KFileItemDelegate, &sipCpp, sipType_QHelpEvent, &a0, sipType_QAbstractItemView, &a1, sipType_QStyleOptionViewItem, &a2, sipType_QModelIndex, &a3))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->helpEvent(a0,a1,*a2,*a3);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileItemDelegate, sipName_helpEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemDelegate_shape(PyObject *, PyObject *);}
static PyObject *meth_KFileItemDelegate_shape(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QStyleOptionViewItem* a0;
        const QModelIndex* a1;
        KFileItemDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J9", &sipSelf, sipType_KFileItemDelegate, &sipCpp, sipType_QStyleOptionViewItem, &a0, sipType_QModelIndex, &a1))
        {
            QRegion*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QRegion(sipCpp->shape(*a0,*a1));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QRegion,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileItemDelegate, sipName_shape, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemDelegate_iconRect(PyObject *, PyObject *);}
static PyObject *meth_KFileItemDelegate_iconRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QStyleOptionViewItem* a0;
        const QModelIndex* a1;
        const KFileItemDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J9", &sipSelf, sipType_KFileItemDelegate, &sipCpp, sipType_QStyleOptionViewItem, &a0, sipType_QModelIndex, &a1))
        {
            QRect*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QRect(sipCpp->iconRect(*a0,*a1));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileItemDelegate, sipName_iconRect, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemDelegate_setWrapMode(PyObject *, PyObject *);}
static PyObject *meth_KFileItemDelegate_setWrapMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QTextOption::WrapMode a0;
        KFileItemDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KFileItemDelegate, &sipCpp, sipType_QTextOption_WrapMode, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setWrapMode(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileItemDelegate, sipName_setWrapMode, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemDelegate_wrapMode(PyObject *, PyObject *);}
static PyObject *meth_KFileItemDelegate_wrapMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFileItemDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileItemDelegate, &sipCpp))
        {
            QTextOption::WrapMode sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->wrapMode();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_QTextOption_WrapMode);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileItemDelegate, sipName_wrapMode, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemDelegate_setJobTransfersVisible(PyObject *, PyObject *);}
static PyObject *meth_KFileItemDelegate_setJobTransfersVisible(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KFileItemDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KFileItemDelegate, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setJobTransfersVisible(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileItemDelegate, sipName_setJobTransfersVisible, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemDelegate_jobTransfersVisible(PyObject *, PyObject *);}
static PyObject *meth_KFileItemDelegate_jobTransfersVisible(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFileItemDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileItemDelegate, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->jobTransfersVisible();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileItemDelegate, sipName_jobTransfersVisible, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KFileItemDelegate(void *, const sipTypeDef *);}
static void *cast_KFileItemDelegate(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KFileItemDelegate)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QAbstractItemDelegate)->ctd_cast((QAbstractItemDelegate *)(KFileItemDelegate *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KFileItemDelegate(void *, int);}
static void release_KFileItemDelegate(void *sipCppV,int)
{
    KFileItemDelegate *sipCpp = reinterpret_cast<KFileItemDelegate *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KFileItemDelegate(sipSimpleWrapper *);}
static void dealloc_KFileItemDelegate(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKFileItemDelegate *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KFileItemDelegate(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KFileItemDelegate(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KFileItemDelegate(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKFileItemDelegate *sipCpp = 0;

    {
        QObject* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKFileItemDelegate(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KFileItemDelegate[] = {{3, 2, 1}};


static PyMethodDef methods_KFileItemDelegate[] = {
    {SIP_MLNAME_CAST(sipName_createEditor), meth_KFileItemDelegate_createEditor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_editorEvent), meth_KFileItemDelegate_editorEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_eventFilter), meth_KFileItemDelegate_eventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_helpEvent), meth_KFileItemDelegate_helpEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_iconRect), meth_KFileItemDelegate_iconRect, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_jobTransfersVisible), meth_KFileItemDelegate_jobTransfersVisible, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_maximumSize), meth_KFileItemDelegate_maximumSize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paint), meth_KFileItemDelegate_paint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setEditorData), meth_KFileItemDelegate_setEditorData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setJobTransfersVisible), meth_KFileItemDelegate_setJobTransfersVisible, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMaximumSize), meth_KFileItemDelegate_setMaximumSize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setModelData), meth_KFileItemDelegate_setModelData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setShadowBlur), meth_KFileItemDelegate_setShadowBlur, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setShadowColor), meth_KFileItemDelegate_setShadowColor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setShadowOffset), meth_KFileItemDelegate_setShadowOffset, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setShowInformation), meth_KFileItemDelegate_setShowInformation, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setShowToolTipWhenElided), meth_KFileItemDelegate_setShowToolTipWhenElided, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setWrapMode), meth_KFileItemDelegate_setWrapMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_shadowBlur), meth_KFileItemDelegate_shadowBlur, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_shadowColor), meth_KFileItemDelegate_shadowColor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_shadowOffset), meth_KFileItemDelegate_shadowOffset, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_shape), meth_KFileItemDelegate_shape, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showToolTipWhenElided), meth_KFileItemDelegate_showToolTipWhenElided, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_KFileItemDelegate_sizeHint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateEditorGeometry), meth_KFileItemDelegate_updateEditorGeometry, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_wrapMode), meth_KFileItemDelegate_wrapMode, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KFileItemDelegate[] = {
    {sipName_AccessTime, static_cast<int>(KFileItemDelegate::AccessTime), 80},
    {sipName_Comment, static_cast<int>(KFileItemDelegate::Comment), 80},
    {sipName_CreationTime, static_cast<int>(KFileItemDelegate::CreationTime), 80},
    {sipName_FriendlyMimeType, static_cast<int>(KFileItemDelegate::FriendlyMimeType), 80},
    {sipName_LinkDest, static_cast<int>(KFileItemDelegate::LinkDest), 80},
    {sipName_LocalPathOrUrl, static_cast<int>(KFileItemDelegate::LocalPathOrUrl), 80},
    {sipName_MimeType, static_cast<int>(KFileItemDelegate::MimeType), 80},
    {sipName_ModificationTime, static_cast<int>(KFileItemDelegate::ModificationTime), 80},
    {sipName_NoInformation, static_cast<int>(KFileItemDelegate::NoInformation), 80},
    {sipName_OctalPermissions, static_cast<int>(KFileItemDelegate::OctalPermissions), 80},
    {sipName_Owner, static_cast<int>(KFileItemDelegate::Owner), 80},
    {sipName_OwnerAndGroup, static_cast<int>(KFileItemDelegate::OwnerAndGroup), 80},
    {sipName_Permissions, static_cast<int>(KFileItemDelegate::Permissions), 80},
    {sipName_Size, static_cast<int>(KFileItemDelegate::Size), 80},
};


pyqt4ClassTypeDef sipTypeDef_kio_KFileItemDelegate = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KFileItemDelegate,
        {0}
    },
    {
        sipNameNr_KFileItemDelegate,
        {0, 0, 1},
        26, methods_KFileItemDelegate,
        14, enummembers_KFileItemDelegate,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KFileItemDelegate,
    0,
    init_type_KFileItemDelegate,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KFileItemDelegate,
    0,
    0,
    0,
    release_KFileItemDelegate,
    cast_KFileItemDelegate,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KFileItemDelegate::staticMetaObject,
    0,
    0
};

#line 25 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kfileitemactions.sip"
#include <kfileitemactions.h>
#line 25624 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"

#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 25628 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 134 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kfileitem.sip"
#include <kfileitem.h>
#line 25631 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 25634 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qmenu.sip"
#include <qmenu.h>
#line 25637 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 114 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kdecore/kservice.sip"
#include <qlist.h>
#line 25640 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 340 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 25643 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kdecore/kservice.sip"
#include <kservice.h>
#line 25646 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 25649 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kdeui/kaction.sip"
#include <kaction.h>
#line 25652 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 25655 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 25 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kfileitemlistproperties.sip"
#include <kfileitemlistproperties.h>
#line 25658 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 25661 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 355 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 25664 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 338 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 25667 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 274 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 25670 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 25673 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 37 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 25676 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 25679 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 25682 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 25685 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 25688 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 25691 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"


class sipKFileItemActions : public KFileItemActions
{
public:
    sipKFileItemActions(QObject*);
    virtual ~sipKFileItemActions();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKFileItemActions(const sipKFileItemActions &);
    sipKFileItemActions &operator = (const sipKFileItemActions &);

    char sipPyMethods[7];
};

sipKFileItemActions::sipKFileItemActions(QObject*a0): KFileItemActions(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKFileItemActions::~sipKFileItemActions()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKFileItemActions::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KFileItemActions);
}

int sipKFileItemActions::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KFileItemActions::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kio_qt_metacall(sipPySelf,sipType_KFileItemActions,_c,_id,_a);

    return _id;
}

void *sipKFileItemActions::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast(sipPySelf, sipType_KFileItemActions, _clname)) ? this : KFileItemActions::qt_metacast(_clname);
}

void sipKFileItemActions::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KFileItemActions::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileItemActions::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KFileItemActions::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileItemActions::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KFileItemActions::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kio_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileItemActions::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KFileItemActions::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kio_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileItemActions::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KFileItemActions::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kio_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKFileItemActions::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KFileItemActions::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKFileItemActions::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KFileItemActions::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_KFileItemActions_setItemListProperties(PyObject *, PyObject *);}
static PyObject *meth_KFileItemActions_setItemListProperties(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFileItemListProperties* a0;
        KFileItemActions *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KFileItemActions, &sipCpp, sipType_KFileItemListProperties, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setItemListProperties(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileItemActions, sipName_setItemListProperties, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemActions_setParentWidget(PyObject *, PyObject *);}
static PyObject *meth_KFileItemActions_setParentWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        KFileItemActions *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KFileItemActions, &sipCpp, sipType_QWidget, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setParentWidget(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileItemActions, sipName_setParentWidget, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemActions_preferredOpenWithAction(PyObject *, PyObject *);}
static PyObject *meth_KFileItemActions_preferredOpenWithAction(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KFileItemActions *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KFileItemActions, &sipCpp, sipType_QString,&a0, &a0State))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->preferredOpenWithAction(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileItemActions, sipName_preferredOpenWithAction, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemActions_addServiceActionsTo(PyObject *, PyObject *);}
static PyObject *meth_KFileItemActions_addServiceActionsTo(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QMenu* a0;
        KFileItemActions *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KFileItemActions, &sipCpp, sipType_QMenu, &a0))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->addServiceActionsTo(a0);
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileItemActions, sipName_addServiceActionsTo, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemActions_associatedApplications(PyObject *, PyObject *);}
static PyObject *meth_KFileItemActions_associatedApplications(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QStringList* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1J1", sipType_QStringList,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            KService::List*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KService::List(KFileItemActions::associatedApplications(*a0,*a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QStringList *>(a0),sipType_QStringList,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return sipConvertFromNewType(sipRes,sipType_QList_0100KService_Ptr,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileItemActions, sipName_associatedApplications, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemActions_addOpenWithActionsTo(PyObject *, PyObject *);}
static PyObject *meth_KFileItemActions_addOpenWithActionsTo(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QMenu* a0;
        const QString& a1def = QString();
        const QString* a1 = &a1def;
        int a1State = 0;
        KFileItemActions *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8|J1", &sipSelf, sipType_KFileItemActions, &sipCpp, sipType_QMenu, &a0, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addOpenWithActionsTo(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileItemActions, sipName_addOpenWithActionsTo, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemActions_runPreferredApplications(PyObject *, PyObject *);}
static PyObject *meth_KFileItemActions_runPreferredApplications(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFileItemList* a0;
        const QString* a1;
        int a1State = 0;
        KFileItemActions *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J1", &sipSelf, sipType_KFileItemActions, &sipCpp, sipType_KFileItemList, &a0, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->runPreferredApplications(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileItemActions, sipName_runPreferredApplications, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KFileItemActions(void *, const sipTypeDef *);}
static void *cast_KFileItemActions(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KFileItemActions)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(KFileItemActions *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KFileItemActions(void *, int);}
static void release_KFileItemActions(void *sipCppV,int)
{
    KFileItemActions *sipCpp = reinterpret_cast<KFileItemActions *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KFileItemActions(sipSimpleWrapper *);}
static void dealloc_KFileItemActions(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKFileItemActions *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KFileItemActions(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KFileItemActions(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KFileItemActions(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKFileItemActions *sipCpp = 0;

    {
        QObject* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKFileItemActions(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KFileItemActions[] = {{141, 0, 1}};


static PyMethodDef methods_KFileItemActions[] = {
    {SIP_MLNAME_CAST(sipName_addOpenWithActionsTo), meth_KFileItemActions_addOpenWithActionsTo, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addServiceActionsTo), meth_KFileItemActions_addServiceActionsTo, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_associatedApplications), meth_KFileItemActions_associatedApplications, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_preferredOpenWithAction), meth_KFileItemActions_preferredOpenWithAction, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_runPreferredApplications), meth_KFileItemActions_runPreferredApplications, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setItemListProperties), meth_KFileItemActions_setItemListProperties, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setParentWidget), meth_KFileItemActions_setParentWidget, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KFileItemActions[] = {
    {"openWithDialogAboutToBeShown()", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kio_KFileItemActions = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KFileItemActions,
        {0}
    },
    {
        sipNameNr_KFileItemActions,
        {0, 0, 1},
        7, methods_KFileItemActions,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KFileItemActions,
    0,
    init_type_KFileItemActions,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KFileItemActions,
    0,
    0,
    0,
    release_KFileItemActions,
    cast_KFileItemActions,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KFileItemActions::staticMetaObject,
    0,
    signals_KFileItemActions,
};

#line 23 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kfileitemactionplugin.sip"
#include <kfileitemactionplugin.h>
#line 26230 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"

#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 26234 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 26237 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 26240 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 25 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kio/kfileitemlistproperties.sip"
#include <kfileitemlistproperties.h>
#line 26243 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 26246 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 26249 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 355 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 26252 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 338 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 26255 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 274 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 26258 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 26261 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 37 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 26264 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 26267 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 26270 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 26273 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 26276 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 26279 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 26282 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/kio/sipkiopart3.cpp"


class sipKFileItemActionPlugin : public KFileItemActionPlugin
{
public:
    sipKFileItemActionPlugin(QObject*);
    virtual ~sipKFileItemActionPlugin();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    QList<QAction*> actions(const KFileItemListProperties&,QWidget*) const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKFileItemActionPlugin(const sipKFileItemActionPlugin &);
    sipKFileItemActionPlugin &operator = (const sipKFileItemActionPlugin &);

    char sipPyMethods[8];
};

sipKFileItemActionPlugin::sipKFileItemActionPlugin(QObject*a0): KFileItemActionPlugin(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKFileItemActionPlugin::~sipKFileItemActionPlugin()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKFileItemActionPlugin::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KFileItemActionPlugin);
}

int sipKFileItemActionPlugin::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KFileItemActionPlugin::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kio_qt_metacall(sipPySelf,sipType_KFileItemActionPlugin,_c,_id,_a);

    return _id;
}

void *sipKFileItemActionPlugin::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast(sipPySelf, sipType_KFileItemActionPlugin, _clname)) ? this : KFileItemActionPlugin::qt_metacast(_clname);
}

void sipKFileItemActionPlugin::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KFileItemActionPlugin::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileItemActionPlugin::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KFileItemActionPlugin::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileItemActionPlugin::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KFileItemActionPlugin::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kio_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileItemActionPlugin::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KFileItemActionPlugin::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kio_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileItemActionPlugin::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KFileItemActionPlugin::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kio_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKFileItemActionPlugin::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KFileItemActionPlugin::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKFileItemActionPlugin::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KFileItemActionPlugin::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QList<QAction*> sipKFileItemActionPlugin::actions(const KFileItemListProperties& a0,QWidget*a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,sipName_KFileItemActionPlugin,sipName_actions);

    if (!sipMeth)
        return QList<QAction*>();

    extern QList<QAction*> sipVH_kio_50(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const KFileItemListProperties&,QWidget*);

    return sipVH_kio_50(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}


extern "C" {static PyObject *meth_KFileItemActionPlugin_actions(PyObject *, PyObject *);}
static PyObject *meth_KFileItemActionPlugin_actions(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        const KFileItemListProperties* a0;
        QWidget* a1;
        const KFileItemActionPlugin *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J8", &sipSelf, sipType_KFileItemActionPlugin, &sipCpp, sipType_KFileItemListProperties, &a0, sipType_QWidget, &a1))
        {
            QList<QAction*>*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KFileItemActionPlugin, sipName_actions);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<QAction*>(sipCpp->actions(*a0,a1));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QList_0101QAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileItemActionPlugin, sipName_actions, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KFileItemActionPlugin(void *, const sipTypeDef *);}
static void *cast_KFileItemActionPlugin(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KFileItemActionPlugin)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(KFileItemActionPlugin *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KFileItemActionPlugin(void *, int);}
static void release_KFileItemActionPlugin(void *sipCppV,int)
{
    KFileItemActionPlugin *sipCpp = reinterpret_cast<KFileItemActionPlugin *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KFileItemActionPlugin(sipSimpleWrapper *);}
static void dealloc_KFileItemActionPlugin(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKFileItemActionPlugin *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KFileItemActionPlugin(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KFileItemActionPlugin(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KFileItemActionPlugin(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKFileItemActionPlugin *sipCpp = 0;

    {
        QObject* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "JH", sipType_QObject, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKFileItemActionPlugin(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KFileItemActionPlugin[] = {{141, 0, 1}};


static PyMethodDef methods_KFileItemActionPlugin[] = {
    {SIP_MLNAME_CAST(sipName_actions), meth_KFileItemActionPlugin_actions, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kio_KFileItemActionPlugin = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KFileItemActionPlugin,
        {0}
    },
    {
        sipNameNr_KFileItemActionPlugin,
        {0, 0, 1},
        1, methods_KFileItemActionPlugin,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KFileItemActionPlugin,
    0,
    init_type_KFileItemActionPlugin,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KFileItemActionPlugin,
    0,
    0,
    0,
    release_KFileItemActionPlugin,
    cast_KFileItemActionPlugin,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KFileItemActionPlugin::staticMetaObject,
    0,
    0
};
