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

#include "sipAPIkio.h"

#line 134 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kio/kfileitem.sip"
#include <kfileitem.h>
#line 12 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"

#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 16 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kio/kfileitem.sip"
#include <kfileitem.h>
#line 19 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 22 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 25 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KFileItemList, &sipCpp, sipType_QString,&a0, &a0State))
        {
            KFileItem*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KFileItem(sipCpp->findByName(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

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

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

    return NULL;
}


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

    {
        const KUrl* a0;
        const KFileItemList *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KFileItemList, &sipCpp, sipType_KUrl, &a0))
        {
            KFileItem*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KFileItem(sipCpp->findByUrl(*a0));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KFileItemList *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileItemList, &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_KFileItemList, sipName_urlList, NULL);

    return NULL;
}


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

    {
        const KFileItemList *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileItemList, &sipCpp))
        {
            KUrl::List*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl::List(sipCpp->targetUrlList());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


extern "C" {static PyObject *slot_KFileItemList___getitem__(PyObject *,PyObject *);}
static PyObject *slot_KFileItemList___getitem__(PyObject *sipSelf,PyObject *sipArg)
{
    KFileItemList *sipCpp = reinterpret_cast<KFileItemList *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KFileItemList));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            KFileItem*sipRes = 0;
            int sipIsErr = 0;

#line 224 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kio/kfileitem.sip"
int len;
        
        len = sipCpp->count();
        
        if ((a0 = (int)sipConvertFromSequenceIndex(a0, len)) < 0)
            sipIsErr = 1;
        else
            sipRes = new KFileItem((*sipCpp)[a0]);
#line 170 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"

            if (sipIsErr)
                return 0;

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

    {
        PyObject * a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1T", &PySlice_Type, &a0))
        {
            KFileItemList*sipRes = 0;
            int sipIsErr = 0;

#line 236 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kio/kfileitem.sip"
SIP_SSIZE_T len, start, stop, step, slicelength, i;
        
        len = sipCpp->count();
        
#if PY_VERSION_HEX >= 0x03020000
        if (PySlice_GetIndicesEx(a0, len, &start, &stop, &step, &slicelength) < 0)
#else
        if (PySlice_GetIndicesEx((PySliceObject *)a0, len, &start, &stop, &step, &slicelength) < 0)
#endif
            sipIsErr = 1;
        else
        {
            sipRes = new KFileItemList();
        
            for (i = 0; i < slicelength; ++i)
            {
                (*sipRes) += (*sipCpp)[start];
                start += step;
            }
        }
#line 208 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"

            if (sipIsErr)
                return 0;

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

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

    return 0;
}


extern "C" {static int slot_KFileItemList___delitem__(PyObject *,PyObject *);}
static int slot_KFileItemList___delitem__(PyObject *sipSelf,PyObject *sipArg)
{
    KFileItemList *sipCpp = reinterpret_cast<KFileItemList *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KFileItemList));

    if (!sipCpp)
        return -1;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            int sipIsErr = 0;

#line 197 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kio/kfileitem.sip"
int len;

    len = sipCpp -> count();

    if ((a0 = sipConvertFromSequenceIndex(a0,len)) < 0)
        sipIsErr = 1;
    else
        sipCpp -> removeAt ( a0);
#line 250 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"

            if (sipIsErr)
                return -1;

            return 0;
        }
    }

    {
        PyObject * a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1T", &PySlice_Type, &a0))
        {
            int sipIsErr = 0;

#line 209 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kio/kfileitem.sip"
SIP_SSIZE_T len, start, stop, step, slicelength, i;

    len = sipCpp -> count();
    if (sipConvertFromSliceObject(a0,len,&start,&stop,&step,&slicelength) < 0)
        sipIsErr = 1;
    else
        for (i = 0; i < slicelength; ++i)
        {
            sipCpp -> removeAt (start);
            start += step - 1;
        }
#line 278 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"

            if (sipIsErr)
                return -1;

            return 0;
        }
    }

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

    return -1;
}


extern "C" {static int slot_KFileItemList___setitem__(PyObject *,PyObject *);}
static int slot_KFileItemList___setitem__(PyObject *sipSelf,PyObject *sipArgs)
{
    KFileItemList *sipCpp = reinterpret_cast<KFileItemList *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KFileItemList));

    if (!sipCpp)
        return -1;

    PyObject *sipParseErr = NULL;

    {
        int a0;
        const KFileItem* a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "iJ9", &a0, sipType_KFileItem, &a1))
        {
            int sipIsErr = 0;

#line 156 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kio/kfileitem.sip"
int len;

    len = sipCpp -> count();

    if ((a0 = sipConvertFromSequenceIndex(a0,len)) < 0)
        sipIsErr = 1;
    else
        (*sipCpp)[a0] = *(KFileItem *)a1;
#line 321 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"

            if (sipIsErr)
                return -1;

            return 0;
        }
    }

    {
        PyObject * a0;
        const KFileItemList* a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "TJ9", &PySlice_Type, &a0, sipType_KFileItemList, &a1))
        {
            int sipIsErr = 0;

#line 168 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kio/kfileitem.sip"
SIP_SSIZE_T len, start, stop, step, slicelength, i;

    len = sipCpp -> count();

    if (sipConvertFromSliceObject(a0,len,&start,&stop,&step,&slicelength) < 0)
        sipIsErr = 1;
    else
    {
        int vlen = a1 -> count();
        if (vlen != slicelength)
        {
            sipBadLengthForSlice(vlen,slicelength);
            sipIsErr = 1;
        }
        else
        {
            KFileItemList::ConstIterator it = a1 -> begin();
            for (i = 0; i < slicelength; ++i)
            {
                (*sipCpp)[start] = *it;
                start += step;
                ++it;
            }
        }
    }
#line 364 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"

            if (sipIsErr)
                return -1;

            return 0;
        }
    }

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

    return -1;
}


extern "C" {static SIP_SSIZE_T slot_KFileItemList___len__(PyObject *);}
static SIP_SSIZE_T slot_KFileItemList___len__(PyObject *sipSelf)
{
    KFileItemList *sipCpp = reinterpret_cast<KFileItemList *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KFileItemList));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes = 0;

#line 149 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kio/kfileitem.sip"
Py_BEGIN_ALLOW_THREADS
    sipRes = sipCpp -> count();
    Py_END_ALLOW_THREADS
#line 397 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"

            return sipRes;
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_KFileItemList(void *, int);}
static void release_KFileItemList(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<KFileItemList *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KFileItemList(void *, SIP_SSIZE_T, const void *);}
static void assign_KFileItemList(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<KFileItemList *>(sipDst)[sipDstIdx] = *reinterpret_cast<const KFileItemList *>(sipSrc);
}


extern "C" {static void *array_KFileItemList(SIP_SSIZE_T);}
static void *array_KFileItemList(SIP_SSIZE_T sipNrElem)
{
    return new KFileItemList[sipNrElem];
}


extern "C" {static void *copy_KFileItemList(const void *, SIP_SSIZE_T);}
static void *copy_KFileItemList(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new KFileItemList(reinterpret_cast<const KFileItemList *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_KFileItemList(sipSimpleWrapper *);}
static void dealloc_KFileItemList(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KFileItemList(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_KFileItemList(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KFileItemList(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    KFileItemList *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KFileItemList();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const QList<KFileItem>* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QList_0100KFileItem,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KFileItemList(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QList<KFileItem> *>(a0),sipType_QList_0100KFileItem,a0State);

            return sipCpp;
        }
    }

    {
        const KFileItemList* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_KFileItemList, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KFileItemList(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_KFileItemList[] = {
    {(void *)slot_KFileItemList___getitem__, getitem_slot},
    {(void *)slot_KFileItemList___delitem__, delitem_slot},
    {(void *)slot_KFileItemList___setitem__, setitem_slot},
    {(void *)slot_KFileItemList___len__, len_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_KFileItemList[] = {
    {SIP_MLNAME_CAST(sipName_findByName), meth_KFileItemList_findByName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_findByUrl), meth_KFileItemList_findByUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_targetUrlList), meth_KFileItemList_targetUrlList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_urlList), meth_KFileItemList_urlList, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kio_KFileItemList = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KFileItemList,
        {0}
    },
    {
        sipNameNr_KFileItemList,
        {0, 0, 1},
        4, methods_KFileItemList,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    slots_KFileItemList,
    init_type_KFileItemList,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KFileItemList,
    assign_KFileItemList,
    array_KFileItemList,
    copy_KFileItemList,
    release_KFileItemList,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kio/kfileitem.sip"
#include <kfileitem.h>
#line 571 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"

#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kio/udsentry.sip"
#include <udsentry.h>
#line 575 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 578 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 581 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 37 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kio/kfilemetainfo.sip"
#include <kfilemetainfo.h>
#line 584 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 587 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 590 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 593 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 340 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 596 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kmimetype.sip"
#include <kmimetype.h>
#line 599 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kdatetime.sip"
#include <kdatetime.h>
#line 602 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 46 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kio/kacl.sip"
#include <kacl.h>
#line 605 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"


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

    {
        KFileItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileItem, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->refresh();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KFileItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileItem, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->refreshMimeType();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KFileItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileItem, &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_KFileItem, sipName_url, NULL);

    return NULL;
}


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

    {
        const KUrl* a0;
        KFileItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KFileItem, &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_KFileItem, sipName_setUrl, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KFileItem, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setName(*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_KFileItem, sipName_setName, NULL);

    return NULL;
}


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

    {
        const KFileItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileItem, &sipCpp))
        {
            mode_t sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->permissions();
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KFileItem *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->permissionsString());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KFileItem *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasExtendedACL();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KFileItem *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KACL(sipCpp->ACL());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KFileItem *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KACL(sipCpp->defaultACL());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KFileItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileItem, &sipCpp))
        {
            mode_t sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->mode();
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KFileItem *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->user());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KFileItem *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->group());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KFileItem *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isLink();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KFileItem *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isDir();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KFileItem *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isFile();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KFileItem *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isReadable();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KFileItem *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isWritable();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KFileItem *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isHidden();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KFileItem *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isDesktopFile();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KFileItem *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->linkDest());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KFileItem *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl(sipCpp->targetUrl());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KFileItem *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->localPath());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KFileItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileItem, &sipCpp))
        {
            KIO::filesize_t sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->size();
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLongLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KFileItem::FileTimes a0;
        const KFileItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BXE", &sipSelf, sipType_KFileItem, &sipCpp, sipType_KFileItem_FileTimes, &a0))
        {
            KDateTime*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KDateTime(sipCpp->time(a0));
            Py_END_ALLOW_THREADS

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

    {
        uint a0;
        const KFileItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bu", &sipSelf, sipType_KFileItem, &sipCpp, &a0))
        {
            time_t sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->time(a0);
            Py_END_ALLOW_THREADS

            return PyLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KFileItem::FileTimes a0 = KFileItem::ModificationTime;
        const KFileItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|E", &sipSelf, sipType_KFileItem, &sipCpp, sipType_KFileItem_FileTimes, &a0))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->timeString(a0));
            Py_END_ALLOW_THREADS

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

    {
        uint a0;
        const KFileItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bu", &sipSelf, sipType_KFileItem, &sipCpp, &a0))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->timeString(a0));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KFileItem *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isLocalFile();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KFileItem *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->text());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        bool a0 = 0;
        const KFileItem *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->name(a0));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KFileItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileItem, &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_KFileItem, sipName_mimetype, NULL);

    return NULL;
}


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

    {
        const KFileItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileItem, &sipCpp))
        {
            KMimeType::Ptr*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KMimeType::Ptr(sipCpp->determineMimeType());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KFileItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileItem, &sipCpp))
        {
            KMimeType::Ptr*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KMimeType::Ptr(sipCpp->mimeTypePtr());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KFileItem *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isMimeTypeKnown();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KFileItem *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->mimeComment());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KFileItem *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->iconName());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        int a0;
        int a1 = 0;
        const KFileItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi|i", &sipSelf, sipType_KFileItem, &sipCpp, &a0, &a1))
        {
            QPixmap*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPixmap(sipCpp->pixmap(a0,a1));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KFileItem *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        const KFileItem *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->getStatusBarInfo());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        int a0 = 6;
        const KFileItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|i", &sipSelf, sipType_KFileItem, &sipCpp, &a0))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->getToolTipText(a0));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KFileItem *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->acceptsDrops();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QWidget* a0 = 0;
        const KFileItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|J8", &sipSelf, sipType_KFileItem, &sipCpp, sipType_QWidget, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->run(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KFileItem *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KIO::UDSEntry(sipCpp->entry());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KFileItem *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isMarked();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KFileItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileItem, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->mark();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KFileItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileItem, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->unmark();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KFileItem *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isRegularFile();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KFileItem* a0;
        const KFileItem *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->cmp(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KFileMetaInfo* a0;
        const KFileItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KFileItem, &sipCpp, sipType_KFileMetaInfo, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMetaInfo(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        bool a0 = 1;
        int a1 = KFileMetaInfo::Fastest;
        const KFileItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|bi", &sipSelf, sipType_KFileItem, &sipCpp, &a0, &a1))
        {
            KFileMetaInfo*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KFileMetaInfo(sipCpp->metaInfo(a0,a1));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KFileItem* a0;
        KFileItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KFileItem, &sipCpp, sipType_KFileItem, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->assign(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KIO::UDSEntry* a0;
        const KUrl* a1;
        bool a2 = 0;
        bool a3 = 0;
        KFileItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J9|bb", &sipSelf, sipType_KFileItem, &sipCpp, sipType_KIO_UDSEntry, &a0, sipType_KUrl, &a1, &a2, &a3))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setUDSEntry(*a0,*a1,a2,a3);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        const KFileItem *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl(sipCpp->mostLocalUrl(a0));
            Py_END_ALLOW_THREADS

            PyObject *sipResObj = sipConvertFromNewType(sipRes,sipType_KUrl,NULL);
            return sipBuildResult(0,"(Rb)",sipResObj,a0);
        }
    }

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

    return NULL;
}


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

    {
        const KFileItem *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isNull();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KFileItem *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl(sipCpp->nepomukUri());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KFileItem *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->comment());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KFileItem *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isSlow();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *slot_KFileItem___ne__(PyObject *,PyObject *);}
static PyObject *slot_KFileItem___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    KFileItem *sipCpp = reinterpret_cast<KFileItem *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KFileItem));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KFileItem* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_KFileItem, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->KFileItem::operator!=(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kio,ne_slot,sipType_KFileItem,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KFileItem___eq__(PyObject *,PyObject *);}
static PyObject *slot_KFileItem___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    KFileItem *sipCpp = reinterpret_cast<KFileItem *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KFileItem));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KFileItem* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_KFileItem, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->KFileItem::operator==(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kio,eq_slot,sipType_KFileItem,sipSelf,sipArg);
}


/* Call the instance's destructor. */
extern "C" {static void release_KFileItem(void *, int);}
static void release_KFileItem(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<KFileItem *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KFileItem(void *, SIP_SSIZE_T, const void *);}
static void assign_KFileItem(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<KFileItem *>(sipDst)[sipDstIdx] = *reinterpret_cast<const KFileItem *>(sipSrc);
}


extern "C" {static void *array_KFileItem(SIP_SSIZE_T);}
static void *array_KFileItem(SIP_SSIZE_T sipNrElem)
{
    return new KFileItem[sipNrElem];
}


extern "C" {static void *copy_KFileItem(const void *, SIP_SSIZE_T);}
static void *copy_KFileItem(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new KFileItem(reinterpret_cast<const KFileItem *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_KFileItem(sipSimpleWrapper *);}
static void dealloc_KFileItem(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KFileItem(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_KFileItem(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KFileItem(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    KFileItem *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KFileItem();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const KIO::UDSEntry* a0;
        const KUrl* a1;
        bool a2 = 0;
        bool a3 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9J9|bb", sipType_KIO_UDSEntry, &a0, sipType_KUrl, &a1, &a2, &a3))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KFileItem(*a0,*a1,a2,a3);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        mode_t a0;
        mode_t a1;
        const KUrl* a2;
        bool a3 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "uuJ9|b", &a0, &a1, sipType_KUrl, &a2, &a3))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KFileItem(a0,a1,*a2,a3);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const KUrl* a0;
        const QString* a1;
        int a1State = 0;
        mode_t a2;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9J1u", sipType_KUrl, &a0, sipType_QString,&a1, &a1State, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KFileItem(*a0,*a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return sipCpp;
        }
    }

    {
        const KFileItem* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_KFileItem, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KFileItem(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_KFileItem[] = {
    {(void *)slot_KFileItem___ne__, ne_slot},
    {(void *)slot_KFileItem___eq__, eq_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_KFileItem[] = {
    {SIP_MLNAME_CAST(sipName_ACL), meth_KFileItem_ACL, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_acceptsDrops), meth_KFileItem_acceptsDrops, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_assign), meth_KFileItem_assign, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_cmp), meth_KFileItem_cmp, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_comment), meth_KFileItem_comment, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_defaultACL), meth_KFileItem_defaultACL, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_determineMimeType), meth_KFileItem_determineMimeType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_entry), meth_KFileItem_entry, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_getStatusBarInfo), meth_KFileItem_getStatusBarInfo, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_getToolTipText), meth_KFileItem_getToolTipText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_group), meth_KFileItem_group, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hasExtendedACL), meth_KFileItem_hasExtendedACL, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_iconName), meth_KFileItem_iconName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isDesktopFile), meth_KFileItem_isDesktopFile, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isDir), meth_KFileItem_isDir, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isFile), meth_KFileItem_isFile, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isHidden), meth_KFileItem_isHidden, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isLink), meth_KFileItem_isLink, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isLocalFile), meth_KFileItem_isLocalFile, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isMarked), meth_KFileItem_isMarked, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isMimeTypeKnown), meth_KFileItem_isMimeTypeKnown, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isNull), meth_KFileItem_isNull, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isReadable), meth_KFileItem_isReadable, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isRegularFile), meth_KFileItem_isRegularFile, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isSlow), meth_KFileItem_isSlow, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isWritable), meth_KFileItem_isWritable, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_linkDest), meth_KFileItem_linkDest, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_localPath), meth_KFileItem_localPath, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mark), meth_KFileItem_mark, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_metaInfo), meth_KFileItem_metaInfo, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mimeComment), meth_KFileItem_mimeComment, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mimeTypePtr), meth_KFileItem_mimeTypePtr, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mimetype), meth_KFileItem_mimetype, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mode), meth_KFileItem_mode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mostLocalUrl), meth_KFileItem_mostLocalUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_name), meth_KFileItem_name, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_nepomukUri), meth_KFileItem_nepomukUri, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_overlays), meth_KFileItem_overlays, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_permissions), meth_KFileItem_permissions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_permissionsString), meth_KFileItem_permissionsString, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_pixmap), meth_KFileItem_pixmap, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_refresh), meth_KFileItem_refresh, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_refreshMimeType), meth_KFileItem_refreshMimeType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_run), meth_KFileItem_run, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMetaInfo), meth_KFileItem_setMetaInfo, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setName), meth_KFileItem_setName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setUDSEntry), meth_KFileItem_setUDSEntry, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setUrl), meth_KFileItem_setUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_size), meth_KFileItem_size, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_targetUrl), meth_KFileItem_targetUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_text), meth_KFileItem_text, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_time), meth_KFileItem_time, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timeString), meth_KFileItem_timeString, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_unmark), meth_KFileItem_unmark, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_url), meth_KFileItem_url, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_user), meth_KFileItem_user, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KFileItem[] = {
    {sipName_AccessTime, static_cast<int>(KFileItem::AccessTime), 76},
    {sipName_CreationTime, static_cast<int>(KFileItem::CreationTime), 76},
    {sipName_ModificationTime, static_cast<int>(KFileItem::ModificationTime), 76},
    {sipName_Unknown, static_cast<int>(KFileItem::Unknown), -1},
};


pyqt4ClassTypeDef sipTypeDef_kio_KFileItem = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KFileItem,
        {0}
    },
    {
        sipNameNr_KFileItem,
        {0, 0, 1},
        56, methods_KFileItem,
        4, enummembers_KFileItem,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    slots_KFileItem,
    init_type_KFileItem,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KFileItem,
    assign_KFileItem,
    array_KFileItem,
    copy_KFileItem,
    release_KFileItem,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kio/kfilefiltercombo.sip"
#include <kfilefiltercombo.h>
#line 2487 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"

#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 2491 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 2494 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2497 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 2500 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 2503 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 2506 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2509 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 103 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kcompletion.sip"
#include <kcompletion.h>
#line 2512 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qmenu.sip"
#include <qmenu.h>
#line 2515 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kglobalsettings.sip"
#include <kglobalsettings.h>
#line 2518 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qlineedit.sip"
#include <qlineedit.h>
#line 2521 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kcompletionbox.sip"
#include <kcompletionbox.h>
#line 2524 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 2527 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 2530 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 2533 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 2536 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2539 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 651 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2542 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 622 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2545 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 478 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2548 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 256 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2551 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 611 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2554 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 600 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2557 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 528 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2560 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 565 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2563 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 509 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2566 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 1580 "/usr/share/python3-sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 2569 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qcompleter.sip"
#include <qcompleter.h>
#line 2572 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 2575 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 2578 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 122 "/usr/share/python3-sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 2581 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qabstractitemdelegate.sip"
#include <qabstractitemdelegate.h>
#line 2584 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qvalidator.sip"
#include <qvalidator.h>
#line 2587 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qcombobox.sip"
#include <qcombobox.h>
#line 2590 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2593 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2596 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 2599 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2602 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 2605 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 2608 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 2611 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 2614 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 2617 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 2620 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 2623 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 2626 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 2629 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 2632 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 2635 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 2638 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 2641 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2644 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 2647 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 743 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2650 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 796 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2653 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 769 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2656 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 785 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2659 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 858 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2662 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 407 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2665 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 578 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2668 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 552 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2671 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 2674 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 56 "/usr/share/python3-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 2677 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 2680 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 2683 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 2686 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 2689 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 2692 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2695 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 2698 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 2701 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 2704 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 2707 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2710 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2713 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 2716 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 2719 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 2722 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 2725 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 2728 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 157 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kcompletion.sip"
#include <qmap.h>
#line 2731 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kshortcut.sip"
#include <kshortcut.h>
#line 2734 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 31 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kcompletion.sip"
#include <kcompletion.h>
#line 2737 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"


class sipKFileFilterCombo : public KFileFilterCombo
{
public:
    sipKFileFilterCombo(QWidget*);
    virtual ~sipKFileFilterCombo();

    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 setCompletedItems(const QStringList&,bool);
    void setCompletionMode(KGlobalSettings::Completion);
    void setHandleSignals(bool);
    void setCompletionObject(KCompletion*,bool);
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    void languageChange();
    void windowActivationChange(bool);
    void fontChange(const QFont&);
    void paletteChange(const QPalette&);
    void enabledChange(bool);
    bool focusNextPrevChild(bool);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void closeEvent(QCloseEvent*);
    void moveEvent(QMoveEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    void setVisible(bool);
    int devType() const;
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    void paintEvent(QPaintEvent*);
    void resizeEvent(QResizeEvent*);
    void changeEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    bool event(QEvent*);
    void hidePopup();
    void showPopup();
    QSize sizeHint() const;
    QSize minimumSizeHint() const;
    void wheelEvent(QWheelEvent*);
    void create(WId,bool,bool);
    void setCompletedText(const QString&,bool);
    void makeCompletion(const QString&);
    void setCompletedText(const QString&);
    void setLineEdit(QLineEdit*);
    void setContextMenuEnabled(bool);
    void setAutoCompletion(bool);
    bool eventFilter(QObject*,QEvent*);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[60];
};

sipKFileFilterCombo::sipKFileFilterCombo(QWidget*a0): KFileFilterCombo(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipKFileFilterCombo::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KFileFilterCombo);
}

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

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

    return _id;
}

void *sipKFileFilterCombo::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast(sipPySelf, sipType_KFileFilterCombo, _clname)) ? this : KFileFilterCombo::qt_metacast(_clname);
}

void sipKFileFilterCombo::setCompletedItems(const QStringList& a0,bool a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFileFilterCombo::setCompletedItems(a0,a1);
        return;
    }

    typedef void (*sipVH_kdeui_82)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QStringList&,bool);

    ((sipVH_kdeui_82)(sipModuleAPI_kio_kdeui->em_virthandlers[82]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKFileFilterCombo::setCompletionMode(KGlobalSettings::Completion a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFileFilterCombo::setCompletionMode(a0);
        return;
    }

    typedef void (*sipVH_kdeui_70)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KGlobalSettings::Completion);

    ((sipVH_kdeui_70)(sipModuleAPI_kio_kdeui->em_virthandlers[70]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileFilterCombo::setHandleSignals(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFileFilterCombo::setHandleSignals(a0);
        return;
    }

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

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

void sipKFileFilterCombo::setCompletionObject(KCompletion*a0,bool a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFileFilterCombo::setCompletionObject(a0,a1);
        return;
    }

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

    ((sipVH_kdeui_69)(sipModuleAPI_kio_kdeui->em_virthandlers[69]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

void sipKFileFilterCombo::hidePopup()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFileFilterCombo::hidePopup();
        return;
    }

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

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

void sipKFileFilterCombo::showPopup()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFileFilterCombo::showPopup();
        return;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

void sipKFileFilterCombo::create(WId a0,bool a1,bool a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_create);

    if (!sipMeth)
    {
        KFileFilterCombo::create(a0,a1,a2);
        return;
    }

    typedef void (*sipVH_kdeui_68)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, unsigned long,bool,bool);

    ((sipVH_kdeui_68)(sipModuleAPI_kio_kdeui->em_virthandlers[68]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipKFileFilterCombo::setCompletedText(const QString& a0,bool a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_setCompletedText);

    if (!sipMeth)
    {
        KFileFilterCombo::setCompletedText(a0,a1);
        return;
    }

    typedef void (*sipVH_QtXml_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&,bool);

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

void sipKFileFilterCombo::makeCompletion(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_makeCompletion);

    if (!sipMeth)
    {
        KFileFilterCombo::makeCompletion(a0);
        return;
    }

    typedef void (*sipVH_QtCore_33)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

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

void sipKFileFilterCombo::setCompletedText(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[55],sipPySelf,NULL,sipName_setCompletedText);

    if (!sipMeth)
    {
        KFileFilterCombo::setCompletedText(a0);
        return;
    }

    typedef void (*sipVH_QtCore_33)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

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

void sipKFileFilterCombo::setLineEdit(QLineEdit*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[56],sipPySelf,NULL,sipName_setLineEdit);

    if (!sipMeth)
    {
        KFileFilterCombo::setLineEdit(a0);
        return;
    }

    typedef void (*sipVH_kdeui_86)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QLineEdit*);

    ((sipVH_kdeui_86)(sipModuleAPI_kio_kdeui->em_virthandlers[86]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileFilterCombo::setContextMenuEnabled(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[57],sipPySelf,NULL,sipName_setContextMenuEnabled);

    if (!sipMeth)
    {
        KFileFilterCombo::setContextMenuEnabled(a0);
        return;
    }

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

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

void sipKFileFilterCombo::setAutoCompletion(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[58],sipPySelf,NULL,sipName_setAutoCompletion);

    if (!sipMeth)
    {
        KFileFilterCombo::setAutoCompletion(a0);
        return;
    }

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

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

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

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

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

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

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


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KFileFilterCombo, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            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_KFileFilterCombo, sipName_setFilter, NULL);

    return NULL;
}


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

    {
        const KFileFilterCombo *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(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_KFileFilterCombo, sipName_currentFilter, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KFileFilterCombo, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCurrentFilter(*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_KFileFilterCombo, sipName_setCurrentFilter, NULL);

    return NULL;
}


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

    {
        const QStringList* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        KFileFilterCombo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_KFileFilterCombo, &sipCpp, sipType_QStringList,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            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_KFileFilterCombo, sipName_setMimeFilter, NULL);

    return NULL;
}


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

    {
        const KFileFilterCombo *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->showsAllTypes();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KFileFilterCombo, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDefaultFilter(*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_KFileFilterCombo, sipName_setDefaultFilter, NULL);

    return NULL;
}


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

    {
        const KFileFilterCombo *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->defaultFilter());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KFileFilterCombo *sipCpp;

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

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

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

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

    return NULL;
}


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

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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KFileFilterCombo::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_KFileFilterCombo, sipName_eventFilter, NULL);

    return NULL;
}


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

    {
        const KFileFilterCombo *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isMimeFilter();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


/* Cast a pointer to a type somewhere in its multiple inheritance hierarchy. */
extern "C" {static void *cast_KFileFilterCombo(void *, const sipTypeDef *);}
static void *cast_KFileFilterCombo(void *sipCppV, const sipTypeDef *targetType)
{
    KFileFilterCombo *sipCpp = reinterpret_cast<KFileFilterCombo *>(sipCppV);

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

    if (targetType == sipType_KCompletionBase)
        return static_cast<KCompletionBase *>(sipCpp);

    return sipCppV;
}


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

    Py_BEGIN_ALLOW_THREADS

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

    Py_END_ALLOW_THREADS
}


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

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


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

    {
        QWidget* a0 = 0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_KFileFilterCombo[] = {
    {SIP_MLNAME_CAST(sipName_currentFilter), meth_KFileFilterCombo_currentFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_defaultFilter), meth_KFileFilterCombo_defaultFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_eventFilter), meth_KFileFilterCombo_eventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_filters), meth_KFileFilterCombo_filters, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isMimeFilter), meth_KFileFilterCombo_isMimeFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCurrentFilter), meth_KFileFilterCombo_setCurrentFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDefaultFilter), meth_KFileFilterCombo_setDefaultFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setFilter), meth_KFileFilterCombo_setFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMimeFilter), meth_KFileFilterCombo_setMimeFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showsAllTypes), meth_KFileFilterCombo_showsAllTypes, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KFileFilterCombo[] = {
    {"filterChanged()", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kio_KFileFilterCombo = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KFileFilterCombo,
        {0}
    },
    {
        sipNameNr_KFileFilterCombo,
        {0, 0, 1},
        10, methods_KFileFilterCombo,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KFileFilterCombo,
    0,
    init_type_KFileFilterCombo,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KFileFilterCombo,
    0,
    0,
    0,
    release_KFileFilterCombo,
    cast_KFileFilterCombo,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KFileFilterCombo::staticMetaObject,
    0,
    signals_KFileFilterCombo,
};

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kio/kfiledialog.sip"
#include <kfiledialog.h>
#line 4341 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kio/kfiledialog.sip"
#include <kfiledialog.h>
#line 4345 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"


extern "C" {static int slot_KFileDialog_Options___bool__(PyObject *);}
static int slot_KFileDialog_Options___bool__(PyObject *sipSelf)
{
    KFileDialog::Options *sipCpp = reinterpret_cast<KFileDialog::Options *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KFileDialog_Options));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 389 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KFileDialog::Options::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 4367 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KFileDialog_Options___ne__(PyObject *,PyObject *);}
static PyObject *slot_KFileDialog_Options___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    KFileDialog::Options *sipCpp = reinterpret_cast<KFileDialog::Options *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KFileDialog_Options));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KFileDialog::Options* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KFileDialog_Options, &a0, &a0State))
        {
            bool sipRes = 0;

#line 380 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KFileDialog::Options::Int() != a0->operator KFileDialog::Options::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 4401 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
            sipReleaseType(const_cast<KFileDialog::Options *>(a0),sipType_KFileDialog_Options,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kio,ne_slot,sipType_KFileDialog_Options,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KFileDialog_Options___eq__(PyObject *,PyObject *);}
static PyObject *slot_KFileDialog_Options___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    KFileDialog::Options *sipCpp = reinterpret_cast<KFileDialog::Options *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KFileDialog_Options));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KFileDialog::Options* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KFileDialog_Options, &a0, &a0State))
        {
            bool sipRes = 0;

#line 371 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KFileDialog::Options::Int() == a0->operator KFileDialog::Options::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 4441 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
            sipReleaseType(const_cast<KFileDialog::Options *>(a0),sipType_KFileDialog_Options,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kio,eq_slot,sipType_KFileDialog_Options,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KFileDialog_Options___invert__(PyObject *);}
static PyObject *slot_KFileDialog_Options___invert__(PyObject *sipSelf)
{
    KFileDialog::Options *sipCpp = reinterpret_cast<KFileDialog::Options *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KFileDialog_Options));

    if (!sipCpp)
        return 0;


    {
        {
            KFileDialog::Options*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KFileDialog::Options(~(*sipCpp));
            Py_END_ALLOW_THREADS

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

    return 0;
}


extern "C" {static PyObject *slot_KFileDialog_Options___and__(PyObject *,PyObject *);}
static PyObject *slot_KFileDialog_Options___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KFileDialog::Options* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KFileDialog_Options, &a0, &a0State, &a1))
        {
            KFileDialog::Options*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KFileDialog::Options((*a0 & a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KFileDialog_Options,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kio,and_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KFileDialog_Options___xor__(PyObject *,PyObject *);}
static PyObject *slot_KFileDialog_Options___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KFileDialog::Options* a0;
        int a0State = 0;
        KFileDialog::Options* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_KFileDialog_Options, &a0, &a0State, sipType_KFileDialog_Options, &a1, &a1State))
        {
            KFileDialog::Options*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KFileDialog::Options((*a0 ^ *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KFileDialog_Options,a0State);
            sipReleaseType(a1,sipType_KFileDialog_Options,a1State);

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

    {
        KFileDialog::Options* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KFileDialog_Options, &a0, &a0State, &a1))
        {
            KFileDialog::Options*sipRes = 0;

#line 365 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
        sipRes = new KFileDialog::Options(*a0 ^ a1);
#line 4550 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
            sipReleaseType(a0,sipType_KFileDialog_Options,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kio,xor_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KFileDialog_Options___or__(PyObject *,PyObject *);}
static PyObject *slot_KFileDialog_Options___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KFileDialog::Options* a0;
        int a0State = 0;
        KFileDialog::Options* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_KFileDialog_Options, &a0, &a0State, sipType_KFileDialog_Options, &a1, &a1State))
        {
            KFileDialog::Options*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KFileDialog::Options((*a0 | *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KFileDialog_Options,a0State);
            sipReleaseType(a1,sipType_KFileDialog_Options,a1State);

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

    {
        KFileDialog::Options* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KFileDialog_Options, &a0, &a0State, &a1))
        {
            KFileDialog::Options*sipRes = 0;

#line 360 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
        sipRes = new KFileDialog::Options(*a0 | a1);
#line 4602 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
            sipReleaseType(a0,sipType_KFileDialog_Options,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kio,or_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KFileDialog_Options___int__(PyObject *);}
static PyObject *slot_KFileDialog_Options___int__(PyObject *sipSelf)
{
    KFileDialog::Options *sipCpp = reinterpret_cast<KFileDialog::Options *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KFileDialog_Options));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KFileDialog_Options___ixor__(PyObject *,PyObject *);}
static PyObject *slot_KFileDialog_Options___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KFileDialog_Options)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KFileDialog::Options *sipCpp = reinterpret_cast<KFileDialog::Options *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KFileDialog_Options));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        KFileDialog::Options* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KFileDialog_Options, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KFileDialog::Options::operator^=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KFileDialog_Options,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_KFileDialog_Options___ior__(PyObject *,PyObject *);}
static PyObject *slot_KFileDialog_Options___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KFileDialog_Options)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KFileDialog::Options *sipCpp = reinterpret_cast<KFileDialog::Options *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KFileDialog_Options));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        KFileDialog::Options* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KFileDialog_Options, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KFileDialog::Options::operator|=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KFileDialog_Options,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_KFileDialog_Options___iand__(PyObject *,PyObject *);}
static PyObject *slot_KFileDialog_Options___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KFileDialog_Options)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KFileDialog::Options *sipCpp = reinterpret_cast<KFileDialog::Options *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KFileDialog_Options));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KFileDialog::Options::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;
}


/* Call the instance's destructor. */
extern "C" {static void release_KFileDialog_Options(void *, int);}
static void release_KFileDialog_Options(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<KFileDialog::Options *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KFileDialog_Options(void *, SIP_SSIZE_T, const void *);}
static void assign_KFileDialog_Options(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<KFileDialog::Options *>(sipDst)[sipDstIdx] = *reinterpret_cast<const KFileDialog::Options *>(sipSrc);
}


extern "C" {static void *array_KFileDialog_Options(SIP_SSIZE_T);}
static void *array_KFileDialog_Options(SIP_SSIZE_T sipNrElem)
{
    return new KFileDialog::Options[sipNrElem];
}


