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

#include "sipAPIkio.h"


#line 188 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/global.sip"
#include<qmap.h>
#line 13 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 29 "/usr/share/sip/PyQt4/QtNetwork/qsslconfiguration.sip"
#include <qsslconfiguration.h>
#line 16 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/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}
};


static pyqt4ClassPluginDef plugin_KIO_Integration = {
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_kio_KIO_Integration = {
    {
        -1,
        0,
        0,
        SIP_TYPE_NAMESPACE,
        sipNameNr_KIO__Integration,
        {0},
        &plugin_KIO_Integration
    },
    {
        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
};

#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/accessmanager.sip"
#include <kio/accessmanager.h>
#line 112 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"

#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 116 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 28 "/usr/share/sip/PyQt4/QtNetwork/qnetworkreply.sip"
#include <qnetworkreply.h>
#line 119 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 122 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 188 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/global.sip"
#include<qmap.h>
#line 125 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 28 "/usr/share/sip/PyQt4/QtNetwork/qnetworkaccessmanager.sip"
#include <qnetworkaccessmanager.h>
#line 128 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 28 "/usr/share/sip/PyQt4/QtNetwork/qnetworkrequest.sip"
#include <qnetworkrequest.h>
#line 131 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 134 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 28 "/usr/share/sip/PyQt4/QtNetwork/qnetworkconfiguration.sip"
#include <qnetworkconfiguration.h>
#line 137 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 140 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 179 "/usr/share/sip/PyQt4/QtNetwork/qabstractnetworkcache.sip"
#include <qabstractnetworkcache.h>
#line 143 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 181 "/usr/share/sip/PyQt4/QtNetwork/qnetworkproxy.sip"
#include <qnetworkproxy.h>
#line 146 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 149 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 29 "/usr/share/sip/PyQt4/QtNetwork/qsslerror.sip"
#include <qsslerror.h>
#line 152 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 28 "/usr/share/sip/PyQt4/QtNetwork/qauthenticator.sip"
#include <qauthenticator.h>
#line 155 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtNetwork/qnetworkproxy.sip"
#include <qnetworkproxy.h>
#line 158 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 52 "/usr/share/sip/PyQt4/QtNetwork/qhttpmultipart.sip"
#include <qhttpmultipart.h>
#line 161 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 28 "/usr/share/sip/PyQt4/QtNetwork/qnetworkcookiejar.sip"
#include <qnetworkcookiejar.h>
#line 164 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 167 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 170 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 173 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 176 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 179 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 182 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 185 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 188 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 191 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 194 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 197 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/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()
{
    sipInstanceDestroyed(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;
    }

    extern void sipVH_kio_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

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

    extern void sipVH_kio_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

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

    extern void sipVH_kio_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

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

    extern void sipVH_kio_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

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

    extern void sipVH_kio_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

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

    extern bool sipVH_kio_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

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

    extern bool sipVH_kio_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kio_8(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_192(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QNetworkAccessManager::Operation,const  ::QNetworkRequest&, ::QIODevice*);

    return sipVH_kio_192(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 || sipIsDerivedClass((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 inheritance hierarchy. */
extern "C" {static void *cast_KIO_AccessManager(void *, const sipTypeDef *);}
static void *cast_KIO_AccessManager(void *sipCppV, const sipTypeDef *targetType)
{
     ::KIO::AccessManager *sipCpp = reinterpret_cast< ::KIO::AccessManager *>(sipCppV);

    if (targetType == sipType_QNetworkAccessManager)
        return static_cast< ::QNetworkAccessManager *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


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

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KIO_AccessManager(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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


static pyqt4ClassPluginDef plugin_KIO_AccessManager = {
    & ::KIO::AccessManager::staticMetaObject,
    0,
    0
};


sipClassTypeDef sipTypeDef_kio_KIO_AccessManager = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KIO__AccessManager,
        {0},
        &plugin_KIO_AccessManager
    },
    {
        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
};


#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 853 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 856 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/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},
};


static pyqt4ClassPluginDef plugin_KImageIO = {
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_kio_KImageIO = {
    {
        -1,
        0,
        0,
        SIP_TYPE_NAMESPACE,
        sipNameNr_KImageIO,
        {0},
        &plugin_KImageIO
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kimagefilepreview.sip"
#include <kimagefilepreview.h>
#include <jobclasses.h>
#line 1072 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"

#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 1076 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 32 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/previewjob.sip"
#include <previewjob.h>
#line 1079 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 33 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 1082 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 561 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1085 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kfileitem.sip"
#include <kfileitem.h>
#line 1088 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 1091 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 1094 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 1097 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1100 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 1103 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1106 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1109 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 1112 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 1115 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 1118 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 1121 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 1124 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 1127 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 1130 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 1133 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 1136 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 1139 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 1142 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 1145 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 1148 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 1151 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1154 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 1157 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 1160 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1163 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1166 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1169 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1172 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 739 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1175 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 792 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1178 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 765 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1181 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 781 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1184 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 854 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1187 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 403 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1190 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 618 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1193 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1196 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 548 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1199 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 524 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1202 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1205 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1208 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 347 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1211 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 252 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1214 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 1217 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 52 "/usr/share/sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 1220 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 1223 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 1226 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 1229 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 1232 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 1235 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1238 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 1241 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 1244 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 1247 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 1250 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 1253 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1256 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1259 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 1262 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 1265 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 1268 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 1271 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 1274 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 1277 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/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:
     ::KIO::PreviewJob* createJob(const  ::KUrl&,int,int);
    void gotPreview(const  ::KFileItem&,const  ::QPixmap&);
    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*);
    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*);
    int heightForWidth(int) const;
     ::QSize minimumSizeHint() const;
     ::QSize sizeHint() const;
    void setVisible(bool);
    int devType() const;
     ::QPaintEngine* paintEngine() const;
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const char*);
    void disconnectNotify(const char*);
    void showPreview(const  ::KUrl&);
    void clearPreview();

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    extern void sipVH_kio_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kio_9(sipGILState, 0, sipPySelf, sipMeth);
}

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

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

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

    extern void sipVH_kio_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kio_47(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_73(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QFont&);

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

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

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

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

    extern void sipVH_kio_74(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPalette&);

    sipVH_kio_74(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kio_47(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern bool sipVH_kio_75(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_kio_75(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[8]),sipPySelf,NULL,sipName_inputMethodQuery);

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

    extern  ::QVariant sipVH_kio_76(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

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

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

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

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

    extern void sipVH_kio_77(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_kio_77(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kio_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_78(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_kio_78(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_79(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_kio_79(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_80(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_kio_80(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_81(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_kio_81(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_82(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_kio_82(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_83(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_kio_83(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_84(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_kio_84(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_85(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_kio_85(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_86(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_kio_86(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_87(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_kio_87(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_88(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_kio_88(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_89(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_kio_89(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_90(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_kio_90(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kio_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kio_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_91(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kio_91(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_91(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kio_91(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_92(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kio_92(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_92(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kio_92(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_93(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_kio_93(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_94(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kio_94(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_94(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kio_94(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_94(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kio_94(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_94(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kio_94(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKImageFilePreview::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  ::KImageFilePreview::heightForWidth(a0);

    extern int sipVH_kio_95(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

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

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

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

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

    extern  ::QSize sipVH_kio_96(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_96(sipGILState, 0, sipPySelf, sipMeth);
}

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

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

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

    extern  ::QSize sipVH_kio_96(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_96(sipGILState, 0, sipPySelf, sipMeth);
}

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

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

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

    extern void sipVH_kio_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kio_47(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern int sipVH_kio_97(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_97(sipGILState, 0, sipPySelf, sipMeth);
}

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

    extern  ::QPaintEngine* sipVH_kio_98(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_98(sipGILState, 0, sipPySelf, sipMeth);
}

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

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

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

    extern int sipVH_kio_99(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

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

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

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

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

    extern bool sipVH_kio_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

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

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

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

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

    extern bool sipVH_kio_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

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

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

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

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

    extern void sipVH_kio_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kio_6(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kio_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kio_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kio_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kio_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

    extern void sipVH_kio_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::KUrl&);

    sipVH_kio_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kio_9(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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 inheritance hierarchy. */
extern "C" {static void *cast_KImageFilePreview(void *, const sipTypeDef *);}
static void *cast_KImageFilePreview(void *sipCppV, const sipTypeDef *targetType)
{
     ::KImageFilePreview *sipCpp = reinterpret_cast< ::KImageFilePreview *>(sipCppV);

    if (targetType == sipType_KPreviewWidgetBase)
        return static_cast< ::KPreviewWidgetBase *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


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

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KImageFilePreview(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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


static pyqt4ClassPluginDef plugin_KImageFilePreview = {
    & ::KImageFilePreview::staticMetaObject,
    0,
    0
};


sipClassTypeDef sipTypeDef_kio_KImageFilePreview = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KImageFilePreview,
        {0},
        &plugin_KImageFilePreview
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kpreviewwidgetbase.sip"
#include <kpreviewwidgetbase.h>
#line 2622 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"

#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 2626 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 2629 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 33 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 2632 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2635 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 2638 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2641 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2644 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 2647 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 2650 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 2653 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 2656 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 2659 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 2662 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 2665 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 2668 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 2671 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 2674 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 2677 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 2680 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 2683 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 2686 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 2689 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2692 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 2695 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 2698 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2701 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2704 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2707 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2710 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 739 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2713 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 792 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2716 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 765 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2719 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 781 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2722 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 854 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2725 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 403 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2728 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 618 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2731 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2734 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 561 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2737 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 548 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2740 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 524 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2743 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2746 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2749 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 347 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2752 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 252 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2755 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 2758 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 52 "/usr/share/sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 2761 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 2764 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 2767 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 2770 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 2773 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 2776 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2779 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 2782 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 2785 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 2788 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 2791 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 2794 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2797 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2800 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 2803 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 2806 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 2809 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 2812 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 2815 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 2818 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/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 clearPreview();
    void showPreview(const  ::KUrl&);
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
     ::QPaintEngine* paintEngine() const;
    int devType() const;
    void setVisible(bool);
     ::QSize sizeHint() const;
     ::QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    void mousePressEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void wheelEvent( ::QWheelEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void enterEvent( ::QEvent*);
    void leaveEvent( ::QEvent*);
    void paintEvent( ::QPaintEvent*);
    void moveEvent( ::QMoveEvent*);
    void resizeEvent( ::QResizeEvent*);
    void closeEvent( ::QCloseEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void tabletEvent( ::QTabletEvent*);
    void actionEvent( ::QActionEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dropEvent( ::QDropEvent*);
    void showEvent( ::QShowEvent*);
    void hideEvent( ::QHideEvent*);
    void changeEvent( ::QEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    void enabledChange(bool);
    void paletteChange(const  ::QPalette&);
    void fontChange(const  ::QFont&);
    void windowActivationChange(bool);
    void languageChange();

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()
{
    sipInstanceDestroyed(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::clearPreview()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return;

    extern void sipVH_kio_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kio_9(sipGILState, 0, sipPySelf, sipMeth);
}

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

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

    if (!sipMeth)
        return;

    extern void sipVH_kio_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::KUrl&);

    sipVH_kio_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kio_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kio_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kio_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kio_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kio_6(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern bool sipVH_kio_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

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

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

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

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

    extern bool sipVH_kio_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kio_8(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[9]),sipPySelf,NULL,sipName_metric);

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

    extern int sipVH_kio_99(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

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

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

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

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

    extern  ::QPaintEngine* sipVH_kio_98(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_98(sipGILState, 0, sipPySelf, sipMeth);
}

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

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

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

    extern int sipVH_kio_97(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_97(sipGILState, 0, sipPySelf, sipMeth);
}

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

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

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

    extern void sipVH_kio_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kio_47(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern  ::QSize sipVH_kio_96(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_96(sipGILState, 0, sipPySelf, sipMeth);
}

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

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

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

    extern  ::QSize sipVH_kio_96(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_96(sipGILState, 0, sipPySelf, sipMeth);
}

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

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

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

    extern int sipVH_kio_95(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

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

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

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

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

    extern void sipVH_kio_94(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kio_94(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_94(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kio_94(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_94(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kio_94(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_94(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kio_94(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_93(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_kio_93(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_92(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kio_92(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_92(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kio_92(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_91(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kio_91(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_91(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kio_91(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kio_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kio_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_90(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_kio_90(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_89(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_kio_89(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_88(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_kio_88(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_87(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_kio_87(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_86(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_kio_86(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_85(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_kio_85(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_84(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_kio_84(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_83(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_kio_83(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_82(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_kio_82(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_81(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_kio_81(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_80(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_kio_80(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_79(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_kio_79(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_78(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_kio_78(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kio_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_77(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_kio_77(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[42]),sipPySelf,NULL,sipName_inputMethodQuery);

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

    extern  ::QVariant sipVH_kio_76(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

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

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

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

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

    extern bool sipVH_kio_75(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

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

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

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

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

    extern void sipVH_kio_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kio_47(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_74(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPalette&);

    sipVH_kio_74(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_73(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QFont&);

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

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

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

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

    extern void sipVH_kio_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kio_47(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kio_9(sipGILState, 0, sipPySelf, sipMeth);
}


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 inheritance hierarchy. */
extern "C" {static void *cast_KPreviewWidgetBase(void *, const sipTypeDef *);}
static void *cast_KPreviewWidgetBase(void *sipCppV, const sipTypeDef *targetType)
{
     ::KPreviewWidgetBase *sipCpp = reinterpret_cast< ::KPreviewWidgetBase *>(sipCppV);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


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

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KPreviewWidgetBase(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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


static pyqt4ClassPluginDef plugin_KPreviewWidgetBase = {
    & ::KPreviewWidgetBase::staticMetaObject,
    0,
    0
};


sipClassTypeDef sipTypeDef_kio_KPreviewWidgetBase = {
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KPreviewWidgetBase,
        {0},
        &plugin_KPreviewWidgetBase
    },
    {
        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
};

#line 91 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kicondialog.sip"
#include <kicondialog.h>
#line 4039 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"

#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 4043 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kiconloader.sip"
#include <kiconloader.h>
#line 4046 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 4049 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 4052 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4055 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4058 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 524 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4061 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4064 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 696 "/usr/share/sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 4067 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qmenu.sip"
#include <qmenu.h>
#line 4070 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 4073 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4076 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 252 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4079 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 4082 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbuttongroup.sip"
#include <qbuttongroup.h>
#line 4085 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 4088 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 4091 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 4094 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 4097 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 4100 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 4103 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 4106 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 4109 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 4112 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 4115 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 4118 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 4121 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 4124 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 4127 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 4130 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 4133 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 4136 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 4139 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 4142 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 4145 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4148 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4151 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4154 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 739 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4157 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 792 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4160 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 765 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4163 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 781 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4166 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 854 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4169 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 403 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4172 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 618 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4175 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4178 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 561 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4181 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 548 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4184 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 347 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4187 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 4190 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 52 "/usr/share/sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 4193 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 4196 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 4199 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 4202 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 4205 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 4208 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 4211 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 4214 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 4217 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 4220 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4223 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 4226 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 4229 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 4232 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 4235 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 4238 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 4241 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/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 nextCheckState();
    void checkStateSet();
    bool hitButton(const  ::QPoint&) const;
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
     ::QPaintEngine* paintEngine() const;
    int devType() const;
    void setVisible(bool);
     ::QSize sizeHint() const;
     ::QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    void mousePressEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void wheelEvent( ::QWheelEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void enterEvent( ::QEvent*);
    void leaveEvent( ::QEvent*);
    void paintEvent( ::QPaintEvent*);
    void moveEvent( ::QMoveEvent*);
    void resizeEvent( ::QResizeEvent*);
    void closeEvent( ::QCloseEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void tabletEvent( ::QTabletEvent*);
    void actionEvent( ::QActionEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dropEvent( ::QDropEvent*);
    void showEvent( ::QShowEvent*);
    void hideEvent( ::QHideEvent*);
    void changeEvent( ::QEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    void enabledChange(bool);
    void paletteChange(const  ::QPalette&);
    void fontChange(const  ::QFont&);
    void windowActivationChange(bool);
    void languageChange();

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()
{
    sipInstanceDestroyed(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::nextCheckState()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    extern void sipVH_kio_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kio_9(sipGILState, 0, sipPySelf, sipMeth);
}

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

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

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

    extern void sipVH_kio_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kio_9(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipKIconButton::hitButton(const  ::QPoint& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    extern bool sipVH_kio_189(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPoint&);

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

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

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

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

    extern void sipVH_kio_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kio_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kio_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kio_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kio_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kio_6(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern bool sipVH_kio_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

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

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

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

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

    extern bool sipVH_kio_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kio_8(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[10]),sipPySelf,NULL,sipName_metric);

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

    extern int sipVH_kio_99(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

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

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

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

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

    extern  ::QPaintEngine* sipVH_kio_98(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_98(sipGILState, 0, sipPySelf, sipMeth);
}

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

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

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

    extern int sipVH_kio_97(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_97(sipGILState, 0, sipPySelf, sipMeth);
}

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

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

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

    extern void sipVH_kio_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kio_47(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern  ::QSize sipVH_kio_96(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_96(sipGILState, 0, sipPySelf, sipMeth);
}

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

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

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

    extern  ::QSize sipVH_kio_96(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_96(sipGILState, 0, sipPySelf, sipMeth);
}

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

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

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

    extern int sipVH_kio_95(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

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

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

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

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

    extern void sipVH_kio_94(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kio_94(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_94(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kio_94(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_94(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kio_94(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_94(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kio_94(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_93(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_kio_93(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_92(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kio_92(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_92(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kio_92(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_91(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kio_91(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_91(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kio_91(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kio_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kio_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_90(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_kio_90(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_89(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_kio_89(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_88(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_kio_88(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_87(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_kio_87(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_86(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_kio_86(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_85(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_kio_85(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_84(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_kio_84(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_83(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_kio_83(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_82(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_kio_82(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_81(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_kio_81(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_80(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_kio_80(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_79(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_kio_79(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_78(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_kio_78(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kio_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_77(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_kio_77(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[43]),sipPySelf,NULL,sipName_inputMethodQuery);

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

    extern  ::QVariant sipVH_kio_76(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

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

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

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

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

    extern bool sipVH_kio_75(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

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

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

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

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

    extern void sipVH_kio_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kio_47(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_74(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPalette&);

    sipVH_kio_74(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_73(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QFont&);

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

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

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

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

    extern void sipVH_kio_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kio_47(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kio_9(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 inheritance hierarchy. */
extern "C" {static void *cast_KIconButton(void *, const sipTypeDef *);}
static void *cast_KIconButton(void *sipCppV, const sipTypeDef *targetType)
{
     ::KIconButton *sipCpp = reinterpret_cast< ::KIconButton *>(sipCppV);

    if (targetType == sipType_QPushButton)
        return static_cast< ::QPushButton *>(sipCpp);

    if (targetType == sipType_QAbstractButton)
        return static_cast< ::QAbstractButton *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


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

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KIconButton(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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


static pyqt4ClassPluginDef plugin_KIconButton = {
    & ::KIconButton::staticMetaObject,
    0,
    signals_KIconButton
};


sipClassTypeDef sipTypeDef_kio_KIconButton = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KIconButton,
        {0},
        &plugin_KIconButton
    },
    {
        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
};

#line 55 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kicondialog.sip"
#include <kicondialog.h>
#line 5690 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"

#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 5694 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kiconloader.sip"
#include <kiconloader.h>
#line 5697 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 5700 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5703 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5706 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5709 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 5712 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 5715 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 5718 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 5721 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 5724 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kpushbutton.sip"
#include <kpushbutton.h>
#line 5727 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 32 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 5730 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kconfigbase.sip"
#include <kconfigbase.h>
#line 5733 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qmenu.sip"
#include <qmenu.h>
#line 5736 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kguiitem.sip"
#include <kguiitem.h>
#line 5739 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 33 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kicon.sip"
#include <kicon.h>
#line 5742 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 5745 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 5748 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 5751 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 5754 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 618 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5757 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 561 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5760 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5763 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 5766 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 5769 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 5772 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 5775 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 5778 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 5781 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 5784 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 5787 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 5790 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 5793 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 5796 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 5799 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 5802 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 5805 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 5808 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 5811 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 5814 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 5817 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5820 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 739 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5823 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 792 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5826 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 765 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5829 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 781 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5832 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 854 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5835 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 403 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5838 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 548 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5841 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 524 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5844 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5847 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 347 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5850 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 252 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5853 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 5856 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 52 "/usr/share/sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 5859 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 5862 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 5865 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 5868 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 5871 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 5874 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 5877 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 5880 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 5883 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 5886 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 5889 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 5892 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 5895 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 5898 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 5901 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 5904 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 5907 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 5910 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/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 reject();
    void accept();
    void done(int);
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
     ::QPaintEngine* paintEngine() const;
    int devType() const;
    void setVisible(bool);
     ::QSize sizeHint() const;
     ::QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    void mousePressEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void wheelEvent( ::QWheelEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void enterEvent( ::QEvent*);
    void leaveEvent( ::QEvent*);
    void paintEvent( ::QPaintEvent*);
    void moveEvent( ::QMoveEvent*);
    void resizeEvent( ::QResizeEvent*);
    void closeEvent( ::QCloseEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void tabletEvent( ::QTabletEvent*);
    void actionEvent( ::QActionEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dropEvent( ::QDropEvent*);
    void showEvent( ::QShowEvent*);
    void hideEvent( ::QHideEvent*);
    void changeEvent( ::QEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    void enabledChange(bool);
    void paletteChange(const  ::QPalette&);
    void fontChange(const  ::QFont&);
    void windowActivationChange(bool);
    void languageChange();
    void setCaption(const  ::QString&);
    void setCaption(const  ::QString&,bool);
    void setPlainCaption(const  ::QString&);
    void slotButtonClicked(int);

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()
{
    sipInstanceDestroyed(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::reject()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KIconDialog::reject();
        return;
    }

    extern void sipVH_kio_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kio_9(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKIconDialog::accept()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KIconDialog::accept();
        return;
    }

    extern void sipVH_kio_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kio_9(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKIconDialog::done(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KIconDialog::done(a0);
        return;
    }

    extern void sipVH_kio_71(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_kio_71(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kio_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kio_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kio_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kio_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kio_6(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern bool sipVH_kio_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

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

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

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

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

    extern bool sipVH_kio_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kio_8(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[10]),sipPySelf,NULL,sipName_metric);

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

    extern int sipVH_kio_99(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

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

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

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

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

    extern  ::QPaintEngine* sipVH_kio_98(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_98(sipGILState, 0, sipPySelf, sipMeth);
}

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

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

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

    extern int sipVH_kio_97(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_97(sipGILState, 0, sipPySelf, sipMeth);
}

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

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

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

    extern void sipVH_kio_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kio_47(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern  ::QSize sipVH_kio_96(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_96(sipGILState, 0, sipPySelf, sipMeth);
}

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

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

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

    extern  ::QSize sipVH_kio_96(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_96(sipGILState, 0, sipPySelf, sipMeth);
}

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

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

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

    extern int sipVH_kio_95(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

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

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

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

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

    extern void sipVH_kio_94(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kio_94(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_94(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kio_94(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_94(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kio_94(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_94(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kio_94(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_93(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_kio_93(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_92(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kio_92(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_92(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kio_92(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_91(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

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

    extern void sipVH_kio_91(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kio_91(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kio_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kio_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_90(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_kio_90(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_89(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_kio_89(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_88(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_kio_88(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_87(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_kio_87(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_86(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_kio_86(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_85(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_kio_85(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_84(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_kio_84(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_83(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_kio_83(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_82(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_kio_82(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_81(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_kio_81(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_80(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_kio_80(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_79(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_kio_79(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_78(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_kio_78(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kio_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_77(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_kio_77(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[43]),sipPySelf,NULL,sipName_inputMethodQuery);

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

    extern  ::QVariant sipVH_kio_76(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

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

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

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

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

    extern bool sipVH_kio_75(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

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

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

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

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

    extern void sipVH_kio_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kio_47(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_74(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPalette&);

    sipVH_kio_74(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_73(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QFont&);

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

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

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

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

    extern void sipVH_kio_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kio_47(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kio_9(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKIconDialog::setCaption(const  ::QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_setCaption);

    if (!sipMeth)
    {
         ::KIconDialog::setCaption(a0);
        return;
    }

    extern void sipVH_kio_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&);

    sipVH_kio_12(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_setCaption);

    if (!sipMeth)
    {
         ::KIconDialog::setCaption(a0,a1);
        return;
    }

    extern void sipVH_kio_72(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&,bool);

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

void sipKIconDialog::setPlainCaption(const  ::QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_setPlainCaption);

    if (!sipMeth)
    {
         ::KIconDialog::setPlainCaption(a0);
        return;
    }

    extern void sipVH_kio_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&);

    sipVH_kio_12(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconDialog::slotButtonClicked(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_slotButtonClicked);

    if (!sipMeth)
    {
         ::KIconDialog::slotButtonClicked(a0);
        return;
    }

    extern void sipVH_kio_71(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_kio_71(sipGILState, 0, sipPySelf, sipMeth, a0);
}


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 inheritance hierarchy. */
extern "C" {static void *cast_KIconDialog(void *, const sipTypeDef *);}
static void *cast_KIconDialog(void *sipCppV, const sipTypeDef *targetType)
{
     ::KIconDialog *sipCpp = reinterpret_cast< ::KIconDialog *>(sipCppV);

    if (targetType == sipType_KDialog)
        return static_cast< ::KDialog *>(sipCpp);

    if (targetType == sipType_QDialog)
        return static_cast< ::QDialog *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


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

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KIconDialog(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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


static pyqt4ClassPluginDef plugin_KIconDialog = {
    & ::KIconDialog::staticMetaObject,
    0,
    signals_KIconDialog
};


sipClassTypeDef sipTypeDef_kio_KIconDialog = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KIconDialog,
        {0},
        &plugin_KIconDialog
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kicondialog.sip"
#include <kicondialog.h>
#line 7435 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"

#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 7439 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 7442 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 7445 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 252 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7448 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7451 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7454 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7457 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlistwidget.sip"
#include <qlistwidget.h>
#line 7460 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 7463 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 122 "/usr/share/sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 7466 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 739 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7469 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 7472 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 7475 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 7478 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7481 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7484 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 7487 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7490 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 7493 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 85 "/usr/share/sip/PyQt4/QtGui/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 7496 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 165 "/usr/share/sip/PyQt4/QtGui/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 7499 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 7502 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 7505 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7508 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 524 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7511 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 1126 "/usr/share/sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 7514 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 792 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7517 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 765 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7520 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 561 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7523 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7526 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlistview.sip"
#include <qlistview.h>
#line 7529 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 7532 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7535 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 7538 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qabstractitemdelegate.sip"
#include <qabstractitemdelegate.h>
#line 7541 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 781 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7544 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 7547 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 7550 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 85 "/usr/share/sip/PyQt4/QtGui/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 7553 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 7556 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7559 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qscrollbar.sip"
#include <qscrollbar.h>
#line 7562 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 618 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7565 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 347 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7568 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 7571 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 7574 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qframe.sip"
#include <qframe.h>
#line 7577 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7580 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7583 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 7586 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 7589 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 7592 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 7595 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 7598 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 7601 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 7604 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 7607 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 7610 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7613 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 7616 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7619 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7622 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 854 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7625 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 403 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7628 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7631 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 548 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7634 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 7637 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 52 "/usr/share/sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 7640 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 7643 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 7646 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 7649 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 7652 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 7655 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7658 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 7661 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 7664 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 7667 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 7670 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 7673 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7676 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 7679 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 7682 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 7685 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 7688 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 7691 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/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:
     ::Qt::DropActions supportedDropActions() const;
    bool dropMimeData(int,const  ::QMimeData*, ::Qt::DropAction);
     ::QMimeData* mimeData(const QList< ::QListWidgetItem*>) const;
     ::QStringList mimeTypes() const;
     ::QStyleOptionViewItem viewOptions() const;
    void startDrag( ::Qt::DropActions);
     ::QItemSelectionModel::SelectionFlags selectionCommand(const  ::QModelIndex&,const  ::QEvent*) const;
    bool edit(const  ::QModelIndex&, ::QAbstractItemView::EditTrigger, ::QEvent*);
     ::QModelIndexList selectedIndexes() const;
     ::QRegion visualRegionForSelection(const  ::QItemSelection&) const;
    void setSelection(const  ::QRect&, ::QItemSelectionModel::SelectionFlags);
    bool isIndexHidden(const  ::QModelIndex&) const;
    int verticalOffset() const;
    int horizontalOffset() const;
     ::QModelIndex moveCursor( ::QAbstractItemView::CursorAction, ::Qt::KeyboardModifiers);
    void editorDestroyed( ::QObject*);
    void commitData( ::QWidget*);
    void closeEditor( ::QWidget*, ::QAbstractItemDelegate::EndEditHint);
    void horizontalScrollbarValueChanged(int);
    void verticalScrollbarValueChanged(int);
    void horizontalScrollbarAction(int);
    void verticalScrollbarAction(int);
    void updateGeometries();
    void updateEditorGeometries();
    void updateEditorData();
    void currentChanged(const  ::QModelIndex&,const  ::QModelIndex&);
    void selectionChanged(const  ::QItemSelection&,const  ::QItemSelection&);
    void rowsAboutToBeRemoved(const  ::QModelIndex&,int,int);
    void rowsInserted(const  ::QModelIndex&,int,int);
    void dataChanged(const  ::QModelIndex&,const  ::QModelIndex&);
    void selectAll();
    void setRootIndex(const  ::QModelIndex&);
    void reset();
    int sizeHintForColumn(int) const;
    int sizeHintForRow(int) const;
     ::QModelIndex indexAt(const  ::QPoint&) const;
    void scrollTo(const  ::QModelIndex&, ::QAbstractItemView::ScrollHint);
     ::QRect visualRect(const  ::QModelIndex&) const;
    void keyboardSearch(const  ::QString&);
    void setSelectionModel( ::QItemSelectionModel*);
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
     ::QPaintEngine* paintEngine() const;
    int devType() const;
    void setVisible(bool);
     ::QSize sizeHint() const;
     ::QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    void mousePressEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void wheelEvent( ::QWheelEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void enterEvent( ::QEvent*);
    void leaveEvent( ::QEvent*);
    void paintEvent( ::QPaintEvent*);
    void moveEvent( ::QMoveEvent*);
    void resizeEvent( ::QResizeEvent*);
    void closeEvent( ::QCloseEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void tabletEvent( ::QTabletEvent*);
    void actionEvent( ::QActionEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dropEvent( ::QDropEvent*);
    void showEvent( ::QShowEvent*);
    void hideEvent( ::QHideEvent*);
    void changeEvent( ::QEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    void enabledChange(bool);
    void paletteChange(const  ::QPalette&);
    void fontChange(const  ::QFont&);
    void windowActivationChange(bool);
    void languageChange();
    bool viewportEvent( ::QEvent*);
    void scrollContentsBy(int,int);

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

 ::Qt::DropActions sipKIconCanvas::supportedDropActions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::KIconCanvas::supportedDropActions();

    extern  ::Qt::DropActions sipVH_kio_121(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_121(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[1],sipPySelf,NULL,sipName_dropMimeData);

    if (!sipMeth)
        return  ::KIconCanvas::dropMimeData(a0,a1,a2);

    extern bool sipVH_kio_188(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,const  ::QMimeData*, ::Qt::DropAction);

    return sipVH_kio_188(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[2]),sipPySelf,NULL,sipName_mimeData);

    if (!sipMeth)
        return  ::KIconCanvas::mimeData(a0);

    extern  ::QMimeData* sipVH_kio_187(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QList< ::QListWidgetItem*>);

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

 ::QStringList sipKIconCanvas::mimeTypes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::KIconCanvas::mimeTypes();

    extern  ::QStringList sipVH_kio_44(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_44(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QStyleOptionViewItem sipKIconCanvas::viewOptions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::KIconCanvas::viewOptions();

    extern  ::QStyleOptionViewItem sipVH_kio_184(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_184(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKIconCanvas::startDrag( ::Qt::DropActions a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KIconCanvas::startDrag(a0);
        return;
    }

    extern void sipVH_kio_183(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::DropActions);

    sipVH_kio_183(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[6]),sipPySelf,NULL,sipName_selectionCommand);

    if (!sipMeth)
        return  ::KIconCanvas::selectionCommand(a0,a1);

    extern  ::QItemSelectionModel::SelectionFlags sipVH_kio_182(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,const  ::QEvent*);

    return sipVH_kio_182(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[7],sipPySelf,NULL,sipName_edit);

    if (!sipMeth)
        return  ::KIconCanvas::edit(a0,a1,a2);

    extern bool sipVH_kio_181(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&, ::QAbstractItemView::EditTrigger, ::QEvent*);

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

 ::QModelIndexList sipKIconCanvas::selectedIndexes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::KIconCanvas::selectedIndexes();

    extern  ::QModelIndexList sipVH_kio_180(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_180(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QRegion sipKIconCanvas::visualRegionForSelection(const  ::QItemSelection& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::KIconCanvas::visualRegionForSelection(a0);

    extern  ::QRegion sipVH_kio_179(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QItemSelection&);

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

void sipKIconCanvas::setSelection(const  ::QRect& a0, ::QItemSelectionModel::SelectionFlags a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KIconCanvas::setSelection(a0,a1);
        return;
    }

    extern void sipVH_kio_178(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QRect&, ::QItemSelectionModel::SelectionFlags);

    sipVH_kio_178(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[11]),sipPySelf,NULL,sipName_isIndexHidden);

    if (!sipMeth)
        return  ::KIconCanvas::isIndexHidden(a0);

    extern bool sipVH_kio_118(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

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

int sipKIconCanvas::verticalOffset() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::KIconCanvas::verticalOffset();

    extern int sipVH_kio_97(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_97(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKIconCanvas::horizontalOffset() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::KIconCanvas::horizontalOffset();

    extern int sipVH_kio_97(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_97(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QModelIndex sipKIconCanvas::moveCursor( ::QAbstractItemView::CursorAction a0, ::Qt::KeyboardModifiers a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::KIconCanvas::moveCursor(a0,a1);

    extern  ::QModelIndex sipVH_kio_177(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QAbstractItemView::CursorAction, ::Qt::KeyboardModifiers);

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

void sipKIconCanvas::editorDestroyed( ::QObject*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KIconCanvas::editorDestroyed(a0);
        return;
    }

    extern void sipVH_kio_176(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*);

    sipVH_kio_176(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconCanvas::commitData( ::QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KIconCanvas::commitData(a0);
        return;
    }

    extern void sipVH_kio_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*);

    sipVH_kio_35(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconCanvas::closeEditor( ::QWidget*a0, ::QAbstractItemDelegate::EndEditHint a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KIconCanvas::closeEditor(a0,a1);
        return;
    }

    extern void sipVH_kio_175(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*, ::QAbstractItemDelegate::EndEditHint);

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

void sipKIconCanvas::horizontalScrollbarValueChanged(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KIconCanvas::horizontalScrollbarValueChanged(a0);
        return;
    }

    extern void sipVH_kio_71(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_kio_71(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconCanvas::verticalScrollbarValueChanged(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KIconCanvas::verticalScrollbarValueChanged(a0);
        return;
    }

    extern void sipVH_kio_71(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_kio_71(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconCanvas::horizontalScrollbarAction(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KIconCanvas::horizontalScrollbarAction(a0);
        return;
    }

    extern void sipVH_kio_71(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_kio_71(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconCanvas::verticalScrollbarAction(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KIconCanvas::verticalScrollbarAction(a0);
        return;
    }

    extern void sipVH_kio_71(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_kio_71(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconCanvas::updateGeometries()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KIconCanvas::updateGeometries();
        return;
    }

    extern void sipVH_kio_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kio_9(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKIconCanvas::updateEditorGeometries()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KIconCanvas::updateEditorGeometries();
        return;
    }

    extern void sipVH_kio_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kio_9(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKIconCanvas::updateEditorData()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KIconCanvas::updateEditorData();
        return;
    }

    extern void sipVH_kio_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kio_9(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKIconCanvas::currentChanged(const  ::QModelIndex& a0,const  ::QModelIndex& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KIconCanvas::currentChanged(a0,a1);
        return;
    }

    extern void sipVH_kio_172(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,const  ::QModelIndex&);

    sipVH_kio_172(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[26],sipPySelf,NULL,sipName_selectionChanged);

    if (!sipMeth)
    {
         ::KIconCanvas::selectionChanged(a0,a1);
        return;
    }

    extern void sipVH_kio_174(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QItemSelection&,const  ::QItemSelection&);

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

void sipKIconCanvas::rowsAboutToBeRemoved(const  ::QModelIndex& a0,int a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KIconCanvas::rowsAboutToBeRemoved(a0,a1,a2);
        return;
    }

    extern void sipVH_kio_173(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,int,int);

    sipVH_kio_173(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[28],sipPySelf,NULL,sipName_rowsInserted);

    if (!sipMeth)
    {
         ::KIconCanvas::rowsInserted(a0,a1,a2);
        return;
    }

    extern void sipVH_kio_173(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,int,int);

    sipVH_kio_173(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[29],sipPySelf,NULL,sipName_dataChanged);

    if (!sipMeth)
    {
         ::KIconCanvas::dataChanged(a0,a1);
        return;
    }

    extern void sipVH_kio_172(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,const  ::QModelIndex&);

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

void sipKIconCanvas::selectAll()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KIconCanvas::selectAll();
        return;
    }

    extern void sipVH_kio_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kio_9(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKIconCanvas::setRootIndex(const  ::QModelIndex& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KIconCanvas::setRootIndex(a0);
        return;
    }

    extern void sipVH_kio_119(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    sipVH_kio_119(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconCanvas::reset()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KIconCanvas::reset();
        return;
    }

    extern void sipVH_kio_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kio_9(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKIconCanvas::sizeHintForColumn(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::KIconCanvas::sizeHintForColumn(a0);

    extern int sipVH_kio_95(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

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

int sipKIconCanvas::sizeHintForRow(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::KIconCanvas::sizeHintForRow(a0);

    extern int sipVH_kio_95(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

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

 ::QModelIndex sipKIconCanvas::indexAt(const  ::QPoint& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::KIconCanvas::indexAt(a0);

    extern  ::QModelIndex sipVH_kio_171(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPoint&);

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

void sipKIconCanvas::scrollTo(const  ::QModelIndex& a0, ::QAbstractItemView::ScrollHint a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KIconCanvas::scrollTo(a0,a1);
        return;
    }

    extern void sipVH_kio_170(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&, ::QAbstractItemView::ScrollHint);

    sipVH_kio_170(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[37]),sipPySelf,NULL,sipName_visualRect);

    if (!sipMeth)
        return  ::KIconCanvas::visualRect(a0);

    extern  ::QRect sipVH_kio_169(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

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

void sipKIconCanvas::keyboardSearch(const  ::QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KIconCanvas::keyboardSearch(a0);
        return;
    }

    extern void sipVH_kio_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&);

    sipVH_kio_12(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconCanvas::setSelectionModel( ::QItemSelectionModel*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KIconCanvas::setSelectionModel(a0);
        return;
    }

    extern void sipVH_kio_168(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QItemSelectionModel*);

    sipVH_kio_168(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kio_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kio_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kio_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kio_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kio_6(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern bool sipVH_kio_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

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

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

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

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

    extern bool sipVH_kio_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kio_8(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[47]),sipPySelf,NULL,sipName_metric);

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

    extern int sipVH_kio_99(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

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

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

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

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

    extern  ::QPaintEngine* sipVH_kio_98(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_98(sipGILState, 0, sipPySelf, sipMeth);
}

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

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

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

    extern int sipVH_kio_97(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_97(sipGILState, 0, sipPySelf, sipMeth);
}

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

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

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

    extern void sipVH_kio_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kio_47(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern  ::QSize sipVH_kio_96(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_96(sipGILState, 0, sipPySelf, sipMeth);
}

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

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

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

    extern  ::QSize sipVH_kio_96(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_96(sipGILState, 0, sipPySelf, sipMeth);
}

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

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

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

    extern int sipVH_kio_95(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

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

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

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

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

    extern void sipVH_kio_94(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kio_94(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_94(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kio_94(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_94(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kio_94(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_94(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kio_94(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_93(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_kio_93(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_92(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kio_92(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_92(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kio_92(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_91(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kio_91(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_91(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kio_91(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kio_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kio_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_90(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_kio_90(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_89(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_kio_89(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_88(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_kio_88(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_87(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_kio_87(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_86(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_kio_86(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_85(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_kio_85(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_84(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_kio_84(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_83(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_kio_83(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_82(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_kio_82(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_81(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_kio_81(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_80(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_kio_80(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_79(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_kio_79(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_78(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_kio_78(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kio_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_77(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_kio_77(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[80]),sipPySelf,NULL,sipName_inputMethodQuery);

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

    extern  ::QVariant sipVH_kio_76(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

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

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

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

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

    extern bool sipVH_kio_75(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

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

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

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

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

    extern void sipVH_kio_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kio_47(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_74(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPalette&);

    sipVH_kio_74(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kio_73(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QFont&);

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

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

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

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

    extern void sipVH_kio_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kio_47(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[86],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
         ::KIconCanvas::languageChange();
        return;
    }

    extern void sipVH_kio_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kio_9(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipKIconCanvas::viewportEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[87],sipPySelf,NULL,sipName_viewportEvent);

    if (!sipMeth)
        return  ::KIconCanvas::viewportEvent(a0);

    extern bool sipVH_kio_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kio_8(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconCanvas::scrollContentsBy(int a0,int a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[88],sipPySelf,NULL,sipName_scrollContentsBy);

    if (!sipMeth)
    {
         ::KIconCanvas::scrollContentsBy(a0,a1);
        return;
    }

    extern void sipVH_kio_167(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int);

    sipVH_kio_167(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}


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 inheritance hierarchy. */
extern "C" {static void *cast_KIconCanvas(void *, const sipTypeDef *);}
static void *cast_KIconCanvas(void *sipCppV, const sipTypeDef *targetType)
{
     ::KIconCanvas *sipCpp = reinterpret_cast< ::KIconCanvas *>(sipCppV);

    if (targetType == sipType_KListWidget)
        return static_cast< ::KListWidget *>(sipCpp);

    if (targetType == sipType_QListWidget)
        return static_cast< ::QListWidget *>(sipCpp);

    if (targetType == sipType_QListView)
        return static_cast< ::QListView *>(sipCpp);

    if (targetType == sipType_QAbstractItemView)
        return static_cast< ::QAbstractItemView *>(sipCpp);

    if (targetType == sipType_QAbstractScrollArea)
        return static_cast< ::QAbstractScrollArea *>(sipCpp);

    if (targetType == sipType_QFrame)
        return static_cast< ::QFrame *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKIconCanvas *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KIconCanvas(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{19, 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}
};


static pyqt4ClassPluginDef plugin_KIconCanvas = {
    & ::KIconCanvas::staticMetaObject,
    0,
    signals_KIconCanvas
};


sipClassTypeDef sipTypeDef_kio_KIconCanvas = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KIconCanvas,
        {0},
        &plugin_KIconCanvas
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kfilewriteplugin.sip"
#include <kfilewriteplugin.h>
#line 9610 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"

#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 9614 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 9617 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 33 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 9620 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qmap.sip"
#include <qmap.h>
#line 9623 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 68 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 9626 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 9629 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 9632 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 9635 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9638 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9641 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9644 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 9647 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 9650 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 9653 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 9656 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 9659 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 9662 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 9665 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/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:
    bool write(const  ::KUrl&,const  ::QVariantMap&);
    bool canWrite(const  ::KUrl&,const  ::QString&);
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const char*);
    void disconnectNotify(const char*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    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()
{
    sipInstanceDestroyed(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);
}

bool sipKFileWritePlugin::write(const  ::KUrl& a0,const  ::QVariantMap& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,sipName_KFileWritePlugin,sipName_write);

    if (!sipMeth)
        return 0;

    extern bool sipVH_kio_186(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::KUrl&,const  ::QVariantMap&);

    return sipVH_kio_186(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[1],sipPySelf,sipName_KFileWritePlugin,sipName_canWrite);

    if (!sipMeth)
        return 0;

    extern bool sipVH_kio_185(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::KUrl&,const  ::QString&);

    return sipVH_kio_185(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKFileWritePlugin::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KFileWritePlugin::event(a0);

    extern bool sipVH_kio_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kio_8(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKFileWritePlugin::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::KFileWritePlugin::eventFilter(a0,a1);

    extern bool sipVH_kio_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kio_7(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

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;
    }

    extern void sipVH_kio_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kio_6(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWritePlugin::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::KFileWritePlugin::childEvent(a0);
        return;
    }

    extern void sipVH_kio_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kio_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWritePlugin::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::KFileWritePlugin::customEvent(a0);
        return;
    }

    extern void sipVH_kio_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kio_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWritePlugin::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::KFileWritePlugin::connectNotify(a0);
        return;
    }

    extern void sipVH_kio_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kio_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWritePlugin::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::KFileWritePlugin::disconnectNotify(a0);
        return;
    }

    extern void sipVH_kio_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kio_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}


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 inheritance hierarchy. */
extern "C" {static void *cast_KFileWritePlugin(void *, const sipTypeDef *);}
static void *cast_KFileWritePlugin(void *sipCppV, const sipTypeDef *targetType)
{
     ::KFileWritePlugin *sipCpp = reinterpret_cast< ::KFileWritePlugin *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKFileWritePlugin *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KFileWritePlugin(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{18, 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}
};


static pyqt4ClassPluginDef plugin_KFileWritePlugin = {
    & ::KFileWritePlugin::staticMetaObject,
    0,
    0
};


sipClassTypeDef sipTypeDef_kio_KFileWritePlugin = {
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KFileWritePlugin,
        {0},
        &plugin_KFileWritePlugin
    },
    {
        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
};

#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kfilewidget.sip"
#include <kfilewidget.h>
#line 10098 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"

#line 33 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 10102 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 10105 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 32 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 10108 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kdiroperator.sip"
#include <kdiroperator.h>
#line 10111 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 10114 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 10117 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10120 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10123 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 561 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10126 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kactioncollection.sip"
#include <kactioncollection.h>
#line 10129 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kfilefiltercombo.sip"
#include <kfilefiltercombo.h>
#line 10132 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kurlcombobox.sip"
#include <kurlcombobox.h>
#line 10135 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kpushbutton.sip"
#include <kpushbutton.h>
#line 10138 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/ktoolbar.sip"
#include <ktoolbar.h>
#line 10141 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kfile.sip"
#include <kfile.h>
#line 10144 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kpreviewwidgetbase.sip"
#include <kpreviewwidgetbase.h>
#line 10147 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 10150 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 340 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 10153 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kmimetype.sip"
#include <kmimetype.h>
#line 10156 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kabstractfilewidget.sip"
#include <kabstractfilewidget.h>
#line 10159 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 33 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 10162 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 10165 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 10168 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 10171 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 10174 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 10177 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 10180 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 10183 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 10186 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 10189 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 10192 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 10195 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 10198 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 10201 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 10204 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 10207 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 10210 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 10213 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 10216 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 10219 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 10222 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 10225 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10228 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10231 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 739 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10234 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 792 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10237 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 765 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10240 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 781 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10243 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 854 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10246 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 403 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10249 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 618 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10252 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10255 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 548 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10258 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 524 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10261 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10264 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10267 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 347 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10270 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 252 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10273 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 10276 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 52 "/usr/share/sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 10279 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 10282 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 10285 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 10288 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 10291 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 10294 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 10297 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 10300 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 10303 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 10306 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 10309 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 10312 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10315 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10318 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 10321 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 10324 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 10327 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 10330 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 10333 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/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:
     ::KUrl selectedUrl() const;
     ::KUrl::List selectedUrls() const;
     ::KUrl baseUrl() const;
     ::QString selectedFile() const;
     ::QStringList selectedFiles() const;
    void setUrl(const  ::KUrl&,bool);
    void setSelection(const  ::QString&);
    void setOperationMode( ::KAbstractFileWidget::OperationMode);
     ::KAbstractFileWidget::OperationMode operationMode() const;
    void setKeepLocation(bool);
    bool keepsLocation() const;
    void setFilter(const  ::QString&);
     ::QString currentFilter() const;
     ::KMimeType::Ptr currentFilterMimeType();
    void setMimeFilter(const  ::QStringList&,const  ::QString&);
     ::QString currentMimeFilter() const;
    void clearFilter();
    void setPreviewWidget( ::KPreviewWidgetBase*);
    void setMode( ::KFile::Modes);
     ::KFile::Modes mode() const;
    void setLocationLabel(const  ::QString&);
     ::KToolBar* toolBar() const;
     ::KPushButton* okButton() const;
     ::KPushButton* cancelButton() const;
     ::KUrlComboBox* locationEdit() const;
     ::KFileFilterCombo* filterWidget() const;
     ::KActionCollection* actionCollection() const;
    void setCustomWidget( ::QWidget*);
    void setCustomWidget(const  ::QString&, ::QWidget*);
    void slotOk();
    void accept();
    void slotCancel();
    void virtual_hook(int,void*);
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
     ::QPaintEngine* paintEngine() const;
    int devType() const;
    void setVisible(bool);
     ::QSize sizeHint() const;
     ::QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    void mousePressEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void wheelEvent( ::QWheelEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void enterEvent( ::QEvent*);
    void leaveEvent( ::QEvent*);
    void paintEvent( ::QPaintEvent*);
    void moveEvent( ::QMoveEvent*);
    void resizeEvent( ::QResizeEvent*);
    void closeEvent( ::QCloseEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void tabletEvent( ::QTabletEvent*);
    void actionEvent( ::QActionEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dropEvent( ::QDropEvent*);
    void showEvent( ::QShowEvent*);
    void hideEvent( ::QHideEvent*);
    void changeEvent( ::QEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    void enabledChange(bool);
    void paletteChange(const  ::QPalette&);
    void fontChange(const  ::QFont&);
    void windowActivationChange(bool);
    void languageChange();

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()
{
    sipInstanceDestroyed(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);
}

 ::KUrl sipKFileWidget::selectedUrl() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_selectedUrl);

    if (!sipMeth)
        return  ::KFileWidget::selectedUrl();

    extern  ::KUrl sipVH_kio_42(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_42(sipGILState, 0, sipPySelf, sipMeth);
}

 ::KUrl::List sipKFileWidget::selectedUrls() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_selectedUrls);

    if (!sipMeth)
        return  ::KFileWidget::selectedUrls();

    extern  ::KUrl::List sipVH_kio_43(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_43(sipGILState, 0, sipPySelf, sipMeth);
}

 ::KUrl sipKFileWidget::baseUrl() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName_baseUrl);

    if (!sipMeth)
        return  ::KFileWidget::baseUrl();

    extern  ::KUrl sipVH_kio_42(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_42(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QString sipKFileWidget::selectedFile() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_selectedFile);

    if (!sipMeth)
        return  ::KFileWidget::selectedFile();

    extern  ::QString sipVH_kio_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_11(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QStringList sipKFileWidget::selectedFiles() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,NULL,sipName_selectedFiles);

    if (!sipMeth)
        return  ::KFileWidget::selectedFiles();

    extern  ::QStringList sipVH_kio_44(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_44(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKFileWidget::setUrl(const  ::KUrl& a0,bool a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_setUrl);

    if (!sipMeth)
    {
         ::KFileWidget::setUrl(a0,a1);
        return;
    }

    extern void sipVH_kio_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::KUrl&,bool);

    sipVH_kio_30(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKFileWidget::setSelection(const  ::QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_setSelection);

    if (!sipMeth)
    {
         ::KFileWidget::setSelection(a0);
        return;
    }

    extern void sipVH_kio_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&);

    sipVH_kio_12(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWidget::setOperationMode( ::KAbstractFileWidget::OperationMode a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_setOperationMode);

    if (!sipMeth)
    {
         ::KFileWidget::setOperationMode(a0);
        return;
    }

    extern void sipVH_kio_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::KAbstractFileWidget::OperationMode);

    sipVH_kio_45(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::KAbstractFileWidget::OperationMode sipKFileWidget::operationMode() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_operationMode);

    if (!sipMeth)
        return  ::KFileWidget::operationMode();

    extern  ::KAbstractFileWidget::OperationMode sipVH_kio_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_46(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKFileWidget::setKeepLocation(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_setKeepLocation);

    if (!sipMeth)
    {
         ::KFileWidget::setKeepLocation(a0);
        return;
    }

    extern void sipVH_kio_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kio_47(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKFileWidget::keepsLocation() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_keepsLocation);

    if (!sipMeth)
        return  ::KFileWidget::keepsLocation();

    extern bool sipVH_kio_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_10(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKFileWidget::setFilter(const  ::QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_setFilter);

    if (!sipMeth)
    {
         ::KFileWidget::setFilter(a0);
        return;
    }

    extern void sipVH_kio_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&);

    sipVH_kio_12(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QString sipKFileWidget::currentFilter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_currentFilter);

    if (!sipMeth)
        return  ::KFileWidget::currentFilter();

    extern  ::QString sipVH_kio_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_11(sipGILState, 0, sipPySelf, sipMeth);
}

 ::KMimeType::Ptr sipKFileWidget::currentFilterMimeType()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_currentFilterMimeType);

    if (!sipMeth)
        return  ::KFileWidget::currentFilterMimeType();

    extern  ::KMimeType::Ptr sipVH_kio_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_48(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKFileWidget::setMimeFilter(const  ::QStringList& a0,const  ::QString& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_setMimeFilter);

    if (!sipMeth)
    {
         ::KFileWidget::setMimeFilter(a0,a1);
        return;
    }

    extern void sipVH_kio_49(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QStringList&,const  ::QString&);

    sipVH_kio_49(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

 ::QString sipKFileWidget::currentMimeFilter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[15]),sipPySelf,NULL,sipName_currentMimeFilter);

    if (!sipMeth)
        return  ::KFileWidget::currentMimeFilter();

    extern  ::QString sipVH_kio_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_11(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKFileWidget::clearFilter()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_clearFilter);

    if (!sipMeth)
    {
         ::KFileWidget::clearFilter();
        return;
    }

    extern void sipVH_kio_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kio_9(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKFileWidget::setPreviewWidget( ::KPreviewWidgetBase*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_setPreviewWidget);

    if (!sipMeth)
    {
         ::KFileWidget::setPreviewWidget(a0);
        return;
    }

    extern void sipVH_kio_50(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::KPreviewWidgetBase*);

    sipVH_kio_50(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWidget::setMode( ::KFile::Modes a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_setMode);

    if (!sipMeth)
    {
         ::KFileWidget::setMode(a0);
        return;
    }

    extern void sipVH_kio_51(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::KFile::Modes);

    sipVH_kio_51(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::KFile::Modes sipKFileWidget::mode() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[19]),sipPySelf,NULL,sipName_mode);

    if (!sipMeth)
        return  ::KFileWidget::mode();

    extern  ::KFile::Modes sipVH_kio_52(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_52(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKFileWidget::setLocationLabel(const  ::QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_setLocationLabel);

    if (!sipMeth)
    {
         ::KFileWidget::setLocationLabel(a0);
        return;
    }

    extern void sipVH_kio_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&);

    sipVH_kio_12(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::KToolBar* sipKFileWidget::toolBar() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[21]),sipPySelf,NULL,sipName_toolBar);

    if (!sipMeth)
        return  ::KFileWidget::toolBar();

    extern  ::KToolBar* sipVH_kio_53(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_53(sipGILState, 0, sipPySelf, sipMeth);
}

 ::KPushButton* sipKFileWidget::okButton() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[22]),sipPySelf,NULL,sipName_okButton);

    if (!sipMeth)
        return  ::KFileWidget::okButton();

    extern  ::KPushButton* sipVH_kio_54(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_54(sipGILState, 0, sipPySelf, sipMeth);
}

 ::KPushButton* sipKFileWidget::cancelButton() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[23]),sipPySelf,NULL,sipName_cancelButton);

    if (!sipMeth)
        return  ::KFileWidget::cancelButton();

    extern  ::KPushButton* sipVH_kio_54(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_54(sipGILState, 0, sipPySelf, sipMeth);
}

 ::KUrlComboBox* sipKFileWidget::locationEdit() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[24]),sipPySelf,NULL,sipName_locationEdit);

    if (!sipMeth)
        return  ::KFileWidget::locationEdit();

    extern  ::KUrlComboBox* sipVH_kio_55(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_55(sipGILState, 0, sipPySelf, sipMeth);
}

 ::KFileFilterCombo* sipKFileWidget::filterWidget() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[25]),sipPySelf,NULL,sipName_filterWidget);

    if (!sipMeth)
        return  ::KFileWidget::filterWidget();

    extern  ::KFileFilterCombo* sipVH_kio_56(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_56(sipGILState, 0, sipPySelf, sipMeth);
}

 ::KActionCollection* sipKFileWidget::actionCollection() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[26]),sipPySelf,NULL,sipName_actionCollection);

    if (!sipMeth)
        return  ::KFileWidget::actionCollection();

    extern  ::KActionCollection* sipVH_kio_57(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_57(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKFileWidget::setCustomWidget( ::QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_setCustomWidget);

    if (!sipMeth)
    {
         ::KFileWidget::setCustomWidget(a0);
        return;
    }

    extern void sipVH_kio_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*);

    sipVH_kio_35(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWidget::setCustomWidget(const  ::QString& a0, ::QWidget*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_setCustomWidget);

    if (!sipMeth)
    {
         ::KFileWidget::setCustomWidget(a0,a1);
        return;
    }

    extern void sipVH_kio_58(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&, ::QWidget*);

    sipVH_kio_58(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKFileWidget::slotOk()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_slotOk);

    if (!sipMeth)
    {
         ::KFileWidget::slotOk();
        return;
    }

    extern void sipVH_kio_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kio_9(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKFileWidget::accept()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_accept);

    if (!sipMeth)
    {
         ::KFileWidget::accept();
        return;
    }

    extern void sipVH_kio_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kio_9(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKFileWidget::slotCancel()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_slotCancel);

    if (!sipMeth)
    {
         ::KFileWidget::slotCancel();
        return;
    }

    extern void sipVH_kio_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kio_9(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKFileWidget::virtual_hook(int a0,void*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,sipName_KFileWidget,sipName_virtual_hook);

    if (!sipMeth)
        return;

    extern void sipVH_kio_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,void*);

    sipVH_kio_19(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKFileWidget::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::KFileWidget::disconnectNotify(a0);
        return;
    }

    extern void sipVH_kio_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kio_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWidget::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::KFileWidget::connectNotify(a0);
        return;
    }

    extern void sipVH_kio_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kio_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWidget::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::KFileWidget::customEvent(a0);
        return;
    }

    extern void sipVH_kio_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kio_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWidget::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::KFileWidget::childEvent(a0);
        return;
    }

    extern void sipVH_kio_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kio_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWidget::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::KFileWidget::timerEvent(a0);
        return;
    }

    extern void sipVH_kio_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kio_6(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKFileWidget::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::KFileWidget::eventFilter(a0,a1);

    extern bool sipVH_kio_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kio_7(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKFileWidget::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KFileWidget::event(a0);

    extern bool sipVH_kio_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kio_8(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[40]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::KFileWidget::metric(a0);

    extern int sipVH_kio_99(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_kio_99(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QPaintEngine* sipKFileWidget::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[41]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::KFileWidget::paintEngine();

    extern  ::QPaintEngine* sipVH_kio_98(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_98(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKFileWidget::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[42]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::KFileWidget::devType();

    extern int sipVH_kio_97(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_97(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKFileWidget::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::KFileWidget::setVisible(a0);
        return;
    }

    extern void sipVH_kio_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kio_47(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QSize sipKFileWidget::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[44]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::KFileWidget::sizeHint();

    extern  ::QSize sipVH_kio_96(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_96(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QSize sipKFileWidget::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[45]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::KFileWidget::minimumSizeHint();

    extern  ::QSize sipVH_kio_96(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_96(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);

    extern int sipVH_kio_95(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_kio_95(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWidget::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::KFileWidget::mousePressEvent(a0);
        return;
    }

    extern void sipVH_kio_94(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kio_94(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWidget::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::KFileWidget::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_kio_94(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kio_94(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWidget::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::KFileWidget::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_kio_94(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kio_94(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWidget::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::KFileWidget::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_kio_94(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kio_94(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWidget::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::KFileWidget::wheelEvent(a0);
        return;
    }

    extern void sipVH_kio_93(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_kio_93(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWidget::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::KFileWidget::keyPressEvent(a0);
        return;
    }

    extern void sipVH_kio_92(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kio_92(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWidget::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::KFileWidget::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_kio_92(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kio_92(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWidget::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::KFileWidget::focusInEvent(a0);
        return;
    }

    extern void sipVH_kio_91(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kio_91(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWidget::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[55],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::KFileWidget::focusOutEvent(a0);
        return;
    }

    extern void sipVH_kio_91(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kio_91(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWidget::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[56],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::KFileWidget::enterEvent(a0);
        return;
    }

    extern void sipVH_kio_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kio_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWidget::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[57],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::KFileWidget::leaveEvent(a0);
        return;
    }

    extern void sipVH_kio_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kio_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWidget::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[58],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::KFileWidget::paintEvent(a0);
        return;
    }

    extern void sipVH_kio_90(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_kio_90(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWidget::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[59],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::KFileWidget::moveEvent(a0);
        return;
    }

    extern void sipVH_kio_89(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_kio_89(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWidget::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[60],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::KFileWidget::resizeEvent(a0);
        return;
    }

    extern void sipVH_kio_88(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_kio_88(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWidget::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[61],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::KFileWidget::closeEvent(a0);
        return;
    }

    extern void sipVH_kio_87(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_kio_87(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWidget::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[62],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::KFileWidget::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_kio_86(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_kio_86(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWidget::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[63],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::KFileWidget::tabletEvent(a0);
        return;
    }

    extern void sipVH_kio_85(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_kio_85(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWidget::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[64],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::KFileWidget::actionEvent(a0);
        return;
    }

    extern void sipVH_kio_84(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_kio_84(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWidget::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[65],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::KFileWidget::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_kio_83(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_kio_83(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWidget::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[66],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::KFileWidget::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_kio_82(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_kio_82(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWidget::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[67],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::KFileWidget::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_kio_81(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_kio_81(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWidget::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[68],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::KFileWidget::dropEvent(a0);
        return;
    }

    extern void sipVH_kio_80(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_kio_80(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWidget::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[69],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::KFileWidget::showEvent(a0);
        return;
    }

    extern void sipVH_kio_79(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_kio_79(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWidget::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[70],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::KFileWidget::hideEvent(a0);
        return;
    }

    extern void sipVH_kio_78(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_kio_78(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWidget::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[71],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::KFileWidget::changeEvent(a0);
        return;
    }

    extern void sipVH_kio_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kio_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWidget::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[72],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::KFileWidget::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_kio_77(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_kio_77(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[73]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::KFileWidget::inputMethodQuery(a0);

    extern  ::QVariant sipVH_kio_76(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_kio_76(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKFileWidget::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[74],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::KFileWidget::focusNextPrevChild(a0);

    extern bool sipVH_kio_75(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_kio_75(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWidget::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[75],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
         ::KFileWidget::enabledChange(a0);
        return;
    }

    extern void sipVH_kio_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kio_47(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWidget::paletteChange(const  ::QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[76],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
         ::KFileWidget::paletteChange(a0);
        return;
    }

    extern void sipVH_kio_74(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPalette&);

    sipVH_kio_74(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWidget::fontChange(const  ::QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[77],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
         ::KFileWidget::fontChange(a0);
        return;
    }

    extern void sipVH_kio_73(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QFont&);

    sipVH_kio_73(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWidget::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[78],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
         ::KFileWidget::windowActivationChange(a0);
        return;
    }

    extern void sipVH_kio_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kio_47(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileWidget::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[79],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
         ::KFileWidget::languageChange();
        return;
    }

    extern void sipVH_kio_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kio_9(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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 inheritance hierarchy. */
extern "C" {static void *cast_KFileWidget(void *, const sipTypeDef *);}
static void *cast_KFileWidget(void *sipCppV, const sipTypeDef *targetType)
{
     ::KFileWidget *sipCpp = reinterpret_cast< ::KFileWidget *>(sipCppV);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    if (targetType == sipType_KAbstractFileWidget)
        return static_cast< ::KAbstractFileWidget *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKFileWidget *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KFileWidget(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{61, 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}
};


static pyqt4ClassPluginDef plugin_KFileWidget = {
    & ::KFileWidget::staticMetaObject,
    0,
    signals_KFileWidget
};


sipClassTypeDef sipTypeDef_kio_KFileWidget = {
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KFileWidget,
        {0},
        &plugin_KFileWidget
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kfilesharedialog.sip"
#include <kfilesharedialog.h>
#line 13137 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kpropertiesdialog.sip"
#include <kpropertiesdialog.h>
#line 13141 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 13144 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 134 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kfileitem.sip"
#include <kfileitem.h>
#line 13147 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kfileitem.sip"
#include <kfileitem.h>
#line 13150 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13153 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13156 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13159 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 13162 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 13165 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 13168 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 13171 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 13174 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 13177 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 13180 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 13183 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 13186 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 13189 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/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()
{
    sipInstanceDestroyed(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;
    }

    extern void sipVH_kio_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kio_3(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;
    }

    extern void sipVH_kio_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kio_3(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;
    }

    extern void sipVH_kio_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kio_4(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;
    }

    extern void sipVH_kio_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kio_5(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;
    }

    extern void sipVH_kio_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kio_6(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);

    extern bool sipVH_kio_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kio_7(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);

    extern bool sipVH_kio_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kio_8(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;
    }

    extern void sipVH_kio_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kio_9(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 || sipIsDerivedClass((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 inheritance hierarchy. */
extern "C" {static void *cast_KFileSharePropsPlugin(void *, const sipTypeDef *);}
static void *cast_KFileSharePropsPlugin(void *sipCppV, const sipTypeDef *targetType)
{
     ::KFileSharePropsPlugin *sipCpp = reinterpret_cast< ::KFileSharePropsPlugin *>(sipCppV);

    if (targetType == sipType_KPropertiesDialogPlugin)
        return static_cast< ::KPropertiesDialogPlugin *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKFileSharePropsPlugin *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KFileSharePropsPlugin(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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}
};


static pyqt4ClassPluginDef plugin_KFileSharePropsPlugin = {
    & ::KFileSharePropsPlugin::staticMetaObject,
    0,
    0
};


sipClassTypeDef sipTypeDef_kio_KFileSharePropsPlugin = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KFileSharePropsPlugin,
        {0},
        &plugin_KFileSharePropsPlugin
    },
    {
        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
};

#line 75 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kpropertiesdialog.sip"
#include <kpropertiesdialog.h>
#line 13669 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kpropertiesdialog.sip"
#include <kpropertiesdialog.h>
#line 13673 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kfileitem.sip"
#include <kfileitem.h>
#line 13676 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13679 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13682 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13685 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 13688 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 13691 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 13694 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 13697 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 13700 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 13703 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 13706 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 13709 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 13712 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 13715 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/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 applyChanges();
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const char*);
    void disconnectNotify(const char*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    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()
{
    sipInstanceDestroyed(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::applyChanges()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_applyChanges);

    if (!sipMeth)
    {
         ::KPropertiesDialogPlugin::applyChanges();
        return;
    }

    extern void sipVH_kio_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kio_9(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipKPropertiesDialogPlugin::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KPropertiesDialogPlugin::event(a0);

    extern bool sipVH_kio_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kio_8(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKPropertiesDialogPlugin::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::KPropertiesDialogPlugin::eventFilter(a0,a1);

    extern bool sipVH_kio_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kio_7(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKPropertiesDialogPlugin::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::KPropertiesDialogPlugin::timerEvent(a0);
        return;
    }

    extern void sipVH_kio_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kio_6(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPropertiesDialogPlugin::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::KPropertiesDialogPlugin::childEvent(a0);
        return;
    }

    extern void sipVH_kio_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kio_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPropertiesDialogPlugin::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::KPropertiesDialogPlugin::customEvent(a0);
        return;
    }

    extern void sipVH_kio_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kio_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPropertiesDialogPlugin::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::KPropertiesDialogPlugin::connectNotify(a0);
        return;
    }

    extern void sipVH_kio_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kio_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPropertiesDialogPlugin::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::KPropertiesDialogPlugin::disconnectNotify(a0);
        return;
    }

    extern void sipVH_kio_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kio_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_KPropertiesDialogPlugin_applyChanges(PyObject *, PyObject *);}
static PyObject *meth_KPropertiesDialogPlugin_applyChanges(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((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 inheritance hierarchy. */
extern "C" {static void *cast_KPropertiesDialogPlugin(void *, const sipTypeDef *);}
static void *cast_KPropertiesDialogPlugin(void *sipCppV, const sipTypeDef *targetType)
{
     ::KPropertiesDialogPlugin *sipCpp = reinterpret_cast< ::KPropertiesDialogPlugin *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKPropertiesDialogPlugin *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KPropertiesDialogPlugin(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{18, 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}
};


static pyqt4ClassPluginDef plugin_KPropertiesDialogPlugin = {
    & ::KPropertiesDialogPlugin::staticMetaObject,
    0,
    signals_KPropertiesDialogPlugin
};


sipClassTypeDef sipTypeDef_kio_KPropertiesDialogPlugin = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KPropertiesDialogPlugin,
        {0},
        &plugin_KPropertiesDialogPlugin
    },
    {
        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
};


#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 14216 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/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},
};


static pyqt4ClassPluginDef plugin_KFileShare = {
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_kio_KFileShare = {
    {
        -1,
        0,
        0,
        SIP_TYPE_NAMESPACE,
        sipNameNr_KFileShare,
        {0},
        &plugin_KFileShare
    },
    {
        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
};

#line 24 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kfilepreviewgenerator.sip"
#include <kfilepreviewgenerator.h>
#line 14583 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"

#line 26 "/usr/share/sip/PyQt4/QtGui/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 14587 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 14590 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 14593 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 14596 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 14599 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 14602 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 14605 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 14608 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 14611 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 14614 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 14617 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 14620 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 14623 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 14626 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 14629 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/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:
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const char*);
    void disconnectNotify(const char*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    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()
{
    sipInstanceDestroyed(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);
}

bool sipKFilePreviewGenerator::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KFilePreviewGenerator::event(a0);

    extern bool sipVH_kio_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kio_8(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKFilePreviewGenerator::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::KFilePreviewGenerator::eventFilter(a0,a1);

    extern bool sipVH_kio_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kio_7(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKFilePreviewGenerator::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::KFilePreviewGenerator::timerEvent(a0);
        return;
    }

    extern void sipVH_kio_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kio_6(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;
    }

    extern void sipVH_kio_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kio_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePreviewGenerator::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::KFilePreviewGenerator::customEvent(a0);
        return;
    }

    extern void sipVH_kio_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kio_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePreviewGenerator::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::KFilePreviewGenerator::connectNotify(a0);
        return;
    }

    extern void sipVH_kio_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kio_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePreviewGenerator::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::KFilePreviewGenerator::disconnectNotify(a0);
        return;
    }

    extern void sipVH_kio_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kio_3(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 inheritance hierarchy. */
extern "C" {static void *cast_KFilePreviewGenerator(void *, const sipTypeDef *);}
static void *cast_KFilePreviewGenerator(void *sipCppV, const sipTypeDef *targetType)
{
     ::KFilePreviewGenerator *sipCpp = reinterpret_cast< ::KFilePreviewGenerator *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKFilePreviewGenerator *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KFilePreviewGenerator(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{18, 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}
};


static pyqt4ClassPluginDef plugin_KFilePreviewGenerator = {
    & ::KFilePreviewGenerator::staticMetaObject,
    0,
    0
};


sipClassTypeDef sipTypeDef_kio_KFilePreviewGenerator = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KFilePreviewGenerator,
        {0},
        &plugin_KFilePreviewGenerator
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kfileplacesview.sip"
#include <kfileplacesview.h>
#line 15144 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"

#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 15148 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 33 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 15151 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 739 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15154 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 15157 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 524 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15160 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 765 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15163 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 792 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15166 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 781 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15169 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15172 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15175 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 561 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15178 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 618 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15181 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15184 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 122 "/usr/share/sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 15187 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 15190 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 165 "/usr/share/sip/PyQt4/QtGui/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 15193 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 15196 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 15199 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 15202 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 85 "/usr/share/sip/PyQt4/QtGui/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 15205 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 15208 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 15211 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 15214 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 1126 "/usr/share/sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 15217 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 15220 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 15223 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 252 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15226 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 15229 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlistview.sip"
#include <qlistview.h>
#line 15232 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 15235 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15238 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 15241 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qabstractitemdelegate.sip"
#include <qabstractitemdelegate.h>
#line 15244 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15247 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 15250 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 15253 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 15256 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 85 "/usr/share/sip/PyQt4/QtGui/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 15259 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 15262 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 15265 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qscrollbar.sip"
#include <qscrollbar.h>
#line 15268 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 347 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15271 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 15274 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 15277 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qframe.sip"
#include <qframe.h>
#line 15280 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 15283 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 15286 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 15289 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 15292 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 15295 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 15298 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 15301 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 15304 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 15307 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 15310 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 15313 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 15316 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 15319 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 854 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15322 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 403 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15325 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15328 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 548 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15331 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 15334 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 52 "/usr/share/sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 15337 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 15340 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 15343 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 15346 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 15349 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 15352 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 15355 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 15358 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 15361 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 15364 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 15367 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 15370 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 15373 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 15376 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 15379 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 15382 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 15385 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 15388 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/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:
     ::QStyleOptionViewItem viewOptions() const;
    void startDrag( ::Qt::DropActions);
     ::QItemSelectionModel::SelectionFlags selectionCommand(const  ::QModelIndex&,const  ::QEvent*) const;
    bool edit(const  ::QModelIndex&, ::QAbstractItemView::EditTrigger, ::QEvent*);
     ::QModelIndexList selectedIndexes() const;
     ::QRegion visualRegionForSelection(const  ::QItemSelection&) const;
    void setSelection(const  ::QRect&, ::QItemSelectionModel::SelectionFlags);
    bool isIndexHidden(const  ::QModelIndex&) const;
    int verticalOffset() const;
    int horizontalOffset() const;
     ::QModelIndex moveCursor( ::QAbstractItemView::CursorAction, ::Qt::KeyboardModifiers);
    void editorDestroyed( ::QObject*);
    void commitData( ::QWidget*);
    void closeEditor( ::QWidget*, ::QAbstractItemDelegate::EndEditHint);
    void horizontalScrollbarValueChanged(int);
    void verticalScrollbarValueChanged(int);
    void horizontalScrollbarAction(int);
    void verticalScrollbarAction(int);
    void updateGeometries();
    void updateEditorGeometries();
    void updateEditorData();
    void currentChanged(const  ::QModelIndex&,const  ::QModelIndex&);
    void selectionChanged(const  ::QItemSelection&,const  ::QItemSelection&);
    void rowsAboutToBeRemoved(const  ::QModelIndex&,int,int);
    void rowsInserted(const  ::QModelIndex&,int,int);
    void dataChanged(const  ::QModelIndex&,const  ::QModelIndex&);
    void selectAll();
    void setRootIndex(const  ::QModelIndex&);
    void reset();
    int sizeHintForColumn(int) const;
    int sizeHintForRow(int) const;
     ::QModelIndex indexAt(const  ::QPoint&) const;
    void scrollTo(const  ::QModelIndex&, ::QAbstractItemView::ScrollHint);
     ::QRect visualRect(const  ::QModelIndex&) const;
    void keyboardSearch(const  ::QString&);
    void setSelectionModel( ::QItemSelectionModel*);
    void setModel( ::QAbstractItemModel*);
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
     ::QPaintEngine* paintEngine() const;
    int devType() const;
    void setVisible(bool);
     ::QSize sizeHint() const;
     ::QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    void mousePressEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void wheelEvent( ::QWheelEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void enterEvent( ::QEvent*);
    void leaveEvent( ::QEvent*);
    void paintEvent( ::QPaintEvent*);
    void moveEvent( ::QMoveEvent*);
    void resizeEvent( ::QResizeEvent*);
    void closeEvent( ::QCloseEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void tabletEvent( ::QTabletEvent*);
    void actionEvent( ::QActionEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dropEvent( ::QDropEvent*);
    void showEvent( ::QShowEvent*);
    void hideEvent( ::QHideEvent*);
    void changeEvent( ::QEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    void enabledChange(bool);
    void paletteChange(const  ::QPalette&);
    void fontChange(const  ::QFont&);
    void windowActivationChange(bool);
    void languageChange();
    bool viewportEvent( ::QEvent*);
    void scrollContentsBy(int,int);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKFilePlacesView(const sipKFilePlacesView &);
    sipKFilePlacesView &operator = (const sipKFilePlacesView &);

    char sipPyMethods[86];
};

sipKFilePlacesView::sipKFilePlacesView( ::QWidget*a0):  ::KFilePlacesView(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKFilePlacesView::~sipKFilePlacesView()
{
    sipInstanceDestroyed(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);
}

 ::QStyleOptionViewItem sipKFilePlacesView::viewOptions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_viewOptions);

    if (!sipMeth)
        return  ::KFilePlacesView::viewOptions();

    extern  ::QStyleOptionViewItem sipVH_kio_184(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_184(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKFilePlacesView::startDrag( ::Qt::DropActions a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_startDrag);

    if (!sipMeth)
    {
         ::KFilePlacesView::startDrag(a0);
        return;
    }

    extern void sipVH_kio_183(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::DropActions);

    sipVH_kio_183(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[2]),sipPySelf,NULL,sipName_selectionCommand);

    if (!sipMeth)
        return  ::KFilePlacesView::selectionCommand(a0,a1);

    extern  ::QItemSelectionModel::SelectionFlags sipVH_kio_182(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,const  ::QEvent*);

    return sipVH_kio_182(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[3],sipPySelf,NULL,sipName_edit);

    if (!sipMeth)
        return  ::KFilePlacesView::edit(a0,a1,a2);

    extern bool sipVH_kio_181(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&, ::QAbstractItemView::EditTrigger, ::QEvent*);

    return sipVH_kio_181(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QModelIndexList sipKFilePlacesView::selectedIndexes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,NULL,sipName_selectedIndexes);

    if (!sipMeth)
        return  ::KFilePlacesView::selectedIndexes();

    extern  ::QModelIndexList sipVH_kio_180(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_180(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QRegion sipKFilePlacesView::visualRegionForSelection(const  ::QItemSelection& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_visualRegionForSelection);

    if (!sipMeth)
        return  ::KFilePlacesView::visualRegionForSelection(a0);

    extern  ::QRegion sipVH_kio_179(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QItemSelection&);

    return sipVH_kio_179(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::setSelection(const  ::QRect& a0, ::QItemSelectionModel::SelectionFlags a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_setSelection);

    if (!sipMeth)
    {
         ::KFilePlacesView::setSelection(a0,a1);
        return;
    }

    extern void sipVH_kio_178(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QRect&, ::QItemSelectionModel::SelectionFlags);

    sipVH_kio_178(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[7]),sipPySelf,NULL,sipName_isIndexHidden);

    if (!sipMeth)
        return  ::KFilePlacesView::isIndexHidden(a0);

    extern bool sipVH_kio_118(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_kio_118(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKFilePlacesView::verticalOffset() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_verticalOffset);

    if (!sipMeth)
        return  ::KFilePlacesView::verticalOffset();

    extern int sipVH_kio_97(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_97(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKFilePlacesView::horizontalOffset() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_horizontalOffset);

    if (!sipMeth)
        return  ::KFilePlacesView::horizontalOffset();

    extern int sipVH_kio_97(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_97(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QModelIndex sipKFilePlacesView::moveCursor( ::QAbstractItemView::CursorAction a0, ::Qt::KeyboardModifiers a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_moveCursor);

    if (!sipMeth)
        return  ::KFilePlacesView::moveCursor(a0,a1);

    extern  ::QModelIndex sipVH_kio_177(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QAbstractItemView::CursorAction, ::Qt::KeyboardModifiers);

    return sipVH_kio_177(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKFilePlacesView::editorDestroyed( ::QObject*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_editorDestroyed);

    if (!sipMeth)
    {
         ::KFilePlacesView::editorDestroyed(a0);
        return;
    }

    extern void sipVH_kio_176(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*);

    sipVH_kio_176(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::commitData( ::QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_commitData);

    if (!sipMeth)
    {
         ::KFilePlacesView::commitData(a0);
        return;
    }

    extern void sipVH_kio_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*);

    sipVH_kio_35(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::closeEditor( ::QWidget*a0, ::QAbstractItemDelegate::EndEditHint a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_closeEditor);

    if (!sipMeth)
    {
         ::KFilePlacesView::closeEditor(a0,a1);
        return;
    }

    extern void sipVH_kio_175(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*, ::QAbstractItemDelegate::EndEditHint);

    sipVH_kio_175(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKFilePlacesView::horizontalScrollbarValueChanged(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_horizontalScrollbarValueChanged);

    if (!sipMeth)
    {
         ::KFilePlacesView::horizontalScrollbarValueChanged(a0);
        return;
    }

    extern void sipVH_kio_71(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_kio_71(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::verticalScrollbarValueChanged(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_verticalScrollbarValueChanged);

    if (!sipMeth)
    {
         ::KFilePlacesView::verticalScrollbarValueChanged(a0);
        return;
    }

    extern void sipVH_kio_71(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_kio_71(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::horizontalScrollbarAction(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_horizontalScrollbarAction);

    if (!sipMeth)
    {
         ::KFilePlacesView::horizontalScrollbarAction(a0);
        return;
    }

    extern void sipVH_kio_71(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_kio_71(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::verticalScrollbarAction(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_verticalScrollbarAction);

    if (!sipMeth)
    {
         ::KFilePlacesView::verticalScrollbarAction(a0);
        return;
    }

    extern void sipVH_kio_71(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_kio_71(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::updateGeometries()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_updateGeometries);

    if (!sipMeth)
    {
         ::KFilePlacesView::updateGeometries();
        return;
    }

    extern void sipVH_kio_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kio_9(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKFilePlacesView::updateEditorGeometries()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_updateEditorGeometries);

    if (!sipMeth)
    {
         ::KFilePlacesView::updateEditorGeometries();
        return;
    }

    extern void sipVH_kio_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kio_9(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKFilePlacesView::updateEditorData()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_updateEditorData);

    if (!sipMeth)
    {
         ::KFilePlacesView::updateEditorData();
        return;
    }

    extern void sipVH_kio_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kio_9(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKFilePlacesView::currentChanged(const  ::QModelIndex& a0,const  ::QModelIndex& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_currentChanged);

    if (!sipMeth)
    {
         ::KFilePlacesView::currentChanged(a0,a1);
        return;
    }

    extern void sipVH_kio_172(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,const  ::QModelIndex&);

    sipVH_kio_172(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[22],sipPySelf,NULL,sipName_selectionChanged);

    if (!sipMeth)
    {
         ::KFilePlacesView::selectionChanged(a0,a1);
        return;
    }

    extern void sipVH_kio_174(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QItemSelection&,const  ::QItemSelection&);

    sipVH_kio_174(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKFilePlacesView::rowsAboutToBeRemoved(const  ::QModelIndex& a0,int a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_rowsAboutToBeRemoved);

    if (!sipMeth)
    {
         ::KFilePlacesView::rowsAboutToBeRemoved(a0,a1,a2);
        return;
    }

    extern void sipVH_kio_173(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,int,int);

    sipVH_kio_173(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipKFilePlacesView::rowsInserted(const  ::QModelIndex& a0,int a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_rowsInserted);

    if (!sipMeth)
    {
         ::KFilePlacesView::rowsInserted(a0,a1,a2);
        return;
    }

    extern void sipVH_kio_173(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,int,int);

    sipVH_kio_173(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[25],sipPySelf,NULL,sipName_dataChanged);

    if (!sipMeth)
    {
         ::KFilePlacesView::dataChanged(a0,a1);
        return;
    }

    extern void sipVH_kio_172(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,const  ::QModelIndex&);

    sipVH_kio_172(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKFilePlacesView::selectAll()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_selectAll);

    if (!sipMeth)
    {
         ::KFilePlacesView::selectAll();
        return;
    }

    extern void sipVH_kio_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kio_9(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKFilePlacesView::setRootIndex(const  ::QModelIndex& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_setRootIndex);

    if (!sipMeth)
    {
         ::KFilePlacesView::setRootIndex(a0);
        return;
    }

    extern void sipVH_kio_119(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    sipVH_kio_119(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::reset()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_reset);

    if (!sipMeth)
    {
         ::KFilePlacesView::reset();
        return;
    }

    extern void sipVH_kio_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kio_9(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKFilePlacesView::sizeHintForColumn(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[29]),sipPySelf,NULL,sipName_sizeHintForColumn);

    if (!sipMeth)
        return  ::KFilePlacesView::sizeHintForColumn(a0);

    extern int sipVH_kio_95(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_kio_95(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKFilePlacesView::sizeHintForRow(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[30]),sipPySelf,NULL,sipName_sizeHintForRow);

    if (!sipMeth)
        return  ::KFilePlacesView::sizeHintForRow(a0);

    extern int sipVH_kio_95(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_kio_95(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QModelIndex sipKFilePlacesView::indexAt(const  ::QPoint& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[31]),sipPySelf,NULL,sipName_indexAt);

    if (!sipMeth)
        return  ::KFilePlacesView::indexAt(a0);

    extern  ::QModelIndex sipVH_kio_171(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPoint&);

    return sipVH_kio_171(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::scrollTo(const  ::QModelIndex& a0, ::QAbstractItemView::ScrollHint a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_scrollTo);

    if (!sipMeth)
    {
         ::KFilePlacesView::scrollTo(a0,a1);
        return;
    }

    extern void sipVH_kio_170(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&, ::QAbstractItemView::ScrollHint);

    sipVH_kio_170(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[33]),sipPySelf,NULL,sipName_visualRect);

    if (!sipMeth)
        return  ::KFilePlacesView::visualRect(a0);

    extern  ::QRect sipVH_kio_169(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_kio_169(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::keyboardSearch(const  ::QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_keyboardSearch);

    if (!sipMeth)
    {
         ::KFilePlacesView::keyboardSearch(a0);
        return;
    }

    extern void sipVH_kio_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&);

    sipVH_kio_12(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::setSelectionModel( ::QItemSelectionModel*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_setSelectionModel);

    if (!sipMeth)
    {
         ::KFilePlacesView::setSelectionModel(a0);
        return;
    }

    extern void sipVH_kio_168(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QItemSelectionModel*);

    sipVH_kio_168(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::setModel( ::QAbstractItemModel*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_setModel);

    if (!sipMeth)
    {
         ::KFilePlacesView::setModel(a0);
        return;
    }

    extern void sipVH_kio_153(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QAbstractItemModel*);

    sipVH_kio_153(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::KFilePlacesView::disconnectNotify(a0);
        return;
    }

    extern void sipVH_kio_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kio_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::KFilePlacesView::connectNotify(a0);
        return;
    }

    extern void sipVH_kio_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kio_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::KFilePlacesView::customEvent(a0);
        return;
    }

    extern void sipVH_kio_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kio_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::KFilePlacesView::childEvent(a0);
        return;
    }

    extern void sipVH_kio_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kio_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::KFilePlacesView::timerEvent(a0);
        return;
    }

    extern void sipVH_kio_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kio_6(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKFilePlacesView::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::KFilePlacesView::eventFilter(a0,a1);

    extern bool sipVH_kio_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kio_7(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKFilePlacesView::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KFilePlacesView::event(a0);

    extern bool sipVH_kio_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kio_8(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[44]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::KFilePlacesView::metric(a0);

    extern int sipVH_kio_99(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_kio_99(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QPaintEngine* sipKFilePlacesView::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[45]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::KFilePlacesView::paintEngine();

    extern  ::QPaintEngine* sipVH_kio_98(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_98(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKFilePlacesView::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[46]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::KFilePlacesView::devType();

    extern int sipVH_kio_97(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_97(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKFilePlacesView::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::KFilePlacesView::setVisible(a0);
        return;
    }

    extern void sipVH_kio_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kio_47(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QSize sipKFilePlacesView::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[48]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::KFilePlacesView::sizeHint();

    extern  ::QSize sipVH_kio_96(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_96(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QSize sipKFilePlacesView::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[49]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::KFilePlacesView::minimumSizeHint();

    extern  ::QSize sipVH_kio_96(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_96(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKFilePlacesView::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[50]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return  ::KFilePlacesView::heightForWidth(a0);

    extern int sipVH_kio_95(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_kio_95(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::KFilePlacesView::mousePressEvent(a0);
        return;
    }

    extern void sipVH_kio_94(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kio_94(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::KFilePlacesView::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_kio_94(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kio_94(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::KFilePlacesView::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_kio_94(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kio_94(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::KFilePlacesView::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_kio_94(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kio_94(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[55],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::KFilePlacesView::wheelEvent(a0);
        return;
    }

    extern void sipVH_kio_93(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_kio_93(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[56],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::KFilePlacesView::keyPressEvent(a0);
        return;
    }

    extern void sipVH_kio_92(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kio_92(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[57],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::KFilePlacesView::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_kio_92(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kio_92(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[58],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::KFilePlacesView::focusInEvent(a0);
        return;
    }

    extern void sipVH_kio_91(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kio_91(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[59],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::KFilePlacesView::focusOutEvent(a0);
        return;
    }

    extern void sipVH_kio_91(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kio_91(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[60],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::KFilePlacesView::enterEvent(a0);
        return;
    }

    extern void sipVH_kio_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kio_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[61],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::KFilePlacesView::leaveEvent(a0);
        return;
    }

    extern void sipVH_kio_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kio_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[62],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::KFilePlacesView::paintEvent(a0);
        return;
    }

    extern void sipVH_kio_90(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_kio_90(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[63],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::KFilePlacesView::moveEvent(a0);
        return;
    }

    extern void sipVH_kio_89(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_kio_89(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[64],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::KFilePlacesView::resizeEvent(a0);
        return;
    }

    extern void sipVH_kio_88(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_kio_88(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[65],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::KFilePlacesView::closeEvent(a0);
        return;
    }

    extern void sipVH_kio_87(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_kio_87(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[66],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::KFilePlacesView::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_kio_86(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_kio_86(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[67],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::KFilePlacesView::tabletEvent(a0);
        return;
    }

    extern void sipVH_kio_85(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_kio_85(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[68],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::KFilePlacesView::actionEvent(a0);
        return;
    }

    extern void sipVH_kio_84(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_kio_84(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[69],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::KFilePlacesView::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_kio_83(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_kio_83(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[70],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::KFilePlacesView::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_kio_82(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_kio_82(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[71],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::KFilePlacesView::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_kio_81(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_kio_81(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[72],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::KFilePlacesView::dropEvent(a0);
        return;
    }

    extern void sipVH_kio_80(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_kio_80(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[73],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::KFilePlacesView::showEvent(a0);
        return;
    }

    extern void sipVH_kio_79(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_kio_79(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[74],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::KFilePlacesView::hideEvent(a0);
        return;
    }

    extern void sipVH_kio_78(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_kio_78(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[75],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::KFilePlacesView::changeEvent(a0);
        return;
    }

    extern void sipVH_kio_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kio_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[76],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::KFilePlacesView::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_kio_77(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_kio_77(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[77]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::KFilePlacesView::inputMethodQuery(a0);

    extern  ::QVariant sipVH_kio_76(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_kio_76(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKFilePlacesView::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[78],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::KFilePlacesView::focusNextPrevChild(a0);

    extern bool sipVH_kio_75(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_kio_75(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[79],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
         ::KFilePlacesView::enabledChange(a0);
        return;
    }

    extern void sipVH_kio_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kio_47(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::paletteChange(const  ::QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[80],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
         ::KFilePlacesView::paletteChange(a0);
        return;
    }

    extern void sipVH_kio_74(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPalette&);

    sipVH_kio_74(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::fontChange(const  ::QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[81],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
         ::KFilePlacesView::fontChange(a0);
        return;
    }

    extern void sipVH_kio_73(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QFont&);

    sipVH_kio_73(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[82],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
         ::KFilePlacesView::windowActivationChange(a0);
        return;
    }

    extern void sipVH_kio_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kio_47(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[83],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
         ::KFilePlacesView::languageChange();
        return;
    }

    extern void sipVH_kio_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kio_9(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipKFilePlacesView::viewportEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[84],sipPySelf,NULL,sipName_viewportEvent);

    if (!sipMeth)
        return  ::KFilePlacesView::viewportEvent(a0);

    extern bool sipVH_kio_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kio_8(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesView::scrollContentsBy(int a0,int a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[85],sipPySelf,NULL,sipName_scrollContentsBy);

    if (!sipMeth)
    {
         ::KFilePlacesView::scrollContentsBy(a0,a1);
        return;
    }

    extern void sipVH_kio_167(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int);

    sipVH_kio_167(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}


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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 inheritance hierarchy. */
extern "C" {static void *cast_KFilePlacesView(void *, const sipTypeDef *);}
static void *cast_KFilePlacesView(void *sipCppV, const sipTypeDef *targetType)
{
     ::KFilePlacesView *sipCpp = reinterpret_cast< ::KFilePlacesView *>(sipCppV);

    if (targetType == sipType_QListView)
        return static_cast< ::QListView *>(sipCpp);

    if (targetType == sipType_QAbstractItemView)
        return static_cast< ::QAbstractItemView *>(sipCpp);

    if (targetType == sipType_QAbstractScrollArea)
        return static_cast< ::QAbstractScrollArea *>(sipCpp);

    if (targetType == sipType_QFrame)
        return static_cast< ::QFrame *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKFilePlacesView *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KFilePlacesView(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{35, 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}
};


static pyqt4ClassPluginDef plugin_KFilePlacesView = {
    & ::KFilePlacesView::staticMetaObject,
    0,
    signals_KFilePlacesView
};


sipClassTypeDef sipTypeDef_kio_KFilePlacesView = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KFilePlacesView,
        {0},
        &plugin_KFilePlacesView
    },
    {
        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
};

#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kfileplacesmodel.sip"
#include <kfileplacesmodel.h>
#line 17746 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"

#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 17750 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 17753 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 17756 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 17759 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 17762 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 17765 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 17768 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 17771 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 17774 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 33 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 17777 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 17780 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 17783 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 17786 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 28 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/solid/device.sip"
#include <device.h>
#line 17789 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 33 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kicon.sip"
#include <kicon.h>
#line 17792 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 139 "/usr/share/sip/PyQt4/QtCore/qhash.sip"
#include <qhash.h>
#line 17795 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 17798 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qdatastream.sip"
#include <qdatastream.h>
#line 17801 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 17804 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 17807 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 139 "/usr/share/sip/PyQt4/QtCore/qmap.sip"
#include <qmap.h>
#line 17810 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 17813 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 17816 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 17819 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 17822 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 17825 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 17828 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 17831 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 17834 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 17837 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/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*);
     ::QModelIndex index(int,int,const  ::QModelIndex&) const;
     ::QModelIndex parent(const  ::QModelIndex&) const;
    int rowCount(const  ::QModelIndex&) const;
    int columnCount(const  ::QModelIndex&) const;
    bool hasChildren(const  ::QModelIndex&) const;
     ::QVariant data(const  ::QModelIndex&,int) const;
    bool setData(const  ::QModelIndex&,const  ::QVariant&,int);
     ::QVariant headerData(int, ::Qt::Orientation,int) const;
    bool setHeaderData(int, ::Qt::Orientation,const  ::QVariant&,int);
    QMap<int, ::QVariant> itemData(const  ::QModelIndex&) const;
    bool setItemData(const  ::QModelIndex&,const QMap<int, ::QVariant>&);
     ::QStringList mimeTypes() const;
     ::QMimeData* mimeData(const  ::QModelIndexList&) const;
    bool dropMimeData(const  ::QMimeData*, ::Qt::DropAction,int,int,const  ::QModelIndex&);
     ::Qt::DropActions supportedDropActions() const;
    bool insertRows(int,int,const  ::QModelIndex&);
    bool insertColumns(int,int,const  ::QModelIndex&);
    bool removeRows(int,int,const  ::QModelIndex&);
    bool removeColumns(int,int,const  ::QModelIndex&);
    void fetchMore(const  ::QModelIndex&);
    bool canFetchMore(const  ::QModelIndex&) const;
     ::Qt::ItemFlags flags(const  ::QModelIndex&) const;
    void sort(int, ::Qt::SortOrder);
     ::QModelIndex buddy(const  ::QModelIndex&) const;
     ::QModelIndexList match(const  ::QModelIndex&,int,const  ::QVariant&,int, ::Qt::MatchFlags) const;
     ::QSize span(const  ::QModelIndex&) const;
    bool submit();
    void revert();

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()
{
    sipInstanceDestroyed(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;
    }

    extern void sipVH_kio_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kio_3(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;
    }

    extern void sipVH_kio_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kio_3(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;
    }

    extern void sipVH_kio_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kio_4(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;
    }

    extern void sipVH_kio_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kio_5(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;
    }

    extern void sipVH_kio_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kio_6(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);

    extern bool sipVH_kio_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kio_7(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);

    extern bool sipVH_kio_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kio_8(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[7]),sipPySelf,NULL,sipName_index);

    if (!sipMeth)
        return  ::KFilePlacesModel::index(a0,a1,a2);

    extern  ::QModelIndex sipVH_kio_131(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const  ::QModelIndex&);

    return sipVH_kio_131(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QModelIndex sipKFilePlacesModel::parent(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_parent);

    if (!sipMeth)
        return  ::KFilePlacesModel::parent(a0);

    extern  ::QModelIndex sipVH_kio_115(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_kio_115(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[9]),sipPySelf,NULL,sipName_rowCount);

    if (!sipMeth)
        return  ::KFilePlacesModel::rowCount(a0);

    extern int sipVH_kio_130(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_kio_130(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[10]),sipPySelf,NULL,sipName_columnCount);

    if (!sipMeth)
        return  ::KFilePlacesModel::columnCount(a0);

    extern int sipVH_kio_130(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_kio_130(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKFilePlacesModel::hasChildren(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_hasChildren);

    if (!sipMeth)
        return  ::KFilePlacesModel::hasChildren(a0);

    extern bool sipVH_kio_118(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_kio_118(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QVariant sipKFilePlacesModel::data(const  ::QModelIndex& a0,int a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_data);

    if (!sipMeth)
        return  ::KFilePlacesModel::data(a0,a1);

    extern  ::QVariant sipVH_kio_129(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,int);

    return sipVH_kio_129(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKFilePlacesModel::setData(const  ::QModelIndex& a0,const  ::QVariant& a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_setData);

    if (!sipMeth)
        return  ::KFilePlacesModel::setData(a0,a1,a2);

    extern bool sipVH_kio_128(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,const  ::QVariant&,int);

    return sipVH_kio_128(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QVariant sipKFilePlacesModel::headerData(int a0, ::Qt::Orientation a1,int a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_headerData);

    if (!sipMeth)
        return  ::KFilePlacesModel::headerData(a0,a1,a2);

    extern  ::QVariant sipVH_kio_127(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int, ::Qt::Orientation,int);

    return sipVH_kio_127(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipKFilePlacesModel::setHeaderData(int a0, ::Qt::Orientation a1,const  ::QVariant& a2,int a3)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_setHeaderData);

    if (!sipMeth)
        return  ::KFilePlacesModel::setHeaderData(a0,a1,a2,a3);

    extern bool sipVH_kio_126(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int, ::Qt::Orientation,const  ::QVariant&,int);

    return sipVH_kio_126(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}

QMap<int, ::QVariant> sipKFilePlacesModel::itemData(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[16]),sipPySelf,NULL,sipName_itemData);

    if (!sipMeth)
        return  ::KFilePlacesModel::itemData(a0);

    extern QMap<int, ::QVariant> sipVH_kio_125(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_kio_125(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKFilePlacesModel::setItemData(const  ::QModelIndex& a0,const QMap<int, ::QVariant>& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_setItemData);

    if (!sipMeth)
        return  ::KFilePlacesModel::setItemData(a0,a1);

    extern bool sipVH_kio_124(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,const QMap<int, ::QVariant>&);

    return sipVH_kio_124(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

 ::QStringList sipKFilePlacesModel::mimeTypes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[18]),sipPySelf,NULL,sipName_mimeTypes);

    if (!sipMeth)
        return  ::KFilePlacesModel::mimeTypes();

    extern  ::QStringList sipVH_kio_44(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_44(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QMimeData* sipKFilePlacesModel::mimeData(const  ::QModelIndexList& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[19]),sipPySelf,NULL,sipName_mimeData);

    if (!sipMeth)
        return  ::KFilePlacesModel::mimeData(a0);

    extern  ::QMimeData* sipVH_kio_123(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndexList&);

    return sipVH_kio_123(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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[20],sipPySelf,NULL,sipName_dropMimeData);

    if (!sipMeth)
        return  ::KFilePlacesModel::dropMimeData(a0,a1,a2,a3,a4);

    extern bool sipVH_kio_122(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMimeData*, ::Qt::DropAction,int,int,const  ::QModelIndex&);

    return sipVH_kio_122(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

 ::Qt::DropActions sipKFilePlacesModel::supportedDropActions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[21]),sipPySelf,NULL,sipName_supportedDropActions);

    if (!sipMeth)
        return  ::KFilePlacesModel::supportedDropActions();

    extern  ::Qt::DropActions sipVH_kio_121(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_121(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipKFilePlacesModel::insertRows(int a0,int a1,const  ::QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_insertRows);

    if (!sipMeth)
        return  ::KFilePlacesModel::insertRows(a0,a1,a2);

    extern bool sipVH_kio_120(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const  ::QModelIndex&);

    return sipVH_kio_120(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[23],sipPySelf,NULL,sipName_insertColumns);

    if (!sipMeth)
        return  ::KFilePlacesModel::insertColumns(a0,a1,a2);

    extern bool sipVH_kio_120(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const  ::QModelIndex&);

    return sipVH_kio_120(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[24],sipPySelf,NULL,sipName_removeRows);

    if (!sipMeth)
        return  ::KFilePlacesModel::removeRows(a0,a1,a2);

    extern bool sipVH_kio_120(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const  ::QModelIndex&);

    return sipVH_kio_120(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipKFilePlacesModel::removeColumns(int a0,int a1,const  ::QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_removeColumns);

    if (!sipMeth)
        return  ::KFilePlacesModel::removeColumns(a0,a1,a2);

    extern bool sipVH_kio_120(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const  ::QModelIndex&);

    return sipVH_kio_120(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipKFilePlacesModel::fetchMore(const  ::QModelIndex& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_fetchMore);

    if (!sipMeth)
    {
         ::KFilePlacesModel::fetchMore(a0);
        return;
    }

    extern void sipVH_kio_119(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    sipVH_kio_119(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[27]),sipPySelf,NULL,sipName_canFetchMore);

    if (!sipMeth)
        return  ::KFilePlacesModel::canFetchMore(a0);

    extern bool sipVH_kio_118(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_kio_118(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::Qt::ItemFlags sipKFilePlacesModel::flags(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[28]),sipPySelf,NULL,sipName_flags);

    if (!sipMeth)
        return  ::KFilePlacesModel::flags(a0);

    extern  ::Qt::ItemFlags sipVH_kio_117(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_kio_117(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilePlacesModel::sort(int a0, ::Qt::SortOrder a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_sort);

    if (!sipMeth)
    {
         ::KFilePlacesModel::sort(a0,a1);
        return;
    }

    extern void sipVH_kio_116(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int, ::Qt::SortOrder);

    sipVH_kio_116(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

 ::QModelIndex sipKFilePlacesModel::buddy(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[30]),sipPySelf,NULL,sipName_buddy);

    if (!sipMeth)
        return  ::KFilePlacesModel::buddy(a0);

    extern  ::QModelIndex sipVH_kio_115(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_kio_115(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[31]),sipPySelf,NULL,sipName_match);

    if (!sipMeth)
        return  ::KFilePlacesModel::match(a0,a1,a2,a3,a4);

    extern  ::QModelIndexList sipVH_kio_114(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,int,const  ::QVariant&,int, ::Qt::MatchFlags);

    return sipVH_kio_114(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

 ::QSize sipKFilePlacesModel::span(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[32]),sipPySelf,NULL,sipName_span);

    if (!sipMeth)
        return  ::KFilePlacesModel::span(a0);

    extern  ::QSize sipVH_kio_113(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_kio_113(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKFilePlacesModel::submit()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_submit);

    if (!sipMeth)
        return  ::KFilePlacesModel::submit();

    extern bool sipVH_kio_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_10(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKFilePlacesModel::revert()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_revert);

    if (!sipMeth)
    {
         ::KFilePlacesModel::revert();
        return;
    }

    extern void sipVH_kio_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kio_9(sipGILState, 0, sipPySelf, sipMeth);
}


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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 inheritance hierarchy. */
extern "C" {static void *cast_KFilePlacesModel(void *, const sipTypeDef *);}
static void *cast_KFilePlacesModel(void *sipCppV, const sipTypeDef *targetType)
{
     ::KFilePlacesModel *sipCpp = reinterpret_cast< ::KFilePlacesModel *>(sipCppV);

    if (targetType == sipType_QAbstractItemModel)
        return static_cast< ::QAbstractItemModel *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKFilePlacesModel *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KFilePlacesModel(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{0, 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}
};


static pyqt4ClassPluginDef plugin_KFilePlacesModel = {
    & ::KFilePlacesModel::staticMetaObject,
    0,
    signals_KFilePlacesModel
};


sipClassTypeDef sipTypeDef_kio_KFilePlacesModel = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KFilePlacesModel,
        {0},
        &plugin_KFilePlacesModel
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kfilemetainfoitem.sip"
#include <kfilemetainfoitem.h>
#line 19535 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/predicateproperties.sip"
#include <predicateproperties.h>
#line 19539 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 19542 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kfilewriteplugin.sip"
#include <kfilewriteplugin.h>
#line 19545 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 19548 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/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;
}


/* 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 (sipIsOwnedByPython(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}
};


static pyqt4ClassPluginDef plugin_KFileMetaInfoItem = {
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_kio_KFileMetaInfoItem = {
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KFileMetaInfoItem,
        {0},
        &plugin_KFileMetaInfoItem
    },
    {
        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,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 37 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kfilemetainfo.sip"
#include <kfilemetainfo.h>
#line 20031 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"

#line 37 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kfilemetainfo.sip"
#include <kfilemetainfo.h>
#line 20035 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/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 381 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KFileMetaInfo::WhatFlags::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 20057 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/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 372 "/usr/share/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 20091 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/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 363 "/usr/share/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 20131 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/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___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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 357 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
        *sipCpp = KFileMetaInfo::WhatFlags(*sipCpp ^ a0);
#line 20170 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"

            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___xor__(PyObject *,PyObject *);}
static PyObject *slot_KFileMetaInfo_WhatFlags___xor__(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, xor_slot, NULL, sipArg0, sipArg1);
}


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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 351 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
        *sipCpp = KFileMetaInfo::WhatFlags(*sipCpp | a0);
#line 20244 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"

            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___or__(PyObject *,PyObject *);}
static PyObject *slot_KFileMetaInfo_WhatFlags___or__(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, or_slot, NULL, sipArg0, sipArg1);
}


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;
}


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___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___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;
}


/* 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 (sipIsOwnedByPython(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;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::KFileMetaInfo::WhatFlags();
            Py_END_ALLOW_THREADS

            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;
        }
    }

    {
        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;
        }
    }

    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 390 "/usr/share/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 20532 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/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___ixor__, ixor_slot},
    {(void *)slot_KFileMetaInfo_WhatFlags___xor__, xor_slot},
    {(void *)slot_KFileMetaInfo_WhatFlags___ior__, ior_slot},
    {(void *)slot_KFileMetaInfo_WhatFlags___or__, or_slot},
    {(void *)slot_KFileMetaInfo_WhatFlags___iand__, iand_slot},
    {(void *)slot_KFileMetaInfo_WhatFlags___and__, and_slot},
    {(void *)slot_KFileMetaInfo_WhatFlags___invert__, invert_slot},
    {(void *)slot_KFileMetaInfo_WhatFlags___int__, int_slot},
    {0, (sipPySlotType)0}
};


static pyqt4ClassPluginDef plugin_KFileMetaInfo_WhatFlags = {
    0,
    1,
    0
};


sipClassTypeDef sipTypeDef_kio_KFileMetaInfo_WhatFlags = {
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KFileMetaInfo__WhatFlags,
        {0},
        &plugin_KFileMetaInfo_WhatFlags
    },
    {
        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,
    0,
    convertTo_KFileMetaInfo_WhatFlags,
    0,
    0,
    0,
    0,
    0
};

#line 37 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kfilemetainfo.sip"
#include <kfilemetainfo.h>
#line 20611 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"

#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 20615 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 37 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kfilemetainfo.sip"
#include <kfilemetainfo.h>
#line 20618 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 33 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 20621 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 20624 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kfilemetainfoitem.sip"
#include <kfilemetainfoitem.h>
#line 20627 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qhash.sip"
#include <qhash.h>
#line 20630 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 68 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 20633 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/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;
}


/* 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 (sipIsOwnedByPython(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},
};


static pyqt4ClassPluginDef plugin_KFileMetaInfo = {
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_kio_KFileMetaInfo = {
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KFileMetaInfo,
        {0},
        &plugin_KFileMetaInfo
    },
    {
        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,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 23 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kfilemetadatawidget.sip"
#include <kfilemetadatawidget.h>
#line 21047 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"

#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 21051 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 134 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kfileitem.sip"
#include <kfileitem.h>
#line 21054 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 21057 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 33 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 21060 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 21063 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 21066 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 21069 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 21072 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 21075 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 21078 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 21081 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 21084 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 21087 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 21090 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 21093 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 21096 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 21099 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 21102 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 21105 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 21108 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 21111 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 21114 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 21117 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 21120 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 21123 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 21126 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21129 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21132 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21135 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 739 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21138 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 792 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21141 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 765 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21144 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 781 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21147 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 854 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21150 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 403 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21153 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 618 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21156 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21159 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 561 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21162 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 548 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21165 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 524 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21168 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21171 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21174 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 347 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21177 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 252 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21180 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 21183 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 52 "/usr/share/sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 21186 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 21189 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 21192 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 21195 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 21198 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 21201 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 21204 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 21207 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 21210 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 21213 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 21216 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 21219 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 21222 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 21225 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 21228 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 21231 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 21234 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 21237 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 21240 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 21243 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/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*);
    bool event( ::QEvent*);
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
     ::QPaintEngine* paintEngine() const;
    int devType() const;
    void setVisible(bool);
     ::QSize sizeHint() const;
     ::QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    void mousePressEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void wheelEvent( ::QWheelEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void enterEvent( ::QEvent*);
    void leaveEvent( ::QEvent*);
    void paintEvent( ::QPaintEvent*);
    void moveEvent( ::QMoveEvent*);
    void resizeEvent( ::QResizeEvent*);
    void closeEvent( ::QCloseEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void tabletEvent( ::QTabletEvent*);
    void actionEvent( ::QActionEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dropEvent( ::QDropEvent*);
    void showEvent( ::QShowEvent*);
    void hideEvent( ::QHideEvent*);
    void changeEvent( ::QEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    void enabledChange(bool);
    void paletteChange(const  ::QPalette&);
    void fontChange(const  ::QFont&);
    void windowActivationChange(bool);
    void languageChange();

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()
{
    sipInstanceDestroyed(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;
    }

    extern void sipVH_kio_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kio_3(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;
    }

    extern void sipVH_kio_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kio_3(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;
    }

    extern void sipVH_kio_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kio_4(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;
    }

    extern void sipVH_kio_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kio_5(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;
    }

    extern void sipVH_kio_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kio_6(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);

    extern bool sipVH_kio_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kio_7(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKFileMetaDataWidget::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KFileMetaDataWidget::event(a0);

    extern bool sipVH_kio_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kio_8(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[7]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::KFileMetaDataWidget::metric(a0);

    extern int sipVH_kio_99(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_kio_99(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QPaintEngine* sipKFileMetaDataWidget::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::KFileMetaDataWidget::paintEngine();

    extern  ::QPaintEngine* sipVH_kio_98(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_98(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKFileMetaDataWidget::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::KFileMetaDataWidget::devType();

    extern int sipVH_kio_97(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_97(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKFileMetaDataWidget::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::KFileMetaDataWidget::setVisible(a0);
        return;
    }

    extern void sipVH_kio_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kio_47(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QSize sipKFileMetaDataWidget::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::KFileMetaDataWidget::sizeHint();

    extern  ::QSize sipVH_kio_96(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_96(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QSize sipKFileMetaDataWidget::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::KFileMetaDataWidget::minimumSizeHint();

    extern  ::QSize sipVH_kio_96(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_96(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKFileMetaDataWidget::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return  ::KFileMetaDataWidget::heightForWidth(a0);

    extern int sipVH_kio_95(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_kio_95(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataWidget::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::KFileMetaDataWidget::mousePressEvent(a0);
        return;
    }

    extern void sipVH_kio_94(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kio_94(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataWidget::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::KFileMetaDataWidget::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_kio_94(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kio_94(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataWidget::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::KFileMetaDataWidget::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_kio_94(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kio_94(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataWidget::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::KFileMetaDataWidget::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_kio_94(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kio_94(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataWidget::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::KFileMetaDataWidget::wheelEvent(a0);
        return;
    }

    extern void sipVH_kio_93(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_kio_93(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataWidget::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::KFileMetaDataWidget::keyPressEvent(a0);
        return;
    }

    extern void sipVH_kio_92(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kio_92(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataWidget::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::KFileMetaDataWidget::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_kio_92(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kio_92(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataWidget::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::KFileMetaDataWidget::focusInEvent(a0);
        return;
    }

    extern void sipVH_kio_91(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kio_91(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataWidget::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::KFileMetaDataWidget::focusOutEvent(a0);
        return;
    }

    extern void sipVH_kio_91(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kio_91(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataWidget::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::KFileMetaDataWidget::enterEvent(a0);
        return;
    }

    extern void sipVH_kio_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kio_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataWidget::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::KFileMetaDataWidget::leaveEvent(a0);
        return;
    }

    extern void sipVH_kio_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kio_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataWidget::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::KFileMetaDataWidget::paintEvent(a0);
        return;
    }

    extern void sipVH_kio_90(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_kio_90(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataWidget::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::KFileMetaDataWidget::moveEvent(a0);
        return;
    }

    extern void sipVH_kio_89(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_kio_89(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataWidget::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::KFileMetaDataWidget::resizeEvent(a0);
        return;
    }

    extern void sipVH_kio_88(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_kio_88(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataWidget::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::KFileMetaDataWidget::closeEvent(a0);
        return;
    }

    extern void sipVH_kio_87(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_kio_87(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataWidget::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::KFileMetaDataWidget::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_kio_86(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_kio_86(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataWidget::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::KFileMetaDataWidget::tabletEvent(a0);
        return;
    }

    extern void sipVH_kio_85(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_kio_85(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataWidget::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::KFileMetaDataWidget::actionEvent(a0);
        return;
    }

    extern void sipVH_kio_84(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_kio_84(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataWidget::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::KFileMetaDataWidget::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_kio_83(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_kio_83(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataWidget::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::KFileMetaDataWidget::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_kio_82(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_kio_82(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataWidget::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::KFileMetaDataWidget::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_kio_81(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_kio_81(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataWidget::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::KFileMetaDataWidget::dropEvent(a0);
        return;
    }

    extern void sipVH_kio_80(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_kio_80(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataWidget::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::KFileMetaDataWidget::showEvent(a0);
        return;
    }

    extern void sipVH_kio_79(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_kio_79(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataWidget::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::KFileMetaDataWidget::hideEvent(a0);
        return;
    }

    extern void sipVH_kio_78(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_kio_78(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataWidget::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::KFileMetaDataWidget::changeEvent(a0);
        return;
    }

    extern void sipVH_kio_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kio_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataWidget::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::KFileMetaDataWidget::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_kio_77(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_kio_77(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[40]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::KFileMetaDataWidget::inputMethodQuery(a0);

    extern  ::QVariant sipVH_kio_76(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_kio_76(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKFileMetaDataWidget::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::KFileMetaDataWidget::focusNextPrevChild(a0);

    extern bool sipVH_kio_75(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_kio_75(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataWidget::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
         ::KFileMetaDataWidget::enabledChange(a0);
        return;
    }

    extern void sipVH_kio_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kio_47(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataWidget::paletteChange(const  ::QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
         ::KFileMetaDataWidget::paletteChange(a0);
        return;
    }

    extern void sipVH_kio_74(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPalette&);

    sipVH_kio_74(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataWidget::fontChange(const  ::QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
         ::KFileMetaDataWidget::fontChange(a0);
        return;
    }

    extern void sipVH_kio_73(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QFont&);

    sipVH_kio_73(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataWidget::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
         ::KFileMetaDataWidget::windowActivationChange(a0);
        return;
    }

    extern void sipVH_kio_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kio_47(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataWidget::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
         ::KFileMetaDataWidget::languageChange();
        return;
    }

    extern void sipVH_kio_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kio_9(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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 inheritance hierarchy. */
extern "C" {static void *cast_KFileMetaDataWidget(void *, const sipTypeDef *);}
static void *cast_KFileMetaDataWidget(void *sipCppV, const sipTypeDef *targetType)
{
     ::KFileMetaDataWidget *sipCpp = reinterpret_cast< ::KFileMetaDataWidget *>(sipCppV);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKFileMetaDataWidget *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KFileMetaDataWidget(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{61, 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}
};


static pyqt4ClassPluginDef plugin_KFileMetaDataWidget = {
    & ::KFileMetaDataWidget::staticMetaObject,
    0,
    signals_KFileMetaDataWidget
};


sipClassTypeDef sipTypeDef_kio_KFileMetaDataWidget = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KFileMetaDataWidget,
        {0},
        &plugin_KFileMetaDataWidget
    },
    {
        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
};

#line 23 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kfilemetadataconfigurationwidget.sip"
#include <kfilemetadataconfigurationwidget.h>
#line 22484 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"

#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 22488 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 22491 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 22494 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 134 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kfileitem.sip"
#include <kfileitem.h>
#line 22497 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 22500 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 22503 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 22506 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 22509 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 22512 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 22515 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 22518 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 22521 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 22524 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 22527 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 22530 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 22533 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 22536 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 22539 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 22542 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 22545 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 22548 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 22551 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 22554 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 22557 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 22560 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22563 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22566 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22569 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 739 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22572 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 792 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22575 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 765 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22578 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 781 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22581 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 854 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22584 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 403 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22587 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 618 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22590 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22593 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 561 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22596 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 548 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22599 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 524 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22602 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22605 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22608 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 347 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22611 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 252 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22614 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 22617 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 52 "/usr/share/sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 22620 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 22623 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 22626 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 22629 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 22632 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 22635 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 22638 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 22641 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 22644 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 22647 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 22650 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 22653 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 22656 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 22659 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 22662 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 22665 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 22668 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 22671 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 22674 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 22677 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/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*);
    bool event( ::QEvent*);
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
     ::QPaintEngine* paintEngine() const;
    int devType() const;
    void setVisible(bool);
     ::QSize sizeHint() const;
     ::QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    void mousePressEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void wheelEvent( ::QWheelEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void enterEvent( ::QEvent*);
    void leaveEvent( ::QEvent*);
    void paintEvent( ::QPaintEvent*);
    void moveEvent( ::QMoveEvent*);
    void resizeEvent( ::QResizeEvent*);
    void closeEvent( ::QCloseEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void tabletEvent( ::QTabletEvent*);
    void actionEvent( ::QActionEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dropEvent( ::QDropEvent*);
    void showEvent( ::QShowEvent*);
    void hideEvent( ::QHideEvent*);
    void changeEvent( ::QEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    void enabledChange(bool);
    void paletteChange(const  ::QPalette&);
    void fontChange(const  ::QFont&);
    void windowActivationChange(bool);
    void languageChange();

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()
{
    sipInstanceDestroyed(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;
    }

    extern void sipVH_kio_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kio_3(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;
    }

    extern void sipVH_kio_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kio_3(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;
    }

    extern void sipVH_kio_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kio_4(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;
    }

    extern void sipVH_kio_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kio_5(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;
    }

    extern void sipVH_kio_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kio_6(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);

    extern bool sipVH_kio_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kio_7(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKFileMetaDataConfigurationWidget::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KFileMetaDataConfigurationWidget::event(a0);

    extern bool sipVH_kio_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kio_8(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[7]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::KFileMetaDataConfigurationWidget::metric(a0);

    extern int sipVH_kio_99(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_kio_99(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QPaintEngine* sipKFileMetaDataConfigurationWidget::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::KFileMetaDataConfigurationWidget::paintEngine();

    extern  ::QPaintEngine* sipVH_kio_98(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_98(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKFileMetaDataConfigurationWidget::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::KFileMetaDataConfigurationWidget::devType();

    extern int sipVH_kio_97(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_97(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKFileMetaDataConfigurationWidget::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::KFileMetaDataConfigurationWidget::setVisible(a0);
        return;
    }

    extern void sipVH_kio_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kio_47(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QSize sipKFileMetaDataConfigurationWidget::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::KFileMetaDataConfigurationWidget::sizeHint();

    extern  ::QSize sipVH_kio_96(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_96(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QSize sipKFileMetaDataConfigurationWidget::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::KFileMetaDataConfigurationWidget::minimumSizeHint();

    extern  ::QSize sipVH_kio_96(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kio_96(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKFileMetaDataConfigurationWidget::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return  ::KFileMetaDataConfigurationWidget::heightForWidth(a0);

    extern int sipVH_kio_95(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_kio_95(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataConfigurationWidget::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::KFileMetaDataConfigurationWidget::mousePressEvent(a0);
        return;
    }

    extern void sipVH_kio_94(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kio_94(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataConfigurationWidget::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::KFileMetaDataConfigurationWidget::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_kio_94(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kio_94(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataConfigurationWidget::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::KFileMetaDataConfigurationWidget::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_kio_94(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kio_94(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataConfigurationWidget::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::KFileMetaDataConfigurationWidget::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_kio_94(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kio_94(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataConfigurationWidget::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::KFileMetaDataConfigurationWidget::wheelEvent(a0);
        return;
    }

    extern void sipVH_kio_93(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_kio_93(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataConfigurationWidget::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::KFileMetaDataConfigurationWidget::keyPressEvent(a0);
        return;
    }

    extern void sipVH_kio_92(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kio_92(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataConfigurationWidget::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::KFileMetaDataConfigurationWidget::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_kio_92(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kio_92(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataConfigurationWidget::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::KFileMetaDataConfigurationWidget::focusInEvent(a0);
        return;
    }

    extern void sipVH_kio_91(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kio_91(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataConfigurationWidget::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::KFileMetaDataConfigurationWidget::focusOutEvent(a0);
        return;
    }

    extern void sipVH_kio_91(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kio_91(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataConfigurationWidget::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::KFileMetaDataConfigurationWidget::enterEvent(a0);
        return;
    }

    extern void sipVH_kio_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kio_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataConfigurationWidget::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::KFileMetaDataConfigurationWidget::leaveEvent(a0);
        return;
    }

    extern void sipVH_kio_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kio_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataConfigurationWidget::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::KFileMetaDataConfigurationWidget::paintEvent(a0);
        return;
    }

    extern void sipVH_kio_90(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_kio_90(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataConfigurationWidget::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::KFileMetaDataConfigurationWidget::moveEvent(a0);
        return;
    }

    extern void sipVH_kio_89(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_kio_89(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataConfigurationWidget::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::KFileMetaDataConfigurationWidget::resizeEvent(a0);
        return;
    }

    extern void sipVH_kio_88(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_kio_88(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataConfigurationWidget::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::KFileMetaDataConfigurationWidget::closeEvent(a0);
        return;
    }

    extern void sipVH_kio_87(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_kio_87(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataConfigurationWidget::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::KFileMetaDataConfigurationWidget::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_kio_86(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_kio_86(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataConfigurationWidget::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::KFileMetaDataConfigurationWidget::tabletEvent(a0);
        return;
    }

    extern void sipVH_kio_85(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_kio_85(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataConfigurationWidget::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::KFileMetaDataConfigurationWidget::actionEvent(a0);
        return;
    }

    extern void sipVH_kio_84(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_kio_84(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataConfigurationWidget::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::KFileMetaDataConfigurationWidget::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_kio_83(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_kio_83(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataConfigurationWidget::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::KFileMetaDataConfigurationWidget::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_kio_82(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_kio_82(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataConfigurationWidget::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::KFileMetaDataConfigurationWidget::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_kio_81(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_kio_81(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataConfigurationWidget::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::KFileMetaDataConfigurationWidget::dropEvent(a0);
        return;
    }

    extern void sipVH_kio_80(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_kio_80(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataConfigurationWidget::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::KFileMetaDataConfigurationWidget::showEvent(a0);
        return;
    }

    extern void sipVH_kio_79(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_kio_79(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataConfigurationWidget::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::KFileMetaDataConfigurationWidget::hideEvent(a0);
        return;
    }

    extern void sipVH_kio_78(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_kio_78(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataConfigurationWidget::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::KFileMetaDataConfigurationWidget::changeEvent(a0);
        return;
    }

    extern void sipVH_kio_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kio_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataConfigurationWidget::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::KFileMetaDataConfigurationWidget::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_kio_77(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_kio_77(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[40]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::KFileMetaDataConfigurationWidget::inputMethodQuery(a0);

    extern  ::QVariant sipVH_kio_76(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_kio_76(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKFileMetaDataConfigurationWidget::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::KFileMetaDataConfigurationWidget::focusNextPrevChild(a0);

    extern bool sipVH_kio_75(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_kio_75(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataConfigurationWidget::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
         ::KFileMetaDataConfigurationWidget::enabledChange(a0);
        return;
    }

    extern void sipVH_kio_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kio_47(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataConfigurationWidget::paletteChange(const  ::QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
         ::KFileMetaDataConfigurationWidget::paletteChange(a0);
        return;
    }

    extern void sipVH_kio_74(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPalette&);

    sipVH_kio_74(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataConfigurationWidget::fontChange(const  ::QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
         ::KFileMetaDataConfigurationWidget::fontChange(a0);
        return;
    }

    extern void sipVH_kio_73(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QFont&);

    sipVH_kio_73(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataConfigurationWidget::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
         ::KFileMetaDataConfigurationWidget::windowActivationChange(a0);
        return;
    }

    extern void sipVH_kio_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kio_47(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileMetaDataConfigurationWidget::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
         ::KFileMetaDataConfigurationWidget::languageChange();
        return;
    }

    extern void sipVH_kio_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kio_9(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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 inheritance hierarchy. */
extern "C" {static void *cast_KFileMetaDataConfigurationWidget(void *, const sipTypeDef *);}
static void *cast_KFileMetaDataConfigurationWidget(void *sipCppV, const sipTypeDef *targetType)
{
     ::KFileMetaDataConfigurationWidget *sipCpp = reinterpret_cast< ::KFileMetaDataConfigurationWidget *>(sipCppV);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKFileMetaDataConfigurationWidget *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KFileMetaDataConfigurationWidget(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{61, 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}
};


static pyqt4ClassPluginDef plugin_KFileMetaDataConfigurationWidget = {
    & ::KFileMetaDataConfigurationWidget::staticMetaObject,
    0,
    0
};


sipClassTypeDef sipTypeDef_kio_KFileMetaDataConfigurationWidget = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KFileMetaDataConfigurationWidget,
        {0},
        &plugin_KFileMetaDataConfigurationWidget
    },
    {
        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
};

#line 25 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kfileitemlistproperties.sip"
#include <kfileitemlistproperties.h>
#line 23881 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"

#line 134 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kfileitem.sip"
#include <kfileitem.h>
#line 23885 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 23888 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 33 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 23891 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/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;
}


/* 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 (sipIsOwnedByPython(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}
};


static pyqt4ClassPluginDef plugin_KFileItemListProperties = {
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_kio_KFileItemListProperties = {
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KFileItemListProperties,
        {0},
        &plugin_KFileItemListProperties
    },
    {
        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,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kfileitemdelegate.sip"
#include <kfileitemdelegate.h>
#line 24353 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"

#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 24357 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qtextoption.sip"
#include <qtextoption.h>
#line 24360 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 24363 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 1126 "/usr/share/sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 24366 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 24369 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 24372 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 803 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24375 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 24378 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 24381 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 24384 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 110 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 24387 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcolor.sip"
#include <qcolor.h>
#line 24390 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 24393 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 122 "/usr/share/sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 24396 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 24399 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qabstractitemdelegate.sip"
#include <qabstractitemdelegate.h>
#line 24402 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 24405 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 24408 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 24411 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 24414 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 24417 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 24420 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 24423 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 24426 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 24429 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 24432 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 24435 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 24438 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/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 eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    void paint( ::QPainter*,const  ::QStyleOptionViewItem&,const  ::QModelIndex&) const;
     ::QSize sizeHint(const  ::QStyleOptionViewItem&,const  ::QModelIndex&) const;
     ::QWidget* createEditor( ::QWidget*,const  ::QStyleOptionViewItem&,const  ::QModelIndex&) const;
    void setEditorData( ::QWidget*,const  ::QModelIndex&) const;
    void setModelData( ::QWidget*, ::QAbstractItemModel*,const  ::QModelIndex&) const;
    void updateEditorGeometry( ::QWidget*,const  ::QStyleOptionViewItem&,const  ::QModelIndex&) const;
    bool editorEvent( ::QEvent*, ::QAbstractItemModel*,const  ::QStyleOptionViewItem&,const  ::QModelIndex&);

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()
{
    sipInstanceDestroyed(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;
    }

    extern void sipVH_kio_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kio_3(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;
    }

    extern void sipVH_kio_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kio_3(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;
    }

    extern void sipVH_kio_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kio_4(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;
    }

    extern void sipVH_kio_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kio_5(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;
    }

    extern void sipVH_kio_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kio_6(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKFileItemDelegate::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::KFileItemDelegate::eventFilter(a0,a1);

    extern bool sipVH_kio_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kio_7(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKFileItemDelegate::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KFileItemDelegate::event(a0);

    extern bool sipVH_kio_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kio_8(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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[7]),sipPySelf,NULL,sipName_paint);

    if (!sipMeth)
    {
         ::KFileItemDelegate::paint(a0,a1,a2);
        return;
    }

    extern void sipVH_kio_166(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QStyleOptionViewItem&,const  ::QModelIndex&);

    sipVH_kio_166(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[8]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::KFileItemDelegate::sizeHint(a0,a1);

    extern  ::QSize sipVH_kio_165(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QStyleOptionViewItem&,const  ::QModelIndex&);

    return sipVH_kio_165(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

 ::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[9]),sipPySelf,NULL,sipName_createEditor);

    if (!sipMeth)
        return  ::KFileItemDelegate::createEditor(a0,a1,a2);

    extern  ::QWidget* sipVH_kio_164(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*,const  ::QStyleOptionViewItem&,const  ::QModelIndex&);

    return sipVH_kio_164(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[10]),sipPySelf,NULL,sipName_setEditorData);

    if (!sipMeth)
    {
         ::KFileItemDelegate::setEditorData(a0,a1);
        return;
    }

    extern void sipVH_kio_163(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*,const  ::QModelIndex&);

    sipVH_kio_163(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKFileItemDelegate::setModelData( ::QWidget*a0, ::QAbstractItemModel*a1,const  ::QModelIndex& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_setModelData);

    if (!sipMeth)
    {
         ::KFileItemDelegate::setModelData(a0,a1,a2);
        return;
    }

    extern void sipVH_kio_162(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*, ::QAbstractItemModel*,const  ::QModelIndex&);

    sipVH_kio_162(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

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[12]),sipPySelf,NULL,sipName_updateEditorGeometry);

    if (!sipMeth)
    {
         ::KFileItemDelegate::updateEditorGeometry(a0,a1,a2);
        return;
    }

    extern void sipVH_kio_161(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*,const  ::QStyleOptionViewItem&,const  ::QModelIndex&);

    sipVH_kio_161(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipKFileItemDelegate::editorEvent( ::QEvent*a0, ::QAbstractItemModel*a1,const  ::QStyleOptionViewItem& a2,const  ::QModelIndex& a3)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_editorEvent);

    if (!sipMeth)
        return  ::KFileItemDelegate::editorEvent(a0,a1,a2,a3);

    extern bool sipVH_kio_160(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*, ::QAbstractItemModel*,const  ::QStyleOptionViewItem&,const  ::QModelIndex&);

    return sipVH_kio_160(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}


extern "C" {static PyObject *meth_KFileItemDelegate_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_KFileItemDelegate_sizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 inheritance hierarchy. */
extern "C" {static void *cast_KFileItemDelegate(void *, const sipTypeDef *);}
static void *cast_KFileItemDelegate(void *sipCppV, const sipTypeDef *targetType)
{
     ::KFileItemDelegate *sipCpp = reinterpret_cast< ::KFileItemDelegate *>(sipCppV);

    if (targetType == sipType_QAbstractItemDelegate)
        return static_cast< ::QAbstractItemDelegate *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKFileItemDelegate *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KFileItemDelegate(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{1, 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},
};


static pyqt4ClassPluginDef plugin_KFileItemDelegate = {
    & ::KFileItemDelegate::staticMetaObject,
    0,
    0
};


sipClassTypeDef sipTypeDef_kio_KFileItemDelegate = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KFileItemDelegate,
        {0},
        &plugin_KFileItemDelegate
    },
    {
        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
};

#line 25 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kfileitemactions.sip"
#include <kfileitemactions.h>
#line 25668 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"

#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 25672 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 134 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kfileitem.sip"
#include <kfileitem.h>
#line 25675 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 25678 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qmenu.sip"
#include <qmenu.h>
#line 25681 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 114 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kservice.sip"
#include <qlist.h>
#line 25684 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 340 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 25687 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kservice.sip"
#include <kservice.h>
#line 25690 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 25693 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kaction.sip"
#include <kaction.h>
#line 25696 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 25699 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 25 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kfileitemlistproperties.sip"
#include <kfileitemlistproperties.h>
#line 25702 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 25705 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 25708 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 25711 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 25714 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 25717 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 25720 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 25723 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 25726 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 25729 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 25732 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 25735 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/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:
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const char*);
    void disconnectNotify(const char*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    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()
{
    sipInstanceDestroyed(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);
}

bool sipKFileItemActions::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KFileItemActions::event(a0);

    extern bool sipVH_kio_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kio_8(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKFileItemActions::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::KFileItemActions::eventFilter(a0,a1);

    extern bool sipVH_kio_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kio_7(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKFileItemActions::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::KFileItemActions::timerEvent(a0);
        return;
    }

    extern void sipVH_kio_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kio_6(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;
    }

    extern void sipVH_kio_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kio_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileItemActions::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::KFileItemActions::customEvent(a0);
        return;
    }

    extern void sipVH_kio_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kio_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileItemActions::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::KFileItemActions::connectNotify(a0);
        return;
    }

    extern void sipVH_kio_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kio_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileItemActions::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::KFileItemActions::disconnectNotify(a0);
        return;
    }

    extern void sipVH_kio_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kio_3(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 inheritance hierarchy. */
extern "C" {static void *cast_KFileItemActions(void *, const sipTypeDef *);}
static void *cast_KFileItemActions(void *sipCppV, const sipTypeDef *targetType)
{
     ::KFileItemActions *sipCpp = reinterpret_cast< ::KFileItemActions *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKFileItemActions *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KFileItemActions(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{18, 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}
};


static pyqt4ClassPluginDef plugin_KFileItemActions = {
    & ::KFileItemActions::staticMetaObject,
    0,
    signals_KFileItemActions
};


sipClassTypeDef sipTypeDef_kio_KFileItemActions = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KFileItemActions,
        {0},
        &plugin_KFileItemActions
    },
    {
        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
};

#line 23 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kfileitemactionplugin.sip"
#include <kfileitemactionplugin.h>
#line 26274 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"

#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 26278 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 26281 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 26284 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 25 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kio/kfileitemlistproperties.sip"
#include <kfileitemlistproperties.h>
#line 26287 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 26290 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 26293 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 26296 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 26299 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 26302 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 26305 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 26308 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 26311 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 26314 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 26317 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 26320 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 26323 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kio/sipkiopart3.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 26326 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/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:
    QList< ::QAction*> actions(const  ::KFileItemListProperties&, ::QWidget*) const;
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const char*);
    void disconnectNotify(const char*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    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()
{
    sipInstanceDestroyed(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);
}

QList< ::QAction*> sipKFileItemActionPlugin::actions(const  ::KFileItemListProperties& a0, ::QWidget*a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,sipName_KFileItemActionPlugin,sipName_actions);

    if (!sipMeth)
        return QList< ::QAction*>();

    extern QList< ::QAction*> sipVH_kio_38(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::KFileItemListProperties&, ::QWidget*);

    return sipVH_kio_38(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKFileItemActionPlugin::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KFileItemActionPlugin::event(a0);

    extern bool sipVH_kio_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kio_8(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKFileItemActionPlugin::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::KFileItemActionPlugin::eventFilter(a0,a1);

    extern bool sipVH_kio_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kio_7(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKFileItemActionPlugin::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::KFileItemActionPlugin::timerEvent(a0);
        return;
    }

    extern void sipVH_kio_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kio_6(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileItemActionPlugin::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::KFileItemActionPlugin::childEvent(a0);
        return;
    }

    extern void sipVH_kio_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kio_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileItemActionPlugin::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::KFileItemActionPlugin::customEvent(a0);
        return;
    }

    extern void sipVH_kio_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kio_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileItemActionPlugin::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::KFileItemActionPlugin::connectNotify(a0);
        return;
    }

    extern void sipVH_kio_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kio_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileItemActionPlugin::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::KFileItemActionPlugin::disconnectNotify(a0);
        return;
    }

    extern void sipVH_kio_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kio_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}


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 inheritance hierarchy. */
extern "C" {static void *cast_KFileItemActionPlugin(void *, const sipTypeDef *);}
static void *cast_KFileItemActionPlugin(void *sipCppV, const sipTypeDef *targetType)
{
     ::KFileItemActionPlugin *sipCpp = reinterpret_cast< ::KFileItemActionPlugin *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKFileItemActionPlugin *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KFileItemActionPlugin(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{18, 0, 1}};


static PyMethodDef methods_KFileItemActionPlugin[] = {
    {SIP_MLNAME_CAST(sipName_actions), meth_KFileItemActionPlugin_actions, METH_VARARGS, NULL}
};


static pyqt4ClassPluginDef plugin_KFileItemActionPlugin = {
    & ::KFileItemActionPlugin::staticMetaObject,
    0,
    0
};


sipClassTypeDef sipTypeDef_kio_KFileItemActionPlugin = {
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KFileItemActionPlugin,
        {0},
        &plugin_KFileItemActionPlugin
    },
    {
        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
};