extern "C" {static void *copy_KFileDialog_Options(const void *, SIP_SSIZE_T);}
static void *copy_KFileDialog_Options(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new KFileDialog::Options(reinterpret_cast<const KFileDialog::Options *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_KFileDialog_Options(sipSimpleWrapper *);}
static void dealloc_KFileDialog_Options(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KFileDialog_Options(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_KFileDialog_Options(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KFileDialog_Options(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    KFileDialog::Options *sipCpp = 0;

    {
        const KFileDialog::Options* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_KFileDialog_Options, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KFileDialog::Options(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<KFileDialog::Options *>(a0),sipType_KFileDialog_Options,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KFileDialog::Options(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KFileDialog::Options();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_KFileDialog_Options(PyObject *, void **, int *, PyObject *);}
static int convertTo_KFileDialog_Options(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    KFileDialog::Options **sipCppPtr = reinterpret_cast<KFileDialog::Options **>(sipCppPtrV);

#line 398 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a KFileDialog::Options is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KFileDialog_Option)) ||
            sipCanConvertToType(sipPy, sipType_KFileDialog_Options, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KFileDialog_Option)))
{
    *sipCppPtr = new KFileDialog::Options(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<KFileDialog::Options *>(sipConvertToType(sipPy, sipType_KFileDialog_Options, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 4886 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_KFileDialog_Options[] = {
    {(void *)slot_KFileDialog_Options___bool__, bool_slot},
    {(void *)slot_KFileDialog_Options___ne__, ne_slot},
    {(void *)slot_KFileDialog_Options___eq__, eq_slot},
    {(void *)slot_KFileDialog_Options___invert__, invert_slot},
    {(void *)slot_KFileDialog_Options___and__, and_slot},
    {(void *)slot_KFileDialog_Options___xor__, xor_slot},
    {(void *)slot_KFileDialog_Options___or__, or_slot},
    {(void *)slot_KFileDialog_Options___int__, int_slot},
    {(void *)slot_KFileDialog_Options___ixor__, ixor_slot},
    {(void *)slot_KFileDialog_Options___ior__, ior_slot},
    {(void *)slot_KFileDialog_Options___iand__, iand_slot},
    {0, (sipPySlotType)0}
};


pyqt4ClassTypeDef sipTypeDef_kio_KFileDialog_Options = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KFileDialog__Options,
        {0}
    },
    {
        sipNameNr_Options,
        {70, 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_KFileDialog_Options,
    init_type_KFileDialog_Options,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KFileDialog_Options,
    assign_KFileDialog_Options,
    array_KFileDialog_Options,
    copy_KFileDialog_Options,
    release_KFileDialog_Options,
    0,
    convertTo_KFileDialog_Options,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0
};

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kio/kfile.sip"
#include <kfile.h>
#line 4962 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kio/kfile.sip"
#include <kfile.h>
#line 4966 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"


extern "C" {static int slot_KFile_Modes___bool__(PyObject *);}
static int slot_KFile_Modes___bool__(PyObject *sipSelf)
{
    KFile::Modes *sipCpp = reinterpret_cast<KFile::Modes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KFile_Modes));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 389 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KFile::Modes::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 4988 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KFile_Modes___ne__(PyObject *,PyObject *);}
static PyObject *slot_KFile_Modes___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    KFile::Modes *sipCpp = reinterpret_cast<KFile::Modes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KFile_Modes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KFile::Modes* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KFile_Modes, &a0, &a0State))
        {
            bool sipRes = 0;

#line 380 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KFile::Modes::Int() != a0->operator KFile::Modes::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 5022 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
            sipReleaseType(const_cast<KFile::Modes *>(a0),sipType_KFile_Modes,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kio,ne_slot,sipType_KFile_Modes,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KFile_Modes___eq__(PyObject *,PyObject *);}
static PyObject *slot_KFile_Modes___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    KFile::Modes *sipCpp = reinterpret_cast<KFile::Modes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KFile_Modes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KFile::Modes* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KFile_Modes, &a0, &a0State))
        {
            bool sipRes = 0;

#line 371 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KFile::Modes::Int() == a0->operator KFile::Modes::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 5062 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
            sipReleaseType(const_cast<KFile::Modes *>(a0),sipType_KFile_Modes,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kio,eq_slot,sipType_KFile_Modes,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KFile_Modes___invert__(PyObject *);}
static PyObject *slot_KFile_Modes___invert__(PyObject *sipSelf)
{
    KFile::Modes *sipCpp = reinterpret_cast<KFile::Modes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KFile_Modes));

    if (!sipCpp)
        return 0;


    {
        {
            KFile::Modes*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KFile::Modes(~(*sipCpp));
            Py_END_ALLOW_THREADS

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

    return 0;
}


extern "C" {static PyObject *slot_KFile_Modes___and__(PyObject *,PyObject *);}
static PyObject *slot_KFile_Modes___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KFile::Modes* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KFile_Modes, &a0, &a0State, &a1))
        {
            KFile::Modes*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KFile::Modes((*a0 & a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KFile_Modes,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kio,and_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KFile_Modes___xor__(PyObject *,PyObject *);}
static PyObject *slot_KFile_Modes___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KFile::Modes* a0;
        int a0State = 0;
        KFile::Modes* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_KFile_Modes, &a0, &a0State, sipType_KFile_Modes, &a1, &a1State))
        {
            KFile::Modes*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KFile::Modes((*a0 ^ *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KFile_Modes,a0State);
            sipReleaseType(a1,sipType_KFile_Modes,a1State);

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

    {
        KFile::Modes* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KFile_Modes, &a0, &a0State, &a1))
        {
            KFile::Modes*sipRes = 0;

#line 365 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
        sipRes = new KFile::Modes(*a0 ^ a1);
#line 5171 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
            sipReleaseType(a0,sipType_KFile_Modes,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kio,xor_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KFile_Modes___or__(PyObject *,PyObject *);}
static PyObject *slot_KFile_Modes___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KFile::Modes* a0;
        int a0State = 0;
        KFile::Modes* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_KFile_Modes, &a0, &a0State, sipType_KFile_Modes, &a1, &a1State))
        {
            KFile::Modes*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KFile::Modes((*a0 | *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KFile_Modes,a0State);
            sipReleaseType(a1,sipType_KFile_Modes,a1State);

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

    {
        KFile::Modes* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KFile_Modes, &a0, &a0State, &a1))
        {
            KFile::Modes*sipRes = 0;

#line 360 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
        sipRes = new KFile::Modes(*a0 | a1);
#line 5223 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
            sipReleaseType(a0,sipType_KFile_Modes,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kio,or_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KFile_Modes___int__(PyObject *);}
static PyObject *slot_KFile_Modes___int__(PyObject *sipSelf)
{
    KFile::Modes *sipCpp = reinterpret_cast<KFile::Modes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KFile_Modes));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KFile_Modes___ixor__(PyObject *,PyObject *);}
static PyObject *slot_KFile_Modes___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KFile_Modes)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KFile::Modes *sipCpp = reinterpret_cast<KFile::Modes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KFile_Modes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        KFile::Modes* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KFile_Modes, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KFile::Modes::operator^=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KFile_Modes,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_KFile_Modes___ior__(PyObject *,PyObject *);}
static PyObject *slot_KFile_Modes___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KFile_Modes)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KFile::Modes *sipCpp = reinterpret_cast<KFile::Modes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KFile_Modes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        KFile::Modes* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KFile_Modes, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KFile::Modes::operator|=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KFile_Modes,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_KFile_Modes___iand__(PyObject *,PyObject *);}
static PyObject *slot_KFile_Modes___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KFile_Modes)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KFile::Modes *sipCpp = reinterpret_cast<KFile::Modes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KFile_Modes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KFile::Modes::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;
}


/* Call the instance's destructor. */
extern "C" {static void release_KFile_Modes(void *, int);}
static void release_KFile_Modes(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<KFile::Modes *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KFile_Modes(void *, SIP_SSIZE_T, const void *);}
static void assign_KFile_Modes(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<KFile::Modes *>(sipDst)[sipDstIdx] = *reinterpret_cast<const KFile::Modes *>(sipSrc);
}


extern "C" {static void *array_KFile_Modes(SIP_SSIZE_T);}
static void *array_KFile_Modes(SIP_SSIZE_T sipNrElem)
{
    return new KFile::Modes[sipNrElem];
}


extern "C" {static void *copy_KFile_Modes(const void *, SIP_SSIZE_T);}
static void *copy_KFile_Modes(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new KFile::Modes(reinterpret_cast<const KFile::Modes *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_KFile_Modes(sipSimpleWrapper *);}
static void dealloc_KFile_Modes(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KFile_Modes(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_KFile_Modes(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KFile_Modes(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    KFile::Modes *sipCpp = 0;

    {
        const KFile::Modes* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_KFile_Modes, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KFile::Modes(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<KFile::Modes *>(a0),sipType_KFile_Modes,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KFile::Modes(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KFile::Modes();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_KFile_Modes(PyObject *, void **, int *, PyObject *);}
static int convertTo_KFile_Modes(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    KFile::Modes **sipCppPtr = reinterpret_cast<KFile::Modes **>(sipCppPtrV);

#line 398 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a KFile::Modes is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KFile_Mode)) ||
            sipCanConvertToType(sipPy, sipType_KFile_Modes, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KFile_Mode)))
{
    *sipCppPtr = new KFile::Modes(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<KFile::Modes *>(sipConvertToType(sipPy, sipType_KFile_Modes, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 5507 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_KFile_Modes[] = {
    {(void *)slot_KFile_Modes___bool__, bool_slot},
    {(void *)slot_KFile_Modes___ne__, ne_slot},
    {(void *)slot_KFile_Modes___eq__, eq_slot},
    {(void *)slot_KFile_Modes___invert__, invert_slot},
    {(void *)slot_KFile_Modes___and__, and_slot},
    {(void *)slot_KFile_Modes___xor__, xor_slot},
    {(void *)slot_KFile_Modes___or__, or_slot},
    {(void *)slot_KFile_Modes___int__, int_slot},
    {(void *)slot_KFile_Modes___ixor__, ixor_slot},
    {(void *)slot_KFile_Modes___ior__, ior_slot},
    {(void *)slot_KFile_Modes___iand__, iand_slot},
    {0, (sipPySlotType)0}
};


pyqt4ClassTypeDef sipTypeDef_kio_KFile_Modes = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KFile__Modes,
        {0}
    },
    {
        sipNameNr_Modes,
        {65, 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_KFile_Modes,
    init_type_KFile_Modes,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KFile_Modes,
    assign_KFile_Modes,
    array_KFile_Modes,
    copy_KFile_Modes,
    release_KFile_Modes,
    0,
    convertTo_KFile_Modes,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0
};

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kio/kfile.sip"
#include <kfile.h>
#line 5583 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"

#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qdir.sip"
#include <qdir.h>
#line 5587 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"


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

    {
        const QDir::SortFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QDir_SortFlags, &a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KFile::isSortByName(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QDir::SortFlags *>(a0),sipType_QDir_SortFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const QDir::SortFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QDir_SortFlags, &a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KFile::isSortBySize(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QDir::SortFlags *>(a0),sipType_QDir_SortFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const QDir::SortFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QDir_SortFlags, &a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KFile::isSortByDate(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QDir::SortFlags *>(a0),sipType_QDir_SortFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const QDir::SortFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QDir_SortFlags, &a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KFile::isSortByType(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QDir::SortFlags *>(a0),sipType_QDir_SortFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const QDir::SortFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QDir_SortFlags, &a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KFile::isSortDirsFirst(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QDir::SortFlags *>(a0),sipType_QDir_SortFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const QDir::SortFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QDir_SortFlags, &a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KFile::isSortCaseInsensitive(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QDir::SortFlags *>(a0),sipType_QDir_SortFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KFile::FileView a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "E", sipType_KFile_FileView, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KFile::isDefaultView(a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KFile::FileView a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "E", sipType_KFile_FileView, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KFile::isSimpleView(a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KFile::FileView a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "E", sipType_KFile_FileView, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KFile::isDetailView(a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KFile::FileView a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "E", sipType_KFile_FileView, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KFile::isSeparateDirs(a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KFile::FileView a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "E", sipType_KFile_FileView, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KFile::isPreviewContents(a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KFile::FileView a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "E", sipType_KFile_FileView, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KFile::isPreviewInfo(a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KFile::FileView a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "E", sipType_KFile_FileView, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KFile::isTreeView(a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KFile::FileView a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "E", sipType_KFile_FileView, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KFile::isDetailTreeView(a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KFile(void *, int);}
static void release_KFile(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<KFile *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KFile(sipSimpleWrapper *);}
static void dealloc_KFile(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KFile(sipGetAddress(sipSelf),0);
    }
}


static PyMethodDef methods_KFile[] = {
    {SIP_MLNAME_CAST(sipName_isDefaultView), meth_KFile_isDefaultView, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isDetailTreeView), meth_KFile_isDetailTreeView, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isDetailView), meth_KFile_isDetailView, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isPreviewContents), meth_KFile_isPreviewContents, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isPreviewInfo), meth_KFile_isPreviewInfo, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isSeparateDirs), meth_KFile_isSeparateDirs, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isSimpleView), meth_KFile_isSimpleView, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isSortByDate), meth_KFile_isSortByDate, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isSortByName), meth_KFile_isSortByName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isSortBySize), meth_KFile_isSortBySize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isSortByType), meth_KFile_isSortByType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isSortCaseInsensitive), meth_KFile_isSortCaseInsensitive, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isSortDirsFirst), meth_KFile_isSortDirsFirst, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isTreeView), meth_KFile_isTreeView, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KFile[] = {
    {sipName_Default, static_cast<int>(KFile::Default), 66},
    {sipName_Detail, static_cast<int>(KFile::Detail), 66},
    {sipName_DetailTree, static_cast<int>(KFile::DetailTree), 66},
    {sipName_Directory, static_cast<int>(KFile::Directory), 67},
    {sipName_ExistingOnly, static_cast<int>(KFile::ExistingOnly), 67},
    {sipName_Extended, static_cast<int>(KFile::Extended), 69},
    {sipName_File, static_cast<int>(KFile::File), 67},
    {sipName_FileViewMax, static_cast<int>(KFile::FileViewMax), 66},
    {sipName_Files, static_cast<int>(KFile::Files), 67},
    {sipName_LocalOnly, static_cast<int>(KFile::LocalOnly), 67},
    {sipName_ModeMax, static_cast<int>(KFile::ModeMax), 67},
    {sipName_Multi, static_cast<int>(KFile::Multi), 69},
    {sipName_NoSelection, static_cast<int>(KFile::NoSelection), 69},
    {sipName_PreviewContents, static_cast<int>(KFile::PreviewContents), 66},
    {sipName_PreviewInfo, static_cast<int>(KFile::PreviewInfo), 66},
    {sipName_SeparateDirs, static_cast<int>(KFile::SeparateDirs), 66},
    {sipName_Simple, static_cast<int>(KFile::Simple), 66},
    {sipName_Single, static_cast<int>(KFile::Single), 69},
    {sipName_Tree, static_cast<int>(KFile::Tree), 66},
};


pyqt4ClassTypeDef sipTypeDef_kio_KFile = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KFile,
        {0}
    },
    {
        sipNameNr_KFile,
        {0, 0, 1},
        14, methods_KFile,
        19, enummembers_KFile,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KFile,
    0,
    0,
    0,
    release_KFile,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kio/kencodingfiledialog.sip"
#include <kencodingfiledialog.h>
#line 6097 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"

#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 6101 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 6104 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 6107 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"


/* Call the instance's destructor. */
extern "C" {static void release_KEncodingFileDialog_Result(void *, int);}
static void release_KEncodingFileDialog_Result(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<KEncodingFileDialog::Result *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KEncodingFileDialog_Result(void *, SIP_SSIZE_T, const void *);}
static void assign_KEncodingFileDialog_Result(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<KEncodingFileDialog::Result *>(sipDst)[sipDstIdx] = *reinterpret_cast<const KEncodingFileDialog::Result *>(sipSrc);
}


extern "C" {static void *array_KEncodingFileDialog_Result(SIP_SSIZE_T);}
static void *array_KEncodingFileDialog_Result(SIP_SSIZE_T sipNrElem)
{
    return new KEncodingFileDialog::Result[sipNrElem];
}


extern "C" {static void *copy_KEncodingFileDialog_Result(const void *, SIP_SSIZE_T);}
static void *copy_KEncodingFileDialog_Result(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new KEncodingFileDialog::Result(reinterpret_cast<const KEncodingFileDialog::Result *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_KEncodingFileDialog_Result(sipSimpleWrapper *);}
static void dealloc_KEncodingFileDialog_Result(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KEncodingFileDialog_Result(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_KEncodingFileDialog_Result(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KEncodingFileDialog_Result(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    KEncodingFileDialog::Result *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KEncodingFileDialog::Result();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const KEncodingFileDialog::Result* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_KEncodingFileDialog_Result, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KEncodingFileDialog::Result(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static PyObject *varget_KEncodingFileDialog_Result_URLs(void *, PyObject *, PyObject *);}
static PyObject *varget_KEncodingFileDialog_Result_URLs(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    KUrl::List*sipVal;
    KEncodingFileDialog::Result *sipCpp = reinterpret_cast<KEncodingFileDialog::Result *>(sipSelf);

    sipPy = sipGetReference(sipPySelf, -1);
    if (sipPy)
        return sipPy;

    sipVal = &sipCpp->URLs;

    sipPy = sipConvertFromType(sipVal, sipType_KUrl_List, NULL);
    sipKeepReference(sipPySelf, -1, sipPy);

    return sipPy;
}


extern "C" {static int varset_KEncodingFileDialog_Result_URLs(void *, PyObject *, PyObject *);}
static int varset_KEncodingFileDialog_Result_URLs(void *sipSelf, PyObject *sipPy, PyObject *)
{
    KUrl::List*sipVal;
    KEncodingFileDialog::Result *sipCpp = reinterpret_cast<KEncodingFileDialog::Result *>(sipSelf);

    int sipIsErr = 0;

    sipVal = reinterpret_cast<KUrl::List *>(sipForceConvertToType(sipPy,sipType_KUrl_List,NULL,SIP_NOT_NONE,NULL,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->URLs = *sipVal;

    return 0;
}


extern "C" {static PyObject *varget_KEncodingFileDialog_Result_encoding(void *, PyObject *, PyObject *);}
static PyObject *varget_KEncodingFileDialog_Result_encoding(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    QString*sipVal;
    KEncodingFileDialog::Result *sipCpp = reinterpret_cast<KEncodingFileDialog::Result *>(sipSelf);

    sipPy = sipGetReference(sipPySelf, -2);
    if (sipPy)
        return sipPy;

    sipVal = &sipCpp->encoding;

    sipPy = sipConvertFromType(sipVal, sipType_QString, NULL);
    sipKeepReference(sipPySelf, -2, sipPy);

    return sipPy;
}


extern "C" {static int varset_KEncodingFileDialog_Result_encoding(void *, PyObject *, PyObject *);}
static int varset_KEncodingFileDialog_Result_encoding(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QString*sipVal;
    KEncodingFileDialog::Result *sipCpp = reinterpret_cast<KEncodingFileDialog::Result *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QString *>(sipForceConvertToType(sipPy,sipType_QString,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->encoding = *sipVal;

    sipReleaseType(sipVal, sipType_QString, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_KEncodingFileDialog_Result_fileNames(void *, PyObject *, PyObject *);}
static PyObject *varget_KEncodingFileDialog_Result_fileNames(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    QStringList*sipVal;
    KEncodingFileDialog::Result *sipCpp = reinterpret_cast<KEncodingFileDialog::Result *>(sipSelf);

    sipPy = sipGetReference(sipPySelf, -3);
    if (sipPy)
        return sipPy;

    sipVal = &sipCpp->fileNames;

    sipPy = sipConvertFromType(sipVal, sipType_QStringList, NULL);
    sipKeepReference(sipPySelf, -3, sipPy);

    return sipPy;
}


extern "C" {static int varset_KEncodingFileDialog_Result_fileNames(void *, PyObject *, PyObject *);}
static int varset_KEncodingFileDialog_Result_fileNames(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QStringList*sipVal;
    KEncodingFileDialog::Result *sipCpp = reinterpret_cast<KEncodingFileDialog::Result *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QStringList *>(sipForceConvertToType(sipPy,sipType_QStringList,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->fileNames = *sipVal;

    sipReleaseType(sipVal, sipType_QStringList, sipValState);

    return 0;
}

sipVariableDef variables_KEncodingFileDialog_Result[] = {
    {InstanceVariable, sipName_URLs, (PyMethodDef *)varget_KEncodingFileDialog_Result_URLs, (PyMethodDef *)varset_KEncodingFileDialog_Result_URLs, NULL, NULL},
    {InstanceVariable, sipName_encoding, (PyMethodDef *)varget_KEncodingFileDialog_Result_encoding, (PyMethodDef *)varset_KEncodingFileDialog_Result_encoding, NULL, NULL},
    {InstanceVariable, sipName_fileNames, (PyMethodDef *)varget_KEncodingFileDialog_Result_fileNames, (PyMethodDef *)varset_KEncodingFileDialog_Result_fileNames, NULL, NULL},
};


pyqt4ClassTypeDef sipTypeDef_kio_KEncodingFileDialog_Result = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KEncodingFileDialog__Result,
        {0}
    },
    {
        sipNameNr_Result,
        {63, 255, 0},
        0, 0,
        0, 0,
        3, variables_KEncodingFileDialog_Result,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_type_KEncodingFileDialog_Result,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KEncodingFileDialog_Result,
    assign_KEncodingFileDialog_Result,
    array_KEncodingFileDialog_Result,
    copy_KEncodingFileDialog_Result,
    release_KEncodingFileDialog_Result,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kio/kencodingfiledialog.sip"
#include <kencodingfiledialog.h>
#line 6370 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"

#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 6374 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kio/kfiledialog.sip"
#include <kfiledialog.h>
#line 6377 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 6380 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kio/kencodingfiledialog.sip"
#include <kencodingfiledialog.h>
#line 6383 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 611 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 6386 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 478 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 6389 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 6392 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kactioncollection.sip"
#include <kactioncollection.h>
#line 6395 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kio/kfilefiltercombo.sip"
#include <kfilefiltercombo.h>
#line 6398 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kio/kurlcombobox.sip"
#include <kurlcombobox.h>
#line 6401 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kpushbutton.sip"
#include <kpushbutton.h>
#line 6404 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/ktoolbar.sip"
#include <ktoolbar.h>
#line 6407 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kio/kabstractfilewidget.sip"
#include <kabstractfilewidget.h>
#line 6410 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kio/kfile.sip"
#include <kfile.h>
#line 6413 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kio/kfiledialog.sip"
#include <kfiledialog.h>
#line 6416 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 6419 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 6422 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 6425 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kio/kpreviewwidgetbase.sip"
#include <kpreviewwidgetbase.h>
#line 6428 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 340 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 6431 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kmimetype.sip"
#include <kmimetype.h>
#line 6434 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 578 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 6437 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 6440 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 6443 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 6446 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 6449 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 6452 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kconfigbase.sip"
#include <kconfigbase.h>
#line 6455 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qmenu.sip"
#include <qmenu.h>
#line 6458 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kguiitem.sip"
#include <kguiitem.h>
#line 6461 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kicon.sip"
#include <kicon.h>
#line 6464 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 6467 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 6470 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 6473 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6476 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 622 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 6479 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 565 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 6482 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 600 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 6485 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 6488 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 6491 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 6494 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 6497 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 6500 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 6503 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 6506 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 6509 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 6512 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 6515 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 6518 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 6521 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 6524 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 6527 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 6530 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 6533 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 6536 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 6539 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 651 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 6542 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 743 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 6545 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 796 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 6548 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 769 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 6551 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 785 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 6554 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 858 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 6557 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 407 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 6560 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 552 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 6563 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 528 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 6566 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 509 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 6569 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 6572 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 256 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 6575 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 6578 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 56 "/usr/share/python3-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 6581 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 6584 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 6587 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 6590 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 6593 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 6596 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 6599 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 6602 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 6605 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 6608 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 6611 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6614 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6617 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 6620 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 6623 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 6626 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 6629 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 6632 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"


class sipKEncodingFileDialog : public KEncodingFileDialog
{
public:
    sipKEncodingFileDialog(const QString&,const QString&,const QString&,const QString&,KFileDialog::OperationMode,QWidget*);
    virtual ~sipKEncodingFileDialog();

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

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[56];
};

sipKEncodingFileDialog::sipKEncodingFileDialog(const QString& a0,const QString& a1,const QString& a2,const QString& a3,KFileDialog::OperationMode a4,QWidget*a5): KEncodingFileDialog(a0,a1,a2,a3,a4,a5), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipKEncodingFileDialog::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KEncodingFileDialog);
}

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

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

    return _id;
}

void *sipKEncodingFileDialog::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast(sipPySelf, sipType_KEncodingFileDialog, _clname)) ? this : KEncodingFileDialog::qt_metacast(_clname);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

int sipKEncodingFileDialog::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 KEncodingFileDialog::heightForWidth(a0);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

void sipKEncodingFileDialog::reject()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KEncodingFileDialog::reject();
        return;
    }

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

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

void sipKEncodingFileDialog::done(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KEncodingFileDialog::done(a0);
        return;
    }

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

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

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

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

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

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

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

void sipKEncodingFileDialog::slotButtonClicked(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KEncodingFileDialog::slotButtonClicked(a0);
        return;
    }

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

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

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

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

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

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

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

void sipKEncodingFileDialog::setPlainCaption(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KEncodingFileDialog::setPlainCaption(a0);
        return;
    }

    typedef void (*sipVH_QtCore_33)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

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

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

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

    if (!sipMeth)
    {
        KEncodingFileDialog::setCaption(a0,a1);
        return;
    }

    typedef void (*sipVH_QtXml_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&,bool);

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

void sipKEncodingFileDialog::setCaption(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KEncodingFileDialog::setCaption(a0);
        return;
    }

    typedef void (*sipVH_QtCore_33)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

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

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

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

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

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

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

void sipKEncodingFileDialog::slotCancel()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KEncodingFileDialog::slotCancel();
        return;
    }

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

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

void sipKEncodingFileDialog::accept()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_accept);

    if (!sipMeth)
    {
        KEncodingFileDialog::accept();
        return;
    }

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

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

void sipKEncodingFileDialog::slotOk()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_slotOk);

    if (!sipMeth)
    {
        KEncodingFileDialog::slotOk();
        return;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

    {
        const KEncodingFileDialog *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->selectedEncoding());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const QString& a0def = QString();
        const QString* a0 = &a0def;
        int a0State = 0;
        const QString& a1def = QString();
        const QString* a1 = &a1def;
        int a1State = 0;
        const QString& a2def = QString();
        const QString* a2 = &a2def;
        int a2State = 0;
        QWidget* a3 = 0;
        const QString& a4def = QString();
        const QString* a4 = &a4def;
        int a4State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "|J1J1J1J:J1", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QWidget, &a3, sipType_QString,&a4, &a4State))
        {
            KEncodingFileDialog::Result*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KEncodingFileDialog::Result(KEncodingFileDialog::getOpenFileNameAndEncoding(*a0,*a1,*a2,a3,*a4));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast<QString *>(a4),sipType_QString,a4State);

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

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

    return NULL;
}


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

    {
        const QString& a0def = QString();
        const QString* a0 = &a0def;
        int a0State = 0;
        const QString& a1def = QString();
        const QString* a1 = &a1def;
        int a1State = 0;
        const QString& a2def = QString();
        const QString* a2 = &a2def;
        int a2State = 0;
        QWidget* a3 = 0;
        const QString& a4def = QString();
        const QString* a4 = &a4def;
        int a4State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "|J1J1J1J:J1", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QWidget, &a3, sipType_QString,&a4, &a4State))
        {
            KEncodingFileDialog::Result*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KEncodingFileDialog::Result(KEncodingFileDialog::getOpenFileNamesAndEncoding(*a0,*a1,*a2,a3,*a4));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast<QString *>(a4),sipType_QString,a4State);

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

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

    return NULL;
}


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

    {
        const QString& a0def = QString();
        const QString* a0 = &a0def;
        int a0State = 0;
        const QString& a1def = QString();
        const QString* a1 = &a1def;
        int a1State = 0;
        const QString& a2def = QString();
        const QString* a2 = &a2def;
        int a2State = 0;
        QWidget* a3 = 0;
        const QString& a4def = QString();
        const QString* a4 = &a4def;
        int a4State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "|J1J1J1J:J1", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QWidget, &a3, sipType_QString,&a4, &a4State))
        {
            KEncodingFileDialog::Result*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KEncodingFileDialog::Result(KEncodingFileDialog::getOpenUrlAndEncoding(*a0,*a1,*a2,a3,*a4));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast<QString *>(a4),sipType_QString,a4State);

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

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

    return NULL;
}


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

    {
        const QString& a0def = QString();
        const QString* a0 = &a0def;
        int a0State = 0;
        const QString& a1def = QString();
        const QString* a1 = &a1def;
        int a1State = 0;
        const QString& a2def = QString();
        const QString* a2 = &a2def;
        int a2State = 0;
        QWidget* a3 = 0;
        const QString& a4def = QString();
        const QString* a4 = &a4def;
        int a4State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "|J1J1J1J:J1", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QWidget, &a3, sipType_QString,&a4, &a4State))
        {
            KEncodingFileDialog::Result*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KEncodingFileDialog::Result(KEncodingFileDialog::getOpenUrlsAndEncoding(*a0,*a1,*a2,a3,*a4));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast<QString *>(a4),sipType_QString,a4State);

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

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

    return NULL;
}


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

    {
        const QString& a0def = QString();
        const QString* a0 = &a0def;
        int a0State = 0;
        const QString& a1def = QString();
        const QString* a1 = &a1def;
        int a1State = 0;
        const QString& a2def = QString();
        const QString* a2 = &a2def;
        int a2State = 0;
        QWidget* a3 = 0;
        const QString& a4def = QString();
        const QString* a4 = &a4def;
        int a4State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "|J1J1J1J:J1", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QWidget, &a3, sipType_QString,&a4, &a4State))
        {
            KEncodingFileDialog::Result*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KEncodingFileDialog::Result(KEncodingFileDialog::getSaveFileNameAndEncoding(*a0,*a1,*a2,a3,*a4));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast<QString *>(a4),sipType_QString,a4State);

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

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

    return NULL;
}


extern "C" {static PyObject *meth_KEncodingFileDialog_getSaveUrlAndEncoding(PyObject *, PyObject *);}
static PyObject *meth_KEncodingFileDialog_getSaveUrlAndEncoding(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString& a0def = QString();
        const QString* a0 = &a0def;
        int a0State = 0;
        const QString& a1def = QString();
        const QString* a1 = &a1def;
        int a1State = 0;
        const QString& a2def = QString();
        const QString* a2 = &a2def;
        int a2State = 0;
        QWidget* a3 = 0;
        const QString& a4def = QString();
        const QString* a4 = &a4def;
        int a4State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "|J1J1J1J:J1", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QWidget, &a3, sipType_QString,&a4, &a4State))
        {
            KEncodingFileDialog::Result*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KEncodingFileDialog::Result(KEncodingFileDialog::getSaveUrlAndEncoding(*a0,*a1,*a2,a3,*a4));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast<QString *>(a4),sipType_QString,a4State);

            return sipConvertFromNewType(sipRes,sipType_KEncodingFileDialog_Result,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KEncodingFileDialog, sipName_getSaveUrlAndEncoding, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its multiple inheritance hierarchy. */
extern "C" {static void *cast_KEncodingFileDialog(void *, const sipTypeDef *);}
static void *cast_KEncodingFileDialog(void *sipCppV, const sipTypeDef *targetType)
{
    KEncodingFileDialog *sipCpp = reinterpret_cast<KEncodingFileDialog *>(sipCppV);

    if (targetType == sipType_QPaintDevice)
        return static_cast<QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KEncodingFileDialog(void *, int);}
static void release_KEncodingFileDialog(void *sipCppV,int)
{
    KEncodingFileDialog *sipCpp = reinterpret_cast<KEncodingFileDialog *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KEncodingFileDialog(sipSimpleWrapper *);}
static void dealloc_KEncodingFileDialog(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKEncodingFileDialog *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KEncodingFileDialog(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KEncodingFileDialog(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KEncodingFileDialog(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKEncodingFileDialog *sipCpp = 0;

    {
        const QString& a0def = QString();
        const QString* a0 = &a0def;
        int a0State = 0;
        const QString& a1def = QString();
        const QString* a1 = &a1def;
        int a1State = 0;
        const QString& a2def = QString();
        const QString* a2 = &a2def;
        int a2State = 0;
        const QString& a3def = QString();
        const QString* a3 = &a3def;
        int a3State = 0;
        KFileDialog::OperationMode a4 = KFileDialog::Opening;
        QWidget* a5 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|J1J1J1J1EJH", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State, sipType_KFileDialog_OperationMode, &a4, sipType_QWidget, &a5, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKEncodingFileDialog(*a0,*a1,*a2,*a3,a4,a5);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KEncodingFileDialog[] = {{70, 255, 1}};


static PyMethodDef methods_KEncodingFileDialog[] = {
    {SIP_MLNAME_CAST(sipName_getOpenFileNameAndEncoding), meth_KEncodingFileDialog_getOpenFileNameAndEncoding, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_getOpenFileNamesAndEncoding), meth_KEncodingFileDialog_getOpenFileNamesAndEncoding, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_getOpenUrlAndEncoding), meth_KEncodingFileDialog_getOpenUrlAndEncoding, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_getOpenUrlsAndEncoding), meth_KEncodingFileDialog_getOpenUrlsAndEncoding, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_getSaveFileNameAndEncoding), meth_KEncodingFileDialog_getSaveFileNameAndEncoding, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_getSaveUrlAndEncoding), meth_KEncodingFileDialog_getSaveUrlAndEncoding, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_selectedEncoding), meth_KEncodingFileDialog_selectedEncoding, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kio_KEncodingFileDialog = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KEncodingFileDialog,
        {0}
    },
    {
        sipNameNr_KEncodingFileDialog,
        {0, 0, 1},
        7, methods_KEncodingFileDialog,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KEncodingFileDialog,
    0,
    init_type_KEncodingFileDialog,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KEncodingFileDialog,
    0,
    0,
    0,
    release_KEncodingFileDialog,
    cast_KEncodingFileDialog,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KEncodingFileDialog::staticMetaObject,
    0,
    0
};

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kio/kfiledialog.sip"
#include <kfiledialog.h>
#line 8165 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"

#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 8169 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 8172 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 8175 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 611 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8178 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 478 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8181 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kactioncollection.sip"
#include <kactioncollection.h>
#line 8184 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kio/kfilefiltercombo.sip"
#include <kfilefiltercombo.h>
#line 8187 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kio/kurlcombobox.sip"
#include <kurlcombobox.h>
#line 8190 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kpushbutton.sip"
#include <kpushbutton.h>
#line 8193 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/ktoolbar.sip"
#include <ktoolbar.h>
#line 8196 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kio/kabstractfilewidget.sip"
#include <kabstractfilewidget.h>
#line 8199 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kio/kfile.sip"
#include <kfile.h>
#line 8202 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kio/kfiledialog.sip"
#include <kfiledialog.h>
#line 8205 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 8208 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 8211 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 8214 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kio/kpreviewwidgetbase.sip"
#include <kpreviewwidgetbase.h>
#line 8217 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 340 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 8220 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kmimetype.sip"
#include <kmimetype.h>
#line 8223 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 578 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8226 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 8229 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 8232 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 8235 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 8238 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 8241 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kconfigbase.sip"
#include <kconfigbase.h>
#line 8244 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qmenu.sip"
#include <qmenu.h>
#line 8247 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kguiitem.sip"
#include <kguiitem.h>
#line 8250 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kicon.sip"
#include <kicon.h>
#line 8253 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 8256 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 8259 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 8262 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8265 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 622 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8268 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 565 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8271 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 600 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8274 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 8277 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 8280 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 8283 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 8286 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 8289 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 8292 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 8295 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 8298 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 8301 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 8304 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 8307 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 8310 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 8313 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 8316 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 8319 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 8322 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 8325 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 8328 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 651 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8331 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 743 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8334 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 796 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8337 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 769 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8340 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 785 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8343 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 858 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8346 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 407 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8349 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 552 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8352 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 528 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8355 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 509 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8358 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8361 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 256 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8364 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 8367 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 56 "/usr/share/python3-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 8370 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 8373 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 8376 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 8379 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 8382 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 8385 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 8388 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 8391 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 8394 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 8397 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 8400 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8403 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8406 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 8409 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 8412 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 8415 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 8418 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 8421 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"


class sipKFileDialog : public KFileDialog
{
public:
    sipKFileDialog(const KUrl&,const QString&,QWidget*,QWidget*);
    virtual ~sipKFileDialog();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    void languageChange();
    void windowActivationChange(bool);
    void fontChange(const QFont&);
    void paletteChange(const QPalette&);
    void enabledChange(bool);
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void changeEvent(QEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void moveEvent(QMoveEvent*);
    void paintEvent(QPaintEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    bool event(QEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    int devType() const;
    bool eventFilter(QObject*,QEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void resizeEvent(QResizeEvent*);
    void showEvent(QShowEvent*);
    void reject();
    void done(int);
    void setVisible(bool);
    void slotButtonClicked(int);
    void closeEvent(QCloseEvent*);
    void setPlainCaption(const QString&);
    void setCaption(const QString&,bool);
    void setCaption(const QString&);
    QSize minimumSizeHint() const;
    void slotCancel();
    void accept();
    void slotOk();
    void hideEvent(QHideEvent*);
    void keyPressEvent(QKeyEvent*);
    QSize sizeHint() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKFileDialog(const sipKFileDialog &);
    sipKFileDialog &operator = (const sipKFileDialog &);

    char sipPyMethods[56];
};

sipKFileDialog::sipKFileDialog(const KUrl& a0,const QString& a1,QWidget*a2,QWidget*a3): KFileDialog(a0,a1,a2,a3), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKFileDialog::~sipKFileDialog()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKFileDialog::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KFileDialog);
}

int sipKFileDialog::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KFileDialog::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kio_qt_metacall(sipPySelf,sipType_KFileDialog,_c,_id,_a);

    return _id;
}

void *sipKFileDialog::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast(sipPySelf, sipType_KFileDialog, _clname)) ? this : KFileDialog::qt_metacast(_clname);
}

void sipKFileDialog::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KFileDialog::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileDialog::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KFileDialog::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileDialog::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KFileDialog::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kio_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileDialog::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KFileDialog::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kio_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileDialog::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KFileDialog::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kio_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileDialog::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
        KFileDialog::languageChange();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKFileDialog::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
        KFileDialog::windowActivationChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kio_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileDialog::fontChange(const QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
        KFileDialog::fontChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QFont&);

    ((sipVH_QtGui_9)(sipModuleAPI_kio_QtGui->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileDialog::paletteChange(const QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
        KFileDialog::paletteChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_10)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPalette&);

    ((sipVH_QtGui_10)(sipModuleAPI_kio_QtGui->em_virthandlers[10]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileDialog::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
        KFileDialog::enabledChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kio_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKFileDialog::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return KFileDialog::focusNextPrevChild(a0);

    typedef bool (*sipVH_QtGui_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return ((sipVH_QtGui_11)(sipModuleAPI_kio_QtGui->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QVariant sipKFileDialog::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return KFileDialog::inputMethodQuery(a0);

    typedef QVariant (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return ((sipVH_QtGui_12)(sipModuleAPI_kio_QtGui->em_virthandlers[12]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileDialog::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        KFileDialog::inputMethodEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_13)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    ((sipVH_QtGui_13)(sipModuleAPI_kio_QtGui->em_virthandlers[13]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKFileDialog::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return KFileDialog::metric(a0);

    typedef int (*sipVH_QtGui_14)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_14)(sipModuleAPI_kio_QtGui->em_virthandlers[14]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileDialog::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        KFileDialog::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kio_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileDialog::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        KFileDialog::dropEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_15)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    ((sipVH_QtGui_15)(sipModuleAPI_kio_QtGui->em_virthandlers[15]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileDialog::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        KFileDialog::dragLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_16)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    ((sipVH_QtGui_16)(sipModuleAPI_kio_QtGui->em_virthandlers[16]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileDialog::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        KFileDialog::dragMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    ((sipVH_QtGui_17)(sipModuleAPI_kio_QtGui->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileDialog::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        KFileDialog::dragEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    ((sipVH_QtGui_18)(sipModuleAPI_kio_QtGui->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileDialog::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        KFileDialog::actionEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_19)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    ((sipVH_QtGui_19)(sipModuleAPI_kio_QtGui->em_virthandlers[19]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileDialog::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        KFileDialog::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_20)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_20)(sipModuleAPI_kio_QtGui->em_virthandlers[20]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileDialog::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        KFileDialog::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_23)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_23)(sipModuleAPI_kio_QtGui->em_virthandlers[23]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileDialog::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        KFileDialog::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_kio_QtGui->em_virthandlers[3]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileDialog::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        KFileDialog::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kio_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileDialog::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        KFileDialog::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kio_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileDialog::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        KFileDialog::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kio_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileDialog::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        KFileDialog::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kio_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileDialog::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        KFileDialog::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kio_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileDialog::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        KFileDialog::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_kio_QtGui->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileDialog::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        KFileDialog::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kio_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileDialog::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        KFileDialog::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kio_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileDialog::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        KFileDialog::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kio_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileDialog::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        KFileDialog::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kio_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKFileDialog::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KFileDialog::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QPaintEngine* sipKFileDialog::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return KFileDialog::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_27)(sipModuleAPI_kio_QtGui->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKFileDialog::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 KFileDialog::heightForWidth(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtGui_28)(sipModuleAPI_kio_QtGui->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKFileDialog::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[36]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return KFileDialog::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_kio_QtCore->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipKFileDialog::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KFileDialog::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKFileDialog::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        KFileDialog::contextMenuEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_21)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    ((sipVH_QtGui_21)(sipModuleAPI_kio_QtGui->em_virthandlers[21]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileDialog::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        KFileDialog::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_kio_QtGui->em_virthandlers[2]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileDialog::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        KFileDialog::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_1)(sipModuleAPI_kio_QtGui->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileDialog::reject()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_reject);

    if (!sipMeth)
    {
        KFileDialog::reject();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKFileDialog::done(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_done);

    if (!sipMeth)
    {
        KFileDialog::done(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_kio_QtCore->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileDialog::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        KFileDialog::setVisible(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kio_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileDialog::slotButtonClicked(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_slotButtonClicked);

    if (!sipMeth)
    {
        KFileDialog::slotButtonClicked(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_kio_QtCore->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileDialog::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        KFileDialog::closeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_22)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    ((sipVH_QtGui_22)(sipModuleAPI_kio_QtGui->em_virthandlers[22]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileDialog::setPlainCaption(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_setPlainCaption);

    if (!sipMeth)
    {
        KFileDialog::setPlainCaption(a0);
        return;
    }

    typedef void (*sipVH_QtCore_33)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    ((sipVH_QtCore_33)(sipModuleAPI_kio_QtCore->em_virthandlers[33]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileDialog::setCaption(const QString& a0,bool a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_setCaption);

    if (!sipMeth)
    {
        KFileDialog::setCaption(a0,a1);
        return;
    }

    typedef void (*sipVH_QtXml_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&,bool);

    ((sipVH_QtXml_24)(sipModuleAPI_kio_QtXml->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKFileDialog::setCaption(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_setCaption);

    if (!sipMeth)
    {
        KFileDialog::setCaption(a0);
        return;
    }

    typedef void (*sipVH_QtCore_33)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    ((sipVH_QtCore_33)(sipModuleAPI_kio_QtCore->em_virthandlers[33]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QSize sipKFileDialog::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[49]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return KFileDialog::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kio_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKFileDialog::slotCancel()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_slotCancel);

    if (!sipMeth)
    {
        KFileDialog::slotCancel();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKFileDialog::accept()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_accept);

    if (!sipMeth)
    {
        KFileDialog::accept();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKFileDialog::slotOk()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_slotOk);

    if (!sipMeth)
    {
        KFileDialog::slotOk();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKFileDialog::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        KFileDialog::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_kio_QtGui->em_virthandlers[0]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFileDialog::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        KFileDialog::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kio_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QSize sipKFileDialog::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[55]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return KFileDialog::sizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kio_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}


extern "C" {static PyObject *meth_KFileDialog_selectedUrl(PyObject *, PyObject *);}
static PyObject *meth_KFileDialog_selectedUrl(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFileDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileDialog, &sipCpp))
        {
            KUrl*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl(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_KFileDialog, sipName_selectedUrl, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileDialog_selectedUrls(PyObject *, PyObject *);}
static PyObject *meth_KFileDialog_selectedUrls(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFileDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileDialog, &sipCpp))
        {
            KUrl::List*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl::List(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_KFileDialog, sipName_selectedUrls, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileDialog_baseUrl(PyObject *, PyObject *);}
static PyObject *meth_KFileDialog_baseUrl(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFileDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileDialog, &sipCpp))
        {
            KUrl*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl(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_KFileDialog, sipName_baseUrl, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileDialog_selectedFile(PyObject *, PyObject *);}
static PyObject *meth_KFileDialog_selectedFile(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFileDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileDialog, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(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_KFileDialog, sipName_selectedFile, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileDialog_selectedFiles(PyObject *, PyObject *);}
static PyObject *meth_KFileDialog_selectedFiles(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFileDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileDialog, &sipCpp))
        {
            QStringList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(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_KFileDialog, sipName_selectedFiles, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileDialog_setUrl(PyObject *, PyObject *);}
static PyObject *meth_KFileDialog_setUrl(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KUrl* a0;
        bool a1 = 1;
        KFileDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9|b", &sipSelf, sipType_KFileDialog, &sipCpp, sipType_KUrl, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            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_KFileDialog, sipName_setUrl, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileDialog_setSelection(PyObject *, PyObject *);}
static PyObject *meth_KFileDialog_setSelection(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KFileDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KFileDialog, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            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_KFileDialog, sipName_setSelection, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileDialog_setOperationMode(PyObject *, PyObject *);}
static PyObject *meth_KFileDialog_setOperationMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KFileDialog::OperationMode a0;
        KFileDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KFileDialog, &sipCpp, sipType_KFileDialog_OperationMode, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            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_KFileDialog, sipName_setOperationMode, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileDialog_operationMode(PyObject *, PyObject *);}
static PyObject *meth_KFileDialog_operationMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFileDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileDialog, &sipCpp))
        {
            KFileDialog::OperationMode sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->operationMode();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KFileDialog_OperationMode);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileDialog, sipName_operationMode, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileDialog_setKeepLocation(PyObject *, PyObject *);}
static PyObject *meth_KFileDialog_setKeepLocation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KFileDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KFileDialog, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            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_KFileDialog, sipName_setKeepLocation, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileDialog_keepsLocation(PyObject *, PyObject *);}
static PyObject *meth_KFileDialog_keepsLocation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFileDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileDialog, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->keepsLocation();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileDialog, sipName_keepsLocation, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileDialog_setFilter(PyObject *, PyObject *);}
static PyObject *meth_KFileDialog_setFilter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KFileDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KFileDialog, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            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_KFileDialog, sipName_setFilter, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileDialog_currentFilter(PyObject *, PyObject *);}
static PyObject *meth_KFileDialog_currentFilter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFileDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileDialog, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(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_KFileDialog, sipName_currentFilter, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileDialog_currentFilterMimeType(PyObject *, PyObject *);}
static PyObject *meth_KFileDialog_currentFilterMimeType(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KFileDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileDialog, &sipCpp))
        {
            KMimeType::Ptr*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KMimeType::Ptr(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_KFileDialog, sipName_currentFilterMimeType, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileDialog_setMimeFilter(PyObject *, PyObject *);}
static PyObject *meth_KFileDialog_setMimeFilter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QStringList* a0;
        int a0State = 0;
        const QString& a1def = QString();
        const QString* a1 = &a1def;
        int a1State = 0;
        KFileDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|J1", &sipSelf, sipType_KFileDialog, &sipCpp, sipType_QStringList,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            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_KFileDialog, sipName_setMimeFilter, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileDialog_currentMimeFilter(PyObject *, PyObject *);}
static PyObject *meth_KFileDialog_currentMimeFilter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFileDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileDialog, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(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_KFileDialog, sipName_currentMimeFilter, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileDialog_clearFilter(PyObject *, PyObject *);}
static PyObject *meth_KFileDialog_clearFilter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KFileDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileDialog, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            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_KFileDialog, sipName_clearFilter, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileDialog_setPreviewWidget(PyObject *, PyObject *);}
static PyObject *meth_KFileDialog_setPreviewWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KPreviewWidgetBase* a0;
        KFileDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KFileDialog, &sipCpp, sipType_KPreviewWidgetBase, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            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_KFileDialog, sipName_setPreviewWidget, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileDialog_setInlinePreviewShown(PyObject *, PyObject *);}
static PyObject *meth_KFileDialog_setInlinePreviewShown(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KFileDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KFileDialog, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setInlinePreviewShown(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileDialog, sipName_setInlinePreviewShown, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileDialog_setConfirmOverwrite(PyObject *, PyObject *);}
static PyObject *meth_KFileDialog_setConfirmOverwrite(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KFileDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KFileDialog, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setConfirmOverwrite(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileDialog, sipName_setConfirmOverwrite, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileDialog_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_KFileDialog_sizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KFileDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileDialog, &sipCpp))
        {
            QSize*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSize((sipSelfWasArg ? sipCpp->KFileDialog::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_KFileDialog, sipName_sizeHint, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileDialog_getOpenFileName(PyObject *, PyObject *);}
static PyObject *meth_KFileDialog_getOpenFileName(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KUrl& a0def = KUrl();
        const KUrl* a0 = &a0def;
        const QString& a1def = QString();
        const QString* a1 = &a1def;
        int a1State = 0;
        QWidget* a2 = 0;
        const QString& a3def = QString();
        const QString* a3 = &a3def;
        int a3State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "|J9J1J:J1", sipType_KUrl, &a0, sipType_QString,&a1, &a1State, sipType_QWidget, &a2, sipType_QString,&a3, &a3State))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KFileDialog::getOpenFileName(*a0,*a1,a2,*a3));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileDialog, sipName_getOpenFileName, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileDialog_getOpenFileNameWId(PyObject *, PyObject *);}
static PyObject *meth_KFileDialog_getOpenFileNameWId(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KUrl* a0;
        const QString* a1;
        int a1State = 0;
        WId a2;
        const QString* a3;
        int a3State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9J1mJ1", sipType_KUrl, &a0, sipType_QString,&a1, &a1State, &a2, sipType_QString,&a3, &a3State))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KFileDialog::getOpenFileNameWId(*a0,*a1,a2,*a3));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileDialog, sipName_getOpenFileNameWId, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileDialog_getOpenFileNames(PyObject *, PyObject *);}
static PyObject *meth_KFileDialog_getOpenFileNames(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KUrl& a0def = KUrl();
        const KUrl* a0 = &a0def;
        const QString& a1def = QString();
        const QString* a1 = &a1def;
        int a1State = 0;
        QWidget* a2 = 0;
        const QString& a3def = QString();
        const QString* a3 = &a3def;
        int a3State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "|J9J1J:J1", sipType_KUrl, &a0, sipType_QString,&a1, &a1State, sipType_QWidget, &a2, sipType_QString,&a3, &a3State))
        {
            QStringList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(KFileDialog::getOpenFileNames(*a0,*a1,a2,*a3));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileDialog, sipName_getOpenFileNames, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileDialog_getOpenUrl(PyObject *, PyObject *);}
static PyObject *meth_KFileDialog_getOpenUrl(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KUrl& a0def = KUrl();
        const KUrl* a0 = &a0def;
        const QString& a1def = QString();
        const QString* a1 = &a1def;
        int a1State = 0;
        QWidget* a2 = 0;
        const QString& a3def = QString();
        const QString* a3 = &a3def;
        int a3State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "|J9J1J:J1", sipType_KUrl, &a0, sipType_QString,&a1, &a1State, sipType_QWidget, &a2, sipType_QString,&a3, &a3State))
        {
            KUrl*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl(KFileDialog::getOpenUrl(*a0,*a1,a2,*a3));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);

            return sipConvertFromNewType(sipRes,sipType_KUrl,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileDialog, sipName_getOpenUrl, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileDialog_getOpenUrls(PyObject *, PyObject *);}
static PyObject *meth_KFileDialog_getOpenUrls(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KUrl& a0def = KUrl();
        const KUrl* a0 = &a0def;
        const QString& a1def = QString();
        const QString* a1 = &a1def;
        int a1State = 0;
        QWidget* a2 = 0;
        const QString& a3def = QString();
        const QString* a3 = &a3def;
        int a3State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "|J9J1J:J1", sipType_KUrl, &a0, sipType_QString,&a1, &a1State, sipType_QWidget, &a2, sipType_QString,&a3, &a3State))
        {
            KUrl::List*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl::List(KFileDialog::getOpenUrls(*a0,*a1,a2,*a3));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);

            return sipConvertFromNewType(sipRes,sipType_KUrl_List,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileDialog, sipName_getOpenUrls, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileDialog_getSaveFileName(PyObject *, PyObject *);}
static PyObject *meth_KFileDialog_getSaveFileName(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KUrl& a0def = KUrl();
        const KUrl* a0 = &a0def;
        const QString& a1def = QString();
        const QString* a1 = &a1def;
        int a1State = 0;
        QWidget* a2 = 0;
        const QString& a3def = QString();
        const QString* a3 = &a3def;
        int a3State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "|J9J1J:J1", sipType_KUrl, &a0, sipType_QString,&a1, &a1State, sipType_QWidget, &a2, sipType_QString,&a3, &a3State))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KFileDialog::getSaveFileName(*a0,*a1,a2,*a3));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    {
        const KUrl* a0;
        const QString* a1;
        int a1State = 0;
        QWidget* a2;
        const QString* a3;
        int a3State = 0;
        KFileDialog::Options* a4;
        int a4State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9J1J:J1J1", sipType_KUrl, &a0, sipType_QString,&a1, &a1State, sipType_QWidget, &a2, sipType_QString,&a3, &a3State, sipType_KFileDialog_Options, &a4, &a4State))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KFileDialog::getSaveFileName(*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(a4,sipType_KFileDialog_Options,a4State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileDialog, sipName_getSaveFileName, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileDialog_getSaveFileNameWId(PyObject *, PyObject *);}
static PyObject *meth_KFileDialog_getSaveFileNameWId(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KUrl* a0;
        const QString* a1;
        int a1State = 0;
        WId a2;
        const QString* a3;
        int a3State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9J1mJ1", sipType_KUrl, &a0, sipType_QString,&a1, &a1State, &a2, sipType_QString,&a3, &a3State))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KFileDialog::getSaveFileNameWId(*a0,*a1,a2,*a3));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    {
        const KUrl* a0;
        const QString* a1;
        int a1State = 0;
        WId a2;
        const QString* a3;
        int a3State = 0;
        KFileDialog::Options* a4;
        int a4State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9J1mJ1J1", sipType_KUrl, &a0, sipType_QString,&a1, &a1State, &a2, sipType_QString,&a3, &a3State, sipType_KFileDialog_Options, &a4, &a4State))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KFileDialog::getSaveFileNameWId(*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(a4,sipType_KFileDialog_Options,a4State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileDialog, sipName_getSaveFileNameWId, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileDialog_getSaveUrl(PyObject *, PyObject *);}
static PyObject *meth_KFileDialog_getSaveUrl(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KUrl& a0def = KUrl();
        const KUrl* a0 = &a0def;
        const QString& a1def = QString();
        const QString* a1 = &a1def;
        int a1State = 0;
        QWidget* a2 = 0;
        const QString& a3def = QString();
        const QString* a3 = &a3def;
        int a3State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "|J9J1J:J1", sipType_KUrl, &a0, sipType_QString,&a1, &a1State, sipType_QWidget, &a2, sipType_QString,&a3, &a3State))
        {
            KUrl*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl(KFileDialog::getSaveUrl(*a0,*a1,a2,*a3));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);

            return sipConvertFromNewType(sipRes,sipType_KUrl,NULL);
        }
    }

    {
        const KUrl* a0;
        const QString* a1;
        int a1State = 0;
        QWidget* a2;
        const QString* a3;
        int a3State = 0;
        KFileDialog::Options* a4;
        int a4State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9J1J:J1J1", sipType_KUrl, &a0, sipType_QString,&a1, &a1State, sipType_QWidget, &a2, sipType_QString,&a3, &a3State, sipType_KFileDialog_Options, &a4, &a4State))
        {
            KUrl*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl(KFileDialog::getSaveUrl(*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(a4,sipType_KFileDialog_Options,a4State);

            return sipConvertFromNewType(sipRes,sipType_KUrl,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileDialog, sipName_getSaveUrl, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileDialog_getExistingDirectory(PyObject *, PyObject *);}
static PyObject *meth_KFileDialog_getExistingDirectory(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KUrl& a0def = KUrl();
        const KUrl* a0 = &a0def;
        QWidget* a1 = 0;
        const QString& a2def = QString();
        const QString* a2 = &a2def;
        int a2State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "|J9J:J1", sipType_KUrl, &a0, sipType_QWidget, &a1, sipType_QString,&a2, &a2State))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KFileDialog::getExistingDirectory(*a0,a1,*a2));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileDialog, sipName_getExistingDirectory, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileDialog_getExistingDirectoryUrl(PyObject *, PyObject *);}
static PyObject *meth_KFileDialog_getExistingDirectoryUrl(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KUrl& a0def = KUrl();
        const KUrl* a0 = &a0def;
        QWidget* a1 = 0;
        const QString& a2def = QString();
        const QString* a2 = &a2def;
        int a2State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "|J9J:J1", sipType_KUrl, &a0, sipType_QWidget, &a1, sipType_QString,&a2, &a2State))
        {
            KUrl*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl(KFileDialog::getExistingDirectoryUrl(*a0,a1,*a2));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

            return sipConvertFromNewType(sipRes,sipType_KUrl,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileDialog, sipName_getExistingDirectoryUrl, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileDialog_getImageOpenUrl(PyObject *, PyObject *);}
static PyObject *meth_KFileDialog_getImageOpenUrl(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KUrl& a0def = KUrl();
        const KUrl* a0 = &a0def;
        QWidget* a1 = 0;
        const QString& a2def = QString();
        const QString* a2 = &a2def;
        int a2State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "|J9J:J1", sipType_KUrl, &a0, sipType_QWidget, &a1, sipType_QString,&a2, &a2State))
        {
            KUrl*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl(KFileDialog::getImageOpenUrl(*a0,a1,*a2));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

            return sipConvertFromNewType(sipRes,sipType_KUrl,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileDialog, sipName_getImageOpenUrl, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileDialog_setMode(PyObject *, PyObject *);}
static PyObject *meth_KFileDialog_setMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KFile::Modes* a0;
        int a0State = 0;
        KFileDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KFileDialog, &sipCpp, sipType_KFile_Modes, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            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_KFileDialog, sipName_setMode, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileDialog_mode(PyObject *, PyObject *);}
static PyObject *meth_KFileDialog_mode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFileDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileDialog, &sipCpp))
        {
            KFile::Modes*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KFile::Modes(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_KFileDialog, sipName_mode, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileDialog_setLocationLabel(PyObject *, PyObject *);}
static PyObject *meth_KFileDialog_setLocationLabel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KFileDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KFileDialog, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            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_KFileDialog, sipName_setLocationLabel, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileDialog_fileWidget(PyObject *, PyObject *);}
static PyObject *meth_KFileDialog_fileWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KFileDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileDialog, &sipCpp))
        {
            KAbstractFileWidget*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->fileWidget();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAbstractFileWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileDialog, sipName_fileWidget, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileDialog_toolBar(PyObject *, PyObject *);}
static PyObject *meth_KFileDialog_toolBar(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFileDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileDialog, &sipCpp))
        {
            KToolBar*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = 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_KFileDialog, sipName_toolBar, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileDialog_okButton(PyObject *, PyObject *);}
static PyObject *meth_KFileDialog_okButton(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFileDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileDialog, &sipCpp))
        {
            KPushButton*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = 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_KFileDialog, sipName_okButton, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileDialog_cancelButton(PyObject *, PyObject *);}
static PyObject *meth_KFileDialog_cancelButton(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFileDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileDialog, &sipCpp))
        {
            KPushButton*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = 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_KFileDialog, sipName_cancelButton, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileDialog_locationEdit(PyObject *, PyObject *);}
static PyObject *meth_KFileDialog_locationEdit(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFileDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileDialog, &sipCpp))
        {
            KUrlComboBox*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = 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_KFileDialog, sipName_locationEdit, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileDialog_filterWidget(PyObject *, PyObject *);}
static PyObject *meth_KFileDialog_filterWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFileDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileDialog, &sipCpp))
        {
            KFileFilterCombo*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = 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_KFileDialog, sipName_filterWidget, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileDialog_actionCollection(PyObject *, PyObject *);}
static PyObject *meth_KFileDialog_actionCollection(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFileDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFileDialog, &sipCpp))
        {
            KActionCollection*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = 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_KFileDialog, sipName_actionCollection, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileDialog_getStartUrl(PyObject *, PyObject *);}
static PyObject *meth_KFileDialog_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(KFileDialog::getStartUrl(*a0,*a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a1,sipType_QString,a1State);

            return sipConvertFromNewType(sipRes,sipType_KUrl,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFileDialog, sipName_getStartUrl, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileDialog_setStartDir(PyObject *, PyObject *);}
static PyObject *meth_KFileDialog_setStartDir(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KUrl* a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9", sipType_KUrl, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            KFileDialog::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_KFileDialog, sipName_setStartDir, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileDialog_keyPressEvent(PyObject *, PyObject *);}
static PyObject *meth_KFileDialog_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        KFileDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KFileDialog, &sipCpp, sipType_QKeyEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KFileDialog::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_KFileDialog, sipName_keyPressEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileDialog_hideEvent(PyObject *, PyObject *);}
static PyObject *meth_KFileDialog_hideEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent* a0;
        KFileDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KFileDialog, &sipCpp, sipType_QHideEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KFileDialog::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_KFileDialog, sipName_hideEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileDialog_slotOk(PyObject *, PyObject *);}
static PyObject *meth_KFileDialog_slotOk(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KFileDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KFileDialog, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KFileDialog::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_KFileDialog, sipName_slotOk, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileDialog_accept(PyObject *, PyObject *);}
static PyObject *meth_KFileDialog_accept(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KFileDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KFileDialog, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KFileDialog::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_KFileDialog, sipName_accept, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileDialog_slotCancel(PyObject *, PyObject *);}
static PyObject *meth_KFileDialog_slotCancel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KFileDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KFileDialog, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KFileDialog::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_KFileDialog, sipName_slotCancel, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its multiple inheritance hierarchy. */
extern "C" {static void *cast_KFileDialog(void *, const sipTypeDef *);}
static void *cast_KFileDialog(void *sipCppV, const sipTypeDef *targetType)
{
    KFileDialog *sipCpp = reinterpret_cast<KFileDialog *>(sipCppV);

    if (targetType == sipType_QPaintDevice)
        return static_cast<QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KFileDialog(void *, int);}
static void release_KFileDialog(void *sipCppV,int)
{
    KFileDialog *sipCpp = reinterpret_cast<KFileDialog *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KFileDialog(sipSimpleWrapper *);}
static void dealloc_KFileDialog(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKFileDialog *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KFileDialog(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KFileDialog(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KFileDialog(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKFileDialog *sipCpp = 0;

    {
        const KUrl* a0;
        const QString* a1;
        int a1State = 0;
        QWidget* a2;
        QWidget* a3 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9J1JH|J8", sipType_KUrl, &a0, sipType_QString,&a1, &a1State, sipType_QWidget, &a2, sipOwner, sipType_QWidget, &a3))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKFileDialog(*a0,*a1,a2,a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KFileDialog[] = {{86, 7, 1}};


static PyMethodDef methods_KFileDialog[] = {
    {SIP_MLNAME_CAST(sipName_accept), meth_KFileDialog_accept, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_actionCollection), meth_KFileDialog_actionCollection, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_baseUrl), meth_KFileDialog_baseUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_cancelButton), meth_KFileDialog_cancelButton, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_clearFilter), meth_KFileDialog_clearFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_currentFilter), meth_KFileDialog_currentFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_currentFilterMimeType), meth_KFileDialog_currentFilterMimeType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_currentMimeFilter), meth_KFileDialog_currentMimeFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fileWidget), meth_KFileDialog_fileWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_filterWidget), meth_KFileDialog_filterWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_getExistingDirectory), meth_KFileDialog_getExistingDirectory, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_getExistingDirectoryUrl), meth_KFileDialog_getExistingDirectoryUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_getImageOpenUrl), meth_KFileDialog_getImageOpenUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_getOpenFileName), meth_KFileDialog_getOpenFileName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_getOpenFileNameWId), meth_KFileDialog_getOpenFileNameWId, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_getOpenFileNames), meth_KFileDialog_getOpenFileNames, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_getOpenUrl), meth_KFileDialog_getOpenUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_getOpenUrls), meth_KFileDialog_getOpenUrls, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_getSaveFileName), meth_KFileDialog_getSaveFileName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_getSaveFileNameWId), meth_KFileDialog_getSaveFileNameWId, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_getSaveUrl), meth_KFileDialog_getSaveUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_getStartUrl), meth_KFileDialog_getStartUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), meth_KFileDialog_hideEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keepsLocation), meth_KFileDialog_keepsLocation, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), meth_KFileDialog_keyPressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_locationEdit), meth_KFileDialog_locationEdit, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mode), meth_KFileDialog_mode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_okButton), meth_KFileDialog_okButton, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_operationMode), meth_KFileDialog_operationMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_selectedFile), meth_KFileDialog_selectedFile, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_selectedFiles), meth_KFileDialog_selectedFiles, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_selectedUrl), meth_KFileDialog_selectedUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_selectedUrls), meth_KFileDialog_selectedUrls, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setConfirmOverwrite), meth_KFileDialog_setConfirmOverwrite, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setFilter), meth_KFileDialog_setFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setInlinePreviewShown), meth_KFileDialog_setInlinePreviewShown, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setKeepLocation), meth_KFileDialog_setKeepLocation, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setLocationLabel), meth_KFileDialog_setLocationLabel, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMimeFilter), meth_KFileDialog_setMimeFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMode), meth_KFileDialog_setMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setOperationMode), meth_KFileDialog_setOperationMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPreviewWidget), meth_KFileDialog_setPreviewWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSelection), meth_KFileDialog_setSelection, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setStartDir), meth_KFileDialog_setStartDir, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setUrl), meth_KFileDialog_setUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_KFileDialog_sizeHint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotCancel), meth_KFileDialog_slotCancel, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotOk), meth_KFileDialog_slotOk, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toolBar), meth_KFileDialog_toolBar, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KFileDialog[] = {
    {sipName_ConfirmOverwrite, static_cast<int>(KFileDialog::ConfirmOverwrite), 72},
    {sipName_Opening, static_cast<int>(KFileDialog::Opening), 71},
    {sipName_Other, static_cast<int>(KFileDialog::Other), 71},
    {sipName_Saving, static_cast<int>(KFileDialog::Saving), 71},
    {sipName_ShowInlinePreview, static_cast<int>(KFileDialog::ShowInlinePreview), 72},
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KFileDialog[] = {
    {"filterChanged(QString)", 0, 0, 0},
    {"selectionChanged()", 0, 0, 0},
    {"fileHighlighted(QString)", 0, 0, 0},
    {"fileHighlighted(KUrl)", 0, 0, 0},
    {"fileSelected(QString)", 0, 0, 0},
    {"fileSelected(KUrl)", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kio_KFileDialog = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KFileDialog,
        {0}
    },
    {
        sipNameNr_KFileDialog,
        {0, 0, 1},
        49, methods_KFileDialog,
        5, enummembers_KFileDialog,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KFileDialog,
    0,
    init_type_KFileDialog,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KFileDialog,
    0,
    0,
    0,
    release_KFileDialog,
    cast_KFileDialog,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KFileDialog::staticMetaObject,
    0,
    signals_KFileDialog,
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kio/kemailsettings.sip"
#include <kemailsettings.h>
#line 11228 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"

#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 11232 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 11235 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"


extern "C" {static PyObject *meth_KEMailSettings_profiles(PyObject *, PyObject *);}
static PyObject *meth_KEMailSettings_profiles(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KEMailSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KEMailSettings, &sipCpp))
        {
            QStringList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->profiles());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KEMailSettings, sipName_profiles, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KEMailSettings_currentProfileName(PyObject *, PyObject *);}
static PyObject *meth_KEMailSettings_currentProfileName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KEMailSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KEMailSettings, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->currentProfileName());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KEMailSettings, sipName_currentProfileName, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KEMailSettings_setProfile(PyObject *, PyObject *);}
static PyObject *meth_KEMailSettings_setProfile(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KEMailSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KEMailSettings, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setProfile(*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_KEMailSettings, sipName_setProfile, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KEMailSettings_defaultProfileName(PyObject *, PyObject *);}
static PyObject *meth_KEMailSettings_defaultProfileName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KEMailSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KEMailSettings, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->defaultProfileName());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KEMailSettings, sipName_defaultProfileName, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KEMailSettings_setDefault(PyObject *, PyObject *);}
static PyObject *meth_KEMailSettings_setDefault(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KEMailSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KEMailSettings, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDefault(*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_KEMailSettings, sipName_setDefault, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KEMailSettings_getSetting(PyObject *, PyObject *);}
static PyObject *meth_KEMailSettings_getSetting(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KEMailSettings::Setting a0;
        const KEMailSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KEMailSettings, &sipCpp, sipType_KEMailSettings_Setting, &a0))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->getSetting(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KEMailSettings, sipName_getSetting, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KEMailSettings_setSetting(PyObject *, PyObject *);}
static PyObject *meth_KEMailSettings_setSetting(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KEMailSettings::Setting a0;
        const QString* a1;
        int a1State = 0;
        KEMailSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEJ1", &sipSelf, sipType_KEMailSettings, &sipCpp, sipType_KEMailSettings_Setting, &a0, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSetting(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_KEMailSettings, sipName_setSetting, NULL);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KEMailSettings(void *, int);}
static void release_KEMailSettings(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<KEMailSettings *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KEMailSettings(sipSimpleWrapper *);}
static void dealloc_KEMailSettings(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KEMailSettings(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_KEMailSettings(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KEMailSettings(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    KEMailSettings *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KEMailSettings();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_KEMailSettings[] = {
    {SIP_MLNAME_CAST(sipName_currentProfileName), meth_KEMailSettings_currentProfileName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_defaultProfileName), meth_KEMailSettings_defaultProfileName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_getSetting), meth_KEMailSettings_getSetting, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_profiles), meth_KEMailSettings_profiles, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDefault), meth_KEMailSettings_setDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setProfile), meth_KEMailSettings_setProfile, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSetting), meth_KEMailSettings_setSetting, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KEMailSettings[] = {
    {sipName_ClientProgram, static_cast<int>(KEMailSettings::ClientProgram), 62},
    {sipName_ClientTerminal, static_cast<int>(KEMailSettings::ClientTerminal), 62},
    {sipName_EmailAddress, static_cast<int>(KEMailSettings::EmailAddress), 62},
    {sipName_InServer, static_cast<int>(KEMailSettings::InServer), 62},
    {sipName_InServerLogin, static_cast<int>(KEMailSettings::InServerLogin), 62},
    {sipName_InServerMBXType, static_cast<int>(KEMailSettings::InServerMBXType), 62},
    {sipName_InServerPass, static_cast<int>(KEMailSettings::InServerPass), 62},
    {sipName_InServerTLS, static_cast<int>(KEMailSettings::InServerTLS), 62},
    {sipName_InServerType, static_cast<int>(KEMailSettings::InServerType), 62},
    {sipName_OTHER, static_cast<int>(KEMailSettings::OTHER), 61},
    {sipName_Organization, static_cast<int>(KEMailSettings::Organization), 62},
    {sipName_OutServer, static_cast<int>(KEMailSettings::OutServer), 62},
    {sipName_OutServerCommand, static_cast<int>(KEMailSettings::OutServerCommand), 62},
    {sipName_OutServerLogin, static_cast<int>(KEMailSettings::OutServerLogin), 62},
    {sipName_OutServerPass, static_cast<int>(KEMailSettings::OutServerPass), 62},
    {sipName_OutServerTLS, static_cast<int>(KEMailSettings::OutServerTLS), 62},
    {sipName_OutServerType, static_cast<int>(KEMailSettings::OutServerType), 62},
    {sipName_POP3, static_cast<int>(KEMailSettings::POP3), 61},
    {sipName_RealName, static_cast<int>(KEMailSettings::RealName), 62},
    {sipName_ReplyToAddress, static_cast<int>(KEMailSettings::ReplyToAddress), 62},
    {sipName_SMTP, static_cast<int>(KEMailSettings::SMTP), 61},
};


pyqt4ClassTypeDef sipTypeDef_kio_KEMailSettings = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KEMailSettings,
        {0}
    },
    {
        sipNameNr_KEMailSettings,
        {0, 0, 1},
        7, methods_KEMailSettings,
        21, enummembers_KEMailSettings,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_type_KEMailSettings,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KEMailSettings,
    0,
    0,
    0,
    release_KEMailSettings,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 24 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kio/kdiskfreespaceinfo.sip"
#include <kdiskfreespaceinfo.h>
#line 11567 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"

#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 11571 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"


extern "C" {static PyObject *meth_KDiskFreeSpaceInfo_isValid(PyObject *, PyObject *);}
static PyObject *meth_KDiskFreeSpaceInfo_isValid(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDiskFreeSpaceInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDiskFreeSpaceInfo, &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_KDiskFreeSpaceInfo, sipName_isValid, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDiskFreeSpaceInfo_mountPoint(PyObject *, PyObject *);}
static PyObject *meth_KDiskFreeSpaceInfo_mountPoint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDiskFreeSpaceInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDiskFreeSpaceInfo, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->mountPoint());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDiskFreeSpaceInfo, sipName_mountPoint, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDiskFreeSpaceInfo_size(PyObject *, PyObject *);}
static PyObject *meth_KDiskFreeSpaceInfo_size(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDiskFreeSpaceInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDiskFreeSpaceInfo, &sipCpp))
        {
            KIO::filesize_t sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->size();
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDiskFreeSpaceInfo, sipName_size, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDiskFreeSpaceInfo_available(PyObject *, PyObject *);}
static PyObject *meth_KDiskFreeSpaceInfo_available(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDiskFreeSpaceInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDiskFreeSpaceInfo, &sipCpp))
        {
            KIO::filesize_t sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->available();
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDiskFreeSpaceInfo, sipName_available, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDiskFreeSpaceInfo_used(PyObject *, PyObject *);}
static PyObject *meth_KDiskFreeSpaceInfo_used(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDiskFreeSpaceInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDiskFreeSpaceInfo, &sipCpp))
        {
            KIO::filesize_t sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->used();
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDiskFreeSpaceInfo, sipName_used, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDiskFreeSpaceInfo_freeSpaceInfo(PyObject *, PyObject *);}
static PyObject *meth_KDiskFreeSpaceInfo_freeSpaceInfo(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
            KDiskFreeSpaceInfo*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KDiskFreeSpaceInfo(KDiskFreeSpaceInfo::freeSpaceInfo(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_KDiskFreeSpaceInfo,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDiskFreeSpaceInfo, sipName_freeSpaceInfo, NULL);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KDiskFreeSpaceInfo(void *, int);}
static void release_KDiskFreeSpaceInfo(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<KDiskFreeSpaceInfo *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KDiskFreeSpaceInfo(sipSimpleWrapper *);}
static void dealloc_KDiskFreeSpaceInfo(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KDiskFreeSpaceInfo(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_KDiskFreeSpaceInfo(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KDiskFreeSpaceInfo(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    KDiskFreeSpaceInfo *sipCpp = 0;

    {
        const KDiskFreeSpaceInfo* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_KDiskFreeSpaceInfo, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KDiskFreeSpaceInfo(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_KDiskFreeSpaceInfo[] = {
    {SIP_MLNAME_CAST(sipName_available), meth_KDiskFreeSpaceInfo_available, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_freeSpaceInfo), meth_KDiskFreeSpaceInfo_freeSpaceInfo, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isValid), meth_KDiskFreeSpaceInfo_isValid, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mountPoint), meth_KDiskFreeSpaceInfo_mountPoint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_size), meth_KDiskFreeSpaceInfo_size, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_used), meth_KDiskFreeSpaceInfo_used, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kio_KDiskFreeSpaceInfo = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KDiskFreeSpaceInfo,
        {0}
    },
    {
        sipNameNr_KDiskFreeSpaceInfo,
        {0, 0, 1},
        6, methods_KDiskFreeSpaceInfo,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_type_KDiskFreeSpaceInfo,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KDiskFreeSpaceInfo,
    0,
    0,
    0,
    release_KDiskFreeSpaceInfo,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kio/kdiskfreespace.sip"
#include <kdiskfreespace.h>
#line 11847 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"

#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 11851 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 11854 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11857 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11860 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11863 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 11866 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 11869 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 11872 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 11875 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 11878 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 11881 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 11884 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 11887 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"


class sipKDiskFreeSpace : public KDiskFreeSpace
{
public:
    sipKDiskFreeSpace(QObject*);
    virtual ~sipKDiskFreeSpace();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKDiskFreeSpace(const sipKDiskFreeSpace &);
    sipKDiskFreeSpace &operator = (const sipKDiskFreeSpace &);

    char sipPyMethods[7];
};

sipKDiskFreeSpace::sipKDiskFreeSpace(QObject*a0): KDiskFreeSpace(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKDiskFreeSpace::~sipKDiskFreeSpace()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKDiskFreeSpace::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KDiskFreeSpace);
}

int sipKDiskFreeSpace::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KDiskFreeSpace::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kio_qt_metacall(sipPySelf,sipType_KDiskFreeSpace,_c,_id,_a);

    return _id;
}

void *sipKDiskFreeSpace::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast(sipPySelf, sipType_KDiskFreeSpace, _clname)) ? this : KDiskFreeSpace::qt_metacast(_clname);
}

void sipKDiskFreeSpace::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KDiskFreeSpace::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDiskFreeSpace::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KDiskFreeSpace::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDiskFreeSpace::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KDiskFreeSpace::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kio_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDiskFreeSpace::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KDiskFreeSpace::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kio_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDiskFreeSpace::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KDiskFreeSpace::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kio_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKDiskFreeSpace::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KDiskFreeSpace::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKDiskFreeSpace::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KDiskFreeSpace::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_KDiskFreeSpace_readDF(PyObject *, PyObject *);}
static PyObject *meth_KDiskFreeSpace_readDF(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KDiskFreeSpace *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KDiskFreeSpace, &sipCpp, sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->readDF(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDiskFreeSpace, sipName_readDF, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDiskFreeSpace_findUsageInfo(PyObject *, PyObject *);}
static PyObject *meth_KDiskFreeSpace_findUsageInfo(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
            KDiskFreeSpace*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KDiskFreeSpace::findUsageInfo(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromType(sipRes,sipType_KDiskFreeSpace,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDiskFreeSpace, sipName_findUsageInfo, NULL);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KDiskFreeSpace(void *, int);}
static void release_KDiskFreeSpace(void *sipCppV,int)
{
    KDiskFreeSpace *sipCpp = reinterpret_cast<KDiskFreeSpace *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KDiskFreeSpace(sipSimpleWrapper *);}
static void dealloc_KDiskFreeSpace(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKDiskFreeSpace *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KDiskFreeSpace(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KDiskFreeSpace(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KDiskFreeSpace(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKDiskFreeSpace *sipCpp = 0;

    {
        QObject* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKDiskFreeSpace(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KDiskFreeSpace[] = {{141, 0, 1}};


static PyMethodDef methods_KDiskFreeSpace[] = {
    {SIP_MLNAME_CAST(sipName_findUsageInfo), meth_KDiskFreeSpace_findUsageInfo, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readDF), meth_KDiskFreeSpace_readDF, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KDiskFreeSpace[] = {
    {"done()", 0, 0, 0},
    {"foundMountPoint(QString,quint64,quint64,quint64)", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kio_KDiskFreeSpace = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KDiskFreeSpace,
        {0}
    },
    {
        sipNameNr_KDiskFreeSpace,
        {0, 0, 1},
        2, methods_KDiskFreeSpace,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KDiskFreeSpace,
    0,
    init_type_KDiskFreeSpace,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KDiskFreeSpace,
    0,
    0,
    0,
    release_KDiskFreeSpace,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KDiskFreeSpace::staticMetaObject,
    0,
    signals_KDiskFreeSpace,
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kio/kdirwatch.sip"
#include <kdirwatch.h>
#line 12260 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kio/kdirwatch.sip"
#include <kdirwatch.h>
#line 12264 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"


extern "C" {static int slot_KDirWatch_WatchModes___bool__(PyObject *);}
static int slot_KDirWatch_WatchModes___bool__(PyObject *sipSelf)
{
    KDirWatch::WatchModes *sipCpp = reinterpret_cast<KDirWatch::WatchModes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KDirWatch_WatchModes));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 389 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KDirWatch::WatchModes::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 12286 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KDirWatch_WatchModes___ne__(PyObject *,PyObject *);}
static PyObject *slot_KDirWatch_WatchModes___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    KDirWatch::WatchModes *sipCpp = reinterpret_cast<KDirWatch::WatchModes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KDirWatch_WatchModes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KDirWatch::WatchModes* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KDirWatch_WatchModes, &a0, &a0State))
        {
            bool sipRes = 0;

#line 380 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KDirWatch::WatchModes::Int() != a0->operator KDirWatch::WatchModes::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 12320 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
            sipReleaseType(const_cast<KDirWatch::WatchModes *>(a0),sipType_KDirWatch_WatchModes,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kio,ne_slot,sipType_KDirWatch_WatchModes,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KDirWatch_WatchModes___eq__(PyObject *,PyObject *);}
static PyObject *slot_KDirWatch_WatchModes___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    KDirWatch::WatchModes *sipCpp = reinterpret_cast<KDirWatch::WatchModes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KDirWatch_WatchModes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KDirWatch::WatchModes* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KDirWatch_WatchModes, &a0, &a0State))
        {
            bool sipRes = 0;

#line 371 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KDirWatch::WatchModes::Int() == a0->operator KDirWatch::WatchModes::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 12360 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
            sipReleaseType(const_cast<KDirWatch::WatchModes *>(a0),sipType_KDirWatch_WatchModes,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kio,eq_slot,sipType_KDirWatch_WatchModes,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KDirWatch_WatchModes___invert__(PyObject *);}
static PyObject *slot_KDirWatch_WatchModes___invert__(PyObject *sipSelf)
{
    KDirWatch::WatchModes *sipCpp = reinterpret_cast<KDirWatch::WatchModes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KDirWatch_WatchModes));

    if (!sipCpp)
        return 0;


    {
        {
            KDirWatch::WatchModes*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KDirWatch::WatchModes(~(*sipCpp));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KDirWatch_WatchModes,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KDirWatch_WatchModes___and__(PyObject *,PyObject *);}
static PyObject *slot_KDirWatch_WatchModes___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KDirWatch::WatchModes* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KDirWatch_WatchModes, &a0, &a0State, &a1))
        {
            KDirWatch::WatchModes*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KDirWatch::WatchModes((*a0 & a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KDirWatch_WatchModes,a0State);

            return sipConvertFromNewType(sipRes,sipType_KDirWatch_WatchModes,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kio,and_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KDirWatch_WatchModes___xor__(PyObject *,PyObject *);}
static PyObject *slot_KDirWatch_WatchModes___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KDirWatch::WatchModes* a0;
        int a0State = 0;
        KDirWatch::WatchModes* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_KDirWatch_WatchModes, &a0, &a0State, sipType_KDirWatch_WatchModes, &a1, &a1State))
        {
            KDirWatch::WatchModes*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KDirWatch::WatchModes((*a0 ^ *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KDirWatch_WatchModes,a0State);
            sipReleaseType(a1,sipType_KDirWatch_WatchModes,a1State);

            return sipConvertFromNewType(sipRes,sipType_KDirWatch_WatchModes,NULL);
        }
    }

    {
        KDirWatch::WatchModes* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KDirWatch_WatchModes, &a0, &a0State, &a1))
        {
            KDirWatch::WatchModes*sipRes = 0;

#line 365 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
        sipRes = new KDirWatch::WatchModes(*a0 ^ a1);
#line 12469 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
            sipReleaseType(a0,sipType_KDirWatch_WatchModes,a0State);

            return sipConvertFromNewType(sipRes,sipType_KDirWatch_WatchModes,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kio,xor_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KDirWatch_WatchModes___or__(PyObject *,PyObject *);}
static PyObject *slot_KDirWatch_WatchModes___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KDirWatch::WatchModes* a0;
        int a0State = 0;
        KDirWatch::WatchModes* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_KDirWatch_WatchModes, &a0, &a0State, sipType_KDirWatch_WatchModes, &a1, &a1State))
        {
            KDirWatch::WatchModes*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KDirWatch::WatchModes((*a0 | *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KDirWatch_WatchModes,a0State);
            sipReleaseType(a1,sipType_KDirWatch_WatchModes,a1State);

            return sipConvertFromNewType(sipRes,sipType_KDirWatch_WatchModes,NULL);
        }
    }

    {
        KDirWatch::WatchModes* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KDirWatch_WatchModes, &a0, &a0State, &a1))
        {
            KDirWatch::WatchModes*sipRes = 0;

#line 360 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
        sipRes = new KDirWatch::WatchModes(*a0 | a1);
#line 12521 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
            sipReleaseType(a0,sipType_KDirWatch_WatchModes,a0State);

            return sipConvertFromNewType(sipRes,sipType_KDirWatch_WatchModes,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kio,or_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KDirWatch_WatchModes___int__(PyObject *);}
static PyObject *slot_KDirWatch_WatchModes___int__(PyObject *sipSelf)
{
    KDirWatch::WatchModes *sipCpp = reinterpret_cast<KDirWatch::WatchModes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KDirWatch_WatchModes));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KDirWatch_WatchModes___ixor__(PyObject *,PyObject *);}
static PyObject *slot_KDirWatch_WatchModes___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KDirWatch_WatchModes)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KDirWatch::WatchModes *sipCpp = reinterpret_cast<KDirWatch::WatchModes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KDirWatch_WatchModes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        KDirWatch::WatchModes* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KDirWatch_WatchModes, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KDirWatch::WatchModes::operator^=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KDirWatch_WatchModes,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_KDirWatch_WatchModes___ior__(PyObject *,PyObject *);}
static PyObject *slot_KDirWatch_WatchModes___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KDirWatch_WatchModes)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KDirWatch::WatchModes *sipCpp = reinterpret_cast<KDirWatch::WatchModes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KDirWatch_WatchModes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        KDirWatch::WatchModes* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KDirWatch_WatchModes, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KDirWatch::WatchModes::operator|=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KDirWatch_WatchModes,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_KDirWatch_WatchModes___iand__(PyObject *,PyObject *);}
static PyObject *slot_KDirWatch_WatchModes___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KDirWatch_WatchModes)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KDirWatch::WatchModes *sipCpp = reinterpret_cast<KDirWatch::WatchModes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KDirWatch_WatchModes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KDirWatch::WatchModes::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;
}


/* Call the instance's destructor. */
extern "C" {static void release_KDirWatch_WatchModes(void *, int);}
static void release_KDirWatch_WatchModes(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<KDirWatch::WatchModes *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KDirWatch_WatchModes(void *, SIP_SSIZE_T, const void *);}
static void assign_KDirWatch_WatchModes(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<KDirWatch::WatchModes *>(sipDst)[sipDstIdx] = *reinterpret_cast<const KDirWatch::WatchModes *>(sipSrc);
}


extern "C" {static void *array_KDirWatch_WatchModes(SIP_SSIZE_T);}
static void *array_KDirWatch_WatchModes(SIP_SSIZE_T sipNrElem)
{
    return new KDirWatch::WatchModes[sipNrElem];
}


extern "C" {static void *copy_KDirWatch_WatchModes(const void *, SIP_SSIZE_T);}
static void *copy_KDirWatch_WatchModes(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new KDirWatch::WatchModes(reinterpret_cast<const KDirWatch::WatchModes *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_KDirWatch_WatchModes(sipSimpleWrapper *);}
static void dealloc_KDirWatch_WatchModes(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KDirWatch_WatchModes(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_KDirWatch_WatchModes(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KDirWatch_WatchModes(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    KDirWatch::WatchModes *sipCpp = 0;

    {
        const KDirWatch::WatchModes* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_KDirWatch_WatchModes, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KDirWatch::WatchModes(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<KDirWatch::WatchModes *>(a0),sipType_KDirWatch_WatchModes,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KDirWatch::WatchModes(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KDirWatch::WatchModes();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_KDirWatch_WatchModes(PyObject *, void **, int *, PyObject *);}
static int convertTo_KDirWatch_WatchModes(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    KDirWatch::WatchModes **sipCppPtr = reinterpret_cast<KDirWatch::WatchModes **>(sipCppPtrV);

#line 398 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a KDirWatch::WatchModes is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KDirWatch_WatchMode)) ||
            sipCanConvertToType(sipPy, sipType_KDirWatch_WatchModes, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KDirWatch_WatchMode)))
{
    *sipCppPtr = new KDirWatch::WatchModes(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<KDirWatch::WatchModes *>(sipConvertToType(sipPy, sipType_KDirWatch_WatchModes, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 12805 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_KDirWatch_WatchModes[] = {
    {(void *)slot_KDirWatch_WatchModes___bool__, bool_slot},
    {(void *)slot_KDirWatch_WatchModes___ne__, ne_slot},
    {(void *)slot_KDirWatch_WatchModes___eq__, eq_slot},
    {(void *)slot_KDirWatch_WatchModes___invert__, invert_slot},
    {(void *)slot_KDirWatch_WatchModes___and__, and_slot},
    {(void *)slot_KDirWatch_WatchModes___xor__, xor_slot},
    {(void *)slot_KDirWatch_WatchModes___or__, or_slot},
    {(void *)slot_KDirWatch_WatchModes___int__, int_slot},
    {(void *)slot_KDirWatch_WatchModes___ixor__, ixor_slot},
    {(void *)slot_KDirWatch_WatchModes___ior__, ior_slot},
    {(void *)slot_KDirWatch_WatchModes___iand__, iand_slot},
    {0, (sipPySlotType)0}
};


pyqt4ClassTypeDef sipTypeDef_kio_KDirWatch_WatchModes = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KDirWatch__WatchModes,
        {0}
    },
    {
        sipNameNr_WatchModes,
        {54, 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_KDirWatch_WatchModes,
    init_type_KDirWatch_WatchModes,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KDirWatch_WatchModes,
    assign_KDirWatch_WatchModes,
    array_KDirWatch_WatchModes,
    copy_KDirWatch_WatchModes,
    release_KDirWatch_WatchModes,
    0,
    convertTo_KDirWatch_WatchModes,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kio/kdirwatch.sip"
#include <kdirwatch.h>
#line 12881 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"

#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 12885 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 12888 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 401 "/usr/share/python3-sip/PyQt4/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 12891 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kio/kdirwatch.sip"
#include <kdirwatch.h>
#line 12894 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 12897 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 12900 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 12903 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 12906 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 12909 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 12912 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 12915 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 12918 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 12921 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 12924 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 12927 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"


class sipKDirWatch : public KDirWatch
{
public:
    sipKDirWatch(QObject*);
    virtual ~sipKDirWatch();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKDirWatch(const sipKDirWatch &);
    sipKDirWatch &operator = (const sipKDirWatch &);

    char sipPyMethods[7];
};

sipKDirWatch::sipKDirWatch(QObject*a0): KDirWatch(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKDirWatch::~sipKDirWatch()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKDirWatch::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KDirWatch);
}

int sipKDirWatch::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KDirWatch::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kio_qt_metacall(sipPySelf,sipType_KDirWatch,_c,_id,_a);

    return _id;
}

void *sipKDirWatch::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast(sipPySelf, sipType_KDirWatch, _clname)) ? this : KDirWatch::qt_metacast(_clname);
}

void sipKDirWatch::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KDirWatch::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirWatch::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KDirWatch::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirWatch::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KDirWatch::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kio_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirWatch::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KDirWatch::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kio_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirWatch::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KDirWatch::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kio_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKDirWatch::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KDirWatch::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKDirWatch::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KDirWatch::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_KDirWatch_addDir(PyObject *, PyObject *);}
static PyObject *meth_KDirWatch_addDir(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KDirWatch::WatchModes a1def = KDirWatch::WatchDirOnly;
        KDirWatch::WatchModes* a1 = &a1def;
        int a1State = 0;
        KDirWatch *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|J1", &sipSelf, sipType_KDirWatch, &sipCpp, sipType_QString,&a0, &a0State, sipType_KDirWatch_WatchModes, &a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addDir(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(a1,sipType_KDirWatch_WatchModes,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirWatch, sipName_addDir, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirWatch_addFile(PyObject *, PyObject *);}
static PyObject *meth_KDirWatch_addFile(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KDirWatch *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KDirWatch, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addFile(*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_KDirWatch, sipName_addFile, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirWatch_ctime(PyObject *, PyObject *);}
static PyObject *meth_KDirWatch_ctime(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        const KDirWatch *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KDirWatch, &sipCpp, sipType_QString,&a0, &a0State))
        {
            QDateTime*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDateTime(sipCpp->ctime(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QDateTime,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirWatch, sipName_ctime, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirWatch_removeDir(PyObject *, PyObject *);}
static PyObject *meth_KDirWatch_removeDir(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KDirWatch *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KDirWatch, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->removeDir(*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_KDirWatch, sipName_removeDir, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirWatch_removeFile(PyObject *, PyObject *);}
static PyObject *meth_KDirWatch_removeFile(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KDirWatch *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KDirWatch, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->removeFile(*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_KDirWatch, sipName_removeFile, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirWatch_stopDirScan(PyObject *, PyObject *);}
static PyObject *meth_KDirWatch_stopDirScan(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KDirWatch *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KDirWatch, &sipCpp, sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->stopDirScan(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirWatch, sipName_stopDirScan, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirWatch_restartDirScan(PyObject *, PyObject *);}
static PyObject *meth_KDirWatch_restartDirScan(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KDirWatch *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KDirWatch, &sipCpp, sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->restartDirScan(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirWatch, sipName_restartDirScan, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirWatch_startScan(PyObject *, PyObject *);}
static PyObject *meth_KDirWatch_startScan(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 0;
        bool a1 = 0;
        KDirWatch *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|bb", &sipSelf, sipType_KDirWatch, &sipCpp, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->startScan(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_KDirWatch, sipName_startScan, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirWatch_stopScan(PyObject *, PyObject *);}
static PyObject *meth_KDirWatch_stopScan(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KDirWatch *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDirWatch, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->stopScan();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirWatch, sipName_stopScan, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirWatch_isStopped(PyObject *, PyObject *);}
static PyObject *meth_KDirWatch_isStopped(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KDirWatch *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDirWatch, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isStopped();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirWatch, sipName_isStopped, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirWatch_contains(PyObject *, PyObject *);}
static PyObject *meth_KDirWatch_contains(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        const KDirWatch *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KDirWatch, &sipCpp, sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->contains(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirWatch, sipName_contains, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirWatch_statistics(PyObject *, PyObject *);}
static PyObject *meth_KDirWatch_statistics(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            KDirWatch::statistics();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirWatch, sipName_statistics, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirWatch_setCreated(PyObject *, PyObject *);}
static PyObject *meth_KDirWatch_setCreated(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KDirWatch *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KDirWatch, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCreated(*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_KDirWatch, sipName_setCreated, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirWatch_setDirty(PyObject *, PyObject *);}
static PyObject *meth_KDirWatch_setDirty(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KDirWatch *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KDirWatch, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDirty(*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_KDirWatch, sipName_setDirty, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirWatch_setDeleted(PyObject *, PyObject *);}
static PyObject *meth_KDirWatch_setDeleted(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KDirWatch *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KDirWatch, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDeleted(*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_KDirWatch, sipName_setDeleted, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirWatch_internalMethod(PyObject *, PyObject *);}
static PyObject *meth_KDirWatch_internalMethod(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KDirWatch *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDirWatch, &sipCpp))
        {
            KDirWatch::Method sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->internalMethod();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KDirWatch_Method);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirWatch, sipName_internalMethod, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirWatch_self(PyObject *, PyObject *);}
static PyObject *meth_KDirWatch_self(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KDirWatch*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KDirWatch::self();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KDirWatch,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirWatch, sipName_self, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirWatch_exists(PyObject *, PyObject *);}
static PyObject *meth_KDirWatch_exists(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KDirWatch::exists();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirWatch, sipName_exists, NULL);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KDirWatch(void *, int);}
static void release_KDirWatch(void *sipCppV,int)
{
    KDirWatch *sipCpp = reinterpret_cast<KDirWatch *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KDirWatch(sipSimpleWrapper *);}
static void dealloc_KDirWatch(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKDirWatch *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KDirWatch(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KDirWatch(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KDirWatch(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKDirWatch *sipCpp = 0;

    {
        QObject* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKDirWatch(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KDirWatch[] = {{141, 0, 1}};


static PyMethodDef methods_KDirWatch[] = {
    {SIP_MLNAME_CAST(sipName_addDir), meth_KDirWatch_addDir, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addFile), meth_KDirWatch_addFile, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contains), meth_KDirWatch_contains, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_ctime), meth_KDirWatch_ctime, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_exists), meth_KDirWatch_exists, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_internalMethod), meth_KDirWatch_internalMethod, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isStopped), meth_KDirWatch_isStopped, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_removeDir), meth_KDirWatch_removeDir, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_removeFile), meth_KDirWatch_removeFile, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_restartDirScan), meth_KDirWatch_restartDirScan, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_self), meth_KDirWatch_self, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCreated), meth_KDirWatch_setCreated, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDeleted), meth_KDirWatch_setDeleted, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDirty), meth_KDirWatch_setDirty, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_startScan), meth_KDirWatch_startScan, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_statistics), meth_KDirWatch_statistics, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_stopDirScan), meth_KDirWatch_stopDirScan, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_stopScan), meth_KDirWatch_stopScan, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KDirWatch[] = {
    {sipName_DNotify, static_cast<int>(KDirWatch::DNotify), 55},
    {sipName_FAM, static_cast<int>(KDirWatch::FAM), 55},
    {sipName_INotify, static_cast<int>(KDirWatch::INotify), 55},
    {sipName_Stat, static_cast<int>(KDirWatch::Stat), 55},
    {sipName_WatchDirOnly, static_cast<int>(KDirWatch::WatchDirOnly), 56},
    {sipName_WatchFiles, static_cast<int>(KDirWatch::WatchFiles), 56},
    {sipName_WatchSubDirs, static_cast<int>(KDirWatch::WatchSubDirs), 56},
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KDirWatch[] = {
    {"deleted(QString)", 0, 0, 0},
    {"created(QString)", 0, 0, 0},
    {"dirty(QString)", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kio_KDirWatch = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KDirWatch,
        {0}
    },
    {
        sipNameNr_KDirWatch,
        {0, 0, 1},
        18, methods_KDirWatch,
        7, enummembers_KDirWatch,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KDirWatch,
    0,
    init_type_KDirWatch,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KDirWatch,
    0,
    0,
    0,
    release_KDirWatch,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KDirWatch::staticMetaObject,
    0,
    signals_KDirWatch,
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kio/kdirsortfilterproxymodel.sip"
#include <kdirsortfilterproxymodel.h>
#line 13777 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"

#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 13781 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 13784 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 13787 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 13790 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 13793 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 13796 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 13799 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 13802 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 13805 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 13808 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 13811 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 13814 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 13817 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 13820 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 169 "/usr/share/python3-sip/PyQt4/QtGui/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 13823 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 122 "/usr/share/python3-sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 13826 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 139 "/usr/share/python3-sip/PyQt4/QtCore/qmap.sip"
#include <qmap.h>
#line 13829 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 13832 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 139 "/usr/share/python3-sip/PyQt4/QtCore/qhash.sip"
#include <qhash.h>
#line 13835 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 13838 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qdatastream.sip"
#include <qdatastream.h>
#line 13841 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13844 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13847 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13850 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 13853 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 13856 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 13859 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 13862 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"


class sipKDirSortFilterProxyModel : public KDirSortFilterProxyModel
{
public:
    sipKDirSortFilterProxyModel(QObject*);
    virtual ~sipKDirSortFilterProxyModel();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    bool setItemData(const QModelIndex&,const QMap<int,QVariant>&);
    QMap<int,QVariant> itemData(const QModelIndex&) const;
    void revert();
    bool submit();
    Qt::DropActions supportedDropActions() const;
    QStringList mimeTypes() const;
    QModelIndexList match(const QModelIndex&,int,const QVariant&,int,Qt::MatchFlags) const;
    QSize span(const QModelIndex&) const;
    QModelIndex buddy(const QModelIndex&) const;
    Qt::ItemFlags flags(const QModelIndex&) const;
    void fetchMore(const QModelIndex&);
    bool removeColumns(int,int,const QModelIndex&);
    bool removeRows(int,int,const QModelIndex&);
    bool insertColumns(int,int,const QModelIndex&);
    bool insertRows(int,int,const QModelIndex&);
    bool dropMimeData(const QMimeData*,Qt::DropAction,int,int,const QModelIndex&);
    QMimeData* mimeData(const QModelIndexList&) const;
    bool setHeaderData(int,Qt::Orientation,const QVariant&,int);
    QVariant headerData(int,Qt::Orientation,int) const;
    bool setData(const QModelIndex&,const QVariant&,int);
    QVariant data(const QModelIndex&,int) const;
    int columnCount(const QModelIndex&) const;
    int rowCount(const QModelIndex&) const;
    QModelIndex parent(const QModelIndex&) const;
    QModelIndex index(int,int,const QModelIndex&) const;
    bool filterAcceptsColumn(int,const QModelIndex&) const;
    bool filterAcceptsRow(int,const QModelIndex&) const;
    QItemSelection mapSelectionFromSource(const QItemSelection&) const;
    QItemSelection mapSelectionToSource(const QItemSelection&) const;
    QModelIndex mapFromSource(const QModelIndex&) const;
    QModelIndex mapToSource(const QModelIndex&) const;
    void setSourceModel(QAbstractItemModel*);
    int compareCategories(const QModelIndex&,const QModelIndex&) const;
    bool lessThan(const QModelIndex&,const QModelIndex&) const;
    void sort(int,Qt::SortOrder);
    bool subSortLessThan(const QModelIndex&,const QModelIndex&) const;
    bool canFetchMore(const QModelIndex&) const;
    bool hasChildren(const QModelIndex&) const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKDirSortFilterProxyModel(const sipKDirSortFilterProxyModel &);
    sipKDirSortFilterProxyModel &operator = (const sipKDirSortFilterProxyModel &);

    char sipPyMethods[45];
};

sipKDirSortFilterProxyModel::sipKDirSortFilterProxyModel(QObject*a0): KDirSortFilterProxyModel(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKDirSortFilterProxyModel::~sipKDirSortFilterProxyModel()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKDirSortFilterProxyModel::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KDirSortFilterProxyModel);
}

int sipKDirSortFilterProxyModel::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KDirSortFilterProxyModel::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kio_qt_metacall(sipPySelf,sipType_KDirSortFilterProxyModel,_c,_id,_a);

    return _id;
}

void *sipKDirSortFilterProxyModel::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast(sipPySelf, sipType_KDirSortFilterProxyModel, _clname)) ? this : KDirSortFilterProxyModel::qt_metacast(_clname);
}

void sipKDirSortFilterProxyModel::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KDirSortFilterProxyModel::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirSortFilterProxyModel::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KDirSortFilterProxyModel::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirSortFilterProxyModel::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KDirSortFilterProxyModel::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kio_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirSortFilterProxyModel::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KDirSortFilterProxyModel::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kio_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirSortFilterProxyModel::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KDirSortFilterProxyModel::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kio_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKDirSortFilterProxyModel::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KDirSortFilterProxyModel::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKDirSortFilterProxyModel::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KDirSortFilterProxyModel::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKDirSortFilterProxyModel::setItemData(const QModelIndex& a0,const QMap<int,QVariant>& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_setItemData);

    if (!sipMeth)
        return KDirSortFilterProxyModel::setItemData(a0,a1);

    typedef bool (*sipVH_QtCore_55)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QMap<int,QVariant>&);

    return ((sipVH_QtCore_55)(sipModuleAPI_kio_QtCore->em_virthandlers[55]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

QMap<int,QVariant> sipKDirSortFilterProxyModel::itemData(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_itemData);

    if (!sipMeth)
        return KDirSortFilterProxyModel::itemData(a0);

    typedef QMap<int,QVariant> (*sipVH_QtCore_56)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_56)(sipModuleAPI_kio_QtCore->em_virthandlers[56]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirSortFilterProxyModel::revert()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_revert);

    if (!sipMeth)
    {
        KDirSortFilterProxyModel::revert();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipKDirSortFilterProxyModel::submit()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_submit);

    if (!sipMeth)
        return KDirSortFilterProxyModel::submit();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_kio_QtCore->em_virthandlers[7]))(sipGILState, 0, sipPySelf, sipMeth);
}

Qt::DropActions sipKDirSortFilterProxyModel::supportedDropActions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_supportedDropActions);

    if (!sipMeth)
        return KDirSortFilterProxyModel::supportedDropActions();

    typedef Qt::DropActions (*sipVH_QtCore_53)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_53)(sipModuleAPI_kio_QtCore->em_virthandlers[53]))(sipGILState, 0, sipPySelf, sipMeth);
}

QStringList sipKDirSortFilterProxyModel::mimeTypes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_mimeTypes);

    if (!sipMeth)
        return KDirSortFilterProxyModel::mimeTypes();

    typedef QStringList (*sipVH_QtCore_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_27)(sipModuleAPI_kio_QtCore->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth);
}

QModelIndexList sipKDirSortFilterProxyModel::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[13]),sipPySelf,NULL,sipName_match);

    if (!sipMeth)
        return KDirSortFilterProxyModel::match(a0,a1,a2,a3,a4);

    typedef QList<QModelIndex> (*sipVH_QtCore_48)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int,const QVariant&,int,Qt::MatchFlags);

    return ((sipVH_QtCore_48)(sipModuleAPI_kio_QtCore->em_virthandlers[48]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

QSize sipKDirSortFilterProxyModel::span(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_span);

    if (!sipMeth)
        return KDirSortFilterProxyModel::span(a0);

    typedef QSize (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_47)(sipModuleAPI_kio_QtCore->em_virthandlers[47]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QModelIndex sipKDirSortFilterProxyModel::buddy(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[15]),sipPySelf,NULL,sipName_buddy);

    if (!sipMeth)
        return KDirSortFilterProxyModel::buddy(a0);

    typedef QModelIndex (*sipVH_QtCore_44)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_44)(sipModuleAPI_kio_QtCore->em_virthandlers[44]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

Qt::ItemFlags sipKDirSortFilterProxyModel::flags(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[16]),sipPySelf,NULL,sipName_flags);

    if (!sipMeth)
        return KDirSortFilterProxyModel::flags(a0);

    typedef Qt::ItemFlags (*sipVH_QtCore_50)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_50)(sipModuleAPI_kio_QtCore->em_virthandlers[50]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirSortFilterProxyModel::fetchMore(const QModelIndex& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_fetchMore);

    if (!sipMeth)
    {
        KDirSortFilterProxyModel::fetchMore(a0);
        return;
    }

    typedef void (*sipVH_QtCore_51)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    ((sipVH_QtCore_51)(sipModuleAPI_kio_QtCore->em_virthandlers[51]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKDirSortFilterProxyModel::removeColumns(int a0,int a1,const QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_removeColumns);

    if (!sipMeth)
        return KDirSortFilterProxyModel::removeColumns(a0,a1,a2);

    typedef bool (*sipVH_QtCore_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);

    return ((sipVH_QtCore_52)(sipModuleAPI_kio_QtCore->em_virthandlers[52]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipKDirSortFilterProxyModel::removeRows(int a0,int a1,const QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_removeRows);

    if (!sipMeth)
        return KDirSortFilterProxyModel::removeRows(a0,a1,a2);

    typedef bool (*sipVH_QtCore_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);

    return ((sipVH_QtCore_52)(sipModuleAPI_kio_QtCore->em_virthandlers[52]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipKDirSortFilterProxyModel::insertColumns(int a0,int a1,const QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_insertColumns);

    if (!sipMeth)
        return KDirSortFilterProxyModel::insertColumns(a0,a1,a2);

    typedef bool (*sipVH_QtCore_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);

    return ((sipVH_QtCore_52)(sipModuleAPI_kio_QtCore->em_virthandlers[52]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipKDirSortFilterProxyModel::insertRows(int a0,int a1,const QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_insertRows);

    if (!sipMeth)
        return KDirSortFilterProxyModel::insertRows(a0,a1,a2);

    typedef bool (*sipVH_QtCore_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);

    return ((sipVH_QtCore_52)(sipModuleAPI_kio_QtCore->em_virthandlers[52]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipKDirSortFilterProxyModel::dropMimeData(const QMimeData*a0,Qt::DropAction a1,int a2,int a3,const QModelIndex& a4)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_dropMimeData);

    if (!sipMeth)
        return KDirSortFilterProxyModel::dropMimeData(a0,a1,a2,a3,a4);

    typedef bool (*sipVH_QtCore_45)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMimeData*,Qt::DropAction,int,int,const QModelIndex&);

    return ((sipVH_QtCore_45)(sipModuleAPI_kio_QtCore->em_virthandlers[45]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

QMimeData* sipKDirSortFilterProxyModel::mimeData(const QModelIndexList& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[23]),sipPySelf,NULL,sipName_mimeData);

    if (!sipMeth)
        return KDirSortFilterProxyModel::mimeData(a0);

    typedef QMimeData* (*sipVH_QtCore_54)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QList<QModelIndex>&);

    return ((sipVH_QtCore_54)(sipModuleAPI_kio_QtCore->em_virthandlers[54]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKDirSortFilterProxyModel::setHeaderData(int a0,Qt::Orientation a1,const QVariant& a2,int a3)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_setHeaderData);

    if (!sipMeth)
        return KDirSortFilterProxyModel::setHeaderData(a0,a1,a2,a3);

    typedef bool (*sipVH_QtCore_57)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,Qt::Orientation,const QVariant&,int);

    return ((sipVH_QtCore_57)(sipModuleAPI_kio_QtCore->em_virthandlers[57]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}

QVariant sipKDirSortFilterProxyModel::headerData(int a0,Qt::Orientation a1,int a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[25]),sipPySelf,NULL,sipName_headerData);

    if (!sipMeth)
        return KDirSortFilterProxyModel::headerData(a0,a1,a2);

    typedef QVariant (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,Qt::Orientation,int);

    return ((sipVH_QtCore_58)(sipModuleAPI_kio_QtCore->em_virthandlers[58]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipKDirSortFilterProxyModel::setData(const QModelIndex& a0,const QVariant& a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_setData);

    if (!sipMeth)
        return KDirSortFilterProxyModel::setData(a0,a1,a2);

    typedef bool (*sipVH_QtCore_59)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QVariant&,int);

    return ((sipVH_QtCore_59)(sipModuleAPI_kio_QtCore->em_virthandlers[59]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

QVariant sipKDirSortFilterProxyModel::data(const QModelIndex& a0,int a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[27]),sipPySelf,NULL,sipName_data);

    if (!sipMeth)
        return KDirSortFilterProxyModel::data(a0,a1);

    typedef QVariant (*sipVH_QtCore_60)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int);

    return ((sipVH_QtCore_60)(sipModuleAPI_kio_QtCore->em_virthandlers[60]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

int sipKDirSortFilterProxyModel::columnCount(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[28]),sipPySelf,NULL,sipName_columnCount);

    if (!sipMeth)
        return KDirSortFilterProxyModel::columnCount(a0);

    typedef int (*sipVH_QtCore_43)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_43)(sipModuleAPI_kio_QtCore->em_virthandlers[43]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKDirSortFilterProxyModel::rowCount(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[29]),sipPySelf,NULL,sipName_rowCount);

    if (!sipMeth)
        return KDirSortFilterProxyModel::rowCount(a0);

    typedef int (*sipVH_QtCore_43)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_43)(sipModuleAPI_kio_QtCore->em_virthandlers[43]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QModelIndex sipKDirSortFilterProxyModel::parent(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[30]),sipPySelf,NULL,sipName_parent);

    if (!sipMeth)
        return KDirSortFilterProxyModel::parent(a0);

    typedef QModelIndex (*sipVH_QtCore_44)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_44)(sipModuleAPI_kio_QtCore->em_virthandlers[44]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QModelIndex sipKDirSortFilterProxyModel::index(int a0,int a1,const QModelIndex& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[31]),sipPySelf,NULL,sipName_index);

    if (!sipMeth)
        return KDirSortFilterProxyModel::index(a0,a1,a2);

    typedef QModelIndex (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);

    return ((sipVH_QtCore_46)(sipModuleAPI_kio_QtCore->em_virthandlers[46]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipKDirSortFilterProxyModel::filterAcceptsColumn(int a0,const QModelIndex& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[32]),sipPySelf,NULL,sipName_filterAcceptsColumn);

    if (!sipMeth)
        return KDirSortFilterProxyModel::filterAcceptsColumn(a0,a1);

    typedef bool (*sipVH_QtGui_114)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,const QModelIndex&);

    return ((sipVH_QtGui_114)(sipModuleAPI_kio_QtGui->em_virthandlers[114]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKDirSortFilterProxyModel::filterAcceptsRow(int a0,const QModelIndex& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[33]),sipPySelf,NULL,sipName_filterAcceptsRow);

    if (!sipMeth)
        return KDirSortFilterProxyModel::filterAcceptsRow(a0,a1);

    typedef bool (*sipVH_QtGui_114)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,const QModelIndex&);

    return ((sipVH_QtGui_114)(sipModuleAPI_kio_QtGui->em_virthandlers[114]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

QItemSelection sipKDirSortFilterProxyModel::mapSelectionFromSource(const QItemSelection& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_mapSelectionFromSource);

    if (!sipMeth)
        return KDirSortFilterProxyModel::mapSelectionFromSource(a0);

    typedef QItemSelection (*sipVH_QtGui_115)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QItemSelection&);

    return ((sipVH_QtGui_115)(sipModuleAPI_kio_QtGui->em_virthandlers[115]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QItemSelection sipKDirSortFilterProxyModel::mapSelectionToSource(const QItemSelection& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[35]),sipPySelf,NULL,sipName_mapSelectionToSource);

    if (!sipMeth)
        return KDirSortFilterProxyModel::mapSelectionToSource(a0);

    typedef QItemSelection (*sipVH_QtGui_115)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QItemSelection&);

    return ((sipVH_QtGui_115)(sipModuleAPI_kio_QtGui->em_virthandlers[115]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QModelIndex sipKDirSortFilterProxyModel::mapFromSource(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[36]),sipPySelf,NULL,sipName_mapFromSource);

    if (!sipMeth)
        return KDirSortFilterProxyModel::mapFromSource(a0);

    typedef QModelIndex (*sipVH_QtCore_44)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_44)(sipModuleAPI_kio_QtCore->em_virthandlers[44]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QModelIndex sipKDirSortFilterProxyModel::mapToSource(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_mapToSource);

    if (!sipMeth)
        return KDirSortFilterProxyModel::mapToSource(a0);

    typedef QModelIndex (*sipVH_QtCore_44)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_44)(sipModuleAPI_kio_QtCore->em_virthandlers[44]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirSortFilterProxyModel::setSourceModel(QAbstractItemModel*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_setSourceModel);

    if (!sipMeth)
    {
        KDirSortFilterProxyModel::setSourceModel(a0);
        return;
    }

    typedef void (*sipVH_QtGui_36)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QAbstractItemModel*);

    ((sipVH_QtGui_36)(sipModuleAPI_kio_QtGui->em_virthandlers[36]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKDirSortFilterProxyModel::compareCategories(const QModelIndex& a0,const QModelIndex& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[39]),sipPySelf,NULL,sipName_compareCategories);

    if (!sipMeth)
        return KDirSortFilterProxyModel::compareCategories(a0,a1);

    typedef int (*sipVH_kdeui_94)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QModelIndex&);

    return ((sipVH_kdeui_94)(sipModuleAPI_kio_kdeui->em_virthandlers[94]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKDirSortFilterProxyModel::lessThan(const QModelIndex& a0,const QModelIndex& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[40]),sipPySelf,NULL,sipName_lessThan);

    if (!sipMeth)
        return KDirSortFilterProxyModel::lessThan(a0,a1);

    typedef bool (*sipVH_QtGui_113)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QModelIndex&);

    return ((sipVH_QtGui_113)(sipModuleAPI_kio_QtGui->em_virthandlers[113]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKDirSortFilterProxyModel::sort(int a0,Qt::SortOrder a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_sort);

    if (!sipMeth)
    {
        KDirSortFilterProxyModel::sort(a0,a1);
        return;
    }

    typedef void (*sipVH_QtCore_49)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,Qt::SortOrder);

    ((sipVH_QtCore_49)(sipModuleAPI_kio_QtCore->em_virthandlers[49]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKDirSortFilterProxyModel::subSortLessThan(const QModelIndex& a0,const QModelIndex& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[42]),sipPySelf,NULL,sipName_subSortLessThan);

    if (!sipMeth)
        return KDirSortFilterProxyModel::subSortLessThan(a0,a1);

    typedef bool (*sipVH_QtGui_113)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QModelIndex&);

    return ((sipVH_QtGui_113)(sipModuleAPI_kio_QtGui->em_virthandlers[113]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKDirSortFilterProxyModel::canFetchMore(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[43]),sipPySelf,NULL,sipName_canFetchMore);

    if (!sipMeth)
        return KDirSortFilterProxyModel::canFetchMore(a0);

    typedef bool (*sipVH_QtCore_42)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_42)(sipModuleAPI_kio_QtCore->em_virthandlers[42]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKDirSortFilterProxyModel::hasChildren(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[44]),sipPySelf,NULL,sipName_hasChildren);

    if (!sipMeth)
        return KDirSortFilterProxyModel::hasChildren(a0);

    typedef bool (*sipVH_QtCore_42)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_42)(sipModuleAPI_kio_QtCore->em_virthandlers[42]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_KDirSortFilterProxyModel_hasChildren(PyObject *, PyObject *);}
static PyObject *meth_KDirSortFilterProxyModel_hasChildren(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex& a0def = QModelIndex();
        const QModelIndex* a0 = &a0def;
        const KDirSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|J9", &sipSelf, sipType_KDirSortFilterProxyModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KDirSortFilterProxyModel::hasChildren(*a0) : sipCpp->hasChildren(*a0));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirSortFilterProxyModel, sipName_hasChildren, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSortFilterProxyModel_canFetchMore(PyObject *, PyObject *);}
static PyObject *meth_KDirSortFilterProxyModel_canFetchMore(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        const KDirSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KDirSortFilterProxyModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KDirSortFilterProxyModel::canFetchMore(*a0) : sipCpp->canFetchMore(*a0));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirSortFilterProxyModel, sipName_canFetchMore, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSortFilterProxyModel_pointsForPermissions(PyObject *, PyObject *);}
static PyObject *meth_KDirSortFilterProxyModel_pointsForPermissions(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QFileInfo* a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9", sipType_QFileInfo, &a0))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KDirSortFilterProxyModel::pointsForPermissions(*a0);
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirSortFilterProxyModel, sipName_pointsForPermissions, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSortFilterProxyModel_setSortFoldersFirst(PyObject *, PyObject *);}
static PyObject *meth_KDirSortFilterProxyModel_setSortFoldersFirst(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KDirSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KDirSortFilterProxyModel, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSortFoldersFirst(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirSortFilterProxyModel, sipName_setSortFoldersFirst, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSortFilterProxyModel_sortFoldersFirst(PyObject *, PyObject *);}
static PyObject *meth_KDirSortFilterProxyModel_sortFoldersFirst(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDirSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDirSortFilterProxyModel, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sortFoldersFirst();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirSortFilterProxyModel, sipName_sortFoldersFirst, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSortFilterProxyModel_subSortLessThan(PyObject *, PyObject *);}
static PyObject *meth_KDirSortFilterProxyModel_subSortLessThan(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        const QModelIndex* a1;
        const KDirSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9J9", &sipSelf, sipType_KDirSortFilterProxyModel, &sipCpp, sipType_QModelIndex, &a0, sipType_QModelIndex, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KDirSortFilterProxyModel::subSortLessThan(*a0,*a1) : sipCpp->subSortLessThan(*a0,*a1));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirSortFilterProxyModel, sipName_subSortLessThan, NULL);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KDirSortFilterProxyModel(void *, int);}
static void release_KDirSortFilterProxyModel(void *sipCppV,int)
{
    KDirSortFilterProxyModel *sipCpp = reinterpret_cast<KDirSortFilterProxyModel *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KDirSortFilterProxyModel(sipSimpleWrapper *);}
static void dealloc_KDirSortFilterProxyModel(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKDirSortFilterProxyModel *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KDirSortFilterProxyModel(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KDirSortFilterProxyModel(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KDirSortFilterProxyModel(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKDirSortFilterProxyModel *sipCpp = 0;

    {
        QObject* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKDirSortFilterProxyModel(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KDirSortFilterProxyModel[] = {{30, 7, 1}};


static PyMethodDef methods_KDirSortFilterProxyModel[] = {
    {SIP_MLNAME_CAST(sipName_canFetchMore), meth_KDirSortFilterProxyModel_canFetchMore, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hasChildren), meth_KDirSortFilterProxyModel_hasChildren, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_pointsForPermissions), meth_KDirSortFilterProxyModel_pointsForPermissions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSortFoldersFirst), meth_KDirSortFilterProxyModel_setSortFoldersFirst, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sortFoldersFirst), meth_KDirSortFilterProxyModel_sortFoldersFirst, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_subSortLessThan), meth_KDirSortFilterProxyModel_subSortLessThan, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kio_KDirSortFilterProxyModel = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KDirSortFilterProxyModel,
        {0}
    },
    {
        sipNameNr_KDirSortFilterProxyModel,
        {0, 0, 1},
        6, methods_KDirSortFilterProxyModel,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KDirSortFilterProxyModel,
    0,
    init_type_KDirSortFilterProxyModel,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KDirSortFilterProxyModel,
    0,
    0,
    0,
    release_KDirSortFilterProxyModel,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KDirSortFilterProxyModel::staticMetaObject,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kio/kdirselectdialog.sip"
#include <kdirselectdialog.h>
#line 14962 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"

#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 14966 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 14969 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 611 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 14972 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 14975 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 14978 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 478 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 14981 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 578 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 14984 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 14987 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 14990 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 14993 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 14996 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 14999 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kpushbutton.sip"
#include <kpushbutton.h>
#line 15002 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 15005 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kconfigbase.sip"
#include <kconfigbase.h>
#line 15008 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qmenu.sip"
#include <qmenu.h>
#line 15011 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kguiitem.sip"
#include <kguiitem.h>
#line 15014 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kicon.sip"
#include <kicon.h>
#line 15017 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 15020 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 15023 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 15026 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 15029 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 622 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15032 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 565 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15035 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 600 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15038 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 15041 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 15044 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 15047 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 15050 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 15053 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 15056 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 15059 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 15062 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 15065 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 15068 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 15071 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 15074 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 15077 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 15080 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 15083 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 15086 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 15089 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 15092 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 651 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15095 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 743 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15098 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 796 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15101 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 769 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15104 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 785 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15107 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 858 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15110 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 407 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15113 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 552 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15116 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 528 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15119 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 509 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15122 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15125 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 256 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15128 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 15131 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 56 "/usr/share/python3-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 15134 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 15137 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 15140 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 15143 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 15146 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 15149 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 15152 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 15155 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 15158 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 15161 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 15164 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 15167 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 15170 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 15173 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 15176 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 15179 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 15182 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 15185 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"


class sipKDirSelectDialog : public KDirSelectDialog
{
public:
    sipKDirSelectDialog(const KUrl&,bool,QWidget*);
    virtual ~sipKDirSelectDialog();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    void languageChange();
    void windowActivationChange(bool);
    void fontChange(const QFont&);
    void paletteChange(const QPalette&);
    void enabledChange(bool);
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void changeEvent(QEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void moveEvent(QMoveEvent*);
    void paintEvent(QPaintEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    bool event(QEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    int devType() const;
    bool eventFilter(QObject*,QEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void resizeEvent(QResizeEvent*);
    void showEvent(QShowEvent*);
    void reject();
    void done(int);
    void setVisible(bool);
    void slotButtonClicked(int);
    void keyPressEvent(QKeyEvent*);
    void closeEvent(QCloseEvent*);
    void setPlainCaption(const QString&);
    void setCaption(const QString&,bool);
    void setCaption(const QString&);
    QSize minimumSizeHint() const;
    QSize sizeHint() const;
    void hideEvent(QHideEvent*);
    void accept();

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKDirSelectDialog(const sipKDirSelectDialog &);
    sipKDirSelectDialog &operator = (const sipKDirSelectDialog &);

    char sipPyMethods[54];
};

sipKDirSelectDialog::sipKDirSelectDialog(const KUrl& a0,bool a1,QWidget*a2): KDirSelectDialog(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKDirSelectDialog::~sipKDirSelectDialog()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKDirSelectDialog::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KDirSelectDialog);
}

int sipKDirSelectDialog::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KDirSelectDialog::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kio_qt_metacall(sipPySelf,sipType_KDirSelectDialog,_c,_id,_a);

    return _id;
}

void *sipKDirSelectDialog::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast(sipPySelf, sipType_KDirSelectDialog, _clname)) ? this : KDirSelectDialog::qt_metacast(_clname);
}

void sipKDirSelectDialog::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KDirSelectDialog::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirSelectDialog::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KDirSelectDialog::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirSelectDialog::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KDirSelectDialog::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kio_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirSelectDialog::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KDirSelectDialog::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kio_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirSelectDialog::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KDirSelectDialog::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kio_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirSelectDialog::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
        KDirSelectDialog::languageChange();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKDirSelectDialog::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
        KDirSelectDialog::windowActivationChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kio_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirSelectDialog::fontChange(const QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
        KDirSelectDialog::fontChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QFont&);

    ((sipVH_QtGui_9)(sipModuleAPI_kio_QtGui->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirSelectDialog::paletteChange(const QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
        KDirSelectDialog::paletteChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_10)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPalette&);

    ((sipVH_QtGui_10)(sipModuleAPI_kio_QtGui->em_virthandlers[10]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirSelectDialog::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
        KDirSelectDialog::enabledChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kio_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKDirSelectDialog::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return KDirSelectDialog::focusNextPrevChild(a0);

    typedef bool (*sipVH_QtGui_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return ((sipVH_QtGui_11)(sipModuleAPI_kio_QtGui->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QVariant sipKDirSelectDialog::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return KDirSelectDialog::inputMethodQuery(a0);

    typedef QVariant (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return ((sipVH_QtGui_12)(sipModuleAPI_kio_QtGui->em_virthandlers[12]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirSelectDialog::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        KDirSelectDialog::inputMethodEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_13)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    ((sipVH_QtGui_13)(sipModuleAPI_kio_QtGui->em_virthandlers[13]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKDirSelectDialog::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return KDirSelectDialog::metric(a0);

    typedef int (*sipVH_QtGui_14)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_14)(sipModuleAPI_kio_QtGui->em_virthandlers[14]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirSelectDialog::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        KDirSelectDialog::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kio_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirSelectDialog::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        KDirSelectDialog::dropEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_15)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    ((sipVH_QtGui_15)(sipModuleAPI_kio_QtGui->em_virthandlers[15]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirSelectDialog::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        KDirSelectDialog::dragLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_16)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    ((sipVH_QtGui_16)(sipModuleAPI_kio_QtGui->em_virthandlers[16]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirSelectDialog::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        KDirSelectDialog::dragMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    ((sipVH_QtGui_17)(sipModuleAPI_kio_QtGui->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirSelectDialog::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        KDirSelectDialog::dragEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    ((sipVH_QtGui_18)(sipModuleAPI_kio_QtGui->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirSelectDialog::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        KDirSelectDialog::actionEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_19)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    ((sipVH_QtGui_19)(sipModuleAPI_kio_QtGui->em_virthandlers[19]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirSelectDialog::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        KDirSelectDialog::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_20)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_20)(sipModuleAPI_kio_QtGui->em_virthandlers[20]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirSelectDialog::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        KDirSelectDialog::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_23)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_23)(sipModuleAPI_kio_QtGui->em_virthandlers[23]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirSelectDialog::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        KDirSelectDialog::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_kio_QtGui->em_virthandlers[3]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirSelectDialog::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        KDirSelectDialog::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kio_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirSelectDialog::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        KDirSelectDialog::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kio_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirSelectDialog::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        KDirSelectDialog::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kio_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirSelectDialog::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        KDirSelectDialog::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kio_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirSelectDialog::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        KDirSelectDialog::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kio_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirSelectDialog::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        KDirSelectDialog::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_kio_QtGui->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirSelectDialog::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        KDirSelectDialog::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kio_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirSelectDialog::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        KDirSelectDialog::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kio_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirSelectDialog::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        KDirSelectDialog::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kio_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirSelectDialog::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        KDirSelectDialog::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kio_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKDirSelectDialog::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KDirSelectDialog::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QPaintEngine* sipKDirSelectDialog::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return KDirSelectDialog::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_27)(sipModuleAPI_kio_QtGui->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKDirSelectDialog::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 KDirSelectDialog::heightForWidth(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtGui_28)(sipModuleAPI_kio_QtGui->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKDirSelectDialog::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[36]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return KDirSelectDialog::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_kio_QtCore->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipKDirSelectDialog::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KDirSelectDialog::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKDirSelectDialog::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        KDirSelectDialog::contextMenuEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_21)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    ((sipVH_QtGui_21)(sipModuleAPI_kio_QtGui->em_virthandlers[21]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirSelectDialog::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        KDirSelectDialog::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_kio_QtGui->em_virthandlers[2]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirSelectDialog::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        KDirSelectDialog::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_1)(sipModuleAPI_kio_QtGui->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirSelectDialog::reject()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_reject);

    if (!sipMeth)
    {
        KDirSelectDialog::reject();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKDirSelectDialog::done(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_done);

    if (!sipMeth)
    {
        KDirSelectDialog::done(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_kio_QtCore->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirSelectDialog::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        KDirSelectDialog::setVisible(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kio_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirSelectDialog::slotButtonClicked(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_slotButtonClicked);

    if (!sipMeth)
    {
        KDirSelectDialog::slotButtonClicked(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_kio_QtCore->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirSelectDialog::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        KDirSelectDialog::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kio_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirSelectDialog::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        KDirSelectDialog::closeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_22)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    ((sipVH_QtGui_22)(sipModuleAPI_kio_QtGui->em_virthandlers[22]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirSelectDialog::setPlainCaption(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_setPlainCaption);

    if (!sipMeth)
    {
        KDirSelectDialog::setPlainCaption(a0);
        return;
    }

    typedef void (*sipVH_QtCore_33)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    ((sipVH_QtCore_33)(sipModuleAPI_kio_QtCore->em_virthandlers[33]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirSelectDialog::setCaption(const QString& a0,bool a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_setCaption);

    if (!sipMeth)
    {
        KDirSelectDialog::setCaption(a0,a1);
        return;
    }

    typedef void (*sipVH_QtXml_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&,bool);

    ((sipVH_QtXml_24)(sipModuleAPI_kio_QtXml->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKDirSelectDialog::setCaption(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_setCaption);

    if (!sipMeth)
    {
        KDirSelectDialog::setCaption(a0);
        return;
    }

    typedef void (*sipVH_QtCore_33)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    ((sipVH_QtCore_33)(sipModuleAPI_kio_QtCore->em_virthandlers[33]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QSize sipKDirSelectDialog::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[50]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return KDirSelectDialog::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kio_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

QSize sipKDirSelectDialog::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[51]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return KDirSelectDialog::sizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kio_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKDirSelectDialog::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        KDirSelectDialog::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_kio_QtGui->em_virthandlers[0]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirSelectDialog::accept()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_accept);

    if (!sipMeth)
    {
        KDirSelectDialog::accept();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}


extern "C" {static PyObject *meth_KDirSelectDialog_url(PyObject *, PyObject *);}
static PyObject *meth_KDirSelectDialog_url(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDirSelectDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDirSelectDialog, &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_KDirSelectDialog, sipName_url, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSelectDialog_view(PyObject *, PyObject *);}
static PyObject *meth_KDirSelectDialog_view(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDirSelectDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDirSelectDialog, &sipCpp))
        {
            QAbstractItemView*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->view();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QAbstractItemView,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirSelectDialog, sipName_view, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSelectDialog_localOnly(PyObject *, PyObject *);}
static PyObject *meth_KDirSelectDialog_localOnly(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDirSelectDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDirSelectDialog, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->localOnly();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirSelectDialog, sipName_localOnly, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSelectDialog_selectDirectory(PyObject *, PyObject *);}
static PyObject *meth_KDirSelectDialog_selectDirectory(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KUrl& a0def = KUrl();
        const KUrl* a0 = &a0def;
        bool a1 = 0;
        QWidget* a2 = 0;
        const QString& a3def = QString();
        const QString* a3 = &a3def;
        int a3State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "|J9bJ:J1", sipType_KUrl, &a0, &a1, sipType_QWidget, &a2, sipType_QString,&a3, &a3State))
        {
            KUrl*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl(KDirSelectDialog::selectDirectory(*a0,a1,a2,*a3));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);

            return sipConvertFromNewType(sipRes,sipType_KUrl,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirSelectDialog, sipName_selectDirectory, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSelectDialog_startDir(PyObject *, PyObject *);}
static PyObject *meth_KDirSelectDialog_startDir(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDirSelectDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDirSelectDialog, &sipCpp))
        {
            KUrl*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl(sipCpp->startDir());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KUrl,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirSelectDialog, sipName_startDir, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSelectDialog_setCurrentUrl(PyObject *, PyObject *);}
static PyObject *meth_KDirSelectDialog_setCurrentUrl(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KUrl* a0;
        KDirSelectDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KDirSelectDialog, &sipCpp, sipType_KUrl, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCurrentUrl(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirSelectDialog, sipName_setCurrentUrl, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSelectDialog_accept(PyObject *, PyObject *);}
static PyObject *meth_KDirSelectDialog_accept(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KDirSelectDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KDirSelectDialog, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KDirSelectDialog::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_KDirSelectDialog, sipName_accept, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSelectDialog_hideEvent(PyObject *, PyObject *);}
static PyObject *meth_KDirSelectDialog_hideEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent* a0;
        KDirSelectDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KDirSelectDialog, &sipCpp, sipType_QHideEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KDirSelectDialog::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_KDirSelectDialog, sipName_hideEvent, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its multiple inheritance hierarchy. */
extern "C" {static void *cast_KDirSelectDialog(void *, const sipTypeDef *);}
static void *cast_KDirSelectDialog(void *sipCppV, const sipTypeDef *targetType)
{
    KDirSelectDialog *sipCpp = reinterpret_cast<KDirSelectDialog *>(sipCppV);

    if (targetType == sipType_QPaintDevice)
        return static_cast<QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KDirSelectDialog(void *, int);}
static void release_KDirSelectDialog(void *sipCppV,int)
{
    KDirSelectDialog *sipCpp = reinterpret_cast<KDirSelectDialog *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KDirSelectDialog(sipSimpleWrapper *);}
static void dealloc_KDirSelectDialog(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKDirSelectDialog *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KDirSelectDialog(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KDirSelectDialog(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KDirSelectDialog(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKDirSelectDialog *sipCpp = 0;

    {
        const KUrl& a0def = KUrl();
        const KUrl* a0 = &a0def;
        bool a1 = 0;
        QWidget* a2 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|J9bJH", sipType_KUrl, &a0, &a1, sipType_QWidget, &a2, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKDirSelectDialog(*a0,a1,a2);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KDirSelectDialog[] = {{86, 7, 1}};


static PyMethodDef methods_KDirSelectDialog[] = {
    {SIP_MLNAME_CAST(sipName_accept), meth_KDirSelectDialog_accept, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), meth_KDirSelectDialog_hideEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_localOnly), meth_KDirSelectDialog_localOnly, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_selectDirectory), meth_KDirSelectDialog_selectDirectory, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCurrentUrl), meth_KDirSelectDialog_setCurrentUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_startDir), meth_KDirSelectDialog_startDir, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_url), meth_KDirSelectDialog_url, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_view), meth_KDirSelectDialog_view, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kio_KDirSelectDialog = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KDirSelectDialog,
        {0}
    },
    {
        sipNameNr_KDirSelectDialog,
        {0, 0, 1},
        8, methods_KDirSelectDialog,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KDirSelectDialog,
    0,
    init_type_KDirSelectDialog,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KDirSelectDialog,
    0,
    0,
    0,
    release_KDirSelectDialog,
    cast_KDirSelectDialog,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KDirSelectDialog::staticMetaObject,
    0,
    0
};

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kio/kdiroperator.sip"
#include <kdiroperator.h>
#line 16606 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"

#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 16610 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 16613 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 478 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 16616 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 16619 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kio/kfileitem.sip"
#include <kfileitem.h>
#line 16622 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qmenu.sip"
#include <qmenu.h>
#line 16625 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 743 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 16628 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 16631 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 16634 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 16637 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 16640 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 16643 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 16646 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 565 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 16649 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kio/kdirlister.sip"
#include <kdirlister.h>
#line 16652 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kio/kfile.sip"
#include <kfile.h>
#line 16655 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 1130 "/usr/share/python3-sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 16658 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 24 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kio/kfilepreviewgenerator.sip"
#include <kfilepreviewgenerator.h>
#line 16661 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 51 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kio/copyjob.sip"
#include <copyjob.h>
#line 16664 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 134 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kio/kfileitem.sip"
#include <kfileitem.h>
#line 16667 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kio/deletejob.sip"
#include <deletejob.h>
#line 16670 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 16673 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kactioncollection.sip"
#include <kactioncollection.h>
#line 16676 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 31 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kcompletion.sip"
#include <kcompletion.h>
#line 16679 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kio/kpreviewwidgetbase.sip"
#include <kpreviewwidgetbase.h>
#line 16682 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kio/kfile.sip"
#include <kfile.h>
#line 16685 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qprogressbar.sip"
#include <qprogressbar.h>
#line 16688 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qdir.sip"
#include <qdir.h>
#line 16691 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 16694 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 16697 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 16700 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 16703 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 16706 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 16709 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 16712 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 16715 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 16718 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 16721 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 16724 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 16727 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 16730 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 16733 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 16736 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 16739 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 16742 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 16745 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 16748 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 16751 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 651 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 16754 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 611 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 16757 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 600 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 16760 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 796 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 16763 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 769 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 16766 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 785 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 16769 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 858 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 16772 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 407 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 16775 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 622 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 16778 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 578 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 16781 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 552 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 16784 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 528 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 16787 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 509 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 16790 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 16793 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 256 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 16796 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 16799 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 56 "/usr/share/python3-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 16802 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 16805 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 16808 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 16811 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 16814 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 16817 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 16820 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 16823 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 16826 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 16829 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 16832 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 16835 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 16838 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 16841 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 16844 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 16847 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 16850 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 16853 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 16856 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"


class sipKDirOperator : public KDirOperator
{
public:
    sipKDirOperator(const KUrl&,QWidget*);
    virtual ~sipKDirOperator();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    void languageChange();
    void windowActivationChange(bool);
    void fontChange(const QFont&);
    void paletteChange(const QPalette&);
    void enabledChange(bool);
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void closeEvent(QCloseEvent*);
    void moveEvent(QMoveEvent*);
    void paintEvent(QPaintEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    bool event(QEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    QSize minimumSizeHint() const;
    QSize sizeHint() const;
    void setVisible(bool);
    int devType() const;
    void keyPressEvent(QKeyEvent*);
    void selectDir(const KFileItem&);
    void trashSelected();
    void deleteSelected();
    void mkdir();
    void rereadDir();
    void cdUp();
    void home();
    void forward();
    void back();
    bool eventFilter(QObject*,QEvent*);
    void changeEvent(QEvent*);
    void activatedMenu(const KFileItem&,const QPoint&);
    void resizeEvent(QResizeEvent*);
    void setDirLister(KDirLister*);
    QAbstractItemView* createView(QWidget*,KFile::FileView);
    KIO::CopyJob* trash(const KFileItemList&,QWidget*,bool,bool);
    void setDropOptions(int);
    void setAcceptDrops(bool);
    void setEnableDirHighlighting(bool);
    KIO::DeleteJob* del(const KFileItemList&,QWidget*,bool,bool);
    bool mkdir(const QString&,bool);
    void writeConfig(KConfigGroup&);
    void readConfig(const KConfigGroup&);
    void setViewConfig(KConfigGroup&);
    void setPreviewWidget(KPreviewWidgetBase*);
    void setMode(KFile::Modes);
    void setView(KFile::FileView);
    void setView(QAbstractItemView*);
    void setUrl(const KUrl&,bool);
    void setShowHiddenFiles(bool);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKDirOperator(const sipKDirOperator &);
    sipKDirOperator &operator = (const sipKDirOperator &);

    char sipPyMethods[74];
};

sipKDirOperator::sipKDirOperator(const KUrl& a0,QWidget*a1): KDirOperator(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKDirOperator::~sipKDirOperator()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKDirOperator::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KDirOperator);
}

int sipKDirOperator::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KDirOperator::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kio_qt_metacall(sipPySelf,sipType_KDirOperator,_c,_id,_a);

    return _id;
}

void *sipKDirOperator::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast(sipPySelf, sipType_KDirOperator, _clname)) ? this : KDirOperator::qt_metacast(_clname);
}

void sipKDirOperator::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KDirOperator::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirOperator::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KDirOperator::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirOperator::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KDirOperator::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kio_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirOperator::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KDirOperator::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kio_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirOperator::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KDirOperator::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kio_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirOperator::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
        KDirOperator::languageChange();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKDirOperator::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
        KDirOperator::windowActivationChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kio_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirOperator::fontChange(const QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
        KDirOperator::fontChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QFont&);

    ((sipVH_QtGui_9)(sipModuleAPI_kio_QtGui->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirOperator::paletteChange(const QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
        KDirOperator::paletteChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_10)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPalette&);

    ((sipVH_QtGui_10)(sipModuleAPI_kio_QtGui->em_virthandlers[10]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirOperator::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
        KDirOperator::enabledChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kio_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKDirOperator::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return KDirOperator::focusNextPrevChild(a0);

    typedef bool (*sipVH_QtGui_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return ((sipVH_QtGui_11)(sipModuleAPI_kio_QtGui->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QVariant sipKDirOperator::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return KDirOperator::inputMethodQuery(a0);

    typedef QVariant (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return ((sipVH_QtGui_12)(sipModuleAPI_kio_QtGui->em_virthandlers[12]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirOperator::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        KDirOperator::inputMethodEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_13)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    ((sipVH_QtGui_13)(sipModuleAPI_kio_QtGui->em_virthandlers[13]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKDirOperator::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return KDirOperator::metric(a0);

    typedef int (*sipVH_QtGui_14)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_14)(sipModuleAPI_kio_QtGui->em_virthandlers[14]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirOperator::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        KDirOperator::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_kio_QtGui->em_virthandlers[0]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirOperator::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        KDirOperator::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_1)(sipModuleAPI_kio_QtGui->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirOperator::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        KDirOperator::dropEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_15)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    ((sipVH_QtGui_15)(sipModuleAPI_kio_QtGui->em_virthandlers[15]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirOperator::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        KDirOperator::dragLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_16)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    ((sipVH_QtGui_16)(sipModuleAPI_kio_QtGui->em_virthandlers[16]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirOperator::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        KDirOperator::dragMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    ((sipVH_QtGui_17)(sipModuleAPI_kio_QtGui->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirOperator::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        KDirOperator::dragEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    ((sipVH_QtGui_18)(sipModuleAPI_kio_QtGui->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirOperator::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        KDirOperator::actionEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_19)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    ((sipVH_QtGui_19)(sipModuleAPI_kio_QtGui->em_virthandlers[19]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirOperator::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        KDirOperator::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_20)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_20)(sipModuleAPI_kio_QtGui->em_virthandlers[20]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirOperator::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        KDirOperator::contextMenuEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_21)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    ((sipVH_QtGui_21)(sipModuleAPI_kio_QtGui->em_virthandlers[21]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirOperator::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        KDirOperator::closeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_22)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    ((sipVH_QtGui_22)(sipModuleAPI_kio_QtGui->em_virthandlers[22]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirOperator::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        KDirOperator::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_23)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_23)(sipModuleAPI_kio_QtGui->em_virthandlers[23]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirOperator::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        KDirOperator::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_kio_QtGui->em_virthandlers[3]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirOperator::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        KDirOperator::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kio_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirOperator::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        KDirOperator::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kio_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirOperator::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        KDirOperator::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kio_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirOperator::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        KDirOperator::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kio_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirOperator::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        KDirOperator::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kio_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirOperator::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        KDirOperator::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_kio_QtGui->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirOperator::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        KDirOperator::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kio_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirOperator::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        KDirOperator::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kio_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirOperator::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        KDirOperator::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kio_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirOperator::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        KDirOperator::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kio_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKDirOperator::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KDirOperator::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QPaintEngine* sipKDirOperator::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return KDirOperator::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_27)(sipModuleAPI_kio_QtGui->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKDirOperator::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return KDirOperator::heightForWidth(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtGui_28)(sipModuleAPI_kio_QtGui->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QSize sipKDirOperator::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[39]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return KDirOperator::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kio_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

QSize sipKDirOperator::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[40]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return KDirOperator::sizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kio_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKDirOperator::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        KDirOperator::setVisible(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kio_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKDirOperator::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[42]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return KDirOperator::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_kio_QtCore->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKDirOperator::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        KDirOperator::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kio_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirOperator::selectDir(const KFileItem& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_selectDir);

    if (!sipMeth)
    {
        KDirOperator::selectDir(a0);
        return;
    }

    extern void sipVH_kio_51(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const KFileItem&);

    sipVH_kio_51(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirOperator::trashSelected()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_trashSelected);

    if (!sipMeth)
    {
        KDirOperator::trashSelected();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKDirOperator::deleteSelected()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_deleteSelected);

    if (!sipMeth)
    {
        KDirOperator::deleteSelected();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKDirOperator::mkdir()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_mkdir);

    if (!sipMeth)
    {
        KDirOperator::mkdir();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKDirOperator::rereadDir()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_rereadDir);

    if (!sipMeth)
    {
        KDirOperator::rereadDir();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKDirOperator::cdUp()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_cdUp);

    if (!sipMeth)
    {
        KDirOperator::cdUp();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKDirOperator::home()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_home);

    if (!sipMeth)
    {
        KDirOperator::home();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKDirOperator::forward()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_forward);

    if (!sipMeth)
    {
        KDirOperator::forward();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKDirOperator::back()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_back);

    if (!sipMeth)
    {
        KDirOperator::back();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipKDirOperator::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KDirOperator::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKDirOperator::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        KDirOperator::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kio_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirOperator::activatedMenu(const KFileItem& a0,const QPoint& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[55],sipPySelf,NULL,sipName_activatedMenu);

    if (!sipMeth)
    {
        KDirOperator::activatedMenu(a0,a1);
        return;
    }

    extern void sipVH_kio_52(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const KFileItem&,const QPoint&);

    sipVH_kio_52(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKDirOperator::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[56],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        KDirOperator::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_kio_QtGui->em_virthandlers[2]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirOperator::setDirLister(KDirLister*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[57],sipPySelf,NULL,sipName_setDirLister);

    if (!sipMeth)
    {
        KDirOperator::setDirLister(a0);
        return;
    }

    extern void sipVH_kio_53(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KDirLister*);

    sipVH_kio_53(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QAbstractItemView* sipKDirOperator::createView(QWidget*a0,KFile::FileView a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[58],sipPySelf,NULL,sipName_createView);

    if (!sipMeth)
        return KDirOperator::createView(a0,a1);

    extern QAbstractItemView* sipVH_kio_54(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*,KFile::FileView);

    return sipVH_kio_54(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

KIO::CopyJob* sipKDirOperator::trash(const KFileItemList& a0,QWidget*a1,bool a2,bool a3)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[59],sipPySelf,NULL,sipName_trash);

    if (!sipMeth)
        return KDirOperator::trash(a0,a1,a2,a3);

    extern KIO::CopyJob* sipVH_kio_55(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const KFileItemList&,QWidget*,bool,bool);

    return sipVH_kio_55(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}

void sipKDirOperator::setDropOptions(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[60],sipPySelf,NULL,sipName_setDropOptions);

    if (!sipMeth)
    {
        KDirOperator::setDropOptions(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_kio_QtCore->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirOperator::setAcceptDrops(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[61],sipPySelf,NULL,sipName_setAcceptDrops);

    if (!sipMeth)
    {
        KDirOperator::setAcceptDrops(a0);
        return;
    }

    typedef void (*sipVH_QtNetwork_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtNetwork_1)(sipModuleAPI_kio_QtNetwork->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirOperator::setEnableDirHighlighting(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[62],sipPySelf,NULL,sipName_setEnableDirHighlighting);

    if (!sipMeth)
    {
        KDirOperator::setEnableDirHighlighting(a0);
        return;
    }

    typedef void (*sipVH_QtNetwork_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtNetwork_1)(sipModuleAPI_kio_QtNetwork->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

KIO::DeleteJob* sipKDirOperator::del(const KFileItemList& a0,QWidget*a1,bool a2,bool a3)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[63],sipPySelf,NULL,sipName_del_);

    if (!sipMeth)
        return KDirOperator::del(a0,a1,a2,a3);

    extern KIO::DeleteJob* sipVH_kio_56(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const KFileItemList&,QWidget*,bool,bool);

    return sipVH_kio_56(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}

bool sipKDirOperator::mkdir(const QString& a0,bool a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[64],sipPySelf,NULL,sipName_mkdir);

    if (!sipMeth)
        return KDirOperator::mkdir(a0,a1);

    typedef bool (*sipVH_QtCore_41)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&,bool);

    return ((sipVH_QtCore_41)(sipModuleAPI_kio_QtCore->em_virthandlers[41]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKDirOperator::writeConfig(KConfigGroup& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[65],sipPySelf,NULL,sipName_writeConfig);

    if (!sipMeth)
    {
        KDirOperator::writeConfig(a0);
        return;
    }

    typedef void (*sipVH_kdeui_66)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfigGroup&);

    ((sipVH_kdeui_66)(sipModuleAPI_kio_kdeui->em_virthandlers[66]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirOperator::readConfig(const KConfigGroup& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[66],sipPySelf,NULL,sipName_readConfig);

    if (!sipMeth)
    {
        KDirOperator::readConfig(a0);
        return;
    }

    typedef void (*sipVH_kdeui_65)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const KConfigGroup&);

    ((sipVH_kdeui_65)(sipModuleAPI_kio_kdeui->em_virthandlers[65]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirOperator::setViewConfig(KConfigGroup& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[67],sipPySelf,NULL,sipName_setViewConfig);

    if (!sipMeth)
    {
        KDirOperator::setViewConfig(a0);
        return;
    }

    typedef void (*sipVH_kdeui_66)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfigGroup&);

    ((sipVH_kdeui_66)(sipModuleAPI_kio_kdeui->em_virthandlers[66]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirOperator::setPreviewWidget(KPreviewWidgetBase*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[68],sipPySelf,NULL,sipName_setPreviewWidget);

    if (!sipMeth)
    {
        KDirOperator::setPreviewWidget(a0);
        return;
    }

    extern void sipVH_kio_42(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KPreviewWidgetBase*);

    sipVH_kio_42(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirOperator::setMode(KFile::Modes a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[69],sipPySelf,NULL,sipName_setMode);

    if (!sipMeth)
    {
        KDirOperator::setMode(a0);
        return;
    }

    extern void sipVH_kio_41(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KFile::Modes);

    sipVH_kio_41(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirOperator::setView(KFile::FileView a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[70],sipPySelf,NULL,sipName_setView);

    if (!sipMeth)
    {
        KDirOperator::setView(a0);
        return;
    }

    extern void sipVH_kio_57(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KFile::FileView);

    sipVH_kio_57(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirOperator::setView(QAbstractItemView*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[71],sipPySelf,NULL,sipName_setView);

    if (!sipMeth)
    {
        KDirOperator::setView(a0);
        return;
    }

    extern void sipVH_kio_58(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QAbstractItemView*);

    sipVH_kio_58(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirOperator::setUrl(const KUrl& a0,bool a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[72],sipPySelf,NULL,sipName_setUrl);

    if (!sipMeth)
    {
        KDirOperator::setUrl(a0,a1);
        return;
    }

    extern void sipVH_kio_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const KUrl&,bool);

    sipVH_kio_6(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKDirOperator::setShowHiddenFiles(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[73],sipPySelf,NULL,sipName_setShowHiddenFiles);

    if (!sipMeth)
    {
        KDirOperator::setShowHiddenFiles(a0);
        return;
    }

    typedef void (*sipVH_QtNetwork_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtNetwork_1)(sipModuleAPI_kio_QtNetwork->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_KDirOperator_setShowHiddenFiles(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_setShowHiddenFiles(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KDirOperator, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KDirOperator::setShowHiddenFiles(a0) : sipCpp->setShowHiddenFiles(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirOperator, sipName_setShowHiddenFiles, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_showHiddenFiles(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_showHiddenFiles(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDirOperator, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->showHiddenFiles();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirOperator, sipName_showHiddenFiles, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_close(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_close(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDirOperator, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->close();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirOperator, sipName_close, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_setNameFilter(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_setNameFilter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KDirOperator, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setNameFilter(*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_KDirOperator, sipName_setNameFilter, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_nameFilter(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_nameFilter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDirOperator, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->nameFilter());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirOperator, sipName_nameFilter, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_setMimeFilter(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_setMimeFilter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QStringList* a0;
        int a0State = 0;
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KDirOperator, &sipCpp, sipType_QStringList,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMimeFilter(*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_KDirOperator, sipName_setMimeFilter, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_mimeFilter(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_mimeFilter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDirOperator, &sipCpp))
        {
            QStringList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->mimeFilter());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirOperator, sipName_mimeFilter, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_clearFilter(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_clearFilter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDirOperator, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            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_KDirOperator, sipName_clearFilter, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_url(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_url(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDirOperator, &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_KDirOperator, sipName_url, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_setUrl(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_setUrl(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KUrl* a0;
        bool a1;
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9b", &sipSelf, sipType_KDirOperator, &sipCpp, sipType_KUrl, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KDirOperator::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_KDirOperator, sipName_setUrl, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_setCurrentItem(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_setCurrentItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KDirOperator, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCurrentItem(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const KFileItem* a0;
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KDirOperator, &sipCpp, sipType_KFileItem, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCurrentItem(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirOperator, sipName_setCurrentItem, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_setCurrentItems(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_setCurrentItems(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QStringList* a0;
        int a0State = 0;
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KDirOperator, &sipCpp, sipType_QStringList,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCurrentItems(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QStringList *>(a0),sipType_QStringList,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const KFileItemList* a0;
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KDirOperator, &sipCpp, sipType_KFileItemList, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCurrentItems(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirOperator, sipName_setCurrentItems, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_setView(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_setView(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QAbstractItemView* a0;
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KDirOperator, &sipCpp, sipType_QAbstractItemView, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KDirOperator::setView(a0) : sipCpp->setView(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        KFile::FileView a0;
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KDirOperator, &sipCpp, sipType_KFile_FileView, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KDirOperator::setView(a0) : sipCpp->setView(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirOperator, sipName_setView, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_view(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_view(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDirOperator, &sipCpp))
        {
            QAbstractItemView*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->view();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QAbstractItemView,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirOperator, sipName_view, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_setSorting(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_setSorting(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QDir::SortFlags* a0;
        int a0State = 0;
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KDirOperator, &sipCpp, sipType_QDir_SortFlags, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSorting(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QDir_SortFlags,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirOperator, sipName_setSorting, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_sorting(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_sorting(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDirOperator, &sipCpp))
        {
            QDir::SortFlags*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDir::SortFlags(sipCpp->sorting());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QDir_SortFlags,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirOperator, sipName_sorting, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_isRoot(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_isRoot(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDirOperator, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isRoot();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirOperator, sipName_isRoot, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_dirLister(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_dirLister(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDirOperator, &sipCpp))
        {
            KDirLister*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->dirLister();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KDirLister,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirOperator, sipName_dirLister, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_progressBar(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_progressBar(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDirOperator, &sipCpp))
        {
            QProgressBar*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->progressBar();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QProgressBar,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirOperator, sipName_progressBar, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_setMode(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_setMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KFile::Modes* a0;
        int a0State = 0;
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KDirOperator, &sipCpp, sipType_KFile_Modes, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KDirOperator::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_KDirOperator, sipName_setMode, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_mode(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_mode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDirOperator, &sipCpp))
        {
            KFile::Modes*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KFile::Modes(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_KDirOperator, sipName_mode, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_setPreviewWidget(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_setPreviewWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KPreviewWidgetBase* a0;
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KDirOperator, &sipCpp, sipType_KPreviewWidgetBase, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KDirOperator::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_KDirOperator, sipName_setPreviewWidget, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_selectedItems(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_selectedItems(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDirOperator, &sipCpp))
        {
            KFileItemList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KFileItemList(sipCpp->selectedItems());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KFileItemList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirOperator, sipName_selectedItems, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_isSelected(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_isSelected(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFileItem* a0;
        const KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KDirOperator, &sipCpp, sipType_KFileItem, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isSelected(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirOperator, sipName_isSelected, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_numDirs(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_numDirs(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDirOperator, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->numDirs();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirOperator, sipName_numDirs, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_numFiles(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_numFiles(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDirOperator, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->numFiles();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirOperator, sipName_numFiles, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_completionObject(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_completionObject(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDirOperator, &sipCpp))
        {
            KCompletion*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->completionObject();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KCompletion,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirOperator, sipName_completionObject, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_dirCompletionObject(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_dirCompletionObject(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDirOperator, &sipCpp))
        {
            KCompletion*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->dirCompletionObject();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KCompletion,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirOperator, sipName_dirCompletionObject, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_actionCollection(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_actionCollection(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDirOperator, &sipCpp))
        {
            KActionCollection*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = 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_KDirOperator, sipName_actionCollection, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_setViewConfig(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_setViewConfig(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KConfigGroup* a0;
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KDirOperator, &sipCpp, sipType_KConfigGroup, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KDirOperator::setViewConfig(*a0) : sipCpp->setViewConfig(*a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirOperator, sipName_setViewConfig, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_viewConfigGroup(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_viewConfigGroup(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDirOperator, &sipCpp))
        {
            KConfigGroup*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->viewConfigGroup();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KConfigGroup,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirOperator, sipName_viewConfigGroup, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_readConfig(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_readConfig(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KConfigGroup* a0;
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KDirOperator, &sipCpp, sipType_KConfigGroup, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KDirOperator::readConfig(*a0) : 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_KDirOperator, sipName_readConfig, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_writeConfig(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_writeConfig(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KConfigGroup* a0;
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KDirOperator, &sipCpp, sipType_KConfigGroup, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KDirOperator::writeConfig(*a0) : sipCpp->writeConfig(*a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirOperator, sipName_writeConfig, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_setOnlyDoubleClickSelectsFiles(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_setOnlyDoubleClickSelectsFiles(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KDirOperator, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setOnlyDoubleClickSelectsFiles(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirOperator, sipName_setOnlyDoubleClickSelectsFiles, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_onlyDoubleClickSelectsFiles(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_onlyDoubleClickSelectsFiles(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDirOperator, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->onlyDoubleClickSelectsFiles();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirOperator, sipName_onlyDoubleClickSelectsFiles, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_mkdir(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_mkdir(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString* a0;
        int a0State = 0;
        bool a1 = 1;
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|b", &sipSelf, sipType_KDirOperator, &sipCpp, sipType_QString,&a0, &a0State, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KDirOperator::mkdir(*a0,a1) : sipCpp->mkdir(*a0,a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDirOperator, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KDirOperator::mkdir() : sipCpp->mkdir());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirOperator, sipName_mkdir, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_del_(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_del_(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KFileItemList* a0;
        QWidget* a1 = 0;
        bool a2 = 1;
        bool a3 = 1;
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9|J:bb", &sipSelf, sipType_KDirOperator, &sipCpp, sipType_KFileItemList, &a0, sipType_QWidget, &a1, &a2, &a3))
        {
            KIO::DeleteJob*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KDirOperator::del(*a0,a1,a2,a3) : sipCpp->del(*a0,a1,a2,a3));
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KIO_DeleteJob,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirOperator, sipName_del_, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_clearHistory(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_clearHistory(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDirOperator, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->clearHistory();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirOperator, sipName_clearHistory, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_setEnableDirHighlighting(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_setEnableDirHighlighting(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KDirOperator, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KDirOperator::setEnableDirHighlighting(a0) : sipCpp->setEnableDirHighlighting(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirOperator, sipName_setEnableDirHighlighting, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_dirHighlighting(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_dirHighlighting(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDirOperator, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->dirHighlighting();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirOperator, sipName_dirHighlighting, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_dirOnlyMode(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_dirOnlyMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDirOperator, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->dirOnlyMode();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    {
        uint a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "u", &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KDirOperator::dirOnlyMode(a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirOperator, sipName_dirOnlyMode, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_setupMenu(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_setupMenu(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KDirOperator, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setupMenu(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KDirOperator, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setupMenu();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirOperator, sipName_setupMenu, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_setAcceptDrops(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_setAcceptDrops(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KDirOperator, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KDirOperator::setAcceptDrops(a0) : sipCpp->setAcceptDrops(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirOperator, sipName_setAcceptDrops, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_setDropOptions(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_setDropOptions(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KDirOperator, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KDirOperator::setDropOptions(a0) : sipCpp->setDropOptions(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirOperator, sipName_setDropOptions, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_trash(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_trash(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KFileItemList* a0;
        QWidget* a1;
        bool a2 = 1;
        bool a3 = 1;
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J:|bb", &sipSelf, sipType_KDirOperator, &sipCpp, sipType_KFileItemList, &a0, sipType_QWidget, &a1, &a2, &a3))
        {
            KIO::CopyJob*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KDirOperator::trash(*a0,a1,a2,a3) : sipCpp->trash(*a0,a1,a2,a3));
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KIO_CopyJob,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirOperator, sipName_trash, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_previewGenerator(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_previewGenerator(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDirOperator, &sipCpp))
        {
            KFilePreviewGenerator*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->previewGenerator();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KFilePreviewGenerator,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirOperator, sipName_previewGenerator, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_setInlinePreviewShown(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_setInlinePreviewShown(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KDirOperator, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setInlinePreviewShown(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirOperator, sipName_setInlinePreviewShown, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_decorationPosition(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_decorationPosition(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDirOperator, &sipCpp))
        {
            QStyleOptionViewItem::Position sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->decorationPosition();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_QStyleOptionViewItem_Position);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirOperator, sipName_decorationPosition, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_setDecorationPosition(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_setDecorationPosition(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QStyleOptionViewItem::Position a0;
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KDirOperator, &sipCpp, sipType_QStyleOptionViewItem_Position, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDecorationPosition(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirOperator, sipName_setDecorationPosition, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_isInlinePreviewShown(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_isInlinePreviewShown(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDirOperator, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isInlinePreviewShown();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirOperator, sipName_isInlinePreviewShown, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_iconsZoom(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_iconsZoom(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDirOperator, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->iconsZoom();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirOperator, sipName_iconsZoom, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_setIsSaving(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_setIsSaving(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KDirOperator, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setIsSaving(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirOperator, sipName_setIsSaving, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_isSaving(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_isSaving(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDirOperator, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isSaving();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirOperator, sipName_isSaving, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_createView(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_createView(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWidget* a0;
        KFile::FileView a1;
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ:E", &sipSelf, sipType_KDirOperator, &sipCpp, sipType_QWidget, &a0, sipType_KFile_FileView, &a1))
        {
            QAbstractItemView*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KDirOperator::createView(a0,a1) : sipCpp->createView(a0,a1));
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QAbstractItemView,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirOperator, sipName_createView, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_setDirLister(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_setDirLister(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KDirLister* a0;
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KDirOperator, &sipCpp, sipType_KDirLister, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KDirOperator::setDirLister(a0) : sipCpp->setDirLister(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirOperator, sipName_setDirLister, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_resizeEvent(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_resizeEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent* a0;
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KDirOperator, &sipCpp, sipType_QResizeEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KDirOperator::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_KDirOperator, sipName_resizeEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_setupActions(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_setupActions(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KDirOperator, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setupActions();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirOperator, sipName_setupActions, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_updateSortActions(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_updateSortActions(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KDirOperator, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->updateSortActions();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirOperator, sipName_updateSortActions, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_updateViewActions(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_updateViewActions(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KDirOperator, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->updateViewActions();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirOperator, sipName_updateViewActions, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_prepareCompletionObjects(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_prepareCompletionObjects(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KDirOperator, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->prepareCompletionObjects();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirOperator, sipName_prepareCompletionObjects, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_checkPreviewSupport(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_checkPreviewSupport(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KDirOperator, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->checkPreviewSupport();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirOperator, sipName_checkPreviewSupport, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_activatedMenu(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_activatedMenu(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KFileItem* a0;
        const QPoint* a1;
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9J9", &sipSelf, sipType_KDirOperator, &sipCpp, sipType_KFileItem, &a0, sipType_QPoint, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KDirOperator::activatedMenu(*a0,*a1) : sipCpp->activatedMenu(*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_KDirOperator, sipName_activatedMenu, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_changeEvent(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_changeEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KDirOperator, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KDirOperator::changeEvent(a0) : sipCpp->changeEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirOperator, sipName_changeEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_eventFilter(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_eventFilter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QObject* a0;
        QEvent* a1;
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8J8", &sipSelf, sipType_KDirOperator, &sipCpp, sipType_QObject, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KDirOperator::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_KDirOperator, sipName_eventFilter, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_back(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_back(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDirOperator, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KDirOperator::back() : sipCpp->back());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirOperator, sipName_back, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_forward(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_forward(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDirOperator, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KDirOperator::forward() : sipCpp->forward());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirOperator, sipName_forward, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_home(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_home(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDirOperator, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KDirOperator::home() : sipCpp->home());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirOperator, sipName_home, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_cdUp(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_cdUp(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDirOperator, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KDirOperator::cdUp() : sipCpp->cdUp());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirOperator, sipName_cdUp, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_updateDir(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_updateDir(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDirOperator, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->updateDir();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirOperator, sipName_updateDir, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_rereadDir(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_rereadDir(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDirOperator, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KDirOperator::rereadDir() : sipCpp->rereadDir());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirOperator, sipName_rereadDir, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_deleteSelected(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_deleteSelected(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDirOperator, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KDirOperator::deleteSelected() : sipCpp->deleteSelected());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirOperator, sipName_deleteSelected, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_updateSelectionDependentActions(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_updateSelectionDependentActions(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDirOperator, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->updateSelectionDependentActions();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirOperator, sipName_updateSelectionDependentActions, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_makeCompletion(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_makeCompletion(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KDirOperator, &sipCpp, sipType_QString,&a0, &a0State))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->makeCompletion(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirOperator, sipName_makeCompletion, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_makeDirCompletion(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_makeDirCompletion(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KDirOperator, &sipCpp, sipType_QString,&a0, &a0State))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->makeDirCompletion(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirOperator, sipName_makeDirCompletion, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_trashSelected(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_trashSelected(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDirOperator, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KDirOperator::trashSelected() : sipCpp->trashSelected());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirOperator, sipName_trashSelected, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_setIconsZoom(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_setIconsZoom(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KDirOperator, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setIconsZoom(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirOperator, sipName_setIconsZoom, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_resetCursor(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_resetCursor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KDirOperator, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->resetCursor();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirOperator, sipName_resetCursor, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_pathChanged(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_pathChanged(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KDirOperator, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->pathChanged();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirOperator, sipName_pathChanged, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_selectDir(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_selectDir(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KFileItem* a0;
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9", &sipSelf, sipType_KDirOperator, &sipCpp, sipType_KFileItem, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KDirOperator::selectDir(*a0) : sipCpp->selectDir(*a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirOperator, sipName_selectDir, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_selectFile(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_selectFile(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFileItem* a0;
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9", &sipSelf, sipType_KDirOperator, &sipCpp, sipType_KFileItem, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->selectFile(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirOperator, sipName_selectFile, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_highlightFile(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_highlightFile(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFileItem* a0;
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9", &sipSelf, sipType_KDirOperator, &sipCpp, sipType_KFileItem, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->highlightFile(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirOperator, sipName_highlightFile, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_sortByName(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_sortByName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KDirOperator, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sortByName();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirOperator, sipName_sortByName, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_sortBySize(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_sortBySize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KDirOperator, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sortBySize();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirOperator, sipName_sortBySize, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_sortByDate(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_sortByDate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KDirOperator, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sortByDate();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirOperator, sipName_sortByDate, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_sortByType(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_sortByType(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KDirOperator, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sortByType();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirOperator, sipName_sortByType, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_sortReversed(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_sortReversed(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KDirOperator, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sortReversed();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirOperator, sipName_sortReversed, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_toggleDirsFirst(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_toggleDirsFirst(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KDirOperator, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->toggleDirsFirst();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirOperator, sipName_toggleDirsFirst, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_toggleIgnoreCase(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_toggleIgnoreCase(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KDirOperator, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->toggleIgnoreCase();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirOperator, sipName_toggleIgnoreCase, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_slotCompletionMatch(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_slotCompletionMatch(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1", &sipSelf, sipType_KDirOperator, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->slotCompletionMatch(*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_KDirOperator, sipName_slotCompletionMatch, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_setNewFileMenuSupportedMimeTypes(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_setNewFileMenuSupportedMimeTypes(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QStringList* a0;
        int a0State = 0;
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KDirOperator, &sipCpp, sipType_QStringList,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setNewFileMenuSupportedMimeTypes(*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_KDirOperator, sipName_setNewFileMenuSupportedMimeTypes, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_newFileMenuSupportedMimeTypes(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_newFileMenuSupportedMimeTypes(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDirOperator, &sipCpp))
        {
            QStringList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->newFileMenuSupportedMimeTypes());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirOperator, sipName_newFileMenuSupportedMimeTypes, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_keyPressEvent(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KDirOperator, &sipCpp, sipType_QKeyEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KDirOperator::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_KDirOperator, sipName_keyPressEvent, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its multiple inheritance hierarchy. */
extern "C" {static void *cast_KDirOperator(void *, const sipTypeDef *);}
static void *cast_KDirOperator(void *sipCppV, const sipTypeDef *targetType)
{
    KDirOperator *sipCpp = reinterpret_cast<KDirOperator *>(sipCppV);

    if (targetType == sipType_QPaintDevice)
        return static_cast<QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KDirOperator(void *, int);}
static void release_KDirOperator(void *sipCppV,int)
{
    KDirOperator *sipCpp = reinterpret_cast<KDirOperator *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KDirOperator(sipSimpleWrapper *);}
static void dealloc_KDirOperator(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKDirOperator *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KDirOperator(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KDirOperator(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KDirOperator(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKDirOperator *sipCpp = 0;

    {
        const KUrl& a0def = KUrl();
        const KUrl* a0 = &a0def;
        QWidget* a1 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|J9JH", sipType_KUrl, &a0, sipType_QWidget, &a1, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKDirOperator(*a0,a1);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KDirOperator[] = {{755, 2, 1}};


static PyMethodDef methods_KDirOperator[] = {
    {SIP_MLNAME_CAST(sipName_actionCollection), meth_KDirOperator_actionCollection, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_activatedMenu), meth_KDirOperator_activatedMenu, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_back), meth_KDirOperator_back, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_cdUp), meth_KDirOperator_cdUp, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_changeEvent), meth_KDirOperator_changeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_checkPreviewSupport), meth_KDirOperator_checkPreviewSupport, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_clearFilter), meth_KDirOperator_clearFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_clearHistory), meth_KDirOperator_clearHistory, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_close), meth_KDirOperator_close, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_completionObject), meth_KDirOperator_completionObject, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_createView), meth_KDirOperator_createView, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_decorationPosition), meth_KDirOperator_decorationPosition, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_del_), meth_KDirOperator_del_, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_deleteSelected), meth_KDirOperator_deleteSelected, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dirCompletionObject), meth_KDirOperator_dirCompletionObject, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dirHighlighting), meth_KDirOperator_dirHighlighting, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dirLister), meth_KDirOperator_dirLister, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dirOnlyMode), meth_KDirOperator_dirOnlyMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_eventFilter), meth_KDirOperator_eventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_forward), meth_KDirOperator_forward, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_highlightFile), meth_KDirOperator_highlightFile, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_home), meth_KDirOperator_home, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_iconsZoom), meth_KDirOperator_iconsZoom, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isInlinePreviewShown), meth_KDirOperator_isInlinePreviewShown, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isRoot), meth_KDirOperator_isRoot, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isSaving), meth_KDirOperator_isSaving, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isSelected), meth_KDirOperator_isSelected, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), meth_KDirOperator_keyPressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_makeCompletion), meth_KDirOperator_makeCompletion, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_makeDirCompletion), meth_KDirOperator_makeDirCompletion, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mimeFilter), meth_KDirOperator_mimeFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mkdir), meth_KDirOperator_mkdir, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mode), meth_KDirOperator_mode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_nameFilter), meth_KDirOperator_nameFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_newFileMenuSupportedMimeTypes), meth_KDirOperator_newFileMenuSupportedMimeTypes, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_numDirs), meth_KDirOperator_numDirs, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_numFiles), meth_KDirOperator_numFiles, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_onlyDoubleClickSelectsFiles), meth_KDirOperator_onlyDoubleClickSelectsFiles, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_pathChanged), meth_KDirOperator_pathChanged, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_prepareCompletionObjects), meth_KDirOperator_prepareCompletionObjects, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_previewGenerator), meth_KDirOperator_previewGenerator, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_progressBar), meth_KDirOperator_progressBar, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readConfig), meth_KDirOperator_readConfig, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_rereadDir), meth_KDirOperator_rereadDir, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resetCursor), meth_KDirOperator_resetCursor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_KDirOperator_resizeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_selectDir), meth_KDirOperator_selectDir, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_selectFile), meth_KDirOperator_selectFile, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_selectedItems), meth_KDirOperator_selectedItems, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAcceptDrops), meth_KDirOperator_setAcceptDrops, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCurrentItem), meth_KDirOperator_setCurrentItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCurrentItems), meth_KDirOperator_setCurrentItems, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDecorationPosition), meth_KDirOperator_setDecorationPosition, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDirLister), meth_KDirOperator_setDirLister, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDropOptions), meth_KDirOperator_setDropOptions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setEnableDirHighlighting), meth_KDirOperator_setEnableDirHighlighting, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setIconsZoom), meth_KDirOperator_setIconsZoom, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setInlinePreviewShown), meth_KDirOperator_setInlinePreviewShown, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setIsSaving), meth_KDirOperator_setIsSaving, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMimeFilter), meth_KDirOperator_setMimeFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMode), meth_KDirOperator_setMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setNameFilter), meth_KDirOperator_setNameFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setNewFileMenuSupportedMimeTypes), meth_KDirOperator_setNewFileMenuSupportedMimeTypes, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setOnlyDoubleClickSelectsFiles), meth_KDirOperator_setOnlyDoubleClickSelectsFiles, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPreviewWidget), meth_KDirOperator_setPreviewWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setShowHiddenFiles), meth_KDirOperator_setShowHiddenFiles, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSorting), meth_KDirOperator_setSorting, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setUrl), meth_KDirOperator_setUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setView), meth_KDirOperator_setView, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setViewConfig), meth_KDirOperator_setViewConfig, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setupActions), meth_KDirOperator_setupActions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setupMenu), meth_KDirOperator_setupMenu, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showHiddenFiles), meth_KDirOperator_showHiddenFiles, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotCompletionMatch), meth_KDirOperator_slotCompletionMatch, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sortByDate), meth_KDirOperator_sortByDate, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sortByName), meth_KDirOperator_sortByName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sortBySize), meth_KDirOperator_sortBySize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sortByType), meth_KDirOperator_sortByType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sortReversed), meth_KDirOperator_sortReversed, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sorting), meth_KDirOperator_sorting, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toggleDirsFirst), meth_KDirOperator_toggleDirsFirst, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toggleIgnoreCase), meth_KDirOperator_toggleIgnoreCase, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_trash), meth_KDirOperator_trash, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_trashSelected), meth_KDirOperator_trashSelected, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateDir), meth_KDirOperator_updateDir, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateSelectionDependentActions), meth_KDirOperator_updateSelectionDependentActions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateSortActions), meth_KDirOperator_updateSortActions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateViewActions), meth_KDirOperator_updateViewActions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_url), meth_KDirOperator_url, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_view), meth_KDirOperator_view, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_viewConfigGroup), meth_KDirOperator_viewConfigGroup, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_writeConfig), meth_KDirOperator_writeConfig, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KDirOperator[] = {
    {sipName_AllActions, static_cast<int>(KDirOperator::AllActions), 51},
    {sipName_FileActions, static_cast<int>(KDirOperator::FileActions), 51},
    {sipName_NavActions, static_cast<int>(KDirOperator::NavActions), 51},
    {sipName_SortActions, static_cast<int>(KDirOperator::SortActions), 51},
    {sipName_ViewActions, static_cast<int>(KDirOperator::ViewActions), 51},
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KDirOperator[] = {
    {"currentIconSizeChanged(int)", 0, 0, 0},
    {"contextMenuAboutToShow(KFileItem,QMenu*)", 0, 0, 0},
    {"dropped(KFileItem,QDropEvent*,KUrl::List)", 0, 0, 0},
    {"fileSelected(KFileItem)", 0, 0, 0},
    {"dirActivated(KFileItem)", 0, 0, 0},
    {"fileHighlighted(KFileItem)", 0, 0, 0},
    {"viewChanged(QAbstractItemView*)", 0, 0, 0},
    {"finishedLoading()", 0, 0, 0},
    {"completion(QString)", 0, 0, 0},
    {"updateInformation(int,int)", 0, 0, 0},
    {"urlEntered(KUrl)", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kio_KDirOperator = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KDirOperator,
        {0}
    },
    {
        sipNameNr_KDirOperator,
        {0, 0, 1},
        92, methods_KDirOperator,
        5, enummembers_KDirOperator,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KDirOperator,
    0,
    init_type_KDirOperator,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KDirOperator,
    0,
    0,
    0,
    release_KDirOperator,
    cast_KDirOperator,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KDirOperator::staticMetaObject,
    0,
    signals_KDirOperator,
};

#line 30 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kio/kdirmodel.sip"
#include <kdirmodel.h>
#line 21146 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"

#line 30 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kio/kdirmodel.sip"
#include <kdirmodel.h>
#line 21150 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"


extern "C" {static int slot_KDirModel_DropsAllowed___bool__(PyObject *);}
static int slot_KDirModel_DropsAllowed___bool__(PyObject *sipSelf)
{
    KDirModel::DropsAllowed *sipCpp = reinterpret_cast<KDirModel::DropsAllowed *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KDirModel_DropsAllowed));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 389 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KDirModel::DropsAllowed::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 21172 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KDirModel_DropsAllowed___ne__(PyObject *,PyObject *);}
static PyObject *slot_KDirModel_DropsAllowed___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    KDirModel::DropsAllowed *sipCpp = reinterpret_cast<KDirModel::DropsAllowed *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KDirModel_DropsAllowed));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KDirModel::DropsAllowed* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KDirModel_DropsAllowed, &a0, &a0State))
        {
            bool sipRes = 0;

#line 380 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KDirModel::DropsAllowed::Int() != a0->operator KDirModel::DropsAllowed::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 21206 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
            sipReleaseType(const_cast<KDirModel::DropsAllowed *>(a0),sipType_KDirModel_DropsAllowed,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kio,ne_slot,sipType_KDirModel_DropsAllowed,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KDirModel_DropsAllowed___eq__(PyObject *,PyObject *);}
static PyObject *slot_KDirModel_DropsAllowed___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    KDirModel::DropsAllowed *sipCpp = reinterpret_cast<KDirModel::DropsAllowed *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KDirModel_DropsAllowed));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KDirModel::DropsAllowed* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KDirModel_DropsAllowed, &a0, &a0State))
        {
            bool sipRes = 0;

#line 371 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KDirModel::DropsAllowed::Int() == a0->operator KDirModel::DropsAllowed::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 21246 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
            sipReleaseType(const_cast<KDirModel::DropsAllowed *>(a0),sipType_KDirModel_DropsAllowed,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kio,eq_slot,sipType_KDirModel_DropsAllowed,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KDirModel_DropsAllowed___invert__(PyObject *);}
static PyObject *slot_KDirModel_DropsAllowed___invert__(PyObject *sipSelf)
{
    KDirModel::DropsAllowed *sipCpp = reinterpret_cast<KDirModel::DropsAllowed *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KDirModel_DropsAllowed));

    if (!sipCpp)
        return 0;


    {
        {
            KDirModel::DropsAllowed*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KDirModel::DropsAllowed(~(*sipCpp));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KDirModel_DropsAllowed,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KDirModel_DropsAllowed___and__(PyObject *,PyObject *);}
static PyObject *slot_KDirModel_DropsAllowed___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KDirModel::DropsAllowed* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KDirModel_DropsAllowed, &a0, &a0State, &a1))
        {
            KDirModel::DropsAllowed*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KDirModel::DropsAllowed((*a0 & a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KDirModel_DropsAllowed,a0State);

            return sipConvertFromNewType(sipRes,sipType_KDirModel_DropsAllowed,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kio,and_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KDirModel_DropsAllowed___xor__(PyObject *,PyObject *);}
static PyObject *slot_KDirModel_DropsAllowed___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KDirModel::DropsAllowed* a0;
        int a0State = 0;
        KDirModel::DropsAllowed* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_KDirModel_DropsAllowed, &a0, &a0State, sipType_KDirModel_DropsAllowed, &a1, &a1State))
        {
            KDirModel::DropsAllowed*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KDirModel::DropsAllowed((*a0 ^ *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KDirModel_DropsAllowed,a0State);
            sipReleaseType(a1,sipType_KDirModel_DropsAllowed,a1State);

            return sipConvertFromNewType(sipRes,sipType_KDirModel_DropsAllowed,NULL);
        }
    }

    {
        KDirModel::DropsAllowed* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KDirModel_DropsAllowed, &a0, &a0State, &a1))
        {
            KDirModel::DropsAllowed*sipRes = 0;

#line 365 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
        sipRes = new KDirModel::DropsAllowed(*a0 ^ a1);
#line 21355 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
            sipReleaseType(a0,sipType_KDirModel_DropsAllowed,a0State);

            return sipConvertFromNewType(sipRes,sipType_KDirModel_DropsAllowed,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kio,xor_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KDirModel_DropsAllowed___or__(PyObject *,PyObject *);}
static PyObject *slot_KDirModel_DropsAllowed___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KDirModel::DropsAllowed* a0;
        int a0State = 0;
        KDirModel::DropsAllowed* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_KDirModel_DropsAllowed, &a0, &a0State, sipType_KDirModel_DropsAllowed, &a1, &a1State))
        {
            KDirModel::DropsAllowed*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KDirModel::DropsAllowed((*a0 | *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KDirModel_DropsAllowed,a0State);
            sipReleaseType(a1,sipType_KDirModel_DropsAllowed,a1State);

            return sipConvertFromNewType(sipRes,sipType_KDirModel_DropsAllowed,NULL);
        }
    }

    {
        KDirModel::DropsAllowed* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KDirModel_DropsAllowed, &a0, &a0State, &a1))
        {
            KDirModel::DropsAllowed*sipRes = 0;

#line 360 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
        sipRes = new KDirModel::DropsAllowed(*a0 | a1);
#line 21407 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
            sipReleaseType(a0,sipType_KDirModel_DropsAllowed,a0State);

            return sipConvertFromNewType(sipRes,sipType_KDirModel_DropsAllowed,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kio,or_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KDirModel_DropsAllowed___int__(PyObject *);}
static PyObject *slot_KDirModel_DropsAllowed___int__(PyObject *sipSelf)
{
    KDirModel::DropsAllowed *sipCpp = reinterpret_cast<KDirModel::DropsAllowed *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KDirModel_DropsAllowed));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KDirModel_DropsAllowed___ixor__(PyObject *,PyObject *);}
static PyObject *slot_KDirModel_DropsAllowed___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KDirModel_DropsAllowed)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KDirModel::DropsAllowed *sipCpp = reinterpret_cast<KDirModel::DropsAllowed *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KDirModel_DropsAllowed));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        KDirModel::DropsAllowed* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KDirModel_DropsAllowed, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KDirModel::DropsAllowed::operator^=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KDirModel_DropsAllowed,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_KDirModel_DropsAllowed___ior__(PyObject *,PyObject *);}
static PyObject *slot_KDirModel_DropsAllowed___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KDirModel_DropsAllowed)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KDirModel::DropsAllowed *sipCpp = reinterpret_cast<KDirModel::DropsAllowed *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KDirModel_DropsAllowed));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        KDirModel::DropsAllowed* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KDirModel_DropsAllowed, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KDirModel::DropsAllowed::operator|=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KDirModel_DropsAllowed,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_KDirModel_DropsAllowed___iand__(PyObject *,PyObject *);}
static PyObject *slot_KDirModel_DropsAllowed___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KDirModel_DropsAllowed)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KDirModel::DropsAllowed *sipCpp = reinterpret_cast<KDirModel::DropsAllowed *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KDirModel_DropsAllowed));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KDirModel::DropsAllowed::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;
}


/* Call the instance's destructor. */
extern "C" {static void release_KDirModel_DropsAllowed(void *, int);}
static void release_KDirModel_DropsAllowed(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<KDirModel::DropsAllowed *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KDirModel_DropsAllowed(void *, SIP_SSIZE_T, const void *);}
static void assign_KDirModel_DropsAllowed(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<KDirModel::DropsAllowed *>(sipDst)[sipDstIdx] = *reinterpret_cast<const KDirModel::DropsAllowed *>(sipSrc);
}


extern "C" {static void *array_KDirModel_DropsAllowed(SIP_SSIZE_T);}
static void *array_KDirModel_DropsAllowed(SIP_SSIZE_T sipNrElem)
{
    return new KDirModel::DropsAllowed[sipNrElem];
}


extern "C" {static void *copy_KDirModel_DropsAllowed(const void *, SIP_SSIZE_T);}
static void *copy_KDirModel_DropsAllowed(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new KDirModel::DropsAllowed(reinterpret_cast<const KDirModel::DropsAllowed *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_KDirModel_DropsAllowed(sipSimpleWrapper *);}
static void dealloc_KDirModel_DropsAllowed(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KDirModel_DropsAllowed(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_KDirModel_DropsAllowed(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KDirModel_DropsAllowed(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    KDirModel::DropsAllowed *sipCpp = 0;

    {
        const KDirModel::DropsAllowed* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_KDirModel_DropsAllowed, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KDirModel::DropsAllowed(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<KDirModel::DropsAllowed *>(a0),sipType_KDirModel_DropsAllowed,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KDirModel::DropsAllowed(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KDirModel::DropsAllowed();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_KDirModel_DropsAllowed(PyObject *, void **, int *, PyObject *);}
static int convertTo_KDirModel_DropsAllowed(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    KDirModel::DropsAllowed **sipCppPtr = reinterpret_cast<KDirModel::DropsAllowed **>(sipCppPtrV);

#line 398 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a KDirModel::DropsAllowed is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KDirModel_DropsAllowedFlag)) ||
            sipCanConvertToType(sipPy, sipType_KDirModel_DropsAllowed, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KDirModel_DropsAllowedFlag)))
{
    *sipCppPtr = new KDirModel::DropsAllowed(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<KDirModel::DropsAllowed *>(sipConvertToType(sipPy, sipType_KDirModel_DropsAllowed, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 21691 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_KDirModel_DropsAllowed[] = {
    {(void *)slot_KDirModel_DropsAllowed___bool__, bool_slot},
    {(void *)slot_KDirModel_DropsAllowed___ne__, ne_slot},
    {(void *)slot_KDirModel_DropsAllowed___eq__, eq_slot},
    {(void *)slot_KDirModel_DropsAllowed___invert__, invert_slot},
    {(void *)slot_KDirModel_DropsAllowed___and__, and_slot},
    {(void *)slot_KDirModel_DropsAllowed___xor__, xor_slot},
    {(void *)slot_KDirModel_DropsAllowed___or__, or_slot},
    {(void *)slot_KDirModel_DropsAllowed___int__, int_slot},
    {(void *)slot_KDirModel_DropsAllowed___ixor__, ixor_slot},
    {(void *)slot_KDirModel_DropsAllowed___ior__, ior_slot},
    {(void *)slot_KDirModel_DropsAllowed___iand__, iand_slot},
    {0, (sipPySlotType)0}
};


pyqt4ClassTypeDef sipTypeDef_kio_KDirModel_DropsAllowed = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KDirModel__DropsAllowed,
        {0}
    },
    {
        sipNameNr_DropsAllowed,
        {45, 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_KDirModel_DropsAllowed,
    init_type_KDirModel_DropsAllowed,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KDirModel_DropsAllowed,
    assign_KDirModel_DropsAllowed,
    array_KDirModel_DropsAllowed,
    copy_KDirModel_DropsAllowed,
    release_KDirModel_DropsAllowed,
    0,
    convertTo_KDirModel_DropsAllowed,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0
};

#line 30 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kio/kdirmodel.sip"
#include <kdirmodel.h>
#line 21767 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"

#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 21771 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 21774 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 21777 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 21780 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 21783 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 21786 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 21789 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 21792 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 21795 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kio/kdirmodel.sip"
#include <kdirmodel.h>
#line 21798 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 21801 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kio/kfileitem.sip"
#include <kfileitem.h>
#line 21804 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kio/kdirlister.sip"
#include <kdirlister.h>
#line 21807 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 139 "/usr/share/python3-sip/PyQt4/QtCore/qhash.sip"
#include <qhash.h>
#line 21810 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 21813 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 21816 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qdatastream.sip"
#include <qdatastream.h>
#line 21819 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 21822 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 21825 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 139 "/usr/share/python3-sip/PyQt4/QtCore/qmap.sip"
#include <qmap.h>
#line 21828 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 21831 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 21834 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 21837 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 21840 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 21843 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 21846 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 21849 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 21852 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 21855 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 21858 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"


class sipKDirModel : public KDirModel
{
public:
    sipKDirModel(QObject*);
    virtual ~sipKDirModel();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    void revert();
    bool submit();
    QSize span(const QModelIndex&) const;
    QModelIndexList match(const QModelIndex&,int,const QVariant&,int,Qt::MatchFlags) const;
    QModelIndex buddy(const QModelIndex&) const;
    Qt::DropActions supportedDropActions() const;
    bool setItemData(const QModelIndex&,const QMap<int,QVariant>&);
    QMap<int,QVariant> itemData(const QModelIndex&) const;
    bool setHeaderData(int,Qt::Orientation,const QVariant&,int);
    void sort(int,Qt::SortOrder);
    bool setData(const QModelIndex&,const QVariant&,int);
    int rowCount(const QModelIndex&) const;
    QModelIndex parent(const QModelIndex&) const;
    QStringList mimeTypes() const;
    QMimeData* mimeData(const QModelIndexList&) const;
    QModelIndex index(int,int,const QModelIndex&) const;
    QVariant headerData(int,Qt::Orientation,int) const;
    bool hasChildren(const QModelIndex&) const;
    Qt::ItemFlags flags(const QModelIndex&) const;
    void fetchMore(const QModelIndex&);
    bool dropMimeData(const QMimeData*,Qt::DropAction,int,int,const QModelIndex&);
    QVariant data(const QModelIndex&,int) const;
    int columnCount(const QModelIndex&) const;
    bool canFetchMore(const QModelIndex&) const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKDirModel(const sipKDirModel &);
    sipKDirModel &operator = (const sipKDirModel &);

    char sipPyMethods[31];
};

sipKDirModel::sipKDirModel(QObject*a0): KDirModel(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKDirModel::~sipKDirModel()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKDirModel::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KDirModel);
}

int sipKDirModel::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KDirModel::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kio_qt_metacall(sipPySelf,sipType_KDirModel,_c,_id,_a);

    return _id;
}

void *sipKDirModel::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast(sipPySelf, sipType_KDirModel, _clname)) ? this : KDirModel::qt_metacast(_clname);
}

void sipKDirModel::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KDirModel::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirModel::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KDirModel::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirModel::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KDirModel::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kio_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirModel::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KDirModel::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kio_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirModel::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KDirModel::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kio_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKDirModel::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KDirModel::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKDirModel::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KDirModel::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirModel::revert()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_revert);

    if (!sipMeth)
    {
        KDirModel::revert();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipKDirModel::submit()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_submit);

    if (!sipMeth)
        return KDirModel::submit();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_kio_QtCore->em_virthandlers[7]))(sipGILState, 0, sipPySelf, sipMeth);
}

QSize sipKDirModel::span(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_span);

    if (!sipMeth)
        return KDirModel::span(a0);

    typedef QSize (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_47)(sipModuleAPI_kio_QtCore->em_virthandlers[47]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QModelIndexList sipKDirModel::match(const QModelIndex& a0,int a1,const QVariant& a2,int a3,Qt::MatchFlags a4) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_match);

    if (!sipMeth)
        return KDirModel::match(a0,a1,a2,a3,a4);

    typedef QList<QModelIndex> (*sipVH_QtCore_48)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int,const QVariant&,int,Qt::MatchFlags);

    return ((sipVH_QtCore_48)(sipModuleAPI_kio_QtCore->em_virthandlers[48]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

QModelIndex sipKDirModel::buddy(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_buddy);

    if (!sipMeth)
        return KDirModel::buddy(a0);

    typedef QModelIndex (*sipVH_QtCore_44)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_44)(sipModuleAPI_kio_QtCore->em_virthandlers[44]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

Qt::DropActions sipKDirModel::supportedDropActions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_supportedDropActions);

    if (!sipMeth)
        return KDirModel::supportedDropActions();

    typedef Qt::DropActions (*sipVH_QtCore_53)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_53)(sipModuleAPI_kio_QtCore->em_virthandlers[53]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipKDirModel::setItemData(const QModelIndex& a0,const QMap<int,QVariant>& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_setItemData);

    if (!sipMeth)
        return KDirModel::setItemData(a0,a1);

    typedef bool (*sipVH_QtCore_55)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QMap<int,QVariant>&);

    return ((sipVH_QtCore_55)(sipModuleAPI_kio_QtCore->em_virthandlers[55]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

QMap<int,QVariant> sipKDirModel::itemData(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_itemData);

    if (!sipMeth)
        return KDirModel::itemData(a0);

    typedef QMap<int,QVariant> (*sipVH_QtCore_56)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_56)(sipModuleAPI_kio_QtCore->em_virthandlers[56]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKDirModel::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 KDirModel::setHeaderData(a0,a1,a2,a3);

    typedef bool (*sipVH_QtCore_57)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,Qt::Orientation,const QVariant&,int);

    return ((sipVH_QtCore_57)(sipModuleAPI_kio_QtCore->em_virthandlers[57]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}

void sipKDirModel::sort(int a0,Qt::SortOrder a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_sort);

    if (!sipMeth)
    {
        KDirModel::sort(a0,a1);
        return;
    }

    typedef void (*sipVH_QtCore_49)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,Qt::SortOrder);

    ((sipVH_QtCore_49)(sipModuleAPI_kio_QtCore->em_virthandlers[49]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKDirModel::setData(const QModelIndex& a0,const QVariant& a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_setData);

    if (!sipMeth)
        return KDirModel::setData(a0,a1,a2);

    typedef bool (*sipVH_QtCore_59)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QVariant&,int);

    return ((sipVH_QtCore_59)(sipModuleAPI_kio_QtCore->em_virthandlers[59]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

int sipKDirModel::rowCount(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[18]),sipPySelf,NULL,sipName_rowCount);

    if (!sipMeth)
        return KDirModel::rowCount(a0);

    typedef int (*sipVH_QtCore_43)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_43)(sipModuleAPI_kio_QtCore->em_virthandlers[43]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QModelIndex sipKDirModel::parent(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[19]),sipPySelf,NULL,sipName_parent);

    if (!sipMeth)
        return KDirModel::parent(a0);

    typedef QModelIndex (*sipVH_QtCore_44)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_44)(sipModuleAPI_kio_QtCore->em_virthandlers[44]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QStringList sipKDirModel::mimeTypes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[20]),sipPySelf,NULL,sipName_mimeTypes);

    if (!sipMeth)
        return KDirModel::mimeTypes();

    typedef QStringList (*sipVH_QtCore_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_27)(sipModuleAPI_kio_QtCore->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth);
}

QMimeData* sipKDirModel::mimeData(const QModelIndexList& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[21]),sipPySelf,NULL,sipName_mimeData);

    if (!sipMeth)
        return KDirModel::mimeData(a0);

    typedef QMimeData* (*sipVH_QtGui_216)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QList<QModelIndex>&);

    return ((sipVH_QtGui_216)(sipModuleAPI_kio_QtGui->em_virthandlers[216]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QModelIndex sipKDirModel::index(int a0,int a1,const QModelIndex& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[22]),sipPySelf,NULL,sipName_index);

    if (!sipMeth)
        return KDirModel::index(a0,a1,a2);

    typedef QModelIndex (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);

    return ((sipVH_QtCore_46)(sipModuleAPI_kio_QtCore->em_virthandlers[46]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

QVariant sipKDirModel::headerData(int a0,Qt::Orientation a1,int a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[23]),sipPySelf,NULL,sipName_headerData);

    if (!sipMeth)
        return KDirModel::headerData(a0,a1,a2);

    typedef QVariant (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,Qt::Orientation,int);

    return ((sipVH_QtCore_58)(sipModuleAPI_kio_QtCore->em_virthandlers[58]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipKDirModel::hasChildren(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[24]),sipPySelf,NULL,sipName_hasChildren);

    if (!sipMeth)
        return KDirModel::hasChildren(a0);

    typedef bool (*sipVH_QtCore_42)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_42)(sipModuleAPI_kio_QtCore->em_virthandlers[42]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

Qt::ItemFlags sipKDirModel::flags(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[25]),sipPySelf,NULL,sipName_flags);

    if (!sipMeth)
        return KDirModel::flags(a0);

    typedef Qt::ItemFlags (*sipVH_QtCore_50)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_50)(sipModuleAPI_kio_QtCore->em_virthandlers[50]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirModel::fetchMore(const QModelIndex& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_fetchMore);

    if (!sipMeth)
    {
        KDirModel::fetchMore(a0);
        return;
    }

    typedef void (*sipVH_QtCore_51)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    ((sipVH_QtCore_51)(sipModuleAPI_kio_QtCore->em_virthandlers[51]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKDirModel::dropMimeData(const QMimeData*a0,Qt::DropAction a1,int a2,int a3,const QModelIndex& a4)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_dropMimeData);

    if (!sipMeth)
        return KDirModel::dropMimeData(a0,a1,a2,a3,a4);

    typedef bool (*sipVH_QtCore_45)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMimeData*,Qt::DropAction,int,int,const QModelIndex&);

    return ((sipVH_QtCore_45)(sipModuleAPI_kio_QtCore->em_virthandlers[45]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

QVariant sipKDirModel::data(const QModelIndex& a0,int a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[28]),sipPySelf,NULL,sipName_data);

    if (!sipMeth)
        return KDirModel::data(a0,a1);

    typedef QVariant (*sipVH_QtCore_60)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int);

    return ((sipVH_QtCore_60)(sipModuleAPI_kio_QtCore->em_virthandlers[60]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

int sipKDirModel::columnCount(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[29]),sipPySelf,NULL,sipName_columnCount);

    if (!sipMeth)
        return KDirModel::columnCount(a0);

    typedef int (*sipVH_QtCore_43)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_43)(sipModuleAPI_kio_QtCore->em_virthandlers[43]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKDirModel::canFetchMore(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[30]),sipPySelf,NULL,sipName_canFetchMore);

    if (!sipMeth)
        return KDirModel::canFetchMore(a0);

    typedef bool (*sipVH_QtCore_42)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_42)(sipModuleAPI_kio_QtCore->em_virthandlers[42]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_KDirModel_setDirLister(PyObject *, PyObject *);}
static PyObject *meth_KDirModel_setDirLister(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KDirLister* a0;
        KDirModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KDirModel, &sipCpp, sipType_KDirLister, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDirLister(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirModel, sipName_setDirLister, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirModel_dirLister(PyObject *, PyObject *);}
static PyObject *meth_KDirModel_dirLister(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDirModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDirModel, &sipCpp))
        {
            KDirLister*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->dirLister();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KDirLister,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirModel, sipName_dirLister, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirModel_itemForIndex(PyObject *, PyObject *);}
static PyObject *meth_KDirModel_itemForIndex(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        const KDirModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KDirModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            KFileItem*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KFileItem(sipCpp->itemForIndex(*a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KFileItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirModel, sipName_itemForIndex, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirModel_indexForItem(PyObject *, PyObject *);}
static PyObject *meth_KDirModel_indexForItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFileItem* a0;
        const KDirModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KDirModel, &sipCpp, sipType_KFileItem, &a0))
        {
            QModelIndex*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QModelIndex(sipCpp->indexForItem(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    {
        const KFileItem* a0;
        const KDirModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KDirModel, &sipCpp, sipType_KFileItem, &a0))
        {
            QModelIndex*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QModelIndex(sipCpp->indexForItem(*a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirModel, sipName_indexForItem, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirModel_indexForUrl(PyObject *, PyObject *);}
static PyObject *meth_KDirModel_indexForUrl(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KUrl* a0;
        const KDirModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KDirModel, &sipCpp, sipType_KUrl, &a0))
        {
            QModelIndex*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QModelIndex(sipCpp->indexForUrl(*a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirModel, sipName_indexForUrl, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirModel_expandToUrl(PyObject *, PyObject *);}
static PyObject *meth_KDirModel_expandToUrl(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KUrl* a0;
        KDirModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KDirModel, &sipCpp, sipType_KUrl, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->expandToUrl(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirModel, sipName_expandToUrl, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirModel_itemChanged(PyObject *, PyObject *);}
static PyObject *meth_KDirModel_itemChanged(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        KDirModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KDirModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->itemChanged(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirModel, sipName_itemChanged, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirModel_setDropsAllowed(PyObject *, PyObject *);}
static PyObject *meth_KDirModel_setDropsAllowed(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KDirModel::DropsAllowed* a0;
        int a0State = 0;
        KDirModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KDirModel, &sipCpp, sipType_KDirModel_DropsAllowed, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDropsAllowed(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KDirModel_DropsAllowed,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirModel, sipName_setDropsAllowed, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirModel_canFetchMore(PyObject *, PyObject *);}
static PyObject *meth_KDirModel_canFetchMore(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        const KDirModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ;", &sipSelf, sipType_KDirModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KDirModel::canFetchMore(*a0) : sipCpp->canFetchMore(*a0));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirModel, sipName_canFetchMore, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirModel_columnCount(PyObject *, PyObject *);}
static PyObject *meth_KDirModel_columnCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex& a0def = QModelIndex();
        const QModelIndex* a0 = &a0def;
        const KDirModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|J;", &sipSelf, sipType_KDirModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KDirModel::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_KDirModel, sipName_columnCount, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirModel_data(PyObject *, PyObject *);}
static PyObject *meth_KDirModel_data(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        int a1 = Qt::DisplayRole;
        const KDirModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9|i", &sipSelf, sipType_KDirModel, &sipCpp, sipType_QModelIndex, &a0, &a1))
        {
            QVariant*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant((sipSelfWasArg ? sipCpp->KDirModel::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_KDirModel, sipName_data, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirModel_dropMimeData(PyObject *, PyObject *);}
static PyObject *meth_KDirModel_dropMimeData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMimeData* a0;
        Qt::DropAction a1;
        int a2;
        int a3;
        const QModelIndex* a4;
        KDirModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8EiiJ;", &sipSelf, sipType_KDirModel, &sipCpp, sipType_QMimeData, &a0, sipType_Qt_DropAction, &a1, &a2, &a3, sipType_QModelIndex, &a4))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KDirModel::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_KDirModel, sipName_dropMimeData, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirModel_fetchMore(PyObject *, PyObject *);}
static PyObject *meth_KDirModel_fetchMore(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        KDirModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ;", &sipSelf, sipType_KDirModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KDirModel::fetchMore(*a0) : sipCpp->fetchMore(*a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirModel, sipName_fetchMore, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirModel_flags(PyObject *, PyObject *);}
static PyObject *meth_KDirModel_flags(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        const KDirModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KDirModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            Qt::ItemFlags*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::ItemFlags((sipSelfWasArg ? sipCpp->KDirModel::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_KDirModel, sipName_flags, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirModel_hasChildren(PyObject *, PyObject *);}
static PyObject *meth_KDirModel_hasChildren(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex& a0def = QModelIndex();
        const QModelIndex* a0 = &a0def;
        const KDirModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|J;", &sipSelf, sipType_KDirModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KDirModel::hasChildren(*a0) : sipCpp->hasChildren(*a0));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirModel, sipName_hasChildren, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirModel_headerData(PyObject *, PyObject *);}
static PyObject *meth_KDirModel_headerData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        Qt::Orientation a1;
        int a2 = Qt::DisplayRole;
        const KDirModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiE|i", &sipSelf, sipType_KDirModel, &sipCpp, &a0, sipType_Qt_Orientation, &a1, &a2))
        {
            QVariant*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant((sipSelfWasArg ? sipCpp->KDirModel::headerData(a0,a1,a2) : sipCpp->headerData(a0,a1,a2)));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirModel, sipName_headerData, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirModel_index(PyObject *, PyObject *);}
static PyObject *meth_KDirModel_index(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        int a1;
        const QModelIndex& a2def = QModelIndex();
        const QModelIndex* a2 = &a2def;
        const KDirModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii|J;", &sipSelf, sipType_KDirModel, &sipCpp, &a0, &a1, sipType_QModelIndex, &a2))
        {
            QModelIndex*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QModelIndex((sipSelfWasArg ? sipCpp->KDirModel::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_KDirModel, sipName_index, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirModel_mimeData(PyObject *, PyObject *);}
static PyObject *meth_KDirModel_mimeData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndexList* a0;
        int a0State = 0;
        const KDirModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KDirModel, &sipCpp, sipType_QList_0100QModelIndex,&a0, &a0State))
        {
            QMimeData*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KDirModel::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_KDirModel, sipName_mimeData, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirModel_mimeTypes(PyObject *, PyObject *);}
static PyObject *meth_KDirModel_mimeTypes(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KDirModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDirModel, &sipCpp))
        {
            QStringList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList((sipSelfWasArg ? sipCpp->KDirModel::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_KDirModel, sipName_mimeTypes, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirModel_parent(PyObject *, PyObject *);}
static PyObject *meth_KDirModel_parent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        const KDirModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KDirModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            QModelIndex*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QModelIndex((sipSelfWasArg ? sipCpp->KDirModel::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_KDirModel, sipName_parent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirModel_rowCount(PyObject *, PyObject *);}
static PyObject *meth_KDirModel_rowCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex& a0def = QModelIndex();
        const QModelIndex* a0 = &a0def;
        const KDirModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|J;", &sipSelf, sipType_KDirModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KDirModel::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_KDirModel, sipName_rowCount, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirModel_setData(PyObject *, PyObject *);}
static PyObject *meth_KDirModel_setData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        const QVariant* a1;
        int a1State = 0;
        int a2 = Qt::EditRole;
        KDirModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J1|i", &sipSelf, sipType_KDirModel, &sipCpp, sipType_QModelIndex, &a0, sipType_QVariant,&a1, &a1State, &a2))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KDirModel::setData(*a0,*a1,a2) : sipCpp->setData(*a0,*a1,a2));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QVariant *>(a1),sipType_QVariant,a1State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirModel, sipName_setData, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirModel_sort(PyObject *, PyObject *);}
static PyObject *meth_KDirModel_sort(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        Qt::SortOrder a1 = Qt::AscendingOrder;
        KDirModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi|E", &sipSelf, sipType_KDirModel, &sipCpp, &a0, sipType_Qt_SortOrder, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KDirModel::sort(a0,a1) : sipCpp->sort(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_KDirModel, sipName_sort, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirModel_simplifiedUrlList(PyObject *, PyObject *);}
static PyObject *meth_KDirModel_simplifiedUrlList(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KUrl::List* a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9", sipType_KUrl_List, &a0))
        {
            KUrl::List*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl::List(KDirModel::simplifiedUrlList(*a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KUrl_List,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirModel, sipName_simplifiedUrlList, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirModel_requestSequenceIcon(PyObject *, PyObject *);}
static PyObject *meth_KDirModel_requestSequenceIcon(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        int a1;
        KDirModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9i", &sipSelf, sipType_KDirModel, &sipCpp, sipType_QModelIndex, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->requestSequenceIcon(*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_KDirModel, sipName_requestSequenceIcon, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirModel_setJobTransfersVisible(PyObject *, PyObject *);}
static PyObject *meth_KDirModel_setJobTransfersVisible(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KDirModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KDirModel, &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_KDirModel, sipName_setJobTransfersVisible, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirModel_jobTransfersVisible(PyObject *, PyObject *);}
static PyObject *meth_KDirModel_jobTransfersVisible(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDirModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDirModel, &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_KDirModel, sipName_jobTransfersVisible, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirModel_removeColumns(PyObject *, PyObject *);}
static PyObject *meth_KDirModel_removeColumns(PyObject *, PyObject *)
{

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(NULL, sipName_KDirModel, sipName_removeColumns, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirModel_removeRows(PyObject *, PyObject *);}
static PyObject *meth_KDirModel_removeRows(PyObject *, PyObject *)
{

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(NULL, sipName_KDirModel, sipName_removeRows, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirModel_insertColumns(PyObject *, PyObject *);}
static PyObject *meth_KDirModel_insertColumns(PyObject *, PyObject *)
{

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(NULL, sipName_KDirModel, sipName_insertColumns, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirModel_insertRows(PyObject *, PyObject *);}
static PyObject *meth_KDirModel_insertRows(PyObject *, PyObject *)
{

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(NULL, sipName_KDirModel, sipName_insertRows, NULL);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KDirModel(void *, int);}
static void release_KDirModel(void *sipCppV,int)
{
    KDirModel *sipCpp = reinterpret_cast<KDirModel *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KDirModel(sipSimpleWrapper *);}
static void dealloc_KDirModel(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKDirModel *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KDirModel(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KDirModel(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KDirModel(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKDirModel *sipCpp = 0;

    {
        QObject* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKDirModel(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KDirModel[] = {{13, 0, 1}};


static PyMethodDef methods_KDirModel[] = {
    {SIP_MLNAME_CAST(sipName_canFetchMore), meth_KDirModel_canFetchMore, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_columnCount), meth_KDirModel_columnCount, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_data), meth_KDirModel_data, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dirLister), meth_KDirModel_dirLister, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dropMimeData), meth_KDirModel_dropMimeData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_expandToUrl), meth_KDirModel_expandToUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fetchMore), meth_KDirModel_fetchMore, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_flags), meth_KDirModel_flags, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hasChildren), meth_KDirModel_hasChildren, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_headerData), meth_KDirModel_headerData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_index), meth_KDirModel_index, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_indexForItem), meth_KDirModel_indexForItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_indexForUrl), meth_KDirModel_indexForUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_insertColumns), meth_KDirModel_insertColumns, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_insertRows), meth_KDirModel_insertRows, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_itemChanged), meth_KDirModel_itemChanged, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_itemForIndex), meth_KDirModel_itemForIndex, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_jobTransfersVisible), meth_KDirModel_jobTransfersVisible, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mimeData), meth_KDirModel_mimeData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mimeTypes), meth_KDirModel_mimeTypes, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_parent), meth_KDirModel_parent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_removeColumns), meth_KDirModel_removeColumns, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_removeRows), meth_KDirModel_removeRows, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_requestSequenceIcon), meth_KDirModel_requestSequenceIcon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_rowCount), meth_KDirModel_rowCount, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setData), meth_KDirModel_setData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDirLister), meth_KDirModel_setDirLister, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDropsAllowed), meth_KDirModel_setDropsAllowed, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setJobTransfersVisible), meth_KDirModel_setJobTransfersVisible, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_simplifiedUrlList), meth_KDirModel_simplifiedUrlList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sort), meth_KDirModel_sort, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KDirModel[] = {
    {sipName_ChildCountRole, static_cast<int>(KDirModel::ChildCountRole), 46},
    {sipName_ChildCountUnknown, static_cast<int>(KDirModel::ChildCountUnknown), -1},
    {sipName_ColumnCount, static_cast<int>(KDirModel::ColumnCount), 49},
    {sipName_DropOnAnyFile, static_cast<int>(KDirModel::DropOnAnyFile), 48},
    {sipName_DropOnDirectory, static_cast<int>(KDirModel::DropOnDirectory), 48},
    {sipName_DropOnLocalExecutable, static_cast<int>(KDirModel::DropOnLocalExecutable), 48},
    {sipName_FileItemRole, static_cast<int>(KDirModel::FileItemRole), 46},
    {sipName_Group, static_cast<int>(KDirModel::Group), 49},
    {sipName_HasJobRole, static_cast<int>(KDirModel::HasJobRole), 46},
    {sipName_ModifiedTime, static_cast<int>(KDirModel::ModifiedTime), 49},
    {sipName_Name, static_cast<int>(KDirModel::Name), 49},
    {sipName_NoDrops, static_cast<int>(KDirModel::NoDrops), 48},
    {sipName_Owner, static_cast<int>(KDirModel::Owner), 49},
    {sipName_Permissions, static_cast<int>(KDirModel::Permissions), 49},
    {sipName_Size, static_cast<int>(KDirModel::Size), 49},
    {sipName_Type, static_cast<int>(KDirModel::Type), 49},
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KDirModel[] = {
    {"needSequenceIcon(QModelIndex,int)", 0, 0, 0},
    {"expand(QModelIndex)", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kio_KDirModel = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KDirModel,
        {0}
    },
    {
        sipNameNr_KDirModel,
        {0, 0, 1},
        31, methods_KDirModel,
        16, enummembers_KDirModel,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KDirModel,
    0,
    init_type_KDirModel,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KDirModel,
    0,
    0,
    0,
    release_KDirModel,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KDirModel::staticMetaObject,
    0,
    signals_KDirModel,
};

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kio/kdirlister.sip"
#include <kdirlister.h>
#line 23455 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kio/kdirlister.sip"
#include <kdirlister.h>
#line 23459 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"


extern "C" {static int slot_KDirLister_OpenUrlFlags___bool__(PyObject *);}
static int slot_KDirLister_OpenUrlFlags___bool__(PyObject *sipSelf)
{
    KDirLister::OpenUrlFlags *sipCpp = reinterpret_cast<KDirLister::OpenUrlFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KDirLister_OpenUrlFlags));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 389 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KDirLister::OpenUrlFlags::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 23481 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KDirLister_OpenUrlFlags___ne__(PyObject *,PyObject *);}
static PyObject *slot_KDirLister_OpenUrlFlags___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    KDirLister::OpenUrlFlags *sipCpp = reinterpret_cast<KDirLister::OpenUrlFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KDirLister_OpenUrlFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KDirLister::OpenUrlFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KDirLister_OpenUrlFlags, &a0, &a0State))
        {
            bool sipRes = 0;

#line 380 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KDirLister::OpenUrlFlags::Int() != a0->operator KDirLister::OpenUrlFlags::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 23515 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
            sipReleaseType(const_cast<KDirLister::OpenUrlFlags *>(a0),sipType_KDirLister_OpenUrlFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kio,ne_slot,sipType_KDirLister_OpenUrlFlags,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KDirLister_OpenUrlFlags___eq__(PyObject *,PyObject *);}
static PyObject *slot_KDirLister_OpenUrlFlags___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    KDirLister::OpenUrlFlags *sipCpp = reinterpret_cast<KDirLister::OpenUrlFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KDirLister_OpenUrlFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KDirLister::OpenUrlFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KDirLister_OpenUrlFlags, &a0, &a0State))
        {
            bool sipRes = 0;

#line 371 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KDirLister::OpenUrlFlags::Int() == a0->operator KDirLister::OpenUrlFlags::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 23555 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
            sipReleaseType(const_cast<KDirLister::OpenUrlFlags *>(a0),sipType_KDirLister_OpenUrlFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kio,eq_slot,sipType_KDirLister_OpenUrlFlags,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KDirLister_OpenUrlFlags___invert__(PyObject *);}
static PyObject *slot_KDirLister_OpenUrlFlags___invert__(PyObject *sipSelf)
{
    KDirLister::OpenUrlFlags *sipCpp = reinterpret_cast<KDirLister::OpenUrlFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KDirLister_OpenUrlFlags));

    if (!sipCpp)
        return 0;


    {
        {
            KDirLister::OpenUrlFlags*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KDirLister::OpenUrlFlags(~(*sipCpp));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KDirLister_OpenUrlFlags,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KDirLister_OpenUrlFlags___and__(PyObject *,PyObject *);}
static PyObject *slot_KDirLister_OpenUrlFlags___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KDirLister::OpenUrlFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KDirLister_OpenUrlFlags, &a0, &a0State, &a1))
        {
            KDirLister::OpenUrlFlags*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KDirLister::OpenUrlFlags((*a0 & a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KDirLister_OpenUrlFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_KDirLister_OpenUrlFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kio,and_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KDirLister_OpenUrlFlags___xor__(PyObject *,PyObject *);}
static PyObject *slot_KDirLister_OpenUrlFlags___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KDirLister::OpenUrlFlags* a0;
        int a0State = 0;
        KDirLister::OpenUrlFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_KDirLister_OpenUrlFlags, &a0, &a0State, sipType_KDirLister_OpenUrlFlags, &a1, &a1State))
        {
            KDirLister::OpenUrlFlags*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KDirLister::OpenUrlFlags((*a0 ^ *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KDirLister_OpenUrlFlags,a0State);
            sipReleaseType(a1,sipType_KDirLister_OpenUrlFlags,a1State);

            return sipConvertFromNewType(sipRes,sipType_KDirLister_OpenUrlFlags,NULL);
        }
    }

    {
        KDirLister::OpenUrlFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KDirLister_OpenUrlFlags, &a0, &a0State, &a1))
        {
            KDirLister::OpenUrlFlags*sipRes = 0;

#line 365 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
        sipRes = new KDirLister::OpenUrlFlags(*a0 ^ a1);
#line 23664 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
            sipReleaseType(a0,sipType_KDirLister_OpenUrlFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_KDirLister_OpenUrlFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kio,xor_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KDirLister_OpenUrlFlags___or__(PyObject *,PyObject *);}
static PyObject *slot_KDirLister_OpenUrlFlags___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KDirLister::OpenUrlFlags* a0;
        int a0State = 0;
        KDirLister::OpenUrlFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_KDirLister_OpenUrlFlags, &a0, &a0State, sipType_KDirLister_OpenUrlFlags, &a1, &a1State))
        {
            KDirLister::OpenUrlFlags*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KDirLister::OpenUrlFlags((*a0 | *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KDirLister_OpenUrlFlags,a0State);
            sipReleaseType(a1,sipType_KDirLister_OpenUrlFlags,a1State);

            return sipConvertFromNewType(sipRes,sipType_KDirLister_OpenUrlFlags,NULL);
        }
    }

    {
        KDirLister::OpenUrlFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KDirLister_OpenUrlFlags, &a0, &a0State, &a1))
        {
            KDirLister::OpenUrlFlags*sipRes = 0;

#line 360 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
        sipRes = new KDirLister::OpenUrlFlags(*a0 | a1);
#line 23716 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
            sipReleaseType(a0,sipType_KDirLister_OpenUrlFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_KDirLister_OpenUrlFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kio,or_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KDirLister_OpenUrlFlags___int__(PyObject *);}
static PyObject *slot_KDirLister_OpenUrlFlags___int__(PyObject *sipSelf)
{
    KDirLister::OpenUrlFlags *sipCpp = reinterpret_cast<KDirLister::OpenUrlFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KDirLister_OpenUrlFlags));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KDirLister_OpenUrlFlags___ixor__(PyObject *,PyObject *);}
static PyObject *slot_KDirLister_OpenUrlFlags___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KDirLister_OpenUrlFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KDirLister::OpenUrlFlags *sipCpp = reinterpret_cast<KDirLister::OpenUrlFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KDirLister_OpenUrlFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        KDirLister::OpenUrlFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KDirLister_OpenUrlFlags, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KDirLister::OpenUrlFlags::operator^=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KDirLister_OpenUrlFlags,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_KDirLister_OpenUrlFlags___ior__(PyObject *,PyObject *);}
static PyObject *slot_KDirLister_OpenUrlFlags___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KDirLister_OpenUrlFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KDirLister::OpenUrlFlags *sipCpp = reinterpret_cast<KDirLister::OpenUrlFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KDirLister_OpenUrlFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        KDirLister::OpenUrlFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KDirLister_OpenUrlFlags, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KDirLister::OpenUrlFlags::operator|=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KDirLister_OpenUrlFlags,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_KDirLister_OpenUrlFlags___iand__(PyObject *,PyObject *);}
static PyObject *slot_KDirLister_OpenUrlFlags___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KDirLister_OpenUrlFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KDirLister::OpenUrlFlags *sipCpp = reinterpret_cast<KDirLister::OpenUrlFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KDirLister_OpenUrlFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KDirLister::OpenUrlFlags::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;
}


/* Call the instance's destructor. */
extern "C" {static void release_KDirLister_OpenUrlFlags(void *, int);}
static void release_KDirLister_OpenUrlFlags(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<KDirLister::OpenUrlFlags *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KDirLister_OpenUrlFlags(void *, SIP_SSIZE_T, const void *);}
static void assign_KDirLister_OpenUrlFlags(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<KDirLister::OpenUrlFlags *>(sipDst)[sipDstIdx] = *reinterpret_cast<const KDirLister::OpenUrlFlags *>(sipSrc);
}


extern "C" {static void *array_KDirLister_OpenUrlFlags(SIP_SSIZE_T);}
static void *array_KDirLister_OpenUrlFlags(SIP_SSIZE_T sipNrElem)
{
    return new KDirLister::OpenUrlFlags[sipNrElem];
}


extern "C" {static void *copy_KDirLister_OpenUrlFlags(const void *, SIP_SSIZE_T);}
static void *copy_KDirLister_OpenUrlFlags(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new KDirLister::OpenUrlFlags(reinterpret_cast<const KDirLister::OpenUrlFlags *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_KDirLister_OpenUrlFlags(sipSimpleWrapper *);}
static void dealloc_KDirLister_OpenUrlFlags(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KDirLister_OpenUrlFlags(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_KDirLister_OpenUrlFlags(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KDirLister_OpenUrlFlags(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    KDirLister::OpenUrlFlags *sipCpp = 0;

    {
        const KDirLister::OpenUrlFlags* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_KDirLister_OpenUrlFlags, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KDirLister::OpenUrlFlags(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<KDirLister::OpenUrlFlags *>(a0),sipType_KDirLister_OpenUrlFlags,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KDirLister::OpenUrlFlags(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KDirLister::OpenUrlFlags();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_KDirLister_OpenUrlFlags(PyObject *, void **, int *, PyObject *);}
static int convertTo_KDirLister_OpenUrlFlags(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    KDirLister::OpenUrlFlags **sipCppPtr = reinterpret_cast<KDirLister::OpenUrlFlags **>(sipCppPtrV);

#line 398 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a KDirLister::OpenUrlFlags is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KDirLister_OpenUrlFlag)) ||
            sipCanConvertToType(sipPy, sipType_KDirLister_OpenUrlFlags, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KDirLister_OpenUrlFlag)))
{
    *sipCppPtr = new KDirLister::OpenUrlFlags(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<KDirLister::OpenUrlFlags *>(sipConvertToType(sipPy, sipType_KDirLister_OpenUrlFlags, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 24000 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_KDirLister_OpenUrlFlags[] = {
    {(void *)slot_KDirLister_OpenUrlFlags___bool__, bool_slot},
    {(void *)slot_KDirLister_OpenUrlFlags___ne__, ne_slot},
    {(void *)slot_KDirLister_OpenUrlFlags___eq__, eq_slot},
    {(void *)slot_KDirLister_OpenUrlFlags___invert__, invert_slot},
    {(void *)slot_KDirLister_OpenUrlFlags___and__, and_slot},
    {(void *)slot_KDirLister_OpenUrlFlags___xor__, xor_slot},
    {(void *)slot_KDirLister_OpenUrlFlags___or__, or_slot},
    {(void *)slot_KDirLister_OpenUrlFlags___int__, int_slot},
    {(void *)slot_KDirLister_OpenUrlFlags___ixor__, ixor_slot},
    {(void *)slot_KDirLister_OpenUrlFlags___ior__, ior_slot},
    {(void *)slot_KDirLister_OpenUrlFlags___iand__, iand_slot},
    {0, (sipPySlotType)0}
};


pyqt4ClassTypeDef sipTypeDef_kio_KDirLister_OpenUrlFlags = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KDirLister__OpenUrlFlags,
        {0}
    },
    {
        sipNameNr_OpenUrlFlags,
        {40, 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_KDirLister_OpenUrlFlags,
    init_type_KDirLister_OpenUrlFlags,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KDirLister_OpenUrlFlags,
    assign_KDirLister_OpenUrlFlags,
    array_KDirLister_OpenUrlFlags,
    copy_KDirLister_OpenUrlFlags,
    release_KDirLister_OpenUrlFlags,
    0,
    convertTo_KDirLister_OpenUrlFlags,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0
};

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kio/kdirlister.sip"
#include <kdirlister.h>
#line 24076 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"

#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 24080 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 196 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 24084 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kio/kfileitem.sip"
#include <kfileitem.h>
#line 24087 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 43 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 24090 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 24093 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 24096 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 24099 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 24102 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 134 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kio/kfileitem.sip"
#include <kfileitem.h>
#line 24105 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 24108 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 24111 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 24114 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kio/kdirlister.sip"
#include <kdirlister.h>
#line 24117 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 24120 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 24123 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 24126 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 24129 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 24132 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 24135 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 24138 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 24141 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 24144 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 24147 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"


class sipKDirLister : public KDirLister
{
public:
    sipKDirLister(QObject*);
    virtual ~sipKDirLister();

    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 handleError(KIO::Job*);
    bool doMimeFilter(const QString&,const QStringList&) const;
    bool doNameFilter(const QString&,const QList<QRegExp>&) const;
    bool matchesMimeFilter(const KFileItem&) const;
    bool matchesFilter(const KFileItem&) const;
    void clearMimeFilter();
    void setMimeFilter(const QStringList&);
    void setNameFilter(const QString&);
    KFileItem findByName(const QString&) const;
    KFileItem findByUrl(const KUrl&) const;
    void updateDirectory(const KUrl&);
    void emitChanges();
    void setDirOnlyMode(bool);
    void setShowingDotFiles(bool);
    void setAutoUpdate(bool);
    void stop(const KUrl&);
    void stop();
    bool openUrl(const KUrl&,KDirLister::OpenUrlFlags);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKDirLister(const sipKDirLister &);
    sipKDirLister &operator = (const sipKDirLister &);

    char sipPyMethods[25];
};

sipKDirLister::sipKDirLister(QObject*a0): KDirLister(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKDirLister::~sipKDirLister()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKDirLister::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KDirLister);
}

int sipKDirLister::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KDirLister::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kio_qt_metacall(sipPySelf,sipType_KDirLister,_c,_id,_a);

    return _id;
}

void *sipKDirLister::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast(sipPySelf, sipType_KDirLister, _clname)) ? this : KDirLister::qt_metacast(_clname);
}

void sipKDirLister::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KDirLister::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirLister::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KDirLister::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirLister::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KDirLister::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kio_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirLister::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KDirLister::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kio_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirLister::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KDirLister::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kio_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKDirLister::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KDirLister::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKDirLister::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KDirLister::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirLister::handleError(KIO::Job*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_handleError);

    if (!sipMeth)
    {
        KDirLister::handleError(a0);
        return;
    }

    extern void sipVH_kio_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KIO::Job*);

    sipVH_kio_59(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKDirLister::doMimeFilter(const QString& a0,const QStringList& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_doMimeFilter);

    if (!sipMeth)
        return KDirLister::doMimeFilter(a0,a1);

    extern bool sipVH_kio_60(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&,const QStringList&);

    return sipVH_kio_60(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKDirLister::doNameFilter(const QString& a0,const QList<QRegExp>& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_doNameFilter);

    if (!sipMeth)
        return KDirLister::doNameFilter(a0,a1);

    extern bool sipVH_kio_61(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&,const QList<QRegExp>&);

    return sipVH_kio_61(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKDirLister::matchesMimeFilter(const KFileItem& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_matchesMimeFilter);

    if (!sipMeth)
        return KDirLister::matchesMimeFilter(a0);

    extern bool sipVH_kio_62(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const KFileItem&);

    return sipVH_kio_62(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKDirLister::matchesFilter(const KFileItem& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_matchesFilter);

    if (!sipMeth)
        return KDirLister::matchesFilter(a0);

    extern bool sipVH_kio_62(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const KFileItem&);

    return sipVH_kio_62(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirLister::clearMimeFilter()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_clearMimeFilter);

    if (!sipMeth)
    {
        KDirLister::clearMimeFilter();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKDirLister::setMimeFilter(const QStringList& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_setMimeFilter);

    if (!sipMeth)
    {
        KDirLister::setMimeFilter(a0);
        return;
    }

    typedef void (*sipVH_kdecore_38)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QStringList&);

    ((sipVH_kdecore_38)(sipModuleAPI_kio_kdecore->em_virthandlers[38]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirLister::setNameFilter(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_setNameFilter);

    if (!sipMeth)
    {
        KDirLister::setNameFilter(a0);
        return;
    }

    typedef void (*sipVH_QtCore_33)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    ((sipVH_QtCore_33)(sipModuleAPI_kio_QtCore->em_virthandlers[33]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

KFileItem sipKDirLister::findByName(const QString& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[15]),sipPySelf,NULL,sipName_findByName);

    if (!sipMeth)
        return KDirLister::findByName(a0);

    extern KFileItem sipVH_kio_63(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    return sipVH_kio_63(sipGILState, 0, sipPySelf, sipMeth, a0);
}

KFileItem sipKDirLister::findByUrl(const KUrl& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[16]),sipPySelf,NULL,sipName_findByUrl);

    if (!sipMeth)
        return KDirLister::findByUrl(a0);

    extern KFileItem sipVH_kio_64(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const KUrl&);

    return sipVH_kio_64(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirLister::updateDirectory(const KUrl& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_updateDirectory);

    if (!sipMeth)
    {
        KDirLister::updateDirectory(a0);
        return;
    }

    typedef void (*sipVH_kdecore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const KUrl&);

    ((sipVH_kdecore_47)(sipModuleAPI_kio_kdecore->em_virthandlers[47]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirLister::emitChanges()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_emitChanges);

    if (!sipMeth)
    {
        KDirLister::emitChanges();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKDirLister::setDirOnlyMode(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_setDirOnlyMode);

    if (!sipMeth)
    {
        KDirLister::setDirOnlyMode(a0);
        return;
    }

    typedef void (*sipVH_QtNetwork_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtNetwork_1)(sipModuleAPI_kio_QtNetwork->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirLister::setShowingDotFiles(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_setShowingDotFiles);

    if (!sipMeth)
    {
        KDirLister::setShowingDotFiles(a0);
        return;
    }

    typedef void (*sipVH_QtNetwork_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtNetwork_1)(sipModuleAPI_kio_QtNetwork->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirLister::setAutoUpdate(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_setAutoUpdate);

    if (!sipMeth)
    {
        KDirLister::setAutoUpdate(a0);
        return;
    }

    typedef void (*sipVH_QtNetwork_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtNetwork_1)(sipModuleAPI_kio_QtNetwork->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirLister::stop(const KUrl& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_stop);

    if (!sipMeth)
    {
        KDirLister::stop(a0);
        return;
    }

    typedef void (*sipVH_kdecore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const KUrl&);

    ((sipVH_kdecore_47)(sipModuleAPI_kio_kdecore->em_virthandlers[47]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDirLister::stop()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_stop);

    if (!sipMeth)
    {
        KDirLister::stop();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipKDirLister::openUrl(const KUrl& a0,KDirLister::OpenUrlFlags a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_openUrl);

    if (!sipMeth)
        return KDirLister::openUrl(a0,a1);

    extern bool sipVH_kio_65(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const KUrl&,KDirLister::OpenUrlFlags);

    return sipVH_kio_65(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}


extern "C" {static PyObject *meth_KDirLister_openUrl(PyObject *, PyObject *);}
static PyObject *meth_KDirLister_openUrl(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KUrl* a0;
        KDirLister::OpenUrlFlags a1def = KDirLister::NoFlags;
        KDirLister::OpenUrlFlags* a1 = &a1def;
        int a1State = 0;
        KDirLister *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9|J1", &sipSelf, sipType_KDirLister, &sipCpp, sipType_KUrl, &a0, sipType_KDirLister_OpenUrlFlags, &a1, &a1State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KDirLister::openUrl(*a0,*a1) : sipCpp->openUrl(*a0,*a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a1,sipType_KDirLister_OpenUrlFlags,a1State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirLister, sipName_openUrl, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirLister_stop(PyObject *, PyObject *);}
static PyObject *meth_KDirLister_stop(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KDirLister *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDirLister, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KDirLister::stop() : sipCpp->stop());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const KUrl* a0;
        KDirLister *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KDirLister, &sipCpp, sipType_KUrl, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KDirLister::stop(*a0) : sipCpp->stop(*a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirLister, sipName_stop, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirLister_delayedMimeTypes(PyObject *, PyObject *);}
static PyObject *meth_KDirLister_delayedMimeTypes(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDirLister *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDirLister, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->delayedMimeTypes();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirLister, sipName_delayedMimeTypes, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirLister_setDelayedMimeTypes(PyObject *, PyObject *);}
static PyObject *meth_KDirLister_setDelayedMimeTypes(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KDirLister *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KDirLister, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDelayedMimeTypes(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirLister, sipName_setDelayedMimeTypes, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirLister_autoUpdate(PyObject *, PyObject *);}
static PyObject *meth_KDirLister_autoUpdate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDirLister *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDirLister, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->autoUpdate();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirLister, sipName_autoUpdate, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirLister_setAutoUpdate(PyObject *, PyObject *);}
static PyObject *meth_KDirLister_setAutoUpdate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        KDirLister *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KDirLister, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KDirLister::setAutoUpdate(a0) : sipCpp->setAutoUpdate(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirLister, sipName_setAutoUpdate, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirLister_autoErrorHandlingEnabled(PyObject *, PyObject *);}
static PyObject *meth_KDirLister_autoErrorHandlingEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDirLister *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDirLister, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->autoErrorHandlingEnabled();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirLister, sipName_autoErrorHandlingEnabled, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirLister_setAutoErrorHandlingEnabled(PyObject *, PyObject *);}
static PyObject *meth_KDirLister_setAutoErrorHandlingEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QWidget* a1;
        KDirLister *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BbJ:", &sipSelf, sipType_KDirLister, &sipCpp, &a0, sipType_QWidget, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAutoErrorHandlingEnabled(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirLister, sipName_setAutoErrorHandlingEnabled, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirLister_showingDotFiles(PyObject *, PyObject *);}
static PyObject *meth_KDirLister_showingDotFiles(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDirLister *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDirLister, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->showingDotFiles();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirLister, sipName_showingDotFiles, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirLister_setShowingDotFiles(PyObject *, PyObject *);}
static PyObject *meth_KDirLister_setShowingDotFiles(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        KDirLister *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KDirLister, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KDirLister::setShowingDotFiles(a0) : sipCpp->setShowingDotFiles(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirLister, sipName_setShowingDotFiles, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirLister_dirOnlyMode(PyObject *, PyObject *);}
static PyObject *meth_KDirLister_dirOnlyMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDirLister *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDirLister, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->dirOnlyMode();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirLister, sipName_dirOnlyMode, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirLister_setDirOnlyMode(PyObject *, PyObject *);}
static PyObject *meth_KDirLister_setDirOnlyMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        KDirLister *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KDirLister, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KDirLister::setDirOnlyMode(a0) : sipCpp->setDirOnlyMode(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirLister, sipName_setDirOnlyMode, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirLister_url(PyObject *, PyObject *);}
static PyObject *meth_KDirLister_url(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDirLister *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDirLister, &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_KDirLister, sipName_url, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirLister_directories(PyObject *, PyObject *);}
static PyObject *meth_KDirLister_directories(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDirLister *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDirLister, &sipCpp))
        {
            KUrl::List*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl::List(sipCpp->directories());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KUrl_List,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirLister, sipName_directories, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirLister_emitChanges(PyObject *, PyObject *);}
static PyObject *meth_KDirLister_emitChanges(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KDirLister *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDirLister, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KDirLister::emitChanges() : sipCpp->emitChanges());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirLister, sipName_emitChanges, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirLister_updateDirectory(PyObject *, PyObject *);}
static PyObject *meth_KDirLister_updateDirectory(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KUrl* a0;
        KDirLister *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KDirLister, &sipCpp, sipType_KUrl, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KDirLister::updateDirectory(*a0) : sipCpp->updateDirectory(*a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirLister, sipName_updateDirectory, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirLister_isFinished(PyObject *, PyObject *);}
static PyObject *meth_KDirLister_isFinished(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDirLister *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDirLister, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isFinished();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirLister, sipName_isFinished, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirLister_rootItem(PyObject *, PyObject *);}
static PyObject *meth_KDirLister_rootItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDirLister *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDirLister, &sipCpp))
        {
            KFileItem*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KFileItem(sipCpp->rootItem());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KFileItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirLister, sipName_rootItem, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirLister_findByUrl(PyObject *, PyObject *);}
static PyObject *meth_KDirLister_findByUrl(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KUrl* a0;
        const KDirLister *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KDirLister, &sipCpp, sipType_KUrl, &a0))
        {
            KFileItem*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KFileItem((sipSelfWasArg ? sipCpp->KDirLister::findByUrl(*a0) : sipCpp->findByUrl(*a0)));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KFileItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirLister, sipName_findByUrl, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirLister_findByName(PyObject *, PyObject *);}
static PyObject *meth_KDirLister_findByName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString* a0;
        int a0State = 0;
        const KDirLister *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KDirLister, &sipCpp, sipType_QString,&a0, &a0State))
        {
            KFileItem*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KFileItem((sipSelfWasArg ? sipCpp->KDirLister::findByName(*a0) : sipCpp->findByName(*a0)));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_KFileItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirLister, sipName_findByName, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirLister_setNameFilter(PyObject *, PyObject *);}
static PyObject *meth_KDirLister_setNameFilter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString* a0;
        int a0State = 0;
        KDirLister *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KDirLister, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KDirLister::setNameFilter(*a0) : sipCpp->setNameFilter(*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_KDirLister, sipName_setNameFilter, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirLister_nameFilter(PyObject *, PyObject *);}
static PyObject *meth_KDirLister_nameFilter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDirLister *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDirLister, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->nameFilter());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirLister, sipName_nameFilter, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirLister_setMimeFilter(PyObject *, PyObject *);}
static PyObject *meth_KDirLister_setMimeFilter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QStringList* a0;
        int a0State = 0;
        KDirLister *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KDirLister, &sipCpp, sipType_QStringList,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KDirLister::setMimeFilter(*a0) : sipCpp->setMimeFilter(*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_KDirLister, sipName_setMimeFilter, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirLister_setMimeExcludeFilter(PyObject *, PyObject *);}
static PyObject *meth_KDirLister_setMimeExcludeFilter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QStringList* a0;
        int a0State = 0;
        KDirLister *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KDirLister, &sipCpp, sipType_QStringList,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMimeExcludeFilter(*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_KDirLister, sipName_setMimeExcludeFilter, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirLister_clearMimeFilter(PyObject *, PyObject *);}
static PyObject *meth_KDirLister_clearMimeFilter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KDirLister *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDirLister, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KDirLister::clearMimeFilter() : sipCpp->clearMimeFilter());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirLister, sipName_clearMimeFilter, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirLister_mimeFilters(PyObject *, PyObject *);}
static PyObject *meth_KDirLister_mimeFilters(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDirLister *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDirLister, &sipCpp))
        {
            QStringList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->mimeFilters());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirLister, sipName_mimeFilters, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirLister_matchesFilter(PyObject *, PyObject *);}
static PyObject *meth_KDirLister_matchesFilter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString* a0;
        int a0State = 0;
        const KDirLister *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KDirLister, &sipCpp, sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->matchesFilter(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const KFileItem* a0;
        const KDirLister *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9", &sipSelf, sipType_KDirLister, &sipCpp, sipType_KFileItem, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KDirLister::matchesFilter(*a0) : sipCpp->matchesFilter(*a0));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirLister, sipName_matchesFilter, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirLister_matchesMimeFilter(PyObject *, PyObject *);}
static PyObject *meth_KDirLister_matchesMimeFilter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString* a0;
        int a0State = 0;
        const KDirLister *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KDirLister, &sipCpp, sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->matchesMimeFilter(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const KFileItem* a0;
        const KDirLister *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9", &sipSelf, sipType_KDirLister, &sipCpp, sipType_KFileItem, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KDirLister::matchesMimeFilter(*a0) : sipCpp->matchesMimeFilter(*a0));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirLister, sipName_matchesMimeFilter, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirLister_setMainWindow(PyObject *, PyObject *);}
static PyObject *meth_KDirLister_setMainWindow(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        KDirLister *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KDirLister, &sipCpp, sipType_QWidget, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMainWindow(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirLister, sipName_setMainWindow, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirLister_mainWindow(PyObject *, PyObject *);}
static PyObject *meth_KDirLister_mainWindow(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KDirLister *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDirLister, &sipCpp))
        {
            QWidget*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->mainWindow();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirLister, sipName_mainWindow, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirLister_items(PyObject *, PyObject *);}
static PyObject *meth_KDirLister_items(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KDirLister::WhichItems a0 = KDirLister::FilteredItems;
        const KDirLister *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|E", &sipSelf, sipType_KDirLister, &sipCpp, sipType_KDirLister_WhichItems, &a0))
        {
            KFileItemList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KFileItemList(sipCpp->items(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KFileItemList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirLister, sipName_items, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirLister_itemsForDir(PyObject *, PyObject *);}
static PyObject *meth_KDirLister_itemsForDir(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KUrl* a0;
        KDirLister::WhichItems a1 = KDirLister::FilteredItems;
        const KDirLister *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9|E", &sipSelf, sipType_KDirLister, &sipCpp, sipType_KUrl, &a0, sipType_KDirLister_WhichItems, &a1))
        {
            KFileItemList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KFileItemList(sipCpp->itemsForDir(*a0,a1));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KFileItemList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirLister, sipName_itemsForDir, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirLister_cachedItemForUrl(PyObject *, PyObject *);}
static PyObject *meth_KDirLister_cachedItemForUrl(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KUrl* a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9", sipType_KUrl, &a0))
        {
            KFileItem*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KFileItem(KDirLister::cachedItemForUrl(*a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KFileItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirLister, sipName_cachedItemForUrl, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirLister_doNameFilter(PyObject *, PyObject *);}
static PyObject *meth_KDirLister_doNameFilter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString* a0;
        int a0State = 0;
        const QList<QRegExp>* a1;
        int a1State = 0;
        const KDirLister *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1J1", &sipSelf, sipType_KDirLister, &sipCpp, sipType_QString,&a0, &a0State, sipType_QList_0100QRegExp,&a1, &a1State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KDirLister::doNameFilter(*a0,*a1) : sipCpp->doNameFilter(*a0,*a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QList<QRegExp> *>(a1),sipType_QList_0100QRegExp,a1State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirLister, sipName_doNameFilter, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirLister_doMimeFilter(PyObject *, PyObject *);}
static PyObject *meth_KDirLister_doMimeFilter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString* a0;
        int a0State = 0;
        const QStringList* a1;
        int a1State = 0;
        const KDirLister *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1J1", &sipSelf, sipType_KDirLister, &sipCpp, sipType_QString,&a0, &a0State, sipType_QStringList,&a1, &a1State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KDirLister::doMimeFilter(*a0,*a1) : sipCpp->doMimeFilter(*a0,*a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QStringList *>(a1),sipType_QStringList,a1State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirLister, sipName_doMimeFilter, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDirLister_handleError(PyObject *, PyObject *);}
static PyObject *meth_KDirLister_handleError(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KIO::Job* a0;
        KDirLister *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KDirLister, &sipCpp, sipType_KIO_Job, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KDirLister::handleError(a0) : sipCpp->handleError(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDirLister, sipName_handleError, NULL);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KDirLister(void *, int);}
static void release_KDirLister(void *sipCppV,int)
{
    KDirLister *sipCpp = reinterpret_cast<KDirLister *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KDirLister(sipSimpleWrapper *);}
static void dealloc_KDirLister(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKDirLister *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KDirLister(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KDirLister(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KDirLister(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKDirLister *sipCpp = 0;

    {
        QObject* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKDirLister(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KDirLister[] = {{141, 0, 1}};


static PyMethodDef methods_KDirLister[] = {
    {SIP_MLNAME_CAST(sipName_autoErrorHandlingEnabled), meth_KDirLister_autoErrorHandlingEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_autoUpdate), meth_KDirLister_autoUpdate, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_cachedItemForUrl), meth_KDirLister_cachedItemForUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_clearMimeFilter), meth_KDirLister_clearMimeFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_delayedMimeTypes), meth_KDirLister_delayedMimeTypes, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dirOnlyMode), meth_KDirLister_dirOnlyMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_directories), meth_KDirLister_directories, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_doMimeFilter), meth_KDirLister_doMimeFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_doNameFilter), meth_KDirLister_doNameFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_emitChanges), meth_KDirLister_emitChanges, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_findByName), meth_KDirLister_findByName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_findByUrl), meth_KDirLister_findByUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_handleError), meth_KDirLister_handleError, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isFinished), meth_KDirLister_isFinished, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_items), meth_KDirLister_items, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_itemsForDir), meth_KDirLister_itemsForDir, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mainWindow), meth_KDirLister_mainWindow, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_matchesFilter), meth_KDirLister_matchesFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_matchesMimeFilter), meth_KDirLister_matchesMimeFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mimeFilters), meth_KDirLister_mimeFilters, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_nameFilter), meth_KDirLister_nameFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_openUrl), meth_KDirLister_openUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_rootItem), meth_KDirLister_rootItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAutoErrorHandlingEnabled), meth_KDirLister_setAutoErrorHandlingEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAutoUpdate), meth_KDirLister_setAutoUpdate, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDelayedMimeTypes), meth_KDirLister_setDelayedMimeTypes, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDirOnlyMode), meth_KDirLister_setDirOnlyMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMainWindow), meth_KDirLister_setMainWindow, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMimeExcludeFilter), meth_KDirLister_setMimeExcludeFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMimeFilter), meth_KDirLister_setMimeFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setNameFilter), meth_KDirLister_setNameFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setShowingDotFiles), meth_KDirLister_setShowingDotFiles, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showingDotFiles), meth_KDirLister_showingDotFiles, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_stop), meth_KDirLister_stop, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateDirectory), meth_KDirLister_updateDirectory, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_url), meth_KDirLister_url, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KDirLister[] = {
    {sipName_AllItems, static_cast<int>(KDirLister::AllItems), 44},
    {sipName_DIR_ONLY_MODE, static_cast<int>(KDirLister::DIR_ONLY_MODE), 41},
    {sipName_DOT_FILES, static_cast<int>(KDirLister::DOT_FILES), 41},
    {sipName_FilteredItems, static_cast<int>(KDirLister::FilteredItems), 44},
    {sipName_Keep, static_cast<int>(KDirLister::Keep), 42},
    {sipName_MIME_FILTER, static_cast<int>(KDirLister::MIME_FILTER), 41},
    {sipName_NAME_FILTER, static_cast<int>(KDirLister::NAME_FILTER), 41},
    {sipName_NONE, static_cast<int>(KDirLister::NONE), 41},
    {sipName_NoFlags, static_cast<int>(KDirLister::NoFlags), 42},
    {sipName_Reload, static_cast<int>(KDirLister::Reload), 42},
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KDirLister[] = {
    {"refreshItems(QList<QPair<KFileItem,KFileItem> >)", 0, 0, 0},
    {"speed(int)", 0, 0, 0},
    {"processedSize(KIO::filesize_t)", 0, 0, 0},
    {"totalSize(KIO::filesize_t)", 0, 0, 0},
    {"percent(int)", 0, 0, 0},
    {"infoMessage(QString)", 0, 0, 0},
    {"itemsDeleted(KFileItemList)", 0, 0, 0},
    {"deleteItem(KFileItem)", 0, 0, 0},
    {"itemsFilteredByMime(KFileItemList)", 0, 0, 0},
    {"itemsAdded(KUrl,KFileItemList)", 0, 0, 0},
    {"newItems(KFileItemList)", 0, 0, 0},
    {"clear()", 0, 0, 0},
    {"clear(KUrl)", 0, 0, 0},
    {"redirection(KUrl)", 0, 0, 0},
    {"redirection(KUrl,KUrl)", 0, 0, 0},
    {"canceled()", 0, 0, 0},
    {"canceled(KUrl)", 0, 0, 0},
    {"completed()", 0, 0, 0},
    {"completed(KUrl)", 0, 0, 0},
    {"started(KUrl)", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kio_KDirLister = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KDirLister,
        {0}
    },
    {
        sipNameNr_KDirLister,
        {0, 0, 1},
        36, methods_KDirLister,
        10, enummembers_KDirLister,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KDirLister,
    0,
    init_type_KDirLister,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KDirLister,
    0,
    0,
    0,
    release_KDirLister,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KDirLister::staticMetaObject,
    0,
    signals_KDirLister,
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kio/kdevicelistmodel.sip"
#include <kdevicelistmodel.h>
#line 25917 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"

#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 25921 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 25924 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/solid/predicate.sip"
#include <predicate.h>
#line 25927 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/solid/device.sip"
#include <device.h>
#line 25930 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 25933 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 25936 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 25939 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 139 "/usr/share/python3-sip/PyQt4/QtCore/qhash.sip"
#include <qhash.h>
#line 25942 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 25945 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 25948 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 25951 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qdatastream.sip"
#include <qdatastream.h>
#line 25954 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 25957 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 25960 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 25963 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 25966 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 25969 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 139 "/usr/share/python3-sip/PyQt4/QtCore/qmap.sip"
#include <qmap.h>
#line 25972 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 25975 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 25978 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 25981 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 25984 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 25987 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 25990 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 25993 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 25996 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 25999 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"


class sipKDeviceListModel : public KDeviceListModel
{
public:
    sipKDeviceListModel(QObject*);
    sipKDeviceListModel(const QString&,QObject*);
    sipKDeviceListModel(const Solid::Predicate&,QObject*);
    virtual ~sipKDeviceListModel();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    void revert();
    bool submit();
    QSize span(const QModelIndex&) const;
    QModelIndexList match(const QModelIndex&,int,const QVariant&,int,Qt::MatchFlags) const;
    QModelIndex buddy(const QModelIndex&) const;
    void sort(int,Qt::SortOrder);
    Qt::ItemFlags flags(const QModelIndex&) const;
    bool canFetchMore(const QModelIndex&) const;
    void fetchMore(const QModelIndex&);
    bool removeColumns(int,int,const QModelIndex&);
    bool removeRows(int,int,const QModelIndex&);
    bool insertColumns(int,int,const QModelIndex&);
    bool insertRows(int,int,const QModelIndex&);
    Qt::DropActions supportedDropActions() const;
    bool dropMimeData(const QMimeData*,Qt::DropAction,int,int,const QModelIndex&);
    QMimeData* mimeData(const QModelIndexList&) const;
    QStringList mimeTypes() const;
    bool setItemData(const QModelIndex&,const QMap<int,QVariant>&);
    QMap<int,QVariant> itemData(const QModelIndex&) const;
    bool setHeaderData(int,Qt::Orientation,const QVariant&,int);
    QVariant headerData(int,Qt::Orientation,int) const;
    bool setData(const QModelIndex&,const QVariant&,int);
    QVariant data(const QModelIndex&,int) const;
    bool hasChildren(const QModelIndex&) const;
    int columnCount(const QModelIndex&) const;
    int rowCount(const QModelIndex&) const;
    QModelIndex parent(const QModelIndex&) const;
    QModelIndex index(int,int,const QModelIndex&) const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKDeviceListModel(const sipKDeviceListModel &);
    sipKDeviceListModel &operator = (const sipKDeviceListModel &);

    char sipPyMethods[35];
};

sipKDeviceListModel::sipKDeviceListModel(QObject*a0): KDeviceListModel(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKDeviceListModel::sipKDeviceListModel(const QString& a0,QObject*a1): KDeviceListModel(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKDeviceListModel::sipKDeviceListModel(const Solid::Predicate& a0,QObject*a1): KDeviceListModel(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKDeviceListModel::~sipKDeviceListModel()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKDeviceListModel::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KDeviceListModel);
}

int sipKDeviceListModel::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KDeviceListModel::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kio_qt_metacall(sipPySelf,sipType_KDeviceListModel,_c,_id,_a);

    return _id;
}

void *sipKDeviceListModel::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast(sipPySelf, sipType_KDeviceListModel, _clname)) ? this : KDeviceListModel::qt_metacast(_clname);
}

void sipKDeviceListModel::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KDeviceListModel::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDeviceListModel::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KDeviceListModel::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDeviceListModel::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KDeviceListModel::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kio_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDeviceListModel::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KDeviceListModel::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kio_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDeviceListModel::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KDeviceListModel::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kio_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKDeviceListModel::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KDeviceListModel::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKDeviceListModel::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KDeviceListModel::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDeviceListModel::revert()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_revert);

    if (!sipMeth)
    {
        KDeviceListModel::revert();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipKDeviceListModel::submit()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_submit);

    if (!sipMeth)
        return KDeviceListModel::submit();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_kio_QtCore->em_virthandlers[7]))(sipGILState, 0, sipPySelf, sipMeth);
}

QSize sipKDeviceListModel::span(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_span);

    if (!sipMeth)
        return KDeviceListModel::span(a0);

    typedef QSize (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_47)(sipModuleAPI_kio_QtCore->em_virthandlers[47]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QModelIndexList sipKDeviceListModel::match(const QModelIndex& a0,int a1,const QVariant& a2,int a3,Qt::MatchFlags a4) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_match);

    if (!sipMeth)
        return KDeviceListModel::match(a0,a1,a2,a3,a4);

    typedef QList<QModelIndex> (*sipVH_QtCore_48)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int,const QVariant&,int,Qt::MatchFlags);

    return ((sipVH_QtCore_48)(sipModuleAPI_kio_QtCore->em_virthandlers[48]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

QModelIndex sipKDeviceListModel::buddy(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_buddy);

    if (!sipMeth)
        return KDeviceListModel::buddy(a0);

    typedef QModelIndex (*sipVH_QtCore_44)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_44)(sipModuleAPI_kio_QtCore->em_virthandlers[44]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDeviceListModel::sort(int a0,Qt::SortOrder a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_sort);

    if (!sipMeth)
    {
        KDeviceListModel::sort(a0,a1);
        return;
    }

    typedef void (*sipVH_QtCore_49)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,Qt::SortOrder);

    ((sipVH_QtCore_49)(sipModuleAPI_kio_QtCore->em_virthandlers[49]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

Qt::ItemFlags sipKDeviceListModel::flags(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_flags);

    if (!sipMeth)
        return KDeviceListModel::flags(a0);

    typedef Qt::ItemFlags (*sipVH_QtCore_50)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_50)(sipModuleAPI_kio_QtCore->em_virthandlers[50]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKDeviceListModel::canFetchMore(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_canFetchMore);

    if (!sipMeth)
        return KDeviceListModel::canFetchMore(a0);

    typedef bool (*sipVH_QtCore_42)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_42)(sipModuleAPI_kio_QtCore->em_virthandlers[42]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDeviceListModel::fetchMore(const QModelIndex& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_fetchMore);

    if (!sipMeth)
    {
        KDeviceListModel::fetchMore(a0);
        return;
    }

    typedef void (*sipVH_QtCore_51)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    ((sipVH_QtCore_51)(sipModuleAPI_kio_QtCore->em_virthandlers[51]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKDeviceListModel::removeColumns(int a0,int a1,const QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_removeColumns);

    if (!sipMeth)
        return KDeviceListModel::removeColumns(a0,a1,a2);

    typedef bool (*sipVH_QtCore_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);

    return ((sipVH_QtCore_52)(sipModuleAPI_kio_QtCore->em_virthandlers[52]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipKDeviceListModel::removeRows(int a0,int a1,const QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_removeRows);

    if (!sipMeth)
        return KDeviceListModel::removeRows(a0,a1,a2);

    typedef bool (*sipVH_QtCore_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);

    return ((sipVH_QtCore_52)(sipModuleAPI_kio_QtCore->em_virthandlers[52]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipKDeviceListModel::insertColumns(int a0,int a1,const QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_insertColumns);

    if (!sipMeth)
        return KDeviceListModel::insertColumns(a0,a1,a2);

    typedef bool (*sipVH_QtCore_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);

    return ((sipVH_QtCore_52)(sipModuleAPI_kio_QtCore->em_virthandlers[52]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipKDeviceListModel::insertRows(int a0,int a1,const QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_insertRows);

    if (!sipMeth)
        return KDeviceListModel::insertRows(a0,a1,a2);

    typedef bool (*sipVH_QtCore_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);

    return ((sipVH_QtCore_52)(sipModuleAPI_kio_QtCore->em_virthandlers[52]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

Qt::DropActions sipKDeviceListModel::supportedDropActions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[20]),sipPySelf,NULL,sipName_supportedDropActions);

    if (!sipMeth)
        return KDeviceListModel::supportedDropActions();

    typedef Qt::DropActions (*sipVH_QtCore_53)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_53)(sipModuleAPI_kio_QtCore->em_virthandlers[53]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipKDeviceListModel::dropMimeData(const QMimeData*a0,Qt::DropAction a1,int a2,int a3,const QModelIndex& a4)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_dropMimeData);

    if (!sipMeth)
        return KDeviceListModel::dropMimeData(a0,a1,a2,a3,a4);

    typedef bool (*sipVH_QtCore_45)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMimeData*,Qt::DropAction,int,int,const QModelIndex&);

    return ((sipVH_QtCore_45)(sipModuleAPI_kio_QtCore->em_virthandlers[45]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

QMimeData* sipKDeviceListModel::mimeData(const QModelIndexList& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[22]),sipPySelf,NULL,sipName_mimeData);

    if (!sipMeth)
        return KDeviceListModel::mimeData(a0);

    typedef QMimeData* (*sipVH_QtCore_54)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QList<QModelIndex>&);

    return ((sipVH_QtCore_54)(sipModuleAPI_kio_QtCore->em_virthandlers[54]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QStringList sipKDeviceListModel::mimeTypes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[23]),sipPySelf,NULL,sipName_mimeTypes);

    if (!sipMeth)
        return KDeviceListModel::mimeTypes();

    typedef QStringList (*sipVH_QtCore_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_27)(sipModuleAPI_kio_QtCore->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipKDeviceListModel::setItemData(const QModelIndex& a0,const QMap<int,QVariant>& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_setItemData);

    if (!sipMeth)
        return KDeviceListModel::setItemData(a0,a1);

    typedef bool (*sipVH_QtCore_55)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QMap<int,QVariant>&);

    return ((sipVH_QtCore_55)(sipModuleAPI_kio_QtCore->em_virthandlers[55]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

QMap<int,QVariant> sipKDeviceListModel::itemData(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[25]),sipPySelf,NULL,sipName_itemData);

    if (!sipMeth)
        return KDeviceListModel::itemData(a0);

    typedef QMap<int,QVariant> (*sipVH_QtCore_56)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_56)(sipModuleAPI_kio_QtCore->em_virthandlers[56]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKDeviceListModel::setHeaderData(int a0,Qt::Orientation a1,const QVariant& a2,int a3)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_setHeaderData);

    if (!sipMeth)
        return KDeviceListModel::setHeaderData(a0,a1,a2,a3);

    typedef bool (*sipVH_QtCore_57)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,Qt::Orientation,const QVariant&,int);

    return ((sipVH_QtCore_57)(sipModuleAPI_kio_QtCore->em_virthandlers[57]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}

QVariant sipKDeviceListModel::headerData(int a0,Qt::Orientation a1,int a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[27]),sipPySelf,NULL,sipName_headerData);

    if (!sipMeth)
        return KDeviceListModel::headerData(a0,a1,a2);

    typedef QVariant (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,Qt::Orientation,int);

    return ((sipVH_QtCore_58)(sipModuleAPI_kio_QtCore->em_virthandlers[58]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipKDeviceListModel::setData(const QModelIndex& a0,const QVariant& a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_setData);

    if (!sipMeth)
        return KDeviceListModel::setData(a0,a1,a2);

    typedef bool (*sipVH_QtCore_59)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QVariant&,int);

    return ((sipVH_QtCore_59)(sipModuleAPI_kio_QtCore->em_virthandlers[59]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

QVariant sipKDeviceListModel::data(const QModelIndex& a0,int a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[29]),sipPySelf,NULL,sipName_data);

    if (!sipMeth)
        return KDeviceListModel::data(a0,a1);

    typedef QVariant (*sipVH_QtCore_60)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int);

    return ((sipVH_QtCore_60)(sipModuleAPI_kio_QtCore->em_virthandlers[60]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKDeviceListModel::hasChildren(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[30]),sipPySelf,NULL,sipName_hasChildren);

    if (!sipMeth)
        return KDeviceListModel::hasChildren(a0);

    typedef bool (*sipVH_QtCore_42)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_42)(sipModuleAPI_kio_QtCore->em_virthandlers[42]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKDeviceListModel::columnCount(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[31]),sipPySelf,NULL,sipName_columnCount);

    if (!sipMeth)
        return KDeviceListModel::columnCount(a0);

    typedef int (*sipVH_QtCore_43)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_43)(sipModuleAPI_kio_QtCore->em_virthandlers[43]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKDeviceListModel::rowCount(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[32]),sipPySelf,NULL,sipName_rowCount);

    if (!sipMeth)
        return KDeviceListModel::rowCount(a0);

    typedef int (*sipVH_QtCore_43)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_43)(sipModuleAPI_kio_QtCore->em_virthandlers[43]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QModelIndex sipKDeviceListModel::parent(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[33]),sipPySelf,NULL,sipName_parent);

    if (!sipMeth)
        return KDeviceListModel::parent(a0);

    typedef QModelIndex (*sipVH_QtCore_44)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_44)(sipModuleAPI_kio_QtCore->em_virthandlers[44]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QModelIndex sipKDeviceListModel::index(int a0,int a1,const QModelIndex& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_index);

    if (!sipMeth)
        return KDeviceListModel::index(a0,a1,a2);

    typedef QModelIndex (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);

    return ((sipVH_QtCore_46)(sipModuleAPI_kio_QtCore->em_virthandlers[46]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}


extern "C" {static PyObject *meth_KDeviceListModel_data(PyObject *, PyObject *);}
static PyObject *meth_KDeviceListModel_data(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        int a1;
        const KDeviceListModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9i", &sipSelf, sipType_KDeviceListModel, &sipCpp, sipType_QModelIndex, &a0, &a1))
        {
            QVariant*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant((sipSelfWasArg ? sipCpp->KDeviceListModel::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_KDeviceListModel, sipName_data, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDeviceListModel_headerData(PyObject *, PyObject *);}
static PyObject *meth_KDeviceListModel_headerData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        Qt::Orientation a1;
        int a2 = Qt::DisplayRole;
        const KDeviceListModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiE|i", &sipSelf, sipType_KDeviceListModel, &sipCpp, &a0, sipType_Qt_Orientation, &a1, &a2))
        {
            QVariant*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant((sipSelfWasArg ? sipCpp->KDeviceListModel::headerData(a0,a1,a2) : sipCpp->headerData(a0,a1,a2)));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDeviceListModel, sipName_headerData, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDeviceListModel_index(PyObject *, PyObject *);}
static PyObject *meth_KDeviceListModel_index(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        int a1;
        const QModelIndex& a2def = QModelIndex();
        const QModelIndex* a2 = &a2def;
        const KDeviceListModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii|J;", &sipSelf, sipType_KDeviceListModel, &sipCpp, &a0, &a1, sipType_QModelIndex, &a2))
        {
            QModelIndex*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QModelIndex((sipSelfWasArg ? sipCpp->KDeviceListModel::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_KDeviceListModel, sipName_index, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDeviceListModel_rootIndex(PyObject *, PyObject *);}
static PyObject *meth_KDeviceListModel_rootIndex(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDeviceListModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDeviceListModel, &sipCpp))
        {
            QModelIndex*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QModelIndex(sipCpp->rootIndex());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDeviceListModel, sipName_rootIndex, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDeviceListModel_parent(PyObject *, PyObject *);}
static PyObject *meth_KDeviceListModel_parent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        const KDeviceListModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KDeviceListModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            QModelIndex*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QModelIndex((sipSelfWasArg ? sipCpp->KDeviceListModel::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_KDeviceListModel, sipName_parent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDeviceListModel_rowCount(PyObject *, PyObject *);}
static PyObject *meth_KDeviceListModel_rowCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex& a0def = QModelIndex();
        const QModelIndex* a0 = &a0def;
        const KDeviceListModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|J;", &sipSelf, sipType_KDeviceListModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KDeviceListModel::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_KDeviceListModel, sipName_rowCount, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDeviceListModel_columnCount(PyObject *, PyObject *);}
static PyObject *meth_KDeviceListModel_columnCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex& a0def = QModelIndex();
        const QModelIndex* a0 = &a0def;
        const KDeviceListModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|J;", &sipSelf, sipType_KDeviceListModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KDeviceListModel::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_KDeviceListModel, sipName_columnCount, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDeviceListModel_deviceForIndex(PyObject *, PyObject *);}
static PyObject *meth_KDeviceListModel_deviceForIndex(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        const KDeviceListModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KDeviceListModel, &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_KDeviceListModel, sipName_deviceForIndex, NULL);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KDeviceListModel(void *, int);}
static void release_KDeviceListModel(void *sipCppV,int)
{
    KDeviceListModel *sipCpp = reinterpret_cast<KDeviceListModel *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KDeviceListModel(sipSimpleWrapper *);}
static void dealloc_KDeviceListModel(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKDeviceListModel *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KDeviceListModel(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KDeviceListModel(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KDeviceListModel(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKDeviceListModel *sipCpp = 0;

    {
        QObject* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKDeviceListModel(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        QObject* a1 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1|JH", sipType_QString,&a0, &a0State, sipType_QObject, &a1, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKDeviceListModel(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const Solid::Predicate* a0;
        QObject* a1 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9|JH", sipType_Solid_Predicate, &a0, sipType_QObject, &a1, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKDeviceListModel(*a0,a1);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KDeviceListModel[] = {{13, 0, 1}};


static PyMethodDef methods_KDeviceListModel[] = {
    {SIP_MLNAME_CAST(sipName_columnCount), meth_KDeviceListModel_columnCount, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_data), meth_KDeviceListModel_data, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_deviceForIndex), meth_KDeviceListModel_deviceForIndex, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_headerData), meth_KDeviceListModel_headerData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_index), meth_KDeviceListModel_index, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_parent), meth_KDeviceListModel_parent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_rootIndex), meth_KDeviceListModel_rootIndex, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_rowCount), meth_KDeviceListModel_rowCount, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KDeviceListModel[] = {
    {"modelInitialized()", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kio_KDeviceListModel = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KDeviceListModel,
        {0}
    },
    {
        sipNameNr_KDeviceListModel,
        {0, 0, 1},
        8, methods_KDeviceListModel,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KDeviceListModel,
    0,
    init_type_KDeviceListModel,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KDeviceListModel,
    0,
    0,
    0,
    release_KDeviceListModel,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KDeviceListModel::staticMetaObject,
    0,
    signals_KDeviceListModel,
};


#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 27059 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kserviceaction.sip"
#include <kserviceaction.h>
#line 27062 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 27065 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 27068 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kdesktopfile.sip"
#include <kdesktopfile.h>
#line 27071 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 27074 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kservice.sip"
#include <kservice.h>
#line 27077 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"


extern "C" {static PyObject *meth_KDesktopFileActions_run(PyObject *, PyObject *);}
static PyObject *meth_KDesktopFileActions_run(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KUrl* a0;
        bool a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9b", sipType_KUrl, &a0, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KDesktopFileActions::run(*a0,a1);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_run, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDesktopFileActions_executeService(PyObject *, PyObject *);}
static PyObject *meth_KDesktopFileActions_executeService(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KUrl::List* a0;
        const KServiceAction* a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9J9", sipType_KUrl_List, &a0, sipType_KServiceAction, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            KDesktopFileActions::executeService(*a0,*a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_executeService, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDesktopFileActions_userDefinedServices(PyObject *, PyObject *);}
static PyObject *meth_KDesktopFileActions_userDefinedServices(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        bool a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1b", sipType_QString,&a0, &a0State, &a1))
        {
            QList<KServiceAction>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<KServiceAction>(KDesktopFileActions::userDefinedServices(*a0,a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QList_0100KServiceAction,NULL);
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        const KDesktopFile* a1;
        bool a2;
        const KUrl::List& a3def = KUrl::List();
        const KUrl::List* a3 = &a3def;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1J9b|J9", sipType_QString,&a0, &a0State, sipType_KDesktopFile, &a1, &a2, sipType_KUrl_List, &a3))
        {
            QList<KServiceAction>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<KServiceAction>(KDesktopFileActions::userDefinedServices(*a0,*a1,a2,*a3));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QList_0100KServiceAction,NULL);
        }
    }

    {
        const KService* a0;
        bool a1;
        const KUrl::List& a2def = KUrl::List();
        const KUrl::List* a2 = &a2def;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9b|J9", sipType_KService, &a0, &a1, sipType_KUrl_List, &a2))
        {
            QList<KServiceAction>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<KServiceAction>(KDesktopFileActions::userDefinedServices(*a0,a1,*a2));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QList_0100KServiceAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_userDefinedServices, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDesktopFileActions_builtinServices(PyObject *, PyObject *);}
static PyObject *meth_KDesktopFileActions_builtinServices(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KUrl* a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9", sipType_KUrl, &a0))
        {
            QList<KServiceAction>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<KServiceAction>(KDesktopFileActions::builtinServices(*a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QList_0100KServiceAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_builtinServices, NULL);

    return NULL;
}


static PyMethodDef methods_KDesktopFileActions[] = {
    {SIP_MLNAME_CAST(sipName_builtinServices), meth_KDesktopFileActions_builtinServices, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_executeService), meth_KDesktopFileActions_executeService, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_run), meth_KDesktopFileActions_run, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_userDefinedServices), meth_KDesktopFileActions_userDefinedServices, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kio_KDesktopFileActions = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_NAMESPACE,
        sipNameNr_KDesktopFileActions,
        {0}
    },
    {
        sipNameNr_KDesktopFileActions,
        {0, 0, 1},
        4, methods_KDesktopFileActions,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    0,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kio/kdbusservicestarter.sip"
#include <kdbusservicestarter.h>
#line 27294 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"

#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 27298 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"


class sipKDBusServiceStarter : public KDBusServiceStarter
{
public:
    sipKDBusServiceStarter();
    sipKDBusServiceStarter(const KDBusServiceStarter&);
    virtual ~sipKDBusServiceStarter();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    int startServiceFor(const QString&,const QString&,QString*,QString*,int);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKDBusServiceStarter(const sipKDBusServiceStarter &);
    sipKDBusServiceStarter &operator = (const sipKDBusServiceStarter &);

    char sipPyMethods[1];
};

sipKDBusServiceStarter::sipKDBusServiceStarter(): KDBusServiceStarter(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKDBusServiceStarter::sipKDBusServiceStarter(const KDBusServiceStarter& a0): KDBusServiceStarter(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKDBusServiceStarter::~sipKDBusServiceStarter()
{
    sipCommonDtor(sipPySelf);
}

int sipKDBusServiceStarter::startServiceFor(const QString& a0,const QString& a1,QString*a2,QString*a3,int a4)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_startServiceFor);

    if (!sipMeth)
        return KDBusServiceStarter::startServiceFor(a0,a1,a2,a3,a4);

    extern int sipVH_kio_66(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&,const QString&,QString*,QString*,int);

    return sipVH_kio_66(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}


extern "C" {static PyObject *meth_KDBusServiceStarter_self(PyObject *, PyObject *);}
static PyObject *meth_KDBusServiceStarter_self(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KDBusServiceStarter*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KDBusServiceStarter::self();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KDBusServiceStarter,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDBusServiceStarter, sipName_self, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDBusServiceStarter_findServiceFor(PyObject *, PyObject *);}
static PyObject *meth_KDBusServiceStarter_findServiceFor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        const QString& a1def = QString();
        const QString* a1 = &a1def;
        int a1State = 0;
        QString* a2 = 0;
        int a2State = 0;
        QString* a3 = 0;
        int a3State = 0;
        int a4 = 0;
        KDBusServiceStarter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|J1J0J0i", &sipSelf, sipType_KDBusServiceStarter, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State, &a4))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->findServiceFor(*a0,*a1,a2,a3,a4);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(a2,sipType_QString,a2State);
            sipReleaseType(a3,sipType_QString,a3State);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDBusServiceStarter, sipName_findServiceFor, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDBusServiceStarter_startServiceFor(PyObject *, PyObject *);}
static PyObject *meth_KDBusServiceStarter_startServiceFor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString* a0;
        int a0State = 0;
        const QString& a1def = QString();
        const QString* a1 = &a1def;
        int a1State = 0;
        QString* a2 = 0;
        int a2State = 0;
        QString* a3 = 0;
        int a3State = 0;
        int a4 = 0;
        KDBusServiceStarter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|J1J0J0i", &sipSelf, sipType_KDBusServiceStarter, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State, &a4))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KDBusServiceStarter::startServiceFor(*a0,*a1,a2,a3,a4) : sipCpp->startServiceFor(*a0,*a1,a2,a3,a4));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(a2,sipType_QString,a2State);
            sipReleaseType(a3,sipType_QString,a3State);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDBusServiceStarter, sipName_startServiceFor, NULL);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KDBusServiceStarter(void *, int);}
static void release_KDBusServiceStarter(void *sipCppV,int sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKDBusServiceStarter *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KDBusServiceStarter(sipSimpleWrapper *);}
static void dealloc_KDBusServiceStarter(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKDBusServiceStarter *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KDBusServiceStarter(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KDBusServiceStarter(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KDBusServiceStarter(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipKDBusServiceStarter *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKDBusServiceStarter();
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const KDBusServiceStarter* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_KDBusServiceStarter, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKDBusServiceStarter(*a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_KDBusServiceStarter[] = {
    {SIP_MLNAME_CAST(sipName_findServiceFor), meth_KDBusServiceStarter_findServiceFor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_self), meth_KDBusServiceStarter_self, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_startServiceFor), meth_KDBusServiceStarter_startServiceFor, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kio_KDBusServiceStarter = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KDBusServiceStarter,
        {0}
    },
    {
        sipNameNr_KDBusServiceStarter,
        {0, 0, 1},
        3, methods_KDBusServiceStarter,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_type_KDBusServiceStarter,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KDBusServiceStarter,
    0,
    0,
    0,
    release_KDBusServiceStarter,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 77 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kio/kdatatool.sip"
#include <kdatatool.h>
#line 27589 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"

#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 27593 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 27596 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kcomponentdata.sip"
#include <kcomponentdata.h>
#line 27599 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 27602 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 27605 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 27608 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 27611 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 27614 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 27617 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 27620 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 27623 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 27626 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 27629 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 27632 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kio/sipkiopart4.cpp"


class sipKDataTool : public KDataTool
{
public:
    sipKDataTool(QObject*);
    virtual ~sipKDataTool();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    bool run(const QString&,void*,const QString&,const QString&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKDataTool(const sipKDataTool &);
    sipKDataTool &operator = (const sipKDataTool &);

    char sipPyMethods[8];
};

sipKDataTool::sipKDataTool(QObject*a0): KDataTool(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKDataTool::~sipKDataTool()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKDataTool::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KDataTool);
}

int sipKDataTool::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KDataTool::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kio_qt_metacall(sipPySelf,sipType_KDataTool,_c,_id,_a);

    return _id;
}

void *sipKDataTool::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast(sipPySelf, sipType_KDataTool, _clname)) ? this : KDataTool::qt_metacast(_clname);
}

void sipKDataTool::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KDataTool::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDataTool::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KDataTool::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDataTool::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KDataTool::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kio_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDataTool::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KDataTool::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kio_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDataTool::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KDataTool::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kio_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKDataTool::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KDataTool::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKDataTool::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KDataTool::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKDataTool::run(const QString& a0,void*a1,const QString& a2,const QString& a3)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,sipName_KDataTool,sipName_run);

    if (!sipMeth)
        return 0;

    extern bool sipVH_kio_67(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&,void*,const QString&,const QString&);

    return sipVH_kio_67(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}


extern "C" {static PyObject *meth_KDataTool_setComponentData(PyObject *, PyObject *);}
static PyObject *meth_KDataTool_setComponentData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KComponentData* a0;
        KDataTool *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KDataTool, &sipCpp, sipType_KComponentData, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setComponentData(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDataTool, sipName_setComponentData, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDataTool_componentData(PyObject *, PyObject *);}
static PyObject *meth_KDataTool_componentData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDataTool *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDataTool, &sipCpp))
        {
            KComponentData*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KComponentData(sipCpp->componentData());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KComponentData,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDataTool, sipName_componentData, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDataTool_run(PyObject *, PyObject *);}
static PyObject *meth_KDataTool_run(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        const QString* a0;
        int a0State = 0;
        void* a1;
        const QString* a2;
        int a2State = 0;
        const QString* a3;
        int a3State = 0;
        KDataTool *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1vJ1J1", &sipSelf, sipType_KDataTool, &sipCpp, sipType_QString,&a0, &a0State, &a1, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State))
        {
            bool sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KDataTool, sipName_run);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->run(*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);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDataTool, sipName_run, NULL);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KDataTool(void *, int);}
static void release_KDataTool(void *sipCppV,int)
{
    KDataTool *sipCpp = reinterpret_cast<KDataTool *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KDataTool(sipSimpleWrapper *);}
static void dealloc_KDataTool(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKDataTool *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KDataTool(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KDataTool(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KDataTool(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKDataTool *sipCpp = 0;

    {
        QObject* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKDataTool(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KDataTool[] = {{141, 0, 1}};


static PyMethodDef methods_KDataTool[] = {
    {SIP_MLNAME_CAST(sipName_componentData), meth_KDataTool_componentData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_run), meth_KDataTool_run, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setComponentData), meth_KDataTool_setComponentData, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kio_KDataTool = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KDataTool,
        {0}
    },
    {
        sipNameNr_KDataTool,
        {0, 0, 1},
        3, methods_KDataTool,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KDataTool,
    0,
    init_type_KDataTool,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KDataTool,
    0,
    0,
    0,
    release_KDataTool,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KDataTool::staticMetaObject,
    0,
    0
};
