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

#include "sipAPIkio.h"

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kmountpoint.sip"
#include <kmountpoint.h>
#line 12 "sipkiopart2.cpp"

#line 46 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 16 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 19 "sipkiopart2.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kmountpoint.sip"
#include <kmountpoint.h>
#line 22 "sipkiopart2.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kmountpoint.sip"
#include <kmountpoint.h>
#line 25 "sipkiopart2.cpp"


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

    {
        KMountPoint::DetailsNeededFlags a0def = KMountPoint::BasicInfoNeeded;
        KMountPoint::DetailsNeededFlags * a0 = &a0def;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"|J1",sipType_KMountPoint_DetailsNeededFlags,&a0,&a0State))
        {
            KMountPoint::List *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KMountPoint::List(KMountPoint::possibleMountPoints(*a0));
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_KMountPoint_DetailsNeededFlags,a0State);

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

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

    return NULL;
}


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

    {
        KMountPoint::DetailsNeededFlags a0def = KMountPoint::BasicInfoNeeded;
        KMountPoint::DetailsNeededFlags * a0 = &a0def;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"|J1",sipType_KMountPoint_DetailsNeededFlags,&a0,&a0State))
        {
            KMountPoint::List *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KMountPoint::List(KMountPoint::currentMountPoints(*a0));
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_KMountPoint_DetailsNeededFlags,a0State);

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

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

    return NULL;
}


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

    {
        KMountPoint *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        KMountPoint *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        KMountPoint *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KMountPoint,&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(sipArgsParsed,sipName_KMountPoint,sipName_mountPoint);

    return NULL;
}


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

    {
        KMountPoint *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        KMountPoint *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        KMountPoint *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KMountPoint,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->probablySlow();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KMountPoint::FileSystemFlag a0;
        KMountPoint *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BE",&sipSelf,sipType_KMountPoint,&sipCpp,sipType_KMountPoint_FileSystemFlag,&a0))
        {
            bool sipRes;

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    return NULL;
}


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

    delete reinterpret_cast<KMountPoint *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KMountPoint(sipSimpleWrapper *);}
static void dealloc_KMountPoint(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KMountPoint(sipSelf->u.cppPtr,0);
    }
}


static PyMethodDef methods_KMountPoint[] = {
    {SIP_MLNAME_CAST(sipName_currentMountPoints), meth_KMountPoint_currentMountPoints, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mountOptions), meth_KMountPoint_mountOptions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mountPoint), meth_KMountPoint_mountPoint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mountType), meth_KMountPoint_mountType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mountedFrom), meth_KMountPoint_mountedFrom, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_possibleMountPoints), meth_KMountPoint_possibleMountPoints, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_probablySlow), meth_KMountPoint_probablySlow, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_realDeviceName), meth_KMountPoint_realDeviceName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_testFileSystemFlag), meth_KMountPoint_testFileSystemFlag, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KMountPoint[] = {
    {sipName_BasicInfoNeeded, KMountPoint::BasicInfoNeeded, 175},
    {sipName_CaseInsensitive, KMountPoint::CaseInsensitive, 177},
    {sipName_NeedMountOptions, KMountPoint::NeedMountOptions, 175},
    {sipName_NeedRealDeviceName, KMountPoint::NeedRealDeviceName, 175},
    {sipName_SupportsChmod, KMountPoint::SupportsChmod, 177},
    {sipName_SupportsChown, KMountPoint::SupportsChown, 177},
    {sipName_SupportsSymlinks, KMountPoint::SupportsSymlinks, 177},
    {sipName_SupportsUTime, KMountPoint::SupportsUTime, 177},
};


pyqt4ClassTypeDef pyqt4Type_kio_KMountPoint = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KMountPoint,
        {0}
    },
    sipNameNr_KMountPoint,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {0, 0, 1},
    0,
    0,
    9, methods_KMountPoint,
    8, enummembers_KMountPoint,
    0, 0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KMountPoint,
    release_KMountPoint,
    cast_KMountPoint,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 48 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kmimetypechooser.sip"
#include <kmimetypechooser.h>
#line 384 "sipkiopart2.cpp"

#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 388 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 391 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 394 "sipkiopart2.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kmimetypechooser.sip"
#include <kmimetypechooser.h>
#line 397 "sipkiopart2.cpp"
#line 296 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 400 "sipkiopart2.cpp"
#line 388 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 403 "sipkiopart2.cpp"
#line 424 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 406 "sipkiopart2.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 409 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 412 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 415 "sipkiopart2.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qlayout.sip"
#include <qlayout.h>
#line 418 "sipkiopart2.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 421 "sipkiopart2.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kpushbutton.sip"
#include <kpushbutton.h>
#line 424 "sipkiopart2.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 427 "sipkiopart2.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kconfigbase.sip"
#include <kconfigbase.h>
#line 430 "sipkiopart2.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qmenu.sip"
#include <qmenu.h>
#line 433 "sipkiopart2.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kguiitem.sip"
#include <kguiitem.h>
#line 436 "sipkiopart2.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kicon.sip"
#include <kicon.h>
#line 439 "sipkiopart2.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 442 "sipkiopart2.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 445 "sipkiopart2.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 448 "sipkiopart2.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 451 "sipkiopart2.cpp"
#line 436 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 454 "sipkiopart2.cpp"
#line 374 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 457 "sipkiopart2.cpp"
#line 412 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 460 "sipkiopart2.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 463 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 466 "sipkiopart2.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 469 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 472 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qregion.sip"
#include <qregion.h>
#line 475 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 478 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 481 "sipkiopart2.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 484 "sipkiopart2.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 487 "sipkiopart2.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 490 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qfont.sip"
#include <qfont.h>
#line 493 "sipkiopart2.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 496 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 499 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 502 "sipkiopart2.cpp"
#line 466 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 482 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 507 "sipkiopart2.cpp"
#line 508 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 510 "sipkiopart2.cpp"
#line 562 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 513 "sipkiopart2.cpp"
#line 533 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 516 "sipkiopart2.cpp"
#line 550 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 519 "sipkiopart2.cpp"
#line 618 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 522 "sipkiopart2.cpp"
#line 247 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 525 "sipkiopart2.cpp"
#line 360 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 528 "sipkiopart2.cpp"
#line 345 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 531 "sipkiopart2.cpp"
#line 325 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 534 "sipkiopart2.cpp"
#line 225 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 537 "sipkiopart2.cpp"
#line 184 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 540 "sipkiopart2.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 543 "sipkiopart2.cpp"
#line 74 "/usr/local/share/py-sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 546 "sipkiopart2.cpp"
#line 47 "/usr/local/share/py-sip/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 549 "sipkiopart2.cpp"
#line 136 "/usr/local/share/py-sip/QtGui/qfontdatabase.sip"
#include <qfontdatabase.h>
#include <qlist.h>
#line 66 "/usr/local/share/py-sip/QtGui/qprinterinfo.sip"
#include <qlist.h>
#line 229 "/usr/local/share/py-sip/QtGui/qwizard.sip"
#include <qwizard.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 520 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 610 "sipkiopart2.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qaction.sip"
#include <qaction.h>
#line 613 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 616 "sipkiopart2.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 619 "sipkiopart2.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qabstractbutton.sip"
#include <qabstractbutton.h>
#line 622 "sipkiopart2.cpp"
#line 466 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 482 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 627 "sipkiopart2.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 630 "sipkiopart2.cpp"
#line 99 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 633 "sipkiopart2.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 636 "sipkiopart2.cpp"
#line 165 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 639 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qlistwidget.sip"
#include <qlistwidget.h>
#line 642 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qdockwidget.sip"
#include <qdockwidget.h>
#line 645 "sipkiopart2.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qmdisubwindow.sip"
#include <qmdisubwindow.h>
#line 648 "sipkiopart2.cpp"
#line 334 "/usr/local/share/py-sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 651 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtextedit.sip"
#include <qtextedit.h>
#line 56 "/usr/local/share/py-sip/QtGui/qtextedit.sip"
#include <qtextedit.h>
#line 656 "sipkiopart2.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qprinterinfo.sip"
#include <qprinterinfo.h>
#line 659 "sipkiopart2.cpp"
#line 202 "/usr/local/share/py-sip/QtGui/qstandarditemmodel.sip"
#include <qstandarditemmodel.h>
#line 662 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 665 "sipkiopart2.cpp"
#line 66 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 668 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtextoption.sip"
#include <qtextoption.h>
#line 114 "/usr/local/share/py-sip/QtGui/qtextoption.sip"
#include <qtextoption.h>
#line 673 "sipkiopart2.cpp"
#line 65 "/usr/local/share/py-sip/QtGui/qtextlayout.sip"
#include <qtextlayout.h>
#line 88 "/usr/local/share/py-sip/QtGui/qtextlayout.sip"
#include <qtextlayout.h>
#line 678 "sipkiopart2.cpp"
#line 149 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 175 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 683 "sipkiopart2.cpp"
#line 83 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 101 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 688 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtreewidget.sip"
#include <qtreewidget.h>
#line 691 "sipkiopart2.cpp"
#line 75 "/usr/local/share/py-sip/QtGui/qundostack.sip"
#include <qundostack.h>
#line 694 "sipkiopart2.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qwizard.sip"
#include <qwizard.h>
#line 697 "sipkiopart2.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qprinter.sip"
#include <qprinter.h>
#line 700 "sipkiopart2.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontdatabase.sip"
#include <qfontdatabase.h>
#line 703 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 706 "sipkiopart2.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 709 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 712 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qicon.sip"
#include <qicon.h>
#line 715 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 718 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qstyle.sip"
#include <qstyle.h>
#line 721 "sipkiopart2.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 724 "sipkiopart2.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 727 "sipkiopart2.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 758 "sipkiopart2.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 761 "sipkiopart2.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 764 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 767 "sipkiopart2.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 770 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 773 "sipkiopart2.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 776 "sipkiopart2.cpp"


class sipKMimeTypeChooserDialog : public KMimeTypeChooserDialog
{
public:
    sipKMimeTypeChooserDialog(const QString&,const QString&,const QStringList&,const QString&,const QStringList&,int,QWidget *);
    sipKMimeTypeChooserDialog(const QString&,const QString&,const QStringList&,const QString&,QWidget *);
    virtual ~sipKMimeTypeChooserDialog();

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

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);
    bool sipProtectVirt_event(bool,QEvent *);
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent *);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent *);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent *);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent *);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent *);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent *);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent *);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent *);
    void sipProtectVirt_enterEvent(bool,QEvent *);
    void sipProtectVirt_leaveEvent(bool,QEvent *);
    void sipProtectVirt_paintEvent(bool,QPaintEvent *);
    void sipProtectVirt_moveEvent(bool,QMoveEvent *);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent *);
    void sipProtectVirt_actionEvent(bool,QActionEvent *);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent *);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent *);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent *);
    void sipProtectVirt_dropEvent(bool,QDropEvent *);
    void sipProtectVirt_changeEvent(bool,QEvent *);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent *);
    void sipProtect_resetInputContext();
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    void sipProtectVirt_enabledChange(bool,bool);
    void sipProtectVirt_paletteChange(bool,const QPalette&);
    void sipProtectVirt_fontChange(bool,const QFont&);
    void sipProtectVirt_windowActivationChange(bool,bool);
    void sipProtectVirt_languageChange(bool);
    void sipProtectVirt_showEvent(bool,QShowEvent *);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent *);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent *);
    bool sipProtectVirt_eventFilter(bool,QObject *,QEvent *);
    void sipProtectVirt_hideEvent(bool,QHideEvent *);
    void sipProtectVirt_closeEvent(bool,QCloseEvent *);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent *);
    void sipProtectVirt_slotButtonClicked(bool,int);
    void sipProtect_updateGeometry();

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[54];
};

sipKMimeTypeChooserDialog::sipKMimeTypeChooserDialog(const QString& a0,const QString& a1,const QStringList& a2,const QString& a3,const QStringList& a4,int a5,QWidget *a6): KMimeTypeChooserDialog(a0,a1,a2,a3,a4,a5,a6), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKMimeTypeChooserDialog::sipKMimeTypeChooserDialog(const QString& a0,const QString& a1,const QStringList& a2,const QString& a3,QWidget *a4): KMimeTypeChooserDialog(a0,a1,a2,a3,a4), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipKMimeTypeChooserDialog::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KMimeTypeChooserDialog);
}

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

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

    return _id;
}

void *sipKMimeTypeChooserDialog::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast && sip_kio_qt_metacast(sipPySelf,sipType_KMimeTypeChooserDialog,_clname)) ? this : KMimeTypeChooserDialog::qt_metacast(_clname);
}

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipKMimeTypeChooserDialog::dropEvent(QDropEvent *a0)
{
    typedef void (*sipVH_QtGui_16)(sip_gilstate_t,PyObject *,QDropEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipKMimeTypeChooserDialog::changeEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

int sipKMimeTypeChooserDialog::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    typedef int (*sipVH_QtGui_15)(sip_gilstate_t,PyObject *,QPaintDevice::PaintDeviceMetric);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipKMimeTypeChooserDialog::inputMethodEvent(QInputMethodEvent *a0)
{
    typedef void (*sipVH_QtGui_14)(sip_gilstate_t,PyObject *,QInputMethodEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtGui_14)(sipModuleAPI_kio_QtGui->em_virthandlers[14]))(sipGILState,meth,a0);
}

QVariant sipKMimeTypeChooserDialog::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    typedef QVariant (*sipVH_QtGui_13)(sip_gilstate_t,PyObject *,Qt::InputMethodQuery);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

bool sipKMimeTypeChooserDialog::focusNextPrevChild(bool a0)
{
    typedef bool (*sipVH_QtGui_12)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipKMimeTypeChooserDialog::enabledChange(bool a0)
{
    typedef void (*sipVH_QtGui_7)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipKMimeTypeChooserDialog::paletteChange(const QPalette& a0)
{
    typedef void (*sipVH_QtGui_11)(sip_gilstate_t,PyObject *,const QPalette&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtGui_11)(sipModuleAPI_kio_QtGui->em_virthandlers[11]))(sipGILState,meth,a0);
}

void sipKMimeTypeChooserDialog::fontChange(const QFont& a0)
{
    typedef void (*sipVH_QtGui_10)(sip_gilstate_t,PyObject *,const QFont&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtGui_10)(sipModuleAPI_kio_QtGui->em_virthandlers[10]))(sipGILState,meth,a0);
}

void sipKMimeTypeChooserDialog::windowActivationChange(bool a0)
{
    typedef void (*sipVH_QtGui_7)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipKMimeTypeChooserDialog::languageChange()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

int sipKMimeTypeChooserDialog::sipProtect_receivers(const char *a0) const
{
    return QObject::receivers(a0);
}

void sipKMimeTypeChooserDialog::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipKMimeTypeChooserDialog::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent *a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipKMimeTypeChooserDialog::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipKMimeTypeChooserDialog::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipKMimeTypeChooserDialog::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

bool sipKMimeTypeChooserDialog::sipProtectVirt_event(bool sipSelfWasArg,QEvent *a0)
{
    return (sipSelfWasArg ? QWidget::event(a0) : event(a0));
}

void sipKMimeTypeChooserDialog::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? QWidget::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipKMimeTypeChooserDialog::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? QWidget::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipKMimeTypeChooserDialog::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? QWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipKMimeTypeChooserDialog::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? QWidget::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipKMimeTypeChooserDialog::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent *a0)
{
    (sipSelfWasArg ? QWidget::wheelEvent(a0) : wheelEvent(a0));
}

void sipKMimeTypeChooserDialog::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent *a0)
{
    (sipSelfWasArg ? QWidget::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipKMimeTypeChooserDialog::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent *a0)
{
    (sipSelfWasArg ? QWidget::focusInEvent(a0) : focusInEvent(a0));
}

void sipKMimeTypeChooserDialog::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent *a0)
{
    (sipSelfWasArg ? QWidget::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipKMimeTypeChooserDialog::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipKMimeTypeChooserDialog::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipKMimeTypeChooserDialog::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent *a0)
{
    (sipSelfWasArg ? QWidget::paintEvent(a0) : paintEvent(a0));
}

void sipKMimeTypeChooserDialog::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent *a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipKMimeTypeChooserDialog::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent *a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipKMimeTypeChooserDialog::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent *a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipKMimeTypeChooserDialog::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent *a0)
{
    (sipSelfWasArg ? QWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipKMimeTypeChooserDialog::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent *a0)
{
    (sipSelfWasArg ? QWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipKMimeTypeChooserDialog::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent *a0)
{
    (sipSelfWasArg ? QWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipKMimeTypeChooserDialog::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent *a0)
{
    (sipSelfWasArg ? QWidget::dropEvent(a0) : dropEvent(a0));
}

void sipKMimeTypeChooserDialog::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QWidget::changeEvent(a0) : changeEvent(a0));
}

int sipKMimeTypeChooserDialog::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipKMimeTypeChooserDialog::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent *a0)
{
    (sipSelfWasArg ? QWidget::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipKMimeTypeChooserDialog::sipProtect_resetInputContext()
{
    QWidget::resetInputContext();
}

void sipKMimeTypeChooserDialog::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipKMimeTypeChooserDialog::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipKMimeTypeChooserDialog::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipKMimeTypeChooserDialog::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

bool sipKMimeTypeChooserDialog::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipKMimeTypeChooserDialog::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

void sipKMimeTypeChooserDialog::sipProtectVirt_enabledChange(bool sipSelfWasArg,bool a0)
{
    (sipSelfWasArg ? QWidget::enabledChange(a0) : enabledChange(a0));
}

void sipKMimeTypeChooserDialog::sipProtectVirt_paletteChange(bool sipSelfWasArg,const QPalette& a0)
{
    (sipSelfWasArg ? QWidget::paletteChange(a0) : paletteChange(a0));
}

void sipKMimeTypeChooserDialog::sipProtectVirt_fontChange(bool sipSelfWasArg,const QFont& a0)
{
    (sipSelfWasArg ? QWidget::fontChange(a0) : fontChange(a0));
}

void sipKMimeTypeChooserDialog::sipProtectVirt_windowActivationChange(bool sipSelfWasArg,bool a0)
{
    (sipSelfWasArg ? QWidget::windowActivationChange(a0) : windowActivationChange(a0));
}

void sipKMimeTypeChooserDialog::sipProtectVirt_languageChange(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QWidget::languageChange() : languageChange());
}

void sipKMimeTypeChooserDialog::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent *a0)
{
    (sipSelfWasArg ? QDialog::showEvent(a0) : showEvent(a0));
}

void sipKMimeTypeChooserDialog::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent *a0)
{
    (sipSelfWasArg ? QDialog::resizeEvent(a0) : resizeEvent(a0));
}

void sipKMimeTypeChooserDialog::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent *a0)
{
    (sipSelfWasArg ? QDialog::contextMenuEvent(a0) : contextMenuEvent(a0));
}

bool sipKMimeTypeChooserDialog::sipProtectVirt_eventFilter(bool sipSelfWasArg,QObject *a0,QEvent *a1)
{
    return (sipSelfWasArg ? QDialog::eventFilter(a0,a1) : eventFilter(a0,a1));
}

void sipKMimeTypeChooserDialog::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent *a0)
{
    (sipSelfWasArg ? KDialog::hideEvent(a0) : hideEvent(a0));
}

void sipKMimeTypeChooserDialog::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent *a0)
{
    (sipSelfWasArg ? KDialog::closeEvent(a0) : closeEvent(a0));
}

void sipKMimeTypeChooserDialog::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent *a0)
{
    (sipSelfWasArg ? KDialog::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipKMimeTypeChooserDialog::sipProtectVirt_slotButtonClicked(bool sipSelfWasArg,int a0)
{
    (sipSelfWasArg ? KDialog::slotButtonClicked(a0) : slotButtonClicked(a0));
}

void sipKMimeTypeChooserDialog::sipProtect_updateGeometry()
{
    KDialog::updateGeometry();
}


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

    {
        char * a0;
        sipKMimeTypeChooserDialog *sipCpp;

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

#line 462 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
#line 2162 "sipkiopart2.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QTimerEvent * a0;
        sipKMimeTypeChooserDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KMimeTypeChooserDialog,&sipCpp,sipType_QTimerEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QChildEvent * a0;
        sipKMimeTypeChooserDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KMimeTypeChooserDialog,&sipCpp,sipType_QChildEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipKMimeTypeChooserDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KMimeTypeChooserDialog,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipKMimeTypeChooserDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KMimeTypeChooserDialog,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipKMimeTypeChooserDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KMimeTypeChooserDialog,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipKMimeTypeChooserDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KMimeTypeChooserDialog,&sipCpp,sipType_QEvent,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QMouseEvent * a0;
        sipKMimeTypeChooserDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KMimeTypeChooserDialog,&sipCpp,sipType_QMouseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QMouseEvent * a0;
        sipKMimeTypeChooserDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KMimeTypeChooserDialog,&sipCpp,sipType_QMouseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QMouseEvent * a0;
        sipKMimeTypeChooserDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KMimeTypeChooserDialog,&sipCpp,sipType_QMouseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QMouseEvent * a0;
        sipKMimeTypeChooserDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KMimeTypeChooserDialog,&sipCpp,sipType_QMouseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QWheelEvent * a0;
        sipKMimeTypeChooserDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KMimeTypeChooserDialog,&sipCpp,sipType_QWheelEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QKeyEvent * a0;
        sipKMimeTypeChooserDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KMimeTypeChooserDialog,&sipCpp,sipType_QKeyEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QFocusEvent * a0;
        sipKMimeTypeChooserDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KMimeTypeChooserDialog,&sipCpp,sipType_QFocusEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QFocusEvent * a0;
        sipKMimeTypeChooserDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KMimeTypeChooserDialog,&sipCpp,sipType_QFocusEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipKMimeTypeChooserDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KMimeTypeChooserDialog,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipKMimeTypeChooserDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KMimeTypeChooserDialog,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QPaintEvent * a0;
        sipKMimeTypeChooserDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KMimeTypeChooserDialog,&sipCpp,sipType_QPaintEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QMoveEvent * a0;
        sipKMimeTypeChooserDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KMimeTypeChooserDialog,&sipCpp,sipType_QMoveEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QTabletEvent * a0;
        sipKMimeTypeChooserDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KMimeTypeChooserDialog,&sipCpp,sipType_QTabletEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QActionEvent * a0;
        sipKMimeTypeChooserDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KMimeTypeChooserDialog,&sipCpp,sipType_QActionEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QDragEnterEvent * a0;
        sipKMimeTypeChooserDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KMimeTypeChooserDialog,&sipCpp,sipType_QDragEnterEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QDragMoveEvent * a0;
        sipKMimeTypeChooserDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KMimeTypeChooserDialog,&sipCpp,sipType_QDragMoveEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QDragLeaveEvent * a0;
        sipKMimeTypeChooserDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KMimeTypeChooserDialog,&sipCpp,sipType_QDragLeaveEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QDropEvent * a0;
        sipKMimeTypeChooserDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KMimeTypeChooserDialog,&sipCpp,sipType_QDropEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipKMimeTypeChooserDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KMimeTypeChooserDialog,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QPaintDevice::PaintDeviceMetric a0;
        sipKMimeTypeChooserDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pE",&sipSelf,sipType_KMimeTypeChooserDialog,&sipCpp,sipType_QPaintDevice_PaintDeviceMetric,&a0))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QInputMethodEvent * a0;
        sipKMimeTypeChooserDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KMimeTypeChooserDialog,&sipCpp,sipType_QInputMethodEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipKMimeTypeChooserDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KMimeTypeChooserDialog,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_resetInputContext();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipKMimeTypeChooserDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KMimeTypeChooserDialog,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_updateMicroFocus();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p|mbb",&sipSelf,sipType_KMimeTypeChooserDialog,&sipCpp,&a0,&a1,&a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_create(a0,a1,a2);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p|bb",&sipSelf,sipType_KMimeTypeChooserDialog,&sipCpp,&a0,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_destroy(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        sipKMimeTypeChooserDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_KMimeTypeChooserDialog,&sipCpp,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        sipKMimeTypeChooserDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KMimeTypeChooserDialog,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_focusNextChild();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        sipKMimeTypeChooserDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KMimeTypeChooserDialog,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_focusPreviousChild();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        sipKMimeTypeChooserDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_KMimeTypeChooserDialog,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_enabledChange(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QPalette * a0;
        sipKMimeTypeChooserDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&sipSelf,sipType_KMimeTypeChooserDialog,&sipCpp,sipType_QPalette,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_paletteChange(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QFont * a0;
        sipKMimeTypeChooserDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&sipSelf,sipType_KMimeTypeChooserDialog,&sipCpp,sipType_QFont,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_fontChange(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        sipKMimeTypeChooserDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_KMimeTypeChooserDialog,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_windowActivationChange(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipKMimeTypeChooserDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KMimeTypeChooserDialog,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_languageChange(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QShowEvent * a0;
        sipKMimeTypeChooserDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KMimeTypeChooserDialog,&sipCpp,sipType_QShowEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QResizeEvent * a0;
        sipKMimeTypeChooserDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KMimeTypeChooserDialog,&sipCpp,sipType_QResizeEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QContextMenuEvent * a0;
        sipKMimeTypeChooserDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KMimeTypeChooserDialog,&sipCpp,sipType_QContextMenuEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_eventFilter(sipSelfWasArg,a0,a1);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QHideEvent * a0;
        sipKMimeTypeChooserDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KMimeTypeChooserDialog,&sipCpp,sipType_QHideEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QCloseEvent * a0;
        sipKMimeTypeChooserDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KMimeTypeChooserDialog,&sipCpp,sipType_QCloseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QKeyEvent * a0;
        sipKMimeTypeChooserDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KMimeTypeChooserDialog,&sipCpp,sipType_QKeyEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        sipKMimeTypeChooserDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pi",&sipSelf,sipType_KMimeTypeChooserDialog,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_slotButtonClicked(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipKMimeTypeChooserDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KMimeTypeChooserDialog,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_updateGeometry();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KMimeTypeChooserDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KMimeTypeChooserDialog,&sipCpp))
        {
            KMimeTypeChooser *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->chooser();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    if (targetType == sipType_KMimeTypeChooserDialog)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KDialog)->ctd_cast((KDialog *)(KMimeTypeChooserDialog *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKMimeTypeChooserDialog *>(sipCppV);
    else
        delete reinterpret_cast<KMimeTypeChooserDialog *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KMimeTypeChooserDialog(sipSimpleWrapper *);}
static void dealloc_KMimeTypeChooserDialog(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKMimeTypeChooserDialog *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

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


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

    if (!sipCpp)
    {
        const QString& a0def = QString();
        const QString * a0 = &a0def;
        int a0State = 0;
        const QString& a1def = QString();
        const QString * a1 = &a1def;
        int a1State = 0;
        const QStringList& a2def = QStringList();
        const QStringList * a2 = &a2def;
        int a2State = 0;
        const QString& a3def = QString();
        const QString * a3 = &a3def;
        int a3State = 0;
        const QStringList& a4def = QStringList();
        const QStringList * a4 = &a4def;
        int a4State = 0;
        int a5 = KMimeTypeChooser::Comments | KMimeTypeChooser::Patterns | KMimeTypeChooser::EditButton;
        QWidget * a6 = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"|J1J1J1J1J1iJH",sipType_QString,&a0,&a0State,sipType_QString,&a1,&a1State,sipType_QStringList,&a2,&a2State,sipType_QString,&a3,&a3State,sipType_QStringList,&a4,&a4State,&a5,sipType_QWidget,&a6,sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKMimeTypeChooserDialog(*a0,*a1,*a2,*a3,*a4,a5,a6);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QStringList *>(a2),sipType_QStringList,a2State);
            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);
            sipReleaseType(const_cast<QStringList *>(a4),sipType_QStringList,a4State);
        }
    }

    if (!sipCpp)
    {
        const QString * a0;
        int a0State = 0;
        const QString * a1;
        int a1State = 0;
        const QStringList * a2;
        int a2State = 0;
        const QString * a3;
        int a3State = 0;
        QWidget * a4 = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J1J1J1J1|JH",sipType_QString,&a0,&a0State,sipType_QString,&a1,&a1State,sipType_QStringList,&a2,&a2State,sipType_QString,&a3,&a3State,sipType_QWidget,&a4,sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKMimeTypeChooserDialog(*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<QStringList *>(a2),sipType_QStringList,a2State);
            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KMimeTypeChooserDialog[] = {{72, 6, 1}};


static PyMethodDef methods_KMimeTypeChooserDialog[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), meth_KMimeTypeChooserDialog_actionEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_changeEvent), meth_KMimeTypeChooserDialog_changeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_KMimeTypeChooserDialog_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_chooser), meth_KMimeTypeChooserDialog_chooser, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), meth_KMimeTypeChooserDialog_closeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KMimeTypeChooserDialog_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), meth_KMimeTypeChooserDialog_contextMenuEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_create), meth_KMimeTypeChooserDialog_create, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KMimeTypeChooserDialog_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), meth_KMimeTypeChooserDialog_destroy, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KMimeTypeChooserDialog_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), meth_KMimeTypeChooserDialog_dragEnterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), meth_KMimeTypeChooserDialog_dragLeaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), meth_KMimeTypeChooserDialog_dragMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), meth_KMimeTypeChooserDialog_dropEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enabledChange), meth_KMimeTypeChooserDialog_enabledChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), meth_KMimeTypeChooserDialog_enterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_event), meth_KMimeTypeChooserDialog_event, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_eventFilter), meth_KMimeTypeChooserDialog_eventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), meth_KMimeTypeChooserDialog_focusInEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), meth_KMimeTypeChooserDialog_focusNextChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), meth_KMimeTypeChooserDialog_focusNextPrevChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), meth_KMimeTypeChooserDialog_focusOutEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), meth_KMimeTypeChooserDialog_focusPreviousChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fontChange), meth_KMimeTypeChooserDialog_fontChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), meth_KMimeTypeChooserDialog_hideEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), meth_KMimeTypeChooserDialog_inputMethodEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), meth_KMimeTypeChooserDialog_keyPressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), meth_KMimeTypeChooserDialog_keyReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_languageChange), meth_KMimeTypeChooserDialog_languageChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), meth_KMimeTypeChooserDialog_leaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_metric), meth_KMimeTypeChooserDialog_metric, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), meth_KMimeTypeChooserDialog_mouseDoubleClickEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), meth_KMimeTypeChooserDialog_mouseMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), meth_KMimeTypeChooserDialog_mousePressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), meth_KMimeTypeChooserDialog_mouseReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), meth_KMimeTypeChooserDialog_moveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), meth_KMimeTypeChooserDialog_paintEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paletteChange), meth_KMimeTypeChooserDialog_paletteChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_KMimeTypeChooserDialog_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resetInputContext), meth_KMimeTypeChooserDialog_resetInputContext, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_KMimeTypeChooserDialog_resizeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), meth_KMimeTypeChooserDialog_showEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotButtonClicked), meth_KMimeTypeChooserDialog_slotButtonClicked, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_tabletEvent), meth_KMimeTypeChooserDialog_tabletEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KMimeTypeChooserDialog_timerEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateGeometry), meth_KMimeTypeChooserDialog_updateGeometry, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), meth_KMimeTypeChooserDialog_updateMicroFocus, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), meth_KMimeTypeChooserDialog_wheelEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_windowActivationChange), meth_KMimeTypeChooserDialog_windowActivationChange, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_kio_KMimeTypeChooserDialog = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KMimeTypeChooserDialog,
        {0}
    },
    sipNameNr_KMimeTypeChooserDialog,
    -1,
    -1,
    {0, 0, 1},
    supers_KMimeTypeChooserDialog,
    0,
    50, methods_KMimeTypeChooserDialog,
    0, 0,
    0, 0,
    init_KMimeTypeChooserDialog,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KMimeTypeChooserDialog,
    release_KMimeTypeChooserDialog,
    cast_KMimeTypeChooserDialog,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KMimeTypeChooserDialog::staticMetaObject,
    0,
    0
};

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kmimetypechooser.sip"
#include <kmimetypechooser.h>
#line 3763 "sipkiopart2.cpp"

#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 3767 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 3770 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 3773 "sipkiopart2.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 3776 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 3779 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 3782 "sipkiopart2.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 3785 "sipkiopart2.cpp"
#line 345 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3788 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 3791 "sipkiopart2.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qframe.sip"
#include <qframe.h>
#line 3794 "sipkiopart2.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 3797 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 3800 "sipkiopart2.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 3803 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 3806 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qregion.sip"
#include <qregion.h>
#line 3809 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 3812 "sipkiopart2.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 3815 "sipkiopart2.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 3818 "sipkiopart2.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 3821 "sipkiopart2.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 3824 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qfont.sip"
#include <qfont.h>
#line 3827 "sipkiopart2.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 3830 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 3833 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 3836 "sipkiopart2.cpp"
#line 466 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 482 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3841 "sipkiopart2.cpp"
#line 424 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3844 "sipkiopart2.cpp"
#line 412 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3847 "sipkiopart2.cpp"
#line 508 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3850 "sipkiopart2.cpp"
#line 562 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3853 "sipkiopart2.cpp"
#line 533 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3856 "sipkiopart2.cpp"
#line 550 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3859 "sipkiopart2.cpp"
#line 618 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3862 "sipkiopart2.cpp"
#line 247 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3865 "sipkiopart2.cpp"
#line 436 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3868 "sipkiopart2.cpp"
#line 388 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3871 "sipkiopart2.cpp"
#line 374 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3874 "sipkiopart2.cpp"
#line 360 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3877 "sipkiopart2.cpp"
#line 325 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3880 "sipkiopart2.cpp"
#line 296 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3883 "sipkiopart2.cpp"
#line 225 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3886 "sipkiopart2.cpp"
#line 184 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3889 "sipkiopart2.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 3892 "sipkiopart2.cpp"
#line 74 "/usr/local/share/py-sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 3895 "sipkiopart2.cpp"
#line 47 "/usr/local/share/py-sip/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 3898 "sipkiopart2.cpp"
#line 136 "/usr/local/share/py-sip/QtGui/qfontdatabase.sip"
#include <qfontdatabase.h>
#include <qlist.h>
#line 66 "/usr/local/share/py-sip/QtGui/qprinterinfo.sip"
#include <qlist.h>
#line 229 "/usr/local/share/py-sip/QtGui/qwizard.sip"
#include <qwizard.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 520 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 3959 "sipkiopart2.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qaction.sip"
#include <qaction.h>
#line 3962 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 3965 "sipkiopart2.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 3968 "sipkiopart2.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qabstractbutton.sip"
#include <qabstractbutton.h>
#line 3971 "sipkiopart2.cpp"
#line 466 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 482 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3976 "sipkiopart2.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 3979 "sipkiopart2.cpp"
#line 99 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 3982 "sipkiopart2.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 3985 "sipkiopart2.cpp"
#line 165 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 3988 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qlistwidget.sip"
#include <qlistwidget.h>
#line 3991 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qdockwidget.sip"
#include <qdockwidget.h>
#line 3994 "sipkiopart2.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qmdisubwindow.sip"
#include <qmdisubwindow.h>
#line 3997 "sipkiopart2.cpp"
#line 334 "/usr/local/share/py-sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 4000 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtextedit.sip"
#include <qtextedit.h>
#line 56 "/usr/local/share/py-sip/QtGui/qtextedit.sip"
#include <qtextedit.h>
#line 4005 "sipkiopart2.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qprinterinfo.sip"
#include <qprinterinfo.h>
#line 4008 "sipkiopart2.cpp"
#line 202 "/usr/local/share/py-sip/QtGui/qstandarditemmodel.sip"
#include <qstandarditemmodel.h>
#line 4011 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 4014 "sipkiopart2.cpp"
#line 66 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 4017 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtextoption.sip"
#include <qtextoption.h>
#line 114 "/usr/local/share/py-sip/QtGui/qtextoption.sip"
#include <qtextoption.h>
#line 4022 "sipkiopart2.cpp"
#line 65 "/usr/local/share/py-sip/QtGui/qtextlayout.sip"
#include <qtextlayout.h>
#line 88 "/usr/local/share/py-sip/QtGui/qtextlayout.sip"
#include <qtextlayout.h>
#line 4027 "sipkiopart2.cpp"
#line 149 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 175 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 4032 "sipkiopart2.cpp"
#line 83 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 101 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 4037 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtreewidget.sip"
#include <qtreewidget.h>
#line 4040 "sipkiopart2.cpp"
#line 75 "/usr/local/share/py-sip/QtGui/qundostack.sip"
#include <qundostack.h>
#line 4043 "sipkiopart2.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qwizard.sip"
#include <qwizard.h>
#line 4046 "sipkiopart2.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qprinter.sip"
#include <qprinter.h>
#line 4049 "sipkiopart2.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontdatabase.sip"
#include <qfontdatabase.h>
#line 4052 "sipkiopart2.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qlayout.sip"
#include <qlayout.h>
#line 4055 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 4058 "sipkiopart2.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 4061 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 4064 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qicon.sip"
#include <qicon.h>
#line 4067 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 4070 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qstyle.sip"
#include <qstyle.h>
#line 4073 "sipkiopart2.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4076 "sipkiopart2.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 4079 "sipkiopart2.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 4110 "sipkiopart2.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 4113 "sipkiopart2.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 4116 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 4119 "sipkiopart2.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 4122 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 4125 "sipkiopart2.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 4128 "sipkiopart2.cpp"


class sipKMimeTypeChooser : public KMimeTypeChooser
{
public:
    sipKMimeTypeChooser(const QString&,const QStringList&,const QString&,const QStringList&,int,QWidget *);
    virtual ~sipKMimeTypeChooser();

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

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent *);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent *);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent *);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent *);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent *);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent *);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent *);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent *);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent *);
    void sipProtectVirt_enterEvent(bool,QEvent *);
    void sipProtectVirt_leaveEvent(bool,QEvent *);
    void sipProtectVirt_moveEvent(bool,QMoveEvent *);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent *);
    void sipProtectVirt_closeEvent(bool,QCloseEvent *);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent *);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent *);
    void sipProtectVirt_actionEvent(bool,QActionEvent *);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent *);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent *);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent *);
    void sipProtectVirt_dropEvent(bool,QDropEvent *);
    void sipProtectVirt_showEvent(bool,QShowEvent *);
    void sipProtectVirt_hideEvent(bool,QHideEvent *);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent *);
    void sipProtect_resetInputContext();
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    void sipProtectVirt_enabledChange(bool,bool);
    void sipProtectVirt_paletteChange(bool,const QPalette&);
    void sipProtectVirt_fontChange(bool,const QFont&);
    void sipProtectVirt_windowActivationChange(bool,bool);
    void sipProtectVirt_languageChange(bool);
    bool sipProtectVirt_event(bool,QEvent *);
    void sipProtectVirt_paintEvent(bool,QPaintEvent *);
    void sipProtectVirt_changeEvent(bool,QEvent *);
    void sipProtect_drawFrame(QPainter *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[47];
};

sipKMimeTypeChooser::sipKMimeTypeChooser(const QString& a0,const QStringList& a1,const QString& a2,const QStringList& a3,int a4,QWidget *a5): KMimeTypeChooser(a0,a1,a2,a3,a4,a5), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipKMimeTypeChooser::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KMimeTypeChooser);
}

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

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

    return _id;
}

void *sipKMimeTypeChooser::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast && sip_kio_qt_metacast(sipPySelf,sipType_KMimeTypeChooser,_clname)) ? this : KMimeTypeChooser::qt_metacast(_clname);
}

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipKMimeTypeChooser::changeEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipKMimeTypeChooser::dropEvent(QDropEvent *a0)
{
    typedef void (*sipVH_QtGui_16)(sip_gilstate_t,PyObject *,QDropEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

int sipKMimeTypeChooser::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    typedef int (*sipVH_QtGui_15)(sip_gilstate_t,PyObject *,QPaintDevice::PaintDeviceMetric);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipKMimeTypeChooser::inputMethodEvent(QInputMethodEvent *a0)
{
    typedef void (*sipVH_QtGui_14)(sip_gilstate_t,PyObject *,QInputMethodEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtGui_14)(sipModuleAPI_kio_QtGui->em_virthandlers[14]))(sipGILState,meth,a0);
}

QVariant sipKMimeTypeChooser::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    typedef QVariant (*sipVH_QtGui_13)(sip_gilstate_t,PyObject *,Qt::InputMethodQuery);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

bool sipKMimeTypeChooser::focusNextPrevChild(bool a0)
{
    typedef bool (*sipVH_QtGui_12)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipKMimeTypeChooser::enabledChange(bool a0)
{
    typedef void (*sipVH_QtGui_7)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipKMimeTypeChooser::paletteChange(const QPalette& a0)
{
    typedef void (*sipVH_QtGui_11)(sip_gilstate_t,PyObject *,const QPalette&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtGui_11)(sipModuleAPI_kio_QtGui->em_virthandlers[11]))(sipGILState,meth,a0);
}

void sipKMimeTypeChooser::fontChange(const QFont& a0)
{
    typedef void (*sipVH_QtGui_10)(sip_gilstate_t,PyObject *,const QFont&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtGui_10)(sipModuleAPI_kio_QtGui->em_virthandlers[10]))(sipGILState,meth,a0);
}

void sipKMimeTypeChooser::windowActivationChange(bool a0)
{
    typedef void (*sipVH_QtGui_7)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipKMimeTypeChooser::languageChange()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

int sipKMimeTypeChooser::sipProtect_receivers(const char *a0) const
{
    return QObject::receivers(a0);
}

void sipKMimeTypeChooser::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipKMimeTypeChooser::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipKMimeTypeChooser::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipKMimeTypeChooser::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

void sipKMimeTypeChooser::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? QWidget::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipKMimeTypeChooser::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? QWidget::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipKMimeTypeChooser::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? QWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipKMimeTypeChooser::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? QWidget::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipKMimeTypeChooser::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent *a0)
{
    (sipSelfWasArg ? QWidget::wheelEvent(a0) : wheelEvent(a0));
}

void sipKMimeTypeChooser::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent *a0)
{
    (sipSelfWasArg ? QWidget::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipKMimeTypeChooser::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent *a0)
{
    (sipSelfWasArg ? QWidget::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipKMimeTypeChooser::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent *a0)
{
    (sipSelfWasArg ? QWidget::focusInEvent(a0) : focusInEvent(a0));
}

void sipKMimeTypeChooser::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent *a0)
{
    (sipSelfWasArg ? QWidget::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipKMimeTypeChooser::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipKMimeTypeChooser::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipKMimeTypeChooser::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent *a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipKMimeTypeChooser::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent *a0)
{
    (sipSelfWasArg ? QWidget::resizeEvent(a0) : resizeEvent(a0));
}

void sipKMimeTypeChooser::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent *a0)
{
    (sipSelfWasArg ? QWidget::closeEvent(a0) : closeEvent(a0));
}

void sipKMimeTypeChooser::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent *a0)
{
    (sipSelfWasArg ? QWidget::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipKMimeTypeChooser::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent *a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipKMimeTypeChooser::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent *a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipKMimeTypeChooser::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent *a0)
{
    (sipSelfWasArg ? QWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipKMimeTypeChooser::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent *a0)
{
    (sipSelfWasArg ? QWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipKMimeTypeChooser::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent *a0)
{
    (sipSelfWasArg ? QWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipKMimeTypeChooser::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent *a0)
{
    (sipSelfWasArg ? QWidget::dropEvent(a0) : dropEvent(a0));
}

void sipKMimeTypeChooser::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent *a0)
{
    (sipSelfWasArg ? QWidget::showEvent(a0) : showEvent(a0));
}

void sipKMimeTypeChooser::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent *a0)
{
    (sipSelfWasArg ? QWidget::hideEvent(a0) : hideEvent(a0));
}

int sipKMimeTypeChooser::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipKMimeTypeChooser::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent *a0)
{
    (sipSelfWasArg ? QWidget::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipKMimeTypeChooser::sipProtect_resetInputContext()
{
    QWidget::resetInputContext();
}

void sipKMimeTypeChooser::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipKMimeTypeChooser::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipKMimeTypeChooser::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipKMimeTypeChooser::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

bool sipKMimeTypeChooser::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipKMimeTypeChooser::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

void sipKMimeTypeChooser::sipProtectVirt_enabledChange(bool sipSelfWasArg,bool a0)
{
    (sipSelfWasArg ? QWidget::enabledChange(a0) : enabledChange(a0));
}

void sipKMimeTypeChooser::sipProtectVirt_paletteChange(bool sipSelfWasArg,const QPalette& a0)
{
    (sipSelfWasArg ? QWidget::paletteChange(a0) : paletteChange(a0));
}

void sipKMimeTypeChooser::sipProtectVirt_fontChange(bool sipSelfWasArg,const QFont& a0)
{
    (sipSelfWasArg ? QWidget::fontChange(a0) : fontChange(a0));
}

void sipKMimeTypeChooser::sipProtectVirt_windowActivationChange(bool sipSelfWasArg,bool a0)
{
    (sipSelfWasArg ? QWidget::windowActivationChange(a0) : windowActivationChange(a0));
}

void sipKMimeTypeChooser::sipProtectVirt_languageChange(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QWidget::languageChange() : languageChange());
}

bool sipKMimeTypeChooser::sipProtectVirt_event(bool sipSelfWasArg,QEvent *a0)
{
    return (sipSelfWasArg ? QFrame::event(a0) : event(a0));
}

void sipKMimeTypeChooser::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent *a0)
{
    (sipSelfWasArg ? QFrame::paintEvent(a0) : paintEvent(a0));
}

void sipKMimeTypeChooser::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QFrame::changeEvent(a0) : changeEvent(a0));
}

void sipKMimeTypeChooser::sipProtect_drawFrame(QPainter *a0)
{
    QFrame::drawFrame(a0);
}

void sipKMimeTypeChooser::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent *a0)
{
    (sipSelfWasArg ? KHBox::childEvent(a0) : childEvent(a0));
}


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

    {
        char * a0;
        sipKMimeTypeChooser *sipCpp;

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

#line 462 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
#line 5363 "sipkiopart2.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QTimerEvent * a0;
        sipKMimeTypeChooser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KMimeTypeChooser,&sipCpp,sipType_QTimerEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipKMimeTypeChooser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KMimeTypeChooser,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipKMimeTypeChooser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KMimeTypeChooser,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipKMimeTypeChooser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KMimeTypeChooser,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QMouseEvent * a0;
        sipKMimeTypeChooser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KMimeTypeChooser,&sipCpp,sipType_QMouseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QMouseEvent * a0;
        sipKMimeTypeChooser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KMimeTypeChooser,&sipCpp,sipType_QMouseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QMouseEvent * a0;
        sipKMimeTypeChooser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KMimeTypeChooser,&sipCpp,sipType_QMouseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QMouseEvent * a0;
        sipKMimeTypeChooser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KMimeTypeChooser,&sipCpp,sipType_QMouseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QWheelEvent * a0;
        sipKMimeTypeChooser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KMimeTypeChooser,&sipCpp,sipType_QWheelEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QKeyEvent * a0;
        sipKMimeTypeChooser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KMimeTypeChooser,&sipCpp,sipType_QKeyEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QKeyEvent * a0;
        sipKMimeTypeChooser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KMimeTypeChooser,&sipCpp,sipType_QKeyEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QFocusEvent * a0;
        sipKMimeTypeChooser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KMimeTypeChooser,&sipCpp,sipType_QFocusEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QFocusEvent * a0;
        sipKMimeTypeChooser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KMimeTypeChooser,&sipCpp,sipType_QFocusEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipKMimeTypeChooser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KMimeTypeChooser,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipKMimeTypeChooser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KMimeTypeChooser,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QMoveEvent * a0;
        sipKMimeTypeChooser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KMimeTypeChooser,&sipCpp,sipType_QMoveEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QResizeEvent * a0;
        sipKMimeTypeChooser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KMimeTypeChooser,&sipCpp,sipType_QResizeEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QCloseEvent * a0;
        sipKMimeTypeChooser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KMimeTypeChooser,&sipCpp,sipType_QCloseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QContextMenuEvent * a0;
        sipKMimeTypeChooser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KMimeTypeChooser,&sipCpp,sipType_QContextMenuEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QTabletEvent * a0;
        sipKMimeTypeChooser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KMimeTypeChooser,&sipCpp,sipType_QTabletEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QActionEvent * a0;
        sipKMimeTypeChooser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KMimeTypeChooser,&sipCpp,sipType_QActionEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QDragEnterEvent * a0;
        sipKMimeTypeChooser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KMimeTypeChooser,&sipCpp,sipType_QDragEnterEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QDragMoveEvent * a0;
        sipKMimeTypeChooser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KMimeTypeChooser,&sipCpp,sipType_QDragMoveEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QDragLeaveEvent * a0;
        sipKMimeTypeChooser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KMimeTypeChooser,&sipCpp,sipType_QDragLeaveEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QDropEvent * a0;
        sipKMimeTypeChooser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KMimeTypeChooser,&sipCpp,sipType_QDropEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QShowEvent * a0;
        sipKMimeTypeChooser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KMimeTypeChooser,&sipCpp,sipType_QShowEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QHideEvent * a0;
        sipKMimeTypeChooser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KMimeTypeChooser,&sipCpp,sipType_QHideEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QPaintDevice::PaintDeviceMetric a0;
        sipKMimeTypeChooser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pE",&sipSelf,sipType_KMimeTypeChooser,&sipCpp,sipType_QPaintDevice_PaintDeviceMetric,&a0))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QInputMethodEvent * a0;
        sipKMimeTypeChooser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KMimeTypeChooser,&sipCpp,sipType_QInputMethodEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipKMimeTypeChooser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KMimeTypeChooser,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_resetInputContext();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipKMimeTypeChooser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KMimeTypeChooser,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_updateMicroFocus();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p|mbb",&sipSelf,sipType_KMimeTypeChooser,&sipCpp,&a0,&a1,&a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_create(a0,a1,a2);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p|bb",&sipSelf,sipType_KMimeTypeChooser,&sipCpp,&a0,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_destroy(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        sipKMimeTypeChooser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_KMimeTypeChooser,&sipCpp,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        sipKMimeTypeChooser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KMimeTypeChooser,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_focusNextChild();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        sipKMimeTypeChooser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KMimeTypeChooser,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_focusPreviousChild();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        sipKMimeTypeChooser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_KMimeTypeChooser,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_enabledChange(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QPalette * a0;
        sipKMimeTypeChooser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&sipSelf,sipType_KMimeTypeChooser,&sipCpp,sipType_QPalette,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_paletteChange(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QFont * a0;
        sipKMimeTypeChooser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&sipSelf,sipType_KMimeTypeChooser,&sipCpp,sipType_QFont,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_fontChange(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        sipKMimeTypeChooser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_KMimeTypeChooser,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_windowActivationChange(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipKMimeTypeChooser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KMimeTypeChooser,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_languageChange(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipKMimeTypeChooser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KMimeTypeChooser,&sipCpp,sipType_QEvent,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QPaintEvent * a0;
        sipKMimeTypeChooser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KMimeTypeChooser,&sipCpp,sipType_QPaintEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipKMimeTypeChooser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KMimeTypeChooser,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QPainter * a0;
        sipKMimeTypeChooser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KMimeTypeChooser,&sipCpp,sipType_QPainter,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_drawFrame(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QChildEvent * a0;
        sipKMimeTypeChooser *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KMimeTypeChooser,&sipCpp,sipType_QChildEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KMimeTypeChooser *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        KMimeTypeChooser *sipCpp;

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

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

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

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

    return NULL;
}


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

    if (targetType == sipType_KMimeTypeChooser)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KVBox)->ctd_cast((KVBox *)(KMimeTypeChooser *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKMimeTypeChooser *>(sipCppV);
    else
        delete reinterpret_cast<KMimeTypeChooser *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KMimeTypeChooser(sipSimpleWrapper *);}
static void dealloc_KMimeTypeChooser(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKMimeTypeChooser *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

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


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

    if (!sipCpp)
    {
        const QString& a0def = QString();
        const QString * a0 = &a0def;
        int a0State = 0;
        const QStringList& a1def = QStringList();
        const QStringList * a1 = &a1def;
        int a1State = 0;
        const QString& a2def = QString();
        const QString * a2 = &a2def;
        int a2State = 0;
        const QStringList& a3def = QStringList();
        const QStringList * a3 = &a3def;
        int a3State = 0;
        int a4 = KMimeTypeChooser::Comments | KMimeTypeChooser::Patterns | KMimeTypeChooser::EditButton;
        QWidget * a5 = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"|J1J1J1J1iJH",sipType_QString,&a0,&a0State,sipType_QStringList,&a1,&a1State,sipType_QString,&a2,&a2State,sipType_QStringList,&a3,&a3State,&a4,sipType_QWidget,&a5,sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKMimeTypeChooser(*a0,*a1,*a2,*a3,a4,a5);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QStringList *>(a1),sipType_QStringList,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast<QStringList *>(a3),sipType_QStringList,a3State);
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KMimeTypeChooser[] = {{296, 6, 1}};


static PyMethodDef methods_KMimeTypeChooser[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), meth_KMimeTypeChooser_actionEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_changeEvent), meth_KMimeTypeChooser_changeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_KMimeTypeChooser_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), meth_KMimeTypeChooser_closeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KMimeTypeChooser_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), meth_KMimeTypeChooser_contextMenuEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_create), meth_KMimeTypeChooser_create, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KMimeTypeChooser_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), meth_KMimeTypeChooser_destroy, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KMimeTypeChooser_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), meth_KMimeTypeChooser_dragEnterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), meth_KMimeTypeChooser_dragLeaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), meth_KMimeTypeChooser_dragMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_drawFrame), meth_KMimeTypeChooser_drawFrame, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), meth_KMimeTypeChooser_dropEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enabledChange), meth_KMimeTypeChooser_enabledChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), meth_KMimeTypeChooser_enterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_event), meth_KMimeTypeChooser_event, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), meth_KMimeTypeChooser_focusInEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), meth_KMimeTypeChooser_focusNextChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), meth_KMimeTypeChooser_focusNextPrevChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), meth_KMimeTypeChooser_focusOutEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), meth_KMimeTypeChooser_focusPreviousChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fontChange), meth_KMimeTypeChooser_fontChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), meth_KMimeTypeChooser_hideEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), meth_KMimeTypeChooser_inputMethodEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), meth_KMimeTypeChooser_keyPressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), meth_KMimeTypeChooser_keyReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_languageChange), meth_KMimeTypeChooser_languageChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), meth_KMimeTypeChooser_leaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_metric), meth_KMimeTypeChooser_metric, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mimeTypes), meth_KMimeTypeChooser_mimeTypes, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), meth_KMimeTypeChooser_mouseDoubleClickEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), meth_KMimeTypeChooser_mouseMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), meth_KMimeTypeChooser_mousePressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), meth_KMimeTypeChooser_mouseReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), meth_KMimeTypeChooser_moveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), meth_KMimeTypeChooser_paintEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paletteChange), meth_KMimeTypeChooser_paletteChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_patterns), meth_KMimeTypeChooser_patterns, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_KMimeTypeChooser_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resetInputContext), meth_KMimeTypeChooser_resetInputContext, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_KMimeTypeChooser_resizeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), meth_KMimeTypeChooser_showEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_tabletEvent), meth_KMimeTypeChooser_tabletEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KMimeTypeChooser_timerEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), meth_KMimeTypeChooser_updateMicroFocus, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), meth_KMimeTypeChooser_wheelEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_windowActivationChange), meth_KMimeTypeChooser_windowActivationChange, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KMimeTypeChooser[] = {
    {sipName_Comments, KMimeTypeChooser::Comments, 172},
    {sipName_EditButton, KMimeTypeChooser::EditButton, 172},
    {sipName_Patterns, KMimeTypeChooser::Patterns, 172},
};


pyqt4ClassTypeDef pyqt4Type_kio_KMimeTypeChooser = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KMimeTypeChooser,
        {0}
    },
    sipNameNr_KMimeTypeChooser,
    -1,
    -1,
    {0, 0, 1},
    supers_KMimeTypeChooser,
    0,
    49, methods_KMimeTypeChooser,
    3, enummembers_KMimeTypeChooser,
    0, 0,
    init_KMimeTypeChooser,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KMimeTypeChooser,
    release_KMimeTypeChooser,
    cast_KMimeTypeChooser,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KMimeTypeChooser::staticMetaObject,
    0,
    0
};


#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 6911 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 6914 "sipkiopart2.cpp"


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

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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = KImageIO::isSupported(*a0,a1);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

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

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

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

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

    return NULL;
}


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

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

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

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

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

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

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;

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

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

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

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

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

    return NULL;
}


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

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

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

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

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

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

    return NULL;
}


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

static sipEnumMemberDef enummembers_KImageIO[] = {
    {sipName_Reading, KImageIO::Reading, 170},
    {sipName_Writing, KImageIO::Writing, 170},
};


pyqt4ClassTypeDef pyqt4Type_kio_KImageIO = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_NAMESPACE,
        sipNameNr_KImageIO,
        {0}
    },
    sipNameNr_KImageIO,
    -1,
    -1,
    {0, 0, 1},
    0,
    0,
    5, methods_KImageIO,
    2, enummembers_KImageIO,
    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,
    0
},
    0,
    0,
    0,
    0
};

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kfilewriteplugin.sip"
#include <kfilewriteplugin.h>
#line 7120 "sipkiopart2.cpp"

#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 7124 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 7127 "sipkiopart2.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 7130 "sipkiopart2.cpp"
#line 43 "/usr/local/share/py-sip/QtCore/qmap.sip"
#include <qmap.h>
#line 154 "/usr/local/share/py-sip/QtCore/qmap.sip"
#include <qmap.h>
#line 7135 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 7138 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 7141 "sipkiopart2.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7144 "sipkiopart2.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7147 "sipkiopart2.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7150 "sipkiopart2.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 7181 "sipkiopart2.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 7184 "sipkiopart2.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 7187 "sipkiopart2.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 7190 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 7193 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 7196 "sipkiopart2.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7199 "sipkiopart2.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 7202 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 7205 "sipkiopart2.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 7208 "sipkiopart2.cpp"


class sipKFileWritePlugin : public KFileWritePlugin
{
public:
    sipKFileWritePlugin(QObject *,const QStringList&);
    virtual ~sipKFileWritePlugin();

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

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    bool canWrite(const KUrl&,const QString&);
    bool write(const KUrl&,const QVariantMap&);
    bool event(QEvent *);
    bool eventFilter(QObject *,QEvent *);
    void timerEvent(QTimerEvent *);
    void childEvent(QChildEvent *);
    void customEvent(QEvent *);
    void connectNotify(const char *);
    void disconnectNotify(const char *);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[9];
};

sipKFileWritePlugin::sipKFileWritePlugin(QObject *a0,const QStringList& a1): KFileWritePlugin(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipKFileWritePlugin::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KFileWritePlugin);
}

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

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

    return _id;
}

void *sipKFileWritePlugin::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast && sip_kio_qt_metacast(sipPySelf,sipType_KFileWritePlugin,_clname)) ? this : KFileWritePlugin::qt_metacast(_clname);
}

bool sipKFileWritePlugin::canWrite(const KUrl& a0,const QString& a1)
{
    extern bool sipVH_kio_30(sip_gilstate_t,PyObject *,const KUrl&,const QString&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,sipName_KFileWritePlugin,sipName_canWrite);

    if (!meth)
        return 0;

    return sipVH_kio_30(sipGILState,meth,a0,a1);
}

bool sipKFileWritePlugin::write(const KUrl& a0,const QVariantMap& a1)
{
    extern bool sipVH_kio_29(sip_gilstate_t,PyObject *,const KUrl&,const QMap<QString,QVariant>&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,sipName_KFileWritePlugin,sipName_write);

    if (!meth)
        return 0;

    return sipVH_kio_29(sipGILState,meth,a0,a1);
}

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

int sipKFileWritePlugin::sipProtect_receivers(const char *a0) const
{
    return QObject::receivers(a0);
}

void sipKFileWritePlugin::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipKFileWritePlugin::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent *a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipKFileWritePlugin::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipKFileWritePlugin::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipKFileWritePlugin::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}


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

    {
        char * a0;
        sipKFileWritePlugin *sipCpp;

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

#line 462 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
#line 7493 "sipkiopart2.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QTimerEvent * a0;
        sipKFileWritePlugin *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KFileWritePlugin,&sipCpp,sipType_QTimerEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QChildEvent * a0;
        sipKFileWritePlugin *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KFileWritePlugin,&sipCpp,sipType_QChildEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipKFileWritePlugin *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KFileWritePlugin,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipKFileWritePlugin *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KFileWritePlugin,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipKFileWritePlugin *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KFileWritePlugin,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KUrl * a0;
        const QString * a1;
        int a1State = 0;
        KFileWritePlugin *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9J1",&sipSelf,sipType_KFileWritePlugin,&sipCpp,sipType_KUrl,&a0,sipType_QString,&a1,&a1State))
        {
            bool sipRes;

            if (sipSelfWasArg)
            {
                sipAbstractMethod(sipName_KFileWritePlugin, sipName_canWrite);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->canWrite(*a0,*a1);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KUrl * a0;
        const QVariantMap * a1;
        int a1State = 0;
        KFileWritePlugin *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9J1",&sipSelf,sipType_KFileWritePlugin,&sipCpp,sipType_KUrl,&a0,sipType_QMap_0200QString_0200QVariant,&a1,&a1State))
        {
            bool sipRes;

            if (sipSelfWasArg)
            {
                sipAbstractMethod(sipName_KFileWritePlugin, sipName_write);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->write(*a0,*a1);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QVariantMap *>(a1),sipType_QMap_0200QString_0200QVariant,a1State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_KFileWritePlugin)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(KFileWritePlugin *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKFileWritePlugin *>(sipCppV);
    else
        delete reinterpret_cast<KFileWritePlugin *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KFileWritePlugin(sipSimpleWrapper *);}
static void dealloc_KFileWritePlugin(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKFileWritePlugin *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

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


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

    if (!sipCpp)
    {
        QObject * a0;
        const QStringList * a1;
        int a1State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"JHJ1",sipType_QObject,&a0,sipOwner,sipType_QStringList,&a1,&a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKFileWritePlugin(a0,*a1);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QStringList *>(a1),sipType_QStringList,a1State);
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KFileWritePlugin[] = {{111, 0, 1}};


static PyMethodDef methods_KFileWritePlugin[] = {
    {SIP_MLNAME_CAST(sipName_canWrite), meth_KFileWritePlugin_canWrite, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_KFileWritePlugin_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KFileWritePlugin_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KFileWritePlugin_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KFileWritePlugin_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_KFileWritePlugin_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KFileWritePlugin_timerEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_write), meth_KFileWritePlugin_write, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_kio_KFileWritePlugin = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KFileWritePlugin,
        {0}
    },
    sipNameNr_KFileWritePlugin,
    -1,
    -1,
    {0, 0, 1},
    supers_KFileWritePlugin,
    0,
    8, methods_KFileWritePlugin,
    0, 0,
    0, 0,
    init_KFileWritePlugin,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KFileWritePlugin,
    release_KFileWritePlugin,
    cast_KFileWritePlugin,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KFileWritePlugin::staticMetaObject,
    0,
    0
};


#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 7860 "sipkiopart2.cpp"


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

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KFileShare::nfsEnabled();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipArgsParsed,sipName_nfsEnabled);

    return NULL;
}


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

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KFileShare::sambaEnabled();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipArgsParsed,sipName_sambaEnabled);

    return NULL;
}


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

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            KFileShare::ShareMode sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KFileShare::shareMode();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KFileShare_ShareMode);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipArgsParsed,sipName_shareMode);

    return NULL;
}


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

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KFileShare::fileShareGroup());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipArgsParsed,sipName_fileShareGroup);

    return NULL;
}


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

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KFileShare::isRestricted();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipArgsParsed,sipName_isRestricted);

    return NULL;
}


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

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KFileShare::sharingEnabled();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipArgsParsed,sipName_sharingEnabled);

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;
        bool a1;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J1b",sipType_QString,&a0,&a0State,&a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KFileShare::setShared(*a0,a1);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipArgsParsed,sipName_setShared);

    return NULL;
}


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

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            KFileShare::Authorization sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KFileShare::authorization();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KFileShare_Authorization);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipArgsParsed,sipName_authorization);

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J1",sipType_QString,&a0,&a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KFileShare::isDirectoryShared(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipArgsParsed,sipName_isDirectoryShared);

    return NULL;
}


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

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            Py_BEGIN_ALLOW_THREADS
            KFileShare::readShareList();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipArgsParsed,sipName_readShareList);

    return NULL;
}


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

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            Py_BEGIN_ALLOW_THREADS
            KFileShare::readConfig();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipArgsParsed,sipName_readConfig);

    return NULL;
}


static PyMethodDef methods_KFileShare[] = {
    {SIP_MLNAME_CAST(sipName_authorization), meth_KFileShare_authorization, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fileShareGroup), meth_KFileShare_fileShareGroup, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isDirectoryShared), meth_KFileShare_isDirectoryShared, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isRestricted), meth_KFileShare_isRestricted, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_nfsEnabled), meth_KFileShare_nfsEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readConfig), meth_KFileShare_readConfig, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readShareList), meth_KFileShare_readShareList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sambaEnabled), meth_KFileShare_sambaEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setShared), meth_KFileShare_setShared, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_shareMode), meth_KFileShare_shareMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sharingEnabled), meth_KFileShare_sharingEnabled, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KFileShare[] = {
    {sipName_Advanced, KFileShare::Advanced, 89},
    {sipName_Authorized, KFileShare::Authorized, 88},
    {sipName_ErrorNotFound, KFileShare::ErrorNotFound, 88},
    {sipName_NotInitialized, KFileShare::NotInitialized, 88},
    {sipName_Simple, KFileShare::Simple, 89},
    {sipName_UserNotAllowed, KFileShare::UserNotAllowed, 88},
};


pyqt4ClassTypeDef pyqt4Type_kio_KFileShare = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_NAMESPACE,
        sipNameNr_KFileShare,
        {0}
    },
    sipNameNr_KFileShare,
    -1,
    -1,
    {0, 0, 1},
    0,
    0,
    11, methods_KFileShare,
    6, enummembers_KFileShare,
    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,
    0
},
    0,
    0,
    0,
    0
};

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kfilemetainfoitem.sip"
#include <kfilemetainfoitem.h>
#line 8218 "sipkiopart2.cpp"

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/predicateproperties.sip"
#include <predicateproperties.h>
#line 8222 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 8225 "sipkiopart2.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kfilewriteplugin.sip"
#include <kfilewriteplugin.h>
#line 8228 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 8231 "sipkiopart2.cpp"


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

    {
        KFileMetaInfoItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KFileMetaInfoItem,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isEditable();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KFileMetaInfoItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KFileMetaInfoItem,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isRemoved();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KFileMetaInfoItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KFileMetaInfoItem,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isModified();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KFileMetaInfoItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KFileMetaInfoItem,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isSkipped();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KFileMetaInfoItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KFileMetaInfoItem,&sipCpp))
        {
            QVariant *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant(sipCpp->value());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const QVariant * a0;
        int a0State = 0;
        KFileMetaInfoItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KFileMetaInfoItem,&sipCpp,sipType_QVariant,&a0,&a0State))
        {
            bool sipRes;

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

            sipReleaseType(const_cast<QVariant *>(a0),sipType_QVariant,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const QVariant * a0;
        int a0State = 0;
        KFileMetaInfoItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KFileMetaInfoItem,&sipCpp,sipType_QVariant,&a0,&a0State))
        {
            bool sipRes;

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

            sipReleaseType(const_cast<QVariant *>(a0),sipType_QVariant,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KFileMetaInfoItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KFileMetaInfoItem,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isValid();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KFileMetaInfoItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KFileMetaInfoItem,&sipCpp))
        {
            PredicateProperties *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new PredicateProperties(sipCpp->properties());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KFileMetaInfoItem *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        KFileMetaInfoItem *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        KFileMetaInfoItem *sipCpp;

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

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

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

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

    return NULL;
}


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

    return NULL;
}


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

    delete reinterpret_cast<KFileMetaInfoItem *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KFileMetaInfoItem(void *, const void*);}
static void assign_KFileMetaInfoItem(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<KFileMetaInfoItem *>(sipDst) = *reinterpret_cast<const KFileMetaInfoItem *>(sipSrc);
}


extern "C" {static void dealloc_KFileMetaInfoItem(sipSimpleWrapper *);}
static void dealloc_KFileMetaInfoItem(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KFileMetaInfoItem(sipSelf->u.cppPtr,0);
    }
}


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

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

    if (!sipCpp)
    {
        const KFileMetaInfoItem * a0;

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

    return sipCpp;
}


static PyMethodDef methods_KFileMetaInfoItem[] = {
    {SIP_MLNAME_CAST(sipName_addValue), meth_KFileMetaInfoItem_addValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isEditable), meth_KFileMetaInfoItem_isEditable, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isModified), meth_KFileMetaInfoItem_isModified, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isRemoved), meth_KFileMetaInfoItem_isRemoved, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isSkipped), meth_KFileMetaInfoItem_isSkipped, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isValid), meth_KFileMetaInfoItem_isValid, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_name), meth_KFileMetaInfoItem_name, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_prefix), meth_KFileMetaInfoItem_prefix, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_properties), meth_KFileMetaInfoItem_properties, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setValue), meth_KFileMetaInfoItem_setValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_suffix), meth_KFileMetaInfoItem_suffix, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_value), meth_KFileMetaInfoItem_value, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_kio_KFileMetaInfoItem = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KFileMetaInfoItem,
        {0}
    },
    sipNameNr_KFileMetaInfoItem,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {0, 0, 1},
    0,
    0,
    12, methods_KFileMetaInfoItem,
    0, 0,
    0, 0,
    init_KFileMetaInfoItem,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KFileMetaInfoItem,
    release_KFileMetaInfoItem,
    cast_KFileMetaInfoItem,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_KFileMetaInfoItem,
    0,
    0,
    0
};

#line 37 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kfilemetainfo.sip"
#include <kfilemetainfo.h>
#line 8700 "sipkiopart2.cpp"

#line 37 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kfilemetainfo.sip"
#include <kfilemetainfo.h>
#line 8704 "sipkiopart2.cpp"


extern "C" {static int slot_KFileMetaInfo_WhatFlags___bool__(PyObject *sipSelf);}
static int slot_KFileMetaInfo_WhatFlags___bool__(PyObject *sipSelf)
{
    KFileMetaInfo::WhatFlags *sipCpp = reinterpret_cast<KFileMetaInfo::WhatFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KFileMetaInfo_WhatFlags));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 271 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() != 0);
#line 8722 "sipkiopart2.cpp"

            return sipRes;
        }
    }
}


extern "C" {static PyObject *slot_KFileMetaInfo_WhatFlags___ne__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_KFileMetaInfo_WhatFlags___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    KFileMetaInfo::WhatFlags *sipCpp = reinterpret_cast<KFileMetaInfo::WhatFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KFileMetaInfo_WhatFlags));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        const KFileMetaInfo::WhatFlags * a0;
        int a0State = 0;

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

#line 266 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() != a0->operator int());
#line 8750 "sipkiopart2.cpp"

            sipReleaseType(const_cast<KFileMetaInfo::WhatFlags *>(a0),sipType_KFileMetaInfo_WhatFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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


extern "C" {static PyObject *slot_KFileMetaInfo_WhatFlags___eq__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_KFileMetaInfo_WhatFlags___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    KFileMetaInfo::WhatFlags *sipCpp = reinterpret_cast<KFileMetaInfo::WhatFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KFileMetaInfo_WhatFlags));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        const KFileMetaInfo::WhatFlags * a0;
        int a0State = 0;

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

#line 261 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() == a0->operator int());
#line 8782 "sipkiopart2.cpp"

            sipReleaseType(const_cast<KFileMetaInfo::WhatFlags *>(a0),sipType_KFileMetaInfo_WhatFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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


extern "C" {static PyObject *slot_KFileMetaInfo_WhatFlags___invert__(PyObject *sipSelf);}
static PyObject *slot_KFileMetaInfo_WhatFlags___invert__(PyObject *sipSelf)
{
    KFileMetaInfo::WhatFlags *sipCpp = reinterpret_cast<KFileMetaInfo::WhatFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KFileMetaInfo_WhatFlags));

    if (!sipCpp)
        return 0;


    {
        {
            KFileMetaInfo::WhatFlags *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KFileMetaInfo::WhatFlags(~(*sipCpp));
            Py_END_ALLOW_THREADS

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


extern "C" {static PyObject *slot_KFileMetaInfo_WhatFlags___and__(PyObject *sipArg0,PyObject *sipArg1);}
static PyObject *slot_KFileMetaInfo_WhatFlags___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    int sipArgsParsed = 0;

    {
        KFileMetaInfo::WhatFlags * a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipArgsParsed,sipArg0,sipArg1,"J1i",sipType_KFileMetaInfo_WhatFlags,&a0,&a0State,&a1))
        {
            KFileMetaInfo::WhatFlags *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KFileMetaInfo::WhatFlags((*a0 & a1));
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_KFileMetaInfo_WhatFlags,a0State);

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

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


extern "C" {static PyObject *slot_KFileMetaInfo_WhatFlags___xor__(PyObject *sipArg0,PyObject *sipArg1);}
static PyObject *slot_KFileMetaInfo_WhatFlags___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    int sipArgsParsed = 0;

    {
        KFileMetaInfo::WhatFlags * a0;
        int a0State = 0;
        KFileMetaInfo::WhatFlags * a1;
        int a1State = 0;

        if (sipParsePair(&sipArgsParsed,sipArg0,sipArg1,"J1J1",sipType_KFileMetaInfo_WhatFlags,&a0,&a0State,sipType_KFileMetaInfo_WhatFlags,&a1,&a1State))
        {
            KFileMetaInfo::WhatFlags *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KFileMetaInfo::WhatFlags((*a0 ^ *a1));
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_KFileMetaInfo_WhatFlags,a0State);
            sipReleaseType(a1,sipType_KFileMetaInfo_WhatFlags,a1State);

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

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


extern "C" {static PyObject *slot_KFileMetaInfo_WhatFlags___or__(PyObject *sipArg0,PyObject *sipArg1);}
static PyObject *slot_KFileMetaInfo_WhatFlags___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    int sipArgsParsed = 0;

    {
        KFileMetaInfo::WhatFlags * a0;
        int a0State = 0;
        KFileMetaInfo::WhatFlags * a1;
        int a1State = 0;

        if (sipParsePair(&sipArgsParsed,sipArg0,sipArg1,"J1J1",sipType_KFileMetaInfo_WhatFlags,&a0,&a0State,sipType_KFileMetaInfo_WhatFlags,&a1,&a1State))
        {
            KFileMetaInfo::WhatFlags *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KFileMetaInfo::WhatFlags((*a0 | *a1));
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_KFileMetaInfo_WhatFlags,a0State);
            sipReleaseType(a1,sipType_KFileMetaInfo_WhatFlags,a1State);

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

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


extern "C" {static PyObject *slot_KFileMetaInfo_WhatFlags___int__(PyObject *sipSelf);}
static PyObject *slot_KFileMetaInfo_WhatFlags___int__(PyObject *sipSelf)
{
    KFileMetaInfo::WhatFlags *sipCpp = reinterpret_cast<KFileMetaInfo::WhatFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KFileMetaInfo_WhatFlags));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }
}


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

    KFileMetaInfo::WhatFlags *sipCpp = reinterpret_cast<KFileMetaInfo::WhatFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KFileMetaInfo_WhatFlags));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        KFileMetaInfo::WhatFlags * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1J1",sipType_KFileMetaInfo_WhatFlags,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KFileMetaInfo::WhatFlags::operator^=(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_KFileMetaInfo_WhatFlags,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    KFileMetaInfo::WhatFlags *sipCpp = reinterpret_cast<KFileMetaInfo::WhatFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KFileMetaInfo_WhatFlags));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        KFileMetaInfo::WhatFlags * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1J1",sipType_KFileMetaInfo_WhatFlags,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KFileMetaInfo::WhatFlags::operator|=(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_KFileMetaInfo_WhatFlags,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    KFileMetaInfo::WhatFlags *sipCpp = reinterpret_cast<KFileMetaInfo::WhatFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KFileMetaInfo_WhatFlags));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        int a0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1i",&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KFileMetaInfo::WhatFlags::operator&=(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    return NULL;
}


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

    delete reinterpret_cast<KFileMetaInfo::WhatFlags *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KFileMetaInfo_WhatFlags(void *, const void*);}
static void assign_KFileMetaInfo_WhatFlags(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<KFileMetaInfo::WhatFlags *>(sipDst) = *reinterpret_cast<const KFileMetaInfo::WhatFlags *>(sipSrc);
}


extern "C" {static void dealloc_KFileMetaInfo_WhatFlags(sipSimpleWrapper *);}
static void dealloc_KFileMetaInfo_WhatFlags(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KFileMetaInfo_WhatFlags(sipSelf->u.cppPtr,0);
    }
}


extern "C" {static void *init_KFileMetaInfo_WhatFlags(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KFileMetaInfo_WhatFlags(sipSimpleWrapper *, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    KFileMetaInfo::WhatFlags *sipCpp = 0;

    if (!sipCpp)
    {
        const KFileMetaInfo::WhatFlags * a0;
        int a0State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J1",sipType_KFileMetaInfo_WhatFlags,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KFileMetaInfo::WhatFlags(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<KFileMetaInfo::WhatFlags *>(a0),sipType_KFileMetaInfo_WhatFlags,a0State);
        }
    }

    if (!sipCpp)
    {
        int a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"i",&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KFileMetaInfo::WhatFlags(a0);
            Py_END_ALLOW_THREADS
        }
    }

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

    return sipCpp;
}


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

#line 276 "/usr/local/share/py-sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a KFileMetaInfo::WhatFlags is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KFileMetaInfo_What)) ||
            sipCanConvertToType(sipPy, sipType_KFileMetaInfo_WhatFlags, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KFileMetaInfo_What)))
{
    *sipCppPtr = new KFileMetaInfo::WhatFlags(SIPLong_AsLong(sipPy));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<KFileMetaInfo::WhatFlags *>(sipConvertToType(sipPy, sipType_KFileMetaInfo_WhatFlags, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 9153 "sipkiopart2.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_KFileMetaInfo_WhatFlags[] = {
    {(void *)slot_KFileMetaInfo_WhatFlags___bool__, bool_slot},
    {(void *)slot_KFileMetaInfo_WhatFlags___ne__, ne_slot},
    {(void *)slot_KFileMetaInfo_WhatFlags___eq__, eq_slot},
    {(void *)slot_KFileMetaInfo_WhatFlags___invert__, invert_slot},
    {(void *)slot_KFileMetaInfo_WhatFlags___and__, and_slot},
    {(void *)slot_KFileMetaInfo_WhatFlags___xor__, xor_slot},
    {(void *)slot_KFileMetaInfo_WhatFlags___or__, or_slot},
    {(void *)slot_KFileMetaInfo_WhatFlags___int__, int_slot},
    {(void *)slot_KFileMetaInfo_WhatFlags___ixor__, ixor_slot},
    {(void *)slot_KFileMetaInfo_WhatFlags___ior__, ior_slot},
    {(void *)slot_KFileMetaInfo_WhatFlags___iand__, iand_slot},
    {0, (sipPySlotType)0}
};


pyqt4ClassTypeDef pyqt4Type_kio_KFileMetaInfo_WhatFlags = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KFileMetaInfo__WhatFlags,
        {0}
    },
    sipNameNr_WhatFlags,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {79, 255, 0},
    0,
    slots_KFileMetaInfo_WhatFlags,
    0, 0,
    0, 0,
    0, 0,
    init_KFileMetaInfo_WhatFlags,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KFileMetaInfo_WhatFlags,
    release_KFileMetaInfo_WhatFlags,
    cast_KFileMetaInfo_WhatFlags,
    convertTo_KFileMetaInfo_WhatFlags,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_KFileMetaInfo_WhatFlags,
    0,
    1,
    0
};

#line 37 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kfilemetainfo.sip"
#include <kfilemetainfo.h>
#line 9221 "sipkiopart2.cpp"

#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 9225 "sipkiopart2.cpp"
#line 37 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kfilemetainfo.sip"
#include <kfilemetainfo.h>
#line 9228 "sipkiopart2.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 9231 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 9234 "sipkiopart2.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kfilemetainfoitem.sip"
#include <kfilemetainfoitem.h>
#line 9237 "sipkiopart2.cpp"
#line 43 "/usr/local/share/py-sip/QtCore/qhash.sip"
#include <qhash.h>
#line 9240 "sipkiopart2.cpp"


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

    {
        KFileMetaInfo *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KFileMetaInfo,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->applyChanges();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KFileMetaInfo_items(PyObject *, PyObject *);}
static PyObject *meth_KFileMetaInfo_items(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KFileMetaInfo *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KFileMetaInfo,&sipCpp))
        {
            QHash<QString,KFileMetaInfoItem> *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QHash<QString,KFileMetaInfoItem>(sipCpp->items());
            Py_END_ALLOW_THREADS

            PyObject *sipResObj = sipConvertFromType(sipRes,sipType_QHash_0200QString_0200KFileMetaInfoItem,NULL);
            delete sipRes;

            return sipResObj;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KFileMetaInfo,sipName_items);

    return NULL;
}


extern "C" {static PyObject *meth_KFileMetaInfo_item(PyObject *, PyObject *);}
static PyObject *meth_KFileMetaInfo_item(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        KFileMetaInfo *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KFileMetaInfo,&sipCpp,sipType_QString,&a0,&a0State))
        {
            KFileMetaInfoItem *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &sipCpp->item(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromType(sipRes,sipType_KFileMetaInfoItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KFileMetaInfo,sipName_item);

    return NULL;
}


extern "C" {static PyObject *meth_KFileMetaInfo_isValid(PyObject *, PyObject *);}
static PyObject *meth_KFileMetaInfo_isValid(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KFileMetaInfo *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KFileMetaInfo,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isValid();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KFileMetaInfo,sipName_isValid);

    return NULL;
}


extern "C" {static PyObject *meth_KFileMetaInfo_preferredKeys(PyObject *, PyObject *);}
static PyObject *meth_KFileMetaInfo_preferredKeys(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KFileMetaInfo *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KFileMetaInfo,&sipCpp))
        {
            QStringList *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->preferredKeys());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KFileMetaInfo,sipName_preferredKeys);

    return NULL;
}


extern "C" {static PyObject *meth_KFileMetaInfo_supportedKeys(PyObject *, PyObject *);}
static PyObject *meth_KFileMetaInfo_supportedKeys(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KFileMetaInfo *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KFileMetaInfo,&sipCpp))
        {
            QStringList *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->supportedKeys());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KFileMetaInfo,sipName_supportedKeys);

    return NULL;
}


extern "C" {static PyObject *meth_KFileMetaInfo_keys(PyObject *, PyObject *);}
static PyObject *meth_KFileMetaInfo_keys(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KFileMetaInfo *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KFileMetaInfo,&sipCpp))
        {
            QStringList *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->keys());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KFileMetaInfo,sipName_keys);

    return NULL;
}


extern "C" {static PyObject *meth_KFileMetaInfo_url(PyObject *, PyObject *);}
static PyObject *meth_KFileMetaInfo_url(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KFileMetaInfo *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KFileMetaInfo,&sipCpp))
        {
            KUrl *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl(sipCpp->url());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KUrl,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KFileMetaInfo,sipName_url);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KFileMetaInfo(void *, const sipTypeDef *);}
static void *cast_KFileMetaInfo(void *ptr,const sipTypeDef *targetType)
{
    if (targetType == sipType_KFileMetaInfo)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KFileMetaInfo(void *, int);}
static void release_KFileMetaInfo(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<KFileMetaInfo *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KFileMetaInfo(void *, const void*);}
static void assign_KFileMetaInfo(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<KFileMetaInfo *>(sipDst) = *reinterpret_cast<const KFileMetaInfo *>(sipSrc);
}


extern "C" {static void dealloc_KFileMetaInfo(sipSimpleWrapper *);}
static void dealloc_KFileMetaInfo(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KFileMetaInfo(sipSelf->u.cppPtr,0);
    }
}


extern "C" {static void *init_KFileMetaInfo(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KFileMetaInfo(sipSimpleWrapper *, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    KFileMetaInfo *sipCpp = 0;

    if (!sipCpp)
    {
        const QString * a0;
        int a0State = 0;
        const QString& a1def = QString();
        const QString * a1 = &a1def;
        int a1State = 0;
        KFileMetaInfo::WhatFlags a2def = KFileMetaInfo::Everything;
        KFileMetaInfo::WhatFlags * a2 = &a2def;
        int a2State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J1|J1J1",sipType_QString,&a0,&a0State,sipType_QString,&a1,&a1State,sipType_KFileMetaInfo_WhatFlags,&a2,&a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KFileMetaInfo(*a0,*a1,*a2);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(a2,sipType_KFileMetaInfo_WhatFlags,a2State);
        }
    }

    if (!sipCpp)
    {
        const KUrl * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_KUrl,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KFileMetaInfo(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        if (sipParseArgs(sipArgsParsed,sipArgs,""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KFileMetaInfo();
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        const KFileMetaInfo * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_KFileMetaInfo,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KFileMetaInfo(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    return sipCpp;
}


static PyMethodDef methods_KFileMetaInfo[] = {
    {SIP_MLNAME_CAST(sipName_applyChanges), meth_KFileMetaInfo_applyChanges, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isValid), meth_KFileMetaInfo_isValid, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_item), meth_KFileMetaInfo_item, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_items), meth_KFileMetaInfo_items, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keys), meth_KFileMetaInfo_keys, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_preferredKeys), meth_KFileMetaInfo_preferredKeys, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_supportedKeys), meth_KFileMetaInfo_supportedKeys, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_url), meth_KFileMetaInfo_url, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KFileMetaInfo[] = {
    {sipName_ContentInfo, KFileMetaInfo::ContentInfo, 80},
    {sipName_Everything, KFileMetaInfo::Everything, 80},
    {sipName_ExternalSources, KFileMetaInfo::ExternalSources, 80},
    {sipName_Fastest, KFileMetaInfo::Fastest, 80},
    {sipName_LinkedData, KFileMetaInfo::LinkedData, 80},
    {sipName_TechnicalInfo, KFileMetaInfo::TechnicalInfo, 80},
    {sipName_Thumbnail, KFileMetaInfo::Thumbnail, 80},
};


pyqt4ClassTypeDef pyqt4Type_kio_KFileMetaInfo = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KFileMetaInfo,
        {0}
    },
    sipNameNr_KFileMetaInfo,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {0, 0, 1},
    0,
    0,
    8, methods_KFileMetaInfo,
    7, enummembers_KFileMetaInfo,
    0, 0,
    init_KFileMetaInfo,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KFileMetaInfo,
    release_KFileMetaInfo,
    cast_KFileMetaInfo,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_KFileMetaInfo,
    0,
    0,
    0
};

#line 25 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kfileitemlistproperties.sip"
#include <kfileitemlistproperties.h>
#line 9641 "sipkiopart2.cpp"

#line 127 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kfileitem.sip"
#include <kfileitem.h>
#line 9645 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 9648 "sipkiopart2.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 9651 "sipkiopart2.cpp"


extern "C" {static PyObject *meth_KFileItemListProperties_setItems(PyObject *, PyObject *);}
static PyObject *meth_KFileItemListProperties_setItems(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KFileItemList * a0;
        KFileItemListProperties *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_KFileItemListProperties,&sipCpp,sipType_KFileItemList,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setItems(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KFileItemListProperties,sipName_setItems);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemListProperties_supportsReading(PyObject *, PyObject *);}
static PyObject *meth_KFileItemListProperties_supportsReading(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KFileItemListProperties *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KFileItemListProperties,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->supportsReading();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KFileItemListProperties,sipName_supportsReading);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemListProperties_supportsDeleting(PyObject *, PyObject *);}
static PyObject *meth_KFileItemListProperties_supportsDeleting(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KFileItemListProperties *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KFileItemListProperties,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->supportsDeleting();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KFileItemListProperties,sipName_supportsDeleting);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemListProperties_supportsWriting(PyObject *, PyObject *);}
static PyObject *meth_KFileItemListProperties_supportsWriting(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KFileItemListProperties *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KFileItemListProperties,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->supportsWriting();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KFileItemListProperties,sipName_supportsWriting);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemListProperties_supportsMoving(PyObject *, PyObject *);}
static PyObject *meth_KFileItemListProperties_supportsMoving(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KFileItemListProperties *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KFileItemListProperties,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->supportsMoving();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KFileItemListProperties,sipName_supportsMoving);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemListProperties_isLocal(PyObject *, PyObject *);}
static PyObject *meth_KFileItemListProperties_isLocal(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KFileItemListProperties *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KFileItemListProperties,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isLocal();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KFileItemListProperties,sipName_isLocal);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemListProperties_items(PyObject *, PyObject *);}
static PyObject *meth_KFileItemListProperties_items(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KFileItemListProperties *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KFileItemListProperties,&sipCpp))
        {
            KFileItemList *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KFileItemList(sipCpp->items());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KFileItemList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KFileItemListProperties,sipName_items);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemListProperties_urlList(PyObject *, PyObject *);}
static PyObject *meth_KFileItemListProperties_urlList(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KFileItemListProperties *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KFileItemListProperties,&sipCpp))
        {
            KUrl::List *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl::List(sipCpp->urlList());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KUrl_List,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KFileItemListProperties,sipName_urlList);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemListProperties_isDirectory(PyObject *, PyObject *);}
static PyObject *meth_KFileItemListProperties_isDirectory(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KFileItemListProperties *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KFileItemListProperties,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isDirectory();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KFileItemListProperties,sipName_isDirectory);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemListProperties_mimeType(PyObject *, PyObject *);}
static PyObject *meth_KFileItemListProperties_mimeType(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KFileItemListProperties *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KFileItemListProperties,&sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->mimeType());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KFileItemListProperties,sipName_mimeType);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemListProperties_mimeGroup(PyObject *, PyObject *);}
static PyObject *meth_KFileItemListProperties_mimeGroup(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KFileItemListProperties *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KFileItemListProperties,&sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->mimeGroup());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KFileItemListProperties,sipName_mimeGroup);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KFileItemListProperties(void *, const sipTypeDef *);}
static void *cast_KFileItemListProperties(void *ptr,const sipTypeDef *targetType)
{
    if (targetType == sipType_KFileItemListProperties)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KFileItemListProperties(void *, int);}
static void release_KFileItemListProperties(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<KFileItemListProperties *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KFileItemListProperties(void *, const void*);}
static void assign_KFileItemListProperties(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<KFileItemListProperties *>(sipDst) = *reinterpret_cast<const KFileItemListProperties *>(sipSrc);
}


extern "C" {static void dealloc_KFileItemListProperties(sipSimpleWrapper *);}
static void dealloc_KFileItemListProperties(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KFileItemListProperties(sipSelf->u.cppPtr,0);
    }
}


extern "C" {static void *init_KFileItemListProperties(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KFileItemListProperties(sipSimpleWrapper *, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    KFileItemListProperties *sipCpp = 0;

    if (!sipCpp)
    {
        if (sipParseArgs(sipArgsParsed,sipArgs,""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KFileItemListProperties();
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        const KFileItemList * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_KFileItemList,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KFileItemListProperties(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        const KFileItemListProperties * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_KFileItemListProperties,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KFileItemListProperties(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    return sipCpp;
}


static PyMethodDef methods_KFileItemListProperties[] = {
    {SIP_MLNAME_CAST(sipName_isDirectory), meth_KFileItemListProperties_isDirectory, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isLocal), meth_KFileItemListProperties_isLocal, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_items), meth_KFileItemListProperties_items, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mimeGroup), meth_KFileItemListProperties_mimeGroup, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mimeType), meth_KFileItemListProperties_mimeType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setItems), meth_KFileItemListProperties_setItems, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_supportsDeleting), meth_KFileItemListProperties_supportsDeleting, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_supportsMoving), meth_KFileItemListProperties_supportsMoving, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_supportsReading), meth_KFileItemListProperties_supportsReading, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_supportsWriting), meth_KFileItemListProperties_supportsWriting, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_urlList), meth_KFileItemListProperties_urlList, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_kio_KFileItemListProperties = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KFileItemListProperties,
        {0}
    },
    sipNameNr_KFileItemListProperties,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {0, 0, 1},
    0,
    0,
    11, methods_KFileItemListProperties,
    0, 0,
    0, 0,
    init_KFileItemListProperties,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KFileItemListProperties,
    release_KFileItemListProperties,
    cast_KFileItemListProperties,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_KFileItemListProperties,
    0,
    0,
    0
};

#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kfileitemdelegate.sip"
#include <kfileitemdelegate.h>
#line 10096 "sipkiopart2.cpp"

#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 10100 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qregion.sip"
#include <qregion.h>
#line 10103 "sipkiopart2.cpp"
#line 836 "/usr/local/share/py-sip/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 10106 "sipkiopart2.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 10109 "sipkiopart2.cpp"
#line 574 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 10112 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 10115 "sipkiopart2.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10118 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 10121 "sipkiopart2.cpp"
#line 99 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 10124 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qcolor.sip"
#include <qcolor.h>
#line 10127 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 10130 "sipkiopart2.cpp"
#line 133 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 10133 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 10136 "sipkiopart2.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qabstractitemdelegate.sip"
#include <qabstractitemdelegate.h>
#line 10139 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 10142 "sipkiopart2.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 10145 "sipkiopart2.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 10148 "sipkiopart2.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10151 "sipkiopart2.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10154 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 10157 "sipkiopart2.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 10188 "sipkiopart2.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 10191 "sipkiopart2.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 10194 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 10197 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 10200 "sipkiopart2.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 10203 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 10206 "sipkiopart2.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 10209 "sipkiopart2.cpp"


class sipKFileItemDelegate : public KFileItemDelegate
{
public:
    sipKFileItemDelegate(QObject *);
    virtual ~sipKFileItemDelegate();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    QSize sizeHint(const QStyleOptionViewItem&,const QModelIndex&) const;
    void paint(QPainter *,const QStyleOptionViewItem&,const QModelIndex&) const;
    QWidget * createEditor(QWidget *,const QStyleOptionViewItem&,const QModelIndex&) const;
    bool editorEvent(QEvent *,QAbstractItemModel *,const QStyleOptionViewItem&,const QModelIndex&);
    void setEditorData(QWidget *,const QModelIndex&) const;
    void setModelData(QWidget *,QAbstractItemModel *,const QModelIndex&) const;
    void updateEditorGeometry(QWidget *,const QStyleOptionViewItem&,const QModelIndex&) const;
    bool eventFilter(QObject *,QEvent *);
    bool event(QEvent *);
    void timerEvent(QTimerEvent *);
    void childEvent(QChildEvent *);
    void customEvent(QEvent *);
    void connectNotify(const char *);
    void disconnectNotify(const char *);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKFileItemDelegate(const sipKFileItemDelegate &);
    sipKFileItemDelegate &operator = (const sipKFileItemDelegate &);

    char sipPyMethods[14];
};

sipKFileItemDelegate::sipKFileItemDelegate(QObject *a0): KFileItemDelegate(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKFileItemDelegate::~sipKFileItemDelegate()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKFileItemDelegate::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KFileItemDelegate);
}

int sipKFileItemDelegate::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KFileItemDelegate::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kio_qt_metacall(sipPySelf,sipType_KFileItemDelegate,_c,_id,_a);

    return _id;
}

void *sipKFileItemDelegate::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast && sip_kio_qt_metacast(sipPySelf,sipType_KFileItemDelegate,_clname)) ? this : KFileItemDelegate::qt_metacast(_clname);
}

QSize sipKFileItemDelegate::sizeHint(const QStyleOptionViewItem& a0,const QModelIndex& a1) const
{
    typedef QSize (*sipVH_QtGui_79)(sip_gilstate_t,PyObject *,const QStyleOptionViewItem&,const QModelIndex&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_sizeHint);

    if (!meth)
        return KFileItemDelegate::sizeHint(a0,a1);

    return ((sipVH_QtGui_79)(sipModuleAPI_kio_QtGui->em_virthandlers[79]))(sipGILState,meth,a0,a1);
}

void sipKFileItemDelegate::paint(QPainter *a0,const QStyleOptionViewItem& a1,const QModelIndex& a2) const
{
    typedef void (*sipVH_QtGui_47)(sip_gilstate_t,PyObject *,QPainter *,const QStyleOptionViewItem&,const QModelIndex&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_paint);

    if (!meth)
    {
        KFileItemDelegate::paint(a0,a1,a2);
        return;
    }

    ((sipVH_QtGui_47)(sipModuleAPI_kio_QtGui->em_virthandlers[47]))(sipGILState,meth,a0,a1,a2);
}

QWidget * sipKFileItemDelegate::createEditor(QWidget *a0,const QStyleOptionViewItem& a1,const QModelIndex& a2) const
{
    extern QWidget * sipVH_kio_31(sip_gilstate_t,PyObject *,QWidget *,const QStyleOptionViewItem&,const QModelIndex&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName_createEditor);

    if (!meth)
        return KFileItemDelegate::createEditor(a0,a1,a2);

    return sipVH_kio_31(sipGILState,meth,a0,a1,a2);
}

bool sipKFileItemDelegate::editorEvent(QEvent *a0,QAbstractItemModel *a1,const QStyleOptionViewItem& a2,const QModelIndex& a3)
{
    typedef bool (*sipVH_QtGui_72)(sip_gilstate_t,PyObject *,QEvent *,QAbstractItemModel *,const QStyleOptionViewItem&,const QModelIndex&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_editorEvent);

    if (!meth)
        return KFileItemDelegate::editorEvent(a0,a1,a2,a3);

    return ((sipVH_QtGui_72)(sipModuleAPI_kio_QtGui->em_virthandlers[72]))(sipGILState,meth,a0,a1,a2,a3);
}

void sipKFileItemDelegate::setEditorData(QWidget *a0,const QModelIndex& a1) const
{
    typedef void (*sipVH_QtGui_77)(sip_gilstate_t,PyObject *,QWidget *,const QModelIndex&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,NULL,sipName_setEditorData);

    if (!meth)
    {
        KFileItemDelegate::setEditorData(a0,a1);
        return;
    }

    ((sipVH_QtGui_77)(sipModuleAPI_kio_QtGui->em_virthandlers[77]))(sipGILState,meth,a0,a1);
}

void sipKFileItemDelegate::setModelData(QWidget *a0,QAbstractItemModel *a1,const QModelIndex& a2) const
{
    typedef void (*sipVH_QtGui_76)(sip_gilstate_t,PyObject *,QWidget *,QAbstractItemModel *,const QModelIndex&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_setModelData);

    if (!meth)
    {
        KFileItemDelegate::setModelData(a0,a1,a2);
        return;
    }

    ((sipVH_QtGui_76)(sipModuleAPI_kio_QtGui->em_virthandlers[76]))(sipGILState,meth,a0,a1,a2);
}

void sipKFileItemDelegate::updateEditorGeometry(QWidget *a0,const QStyleOptionViewItem& a1,const QModelIndex& a2) const
{
    typedef void (*sipVH_QtGui_75)(sip_gilstate_t,PyObject *,QWidget *,const QStyleOptionViewItem&,const QModelIndex&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_updateEditorGeometry);

    if (!meth)
    {
        KFileItemDelegate::updateEditorGeometry(a0,a1,a2);
        return;
    }

    ((sipVH_QtGui_75)(sipModuleAPI_kio_QtGui->em_virthandlers[75]))(sipGILState,meth,a0,a1,a2);
}

bool sipKFileItemDelegate::eventFilter(QObject *a0,QEvent *a1)
{
    typedef bool (*sipVH_QtCore_21)(sip_gilstate_t,PyObject *,QObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_eventFilter);

    if (!meth)
        return KFileItemDelegate::eventFilter(a0,a1);

    return ((sipVH_QtCore_21)(sipModuleAPI_kio_QtCore->em_virthandlers[21]))(sipGILState,meth,a0,a1);
}

bool sipKFileItemDelegate::event(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_event);

    if (!meth)
        return QObject::event(a0);

    return ((sipVH_QtCore_13)(sipModuleAPI_kio_QtCore->em_virthandlers[13]))(sipGILState,meth,a0);
}

void sipKFileItemDelegate::timerEvent(QTimerEvent *a0)
{
    typedef void (*sipVH_QtCore_3)(sip_gilstate_t,PyObject *,QTimerEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_timerEvent);

    if (!meth)
    {
        QObject::timerEvent(a0);
        return;
    }

    ((sipVH_QtCore_3)(sipModuleAPI_kio_QtCore->em_virthandlers[3]))(sipGILState,meth,a0);
}

void sipKFileItemDelegate::childEvent(QChildEvent *a0)
{
    typedef void (*sipVH_QtCore_20)(sip_gilstate_t,PyObject *,QChildEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_childEvent);

    if (!meth)
    {
        QObject::childEvent(a0);
        return;
    }

    ((sipVH_QtCore_20)(sipModuleAPI_kio_QtCore->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipKFileItemDelegate::customEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_customEvent);

    if (!meth)
    {
        QObject::customEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_kio_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipKFileItemDelegate::connectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_connectNotify);

    if (!meth)
    {
        QObject::connectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipKFileItemDelegate::disconnectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_disconnectNotify);

    if (!meth)
    {
        QObject::disconnectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

int sipKFileItemDelegate::sipProtect_receivers(const char *a0) const
{
    return QObject::receivers(a0);
}

void sipKFileItemDelegate::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipKFileItemDelegate::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent *a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipKFileItemDelegate::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipKFileItemDelegate::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipKFileItemDelegate::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}


extern "C" {static PyObject *meth_KFileItemDelegate_receivers(PyObject *, PyObject *);}
static PyObject *meth_KFileItemDelegate_receivers(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        char * a0;
        sipKFileItemDelegate *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KFileItemDelegate,&sipCpp,&a0))
        {
            int sipRes = 0;

#line 462 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
#line 10586 "sipkiopart2.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KFileItemDelegate,sipName_receivers);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemDelegate_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_KFileItemDelegate_timerEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipKFileItemDelegate *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KFileItemDelegate,&sipCpp,sipType_QTimerEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KFileItemDelegate,sipName_timerEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemDelegate_childEvent(PyObject *, PyObject *);}
static PyObject *meth_KFileItemDelegate_childEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipKFileItemDelegate *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KFileItemDelegate,&sipCpp,sipType_QChildEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KFileItemDelegate,sipName_childEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemDelegate_customEvent(PyObject *, PyObject *);}
static PyObject *meth_KFileItemDelegate_customEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKFileItemDelegate *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KFileItemDelegate,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KFileItemDelegate,sipName_customEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemDelegate_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_KFileItemDelegate_connectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKFileItemDelegate *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KFileItemDelegate,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KFileItemDelegate,sipName_connectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemDelegate_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_KFileItemDelegate_disconnectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKFileItemDelegate *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KFileItemDelegate,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KFileItemDelegate,sipName_disconnectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemDelegate_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_KFileItemDelegate_sizeHint(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QStyleOptionViewItem * a0;
        const QModelIndex * a1;
        KFileItemDelegate *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9J9",&sipSelf,sipType_KFileItemDelegate,&sipCpp,sipType_QStyleOptionViewItem,&a0,sipType_QModelIndex,&a1))
        {
            QSize *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSize((sipSelfWasArg ? sipCpp->KFileItemDelegate::sizeHint(*a0,*a1) : sipCpp->sizeHint(*a0,*a1)));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KFileItemDelegate,sipName_sizeHint);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemDelegate_paint(PyObject *, PyObject *);}
static PyObject *meth_KFileItemDelegate_paint(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter * a0;
        const QStyleOptionViewItem * a1;
        const QModelIndex * a2;
        KFileItemDelegate *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8J9J9",&sipSelf,sipType_KFileItemDelegate,&sipCpp,sipType_QPainter,&a0,sipType_QStyleOptionViewItem,&a1,sipType_QModelIndex,&a2))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KFileItemDelegate::paint(a0,*a1,*a2) : sipCpp->paint(a0,*a1,*a2));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KFileItemDelegate,sipName_paint);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemDelegate_createEditor(PyObject *, PyObject *);}
static PyObject *meth_KFileItemDelegate_createEditor(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWidget * a0;
        const QStyleOptionViewItem * a1;
        const QModelIndex * a2;
        KFileItemDelegate *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ:J9J9",&sipSelf,sipType_KFileItemDelegate,&sipCpp,sipType_QWidget,&a0,sipType_QStyleOptionViewItem,&a1,sipType_QModelIndex,&a2))
        {
            QWidget *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KFileItemDelegate::createEditor(a0,*a1,*a2) : sipCpp->createEditor(a0,*a1,*a2));
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KFileItemDelegate,sipName_createEditor);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemDelegate_editorEvent(PyObject *, PyObject *);}
static PyObject *meth_KFileItemDelegate_editorEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        QAbstractItemModel * a1;
        const QStyleOptionViewItem * a2;
        const QModelIndex * a3;
        KFileItemDelegate *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8J8J9J9",&sipSelf,sipType_KFileItemDelegate,&sipCpp,sipType_QEvent,&a0,sipType_QAbstractItemModel,&a1,sipType_QStyleOptionViewItem,&a2,sipType_QModelIndex,&a3))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KFileItemDelegate::editorEvent(a0,a1,*a2,*a3) : sipCpp->editorEvent(a0,a1,*a2,*a3));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KFileItemDelegate,sipName_editorEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemDelegate_setEditorData(PyObject *, PyObject *);}
static PyObject *meth_KFileItemDelegate_setEditorData(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWidget * a0;
        const QModelIndex * a1;
        KFileItemDelegate *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8J9",&sipSelf,sipType_KFileItemDelegate,&sipCpp,sipType_QWidget,&a0,sipType_QModelIndex,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KFileItemDelegate::setEditorData(a0,*a1) : sipCpp->setEditorData(a0,*a1));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KFileItemDelegate,sipName_setEditorData);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemDelegate_setModelData(PyObject *, PyObject *);}
static PyObject *meth_KFileItemDelegate_setModelData(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWidget * a0;
        QAbstractItemModel * a1;
        const QModelIndex * a2;
        KFileItemDelegate *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8J8J9",&sipSelf,sipType_KFileItemDelegate,&sipCpp,sipType_QWidget,&a0,sipType_QAbstractItemModel,&a1,sipType_QModelIndex,&a2))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KFileItemDelegate::setModelData(a0,a1,*a2) : sipCpp->setModelData(a0,a1,*a2));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KFileItemDelegate,sipName_setModelData);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemDelegate_updateEditorGeometry(PyObject *, PyObject *);}
static PyObject *meth_KFileItemDelegate_updateEditorGeometry(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWidget * a0;
        const QStyleOptionViewItem * a1;
        const QModelIndex * a2;
        KFileItemDelegate *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8J9J9",&sipSelf,sipType_KFileItemDelegate,&sipCpp,sipType_QWidget,&a0,sipType_QStyleOptionViewItem,&a1,sipType_QModelIndex,&a2))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KFileItemDelegate::updateEditorGeometry(a0,*a1,*a2) : sipCpp->updateEditorGeometry(a0,*a1,*a2));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KFileItemDelegate,sipName_updateEditorGeometry);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemDelegate_setShowInformation(PyObject *, PyObject *);}
static PyObject *meth_KFileItemDelegate_setShowInformation(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KFileItemDelegate::Information a0;
        KFileItemDelegate *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BE",&sipSelf,sipType_KFileItemDelegate,&sipCpp,sipType_KFileItemDelegate_Information,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setShowInformation(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KFileItemDelegate,sipName_setShowInformation);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemDelegate_setShadowColor(PyObject *, PyObject *);}
static PyObject *meth_KFileItemDelegate_setShadowColor(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QColor * a0;
        int a0State = 0;
        KFileItemDelegate *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KFileItemDelegate,&sipCpp,sipType_QColor,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setShadowColor(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QColor *>(a0),sipType_QColor,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KFileItemDelegate,sipName_setShadowColor);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemDelegate_shadowColor(PyObject *, PyObject *);}
static PyObject *meth_KFileItemDelegate_shadowColor(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KFileItemDelegate *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KFileItemDelegate,&sipCpp))
        {
            QColor *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QColor(sipCpp->shadowColor());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QColor,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KFileItemDelegate,sipName_shadowColor);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemDelegate_setShadowOffset(PyObject *, PyObject *);}
static PyObject *meth_KFileItemDelegate_setShadowOffset(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QPointF * a0;
        KFileItemDelegate *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_KFileItemDelegate,&sipCpp,sipType_QPointF,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setShadowOffset(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KFileItemDelegate,sipName_setShadowOffset);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemDelegate_shadowOffset(PyObject *, PyObject *);}
static PyObject *meth_KFileItemDelegate_shadowOffset(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KFileItemDelegate *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KFileItemDelegate,&sipCpp))
        {
            QPointF *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPointF(sipCpp->shadowOffset());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QPointF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KFileItemDelegate,sipName_shadowOffset);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemDelegate_setShadowBlur(PyObject *, PyObject *);}
static PyObject *meth_KFileItemDelegate_setShadowBlur(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        qreal a0;
        KFileItemDelegate *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bd",&sipSelf,sipType_KFileItemDelegate,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setShadowBlur(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KFileItemDelegate,sipName_setShadowBlur);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemDelegate_shadowBlur(PyObject *, PyObject *);}
static PyObject *meth_KFileItemDelegate_shadowBlur(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KFileItemDelegate *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KFileItemDelegate,&sipCpp))
        {
            qreal sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->shadowBlur();
            Py_END_ALLOW_THREADS

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KFileItemDelegate,sipName_shadowBlur);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemDelegate_setMaximumSize(PyObject *, PyObject *);}
static PyObject *meth_KFileItemDelegate_setMaximumSize(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QSize * a0;
        KFileItemDelegate *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_KFileItemDelegate,&sipCpp,sipType_QSize,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMaximumSize(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KFileItemDelegate,sipName_setMaximumSize);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemDelegate_maximumSize(PyObject *, PyObject *);}
static PyObject *meth_KFileItemDelegate_maximumSize(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KFileItemDelegate *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KFileItemDelegate,&sipCpp))
        {
            QSize *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSize(sipCpp->maximumSize());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KFileItemDelegate,sipName_maximumSize);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemDelegate_setShowToolTipWhenElided(PyObject *, PyObject *);}
static PyObject *meth_KFileItemDelegate_setShowToolTipWhenElided(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0;
        KFileItemDelegate *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_KFileItemDelegate,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setShowToolTipWhenElided(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KFileItemDelegate,sipName_setShowToolTipWhenElided);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemDelegate_showToolTipWhenElided(PyObject *, PyObject *);}
static PyObject *meth_KFileItemDelegate_showToolTipWhenElided(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KFileItemDelegate *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KFileItemDelegate,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->showToolTipWhenElided();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KFileItemDelegate,sipName_showToolTipWhenElided);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemDelegate_eventFilter(PyObject *, PyObject *);}
static PyObject *meth_KFileItemDelegate_eventFilter(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QObject * a0;
        QEvent * a1;
        KFileItemDelegate *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8J8",&sipSelf,sipType_KFileItemDelegate,&sipCpp,sipType_QObject,&a0,sipType_QEvent,&a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KFileItemDelegate::eventFilter(a0,a1) : sipCpp->eventFilter(a0,a1));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KFileItemDelegate,sipName_eventFilter);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemDelegate_helpEvent(PyObject *, PyObject *);}
static PyObject *meth_KFileItemDelegate_helpEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        QHelpEvent * a0;
        QAbstractItemView * a1;
        const QStyleOptionViewItem * a2;
        const QModelIndex * a3;
        KFileItemDelegate *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8J8J9J9",&sipSelf,sipType_KFileItemDelegate,&sipCpp,sipType_QHelpEvent,&a0,sipType_QAbstractItemView,&a1,sipType_QStyleOptionViewItem,&a2,sipType_QModelIndex,&a3))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->helpEvent(a0,a1,*a2,*a3);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KFileItemDelegate,sipName_helpEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemDelegate_shape(PyObject *, PyObject *);}
static PyObject *meth_KFileItemDelegate_shape(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QStyleOptionViewItem * a0;
        const QModelIndex * a1;
        KFileItemDelegate *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9J9",&sipSelf,sipType_KFileItemDelegate,&sipCpp,sipType_QStyleOptionViewItem,&a0,sipType_QModelIndex,&a1))
        {
            QRegion *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QRegion(sipCpp->shape(*a0,*a1));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QRegion,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KFileItemDelegate,sipName_shape);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KFileItemDelegate(void *, const sipTypeDef *);}
static void *cast_KFileItemDelegate(void *ptr,const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KFileItemDelegate)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QAbstractItemDelegate)->ctd_cast((QAbstractItemDelegate *)(KFileItemDelegate *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KFileItemDelegate(void *, int);}
static void release_KFileItemDelegate(void *sipCppV,int state)
{
    Py_BEGIN_ALLOW_THREADS

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKFileItemDelegate *>(sipCppV);
    else
        delete reinterpret_cast<KFileItemDelegate *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KFileItemDelegate(sipSimpleWrapper *);}
static void dealloc_KFileItemDelegate(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKFileItemDelegate *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KFileItemDelegate(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_KFileItemDelegate(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KFileItemDelegate(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **sipOwner, int *sipArgsParsed)
{
    sipKFileItemDelegate *sipCpp = 0;

    if (!sipCpp)
    {
        QObject * a0 = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"|JH",sipType_QObject,&a0,sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKFileItemDelegate(a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KFileItemDelegate[] = {{3, 2, 1}};


static PyMethodDef methods_KFileItemDelegate[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), meth_KFileItemDelegate_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KFileItemDelegate_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_createEditor), meth_KFileItemDelegate_createEditor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KFileItemDelegate_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KFileItemDelegate_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_editorEvent), meth_KFileItemDelegate_editorEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_eventFilter), meth_KFileItemDelegate_eventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_helpEvent), meth_KFileItemDelegate_helpEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_maximumSize), meth_KFileItemDelegate_maximumSize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paint), meth_KFileItemDelegate_paint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_KFileItemDelegate_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setEditorData), meth_KFileItemDelegate_setEditorData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMaximumSize), meth_KFileItemDelegate_setMaximumSize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setModelData), meth_KFileItemDelegate_setModelData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setShadowBlur), meth_KFileItemDelegate_setShadowBlur, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setShadowColor), meth_KFileItemDelegate_setShadowColor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setShadowOffset), meth_KFileItemDelegate_setShadowOffset, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setShowInformation), meth_KFileItemDelegate_setShowInformation, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setShowToolTipWhenElided), meth_KFileItemDelegate_setShowToolTipWhenElided, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_shadowBlur), meth_KFileItemDelegate_shadowBlur, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_shadowColor), meth_KFileItemDelegate_shadowColor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_shadowOffset), meth_KFileItemDelegate_shadowOffset, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_shape), meth_KFileItemDelegate_shape, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showToolTipWhenElided), meth_KFileItemDelegate_showToolTipWhenElided, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_KFileItemDelegate_sizeHint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KFileItemDelegate_timerEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateEditorGeometry), meth_KFileItemDelegate_updateEditorGeometry, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KFileItemDelegate[] = {
    {sipName_AccessTime, KFileItemDelegate::AccessTime, 76},
    {sipName_CreationTime, KFileItemDelegate::CreationTime, 76},
    {sipName_FriendlyMimeType, KFileItemDelegate::FriendlyMimeType, 76},
    {sipName_MimeType, KFileItemDelegate::MimeType, 76},
    {sipName_ModificationTime, KFileItemDelegate::ModificationTime, 76},
    {sipName_NoInformation, KFileItemDelegate::NoInformation, 76},
    {sipName_OctalPermissions, KFileItemDelegate::OctalPermissions, 76},
    {sipName_Owner, KFileItemDelegate::Owner, 76},
    {sipName_OwnerAndGroup, KFileItemDelegate::OwnerAndGroup, 76},
    {sipName_Permissions, KFileItemDelegate::Permissions, 76},
    {sipName_Size, KFileItemDelegate::Size, 76},
};


pyqt4ClassTypeDef pyqt4Type_kio_KFileItemDelegate = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KFileItemDelegate,
        {0}
    },
    sipNameNr_KFileItemDelegate,
    -1,
    -1,
    {0, 0, 1},
    supers_KFileItemDelegate,
    0,
    27, methods_KFileItemDelegate,
    11, enummembers_KFileItemDelegate,
    0, 0,
    init_KFileItemDelegate,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KFileItemDelegate,
    release_KFileItemDelegate,
    cast_KFileItemDelegate,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KFileItemDelegate::staticMetaObject,
    0,
    0
};

#line 25 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kfileitemactions.sip"
#include <kfileitemactions.h>
#line 11505 "sipkiopart2.cpp"

#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 11509 "sipkiopart2.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qmenu.sip"
#include <qmenu.h>
#line 11512 "sipkiopart2.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kaction.sip"
#include <kaction.h>
#line 11515 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 11518 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 11521 "sipkiopart2.cpp"
#line 25 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kfileitemlistproperties.sip"
#include <kfileitemlistproperties.h>
#line 11524 "sipkiopart2.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11527 "sipkiopart2.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11530 "sipkiopart2.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11533 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 11536 "sipkiopart2.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 11567 "sipkiopart2.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 11570 "sipkiopart2.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 11573 "sipkiopart2.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 11576 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 11579 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 11582 "sipkiopart2.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 11585 "sipkiopart2.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 11588 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 11591 "sipkiopart2.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 11594 "sipkiopart2.cpp"


class sipKFileItemActions : public KFileItemActions
{
public:
    sipKFileItemActions(QObject *);
    virtual ~sipKFileItemActions();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    bool event(QEvent *);
    bool eventFilter(QObject *,QEvent *);
    void timerEvent(QTimerEvent *);
    void childEvent(QChildEvent *);
    void customEvent(QEvent *);
    void connectNotify(const char *);
    void disconnectNotify(const char *);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKFileItemActions(const sipKFileItemActions &);
    sipKFileItemActions &operator = (const sipKFileItemActions &);

    char sipPyMethods[7];
};

sipKFileItemActions::sipKFileItemActions(QObject *a0): KFileItemActions(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKFileItemActions::~sipKFileItemActions()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKFileItemActions::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KFileItemActions);
}

int sipKFileItemActions::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KFileItemActions::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kio_qt_metacall(sipPySelf,sipType_KFileItemActions,_c,_id,_a);

    return _id;
}

void *sipKFileItemActions::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast && sip_kio_qt_metacast(sipPySelf,sipType_KFileItemActions,_clname)) ? this : KFileItemActions::qt_metacast(_clname);
}

bool sipKFileItemActions::event(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_event);

    if (!meth)
        return QObject::event(a0);

    return ((sipVH_QtCore_13)(sipModuleAPI_kio_QtCore->em_virthandlers[13]))(sipGILState,meth,a0);
}

bool sipKFileItemActions::eventFilter(QObject *a0,QEvent *a1)
{
    typedef bool (*sipVH_QtCore_21)(sip_gilstate_t,PyObject *,QObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_eventFilter);

    if (!meth)
        return QObject::eventFilter(a0,a1);

    return ((sipVH_QtCore_21)(sipModuleAPI_kio_QtCore->em_virthandlers[21]))(sipGILState,meth,a0,a1);
}

void sipKFileItemActions::timerEvent(QTimerEvent *a0)
{
    typedef void (*sipVH_QtCore_3)(sip_gilstate_t,PyObject *,QTimerEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_timerEvent);

    if (!meth)
    {
        QObject::timerEvent(a0);
        return;
    }

    ((sipVH_QtCore_3)(sipModuleAPI_kio_QtCore->em_virthandlers[3]))(sipGILState,meth,a0);
}

void sipKFileItemActions::childEvent(QChildEvent *a0)
{
    typedef void (*sipVH_QtCore_20)(sip_gilstate_t,PyObject *,QChildEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!meth)
    {
        QObject::childEvent(a0);
        return;
    }

    ((sipVH_QtCore_20)(sipModuleAPI_kio_QtCore->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipKFileItemActions::customEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_customEvent);

    if (!meth)
    {
        QObject::customEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_kio_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipKFileItemActions::connectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_connectNotify);

    if (!meth)
    {
        QObject::connectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipKFileItemActions::disconnectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_disconnectNotify);

    if (!meth)
    {
        QObject::disconnectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

int sipKFileItemActions::sipProtect_receivers(const char *a0) const
{
    return QObject::receivers(a0);
}

void sipKFileItemActions::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipKFileItemActions::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent *a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipKFileItemActions::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipKFileItemActions::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipKFileItemActions::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}


extern "C" {static PyObject *meth_KFileItemActions_receivers(PyObject *, PyObject *);}
static PyObject *meth_KFileItemActions_receivers(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        char * a0;
        sipKFileItemActions *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KFileItemActions,&sipCpp,&a0))
        {
            int sipRes = 0;

#line 462 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
#line 11847 "sipkiopart2.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KFileItemActions,sipName_receivers);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemActions_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_KFileItemActions_timerEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipKFileItemActions *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KFileItemActions,&sipCpp,sipType_QTimerEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KFileItemActions,sipName_timerEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemActions_childEvent(PyObject *, PyObject *);}
static PyObject *meth_KFileItemActions_childEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipKFileItemActions *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KFileItemActions,&sipCpp,sipType_QChildEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KFileItemActions,sipName_childEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemActions_customEvent(PyObject *, PyObject *);}
static PyObject *meth_KFileItemActions_customEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKFileItemActions *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KFileItemActions,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KFileItemActions,sipName_customEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemActions_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_KFileItemActions_connectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKFileItemActions *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KFileItemActions,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KFileItemActions,sipName_connectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemActions_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_KFileItemActions_disconnectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKFileItemActions *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KFileItemActions,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KFileItemActions,sipName_disconnectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemActions_setItemListProperties(PyObject *, PyObject *);}
static PyObject *meth_KFileItemActions_setItemListProperties(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KFileItemListProperties * a0;
        KFileItemActions *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_KFileItemActions,&sipCpp,sipType_KFileItemListProperties,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setItemListProperties(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KFileItemActions,sipName_setItemListProperties);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemActions_setParentWidget(PyObject *, PyObject *);}
static PyObject *meth_KFileItemActions_setParentWidget(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        QWidget * a0;
        KFileItemActions *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8",&sipSelf,sipType_KFileItemActions,&sipCpp,sipType_QWidget,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setParentWidget(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KFileItemActions,sipName_setParentWidget);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemActions_addOpenWithActionsTo(PyObject *, PyObject *);}
static PyObject *meth_KFileItemActions_addOpenWithActionsTo(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        QMenu * a0;
        const QString * a1;
        int a1State = 0;
        KFileItemActions *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8J1",&sipSelf,sipType_KFileItemActions,&sipCpp,sipType_QMenu,&a0,sipType_QString,&a1,&a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addOpenWithActionsTo(a0,*a1);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KFileItemActions,sipName_addOpenWithActionsTo);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemActions_preferredOpenWithAction(PyObject *, PyObject *);}
static PyObject *meth_KFileItemActions_preferredOpenWithAction(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        KFileItemActions *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KFileItemActions,&sipCpp,sipType_QString,&a0,&a0State))
        {
            KAction *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->preferredOpenWithAction(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KFileItemActions,sipName_preferredOpenWithAction);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemActions_addServiceActionsTo(PyObject *, PyObject *);}
static PyObject *meth_KFileItemActions_addServiceActionsTo(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        QMenu * a0;
        KFileItemActions *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8",&sipSelf,sipType_KFileItemActions,&sipCpp,sipType_QMenu,&a0))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->addServiceActionsTo(a0);
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KFileItemActions,sipName_addServiceActionsTo);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KFileItemActions(void *, const sipTypeDef *);}
static void *cast_KFileItemActions(void *ptr,const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KFileItemActions)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(KFileItemActions *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KFileItemActions(void *, int);}
static void release_KFileItemActions(void *sipCppV,int state)
{
    Py_BEGIN_ALLOW_THREADS

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKFileItemActions *>(sipCppV);
    else
        delete reinterpret_cast<KFileItemActions *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KFileItemActions(sipSimpleWrapper *);}
static void dealloc_KFileItemActions(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKFileItemActions *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KFileItemActions(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_KFileItemActions(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KFileItemActions(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **sipOwner, int *sipArgsParsed)
{
    sipKFileItemActions *sipCpp = 0;

    if (!sipCpp)
    {
        QObject * a0 = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"|JH",sipType_QObject,&a0,sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKFileItemActions(a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KFileItemActions[] = {{111, 0, 1}};


static PyMethodDef methods_KFileItemActions[] = {
    {SIP_MLNAME_CAST(sipName_addOpenWithActionsTo), meth_KFileItemActions_addOpenWithActionsTo, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addServiceActionsTo), meth_KFileItemActions_addServiceActionsTo, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_KFileItemActions_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KFileItemActions_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KFileItemActions_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KFileItemActions_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_preferredOpenWithAction), meth_KFileItemActions_preferredOpenWithAction, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_KFileItemActions_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setItemListProperties), meth_KFileItemActions_setItemListProperties, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setParentWidget), meth_KFileItemActions_setParentWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KFileItemActions_timerEvent, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_kio_KFileItemActions = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KFileItemActions,
        {0}
    },
    sipNameNr_KFileItemActions,
    -1,
    -1,
    {0, 0, 1},
    supers_KFileItemActions,
    0,
    11, methods_KFileItemActions,
    0, 0,
    0, 0,
    init_KFileItemActions,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KFileItemActions,
    release_KFileItemActions,
    cast_KFileItemActions,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KFileItemActions::staticMetaObject,
    0,
    0
};

#line 127 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kfileitem.sip"
#include <kfileitem.h>
#line 12278 "sipkiopart2.cpp"

#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 12295 "sipkiopart2.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kfilemetainfoitem.sip"
#include <kfilemetainfoitem.h>
#line 12298 "sipkiopart2.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/udsentry.sip"
#include <udsentry.h>
#line 12301 "sipkiopart2.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/copyjob.sip"
#include <copyjob.h>
#line 12304 "sipkiopart2.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kdatatool.sip"
#include <kdatatool.h>
#line 12307 "sipkiopart2.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kfileitem.sip"
#include <kfileitem.h>
#line 12310 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 12313 "sipkiopart2.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 12316 "sipkiopart2.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 12319 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 12322 "sipkiopart2.cpp"


extern "C" {static PyObject *meth_KFileItemList_findByName(PyObject *, PyObject *);}
static PyObject *meth_KFileItemList_findByName(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        KFileItemList *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KFileItemList,sipName_findByName);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemList_findByUrl(PyObject *, PyObject *);}
static PyObject *meth_KFileItemList_findByUrl(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KUrl * a0;
        KFileItemList *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KFileItemList,sipName_findByUrl);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemList_urlList(PyObject *, PyObject *);}
static PyObject *meth_KFileItemList_urlList(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KFileItemList *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KFileItemList,sipName_urlList);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItemList_targetUrlList(PyObject *, PyObject *);}
static PyObject *meth_KFileItemList_targetUrlList(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KFileItemList *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KFileItemList,sipName_targetUrlList);

    return NULL;
}


extern "C" {static PyObject *slot_KFileItemList___getitem__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_KFileItemList___getitem__(PyObject *sipSelf,PyObject *sipArg)
{
    KFileItemList *sipCpp = reinterpret_cast<KFileItemList *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KFileItemList));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        int a0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1i",&a0))
        {
            KFileItem *sipRes = 0;
            int sipIsErr = 0;

#line 217 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/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 12465 "sipkiopart2.cpp"

            if (sipIsErr)
                return 0;

            return sipConvertFromNewType(sipRes,sipType_KFileItem,NULL);
        }
    }

    {
        PyObject * a0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1T",&PySlice_Type,&a0))
        {
            KFileItemList *sipRes = 0;
            int sipIsErr = 0;

#line 229 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kfileitem.sip"
SIP_SSIZE_T len, start, stop, step, slicelength, i;
        
        len = sipCpp->count();
        
        if (PySlice_GetIndicesEx((PySliceObject *)a0, len, &start, &stop, &step, &slicelength) < 0)
            sipIsErr = 1;
        else
        {
            sipRes = new KFileItemList();
        
            for (i = 0; i < slicelength; ++i)
            {
                (*sipRes) += (*sipCpp)[start];
                start += step;
            }
        }
#line 12499 "sipkiopart2.cpp"

            if (sipIsErr)
                return 0;

            return sipConvertFromNewType(sipRes,sipType_KFileItemList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KFileItemList,sipName___getitem__);

    return 0;
}


extern "C" {static int slot_KFileItemList___delitem__(PyObject *sipSelf,PyObject *sipArg);}
static int slot_KFileItemList___delitem__(PyObject *sipSelf,PyObject *sipArg)
{
    KFileItemList *sipCpp = reinterpret_cast<KFileItemList *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KFileItemList));

    if (!sipCpp)
        return -1;

    int sipArgsParsed = 0;

    {
        int a0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1i",&a0))
        {
            int sipIsErr = 0;

#line 190 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kfileitem.sip"
int len;

    len = sipCpp -> count();

    if ((a0 = sipConvertFromSequenceIndex(a0,len)) < 0)
        sipIsErr = 1;
    else
        sipCpp -> removeAt ( a0);
#line 12541 "sipkiopart2.cpp"

            if (sipIsErr)
                return -1;

            return 0;
        }
    }

    {
        PyObject * a0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1T",&PySlice_Type,&a0))
        {
            int sipIsErr = 0;

#line 202 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/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 12569 "sipkiopart2.cpp"

            if (sipIsErr)
                return -1;

            return 0;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KFileItemList,sipName___delitem__);

    return -1;
}


extern "C" {static int slot_KFileItemList___setitem__(PyObject *sipSelf,PyObject *sipArgs);}
static int slot_KFileItemList___setitem__(PyObject *sipSelf,PyObject *sipArgs)
{
    KFileItemList *sipCpp = reinterpret_cast<KFileItemList *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KFileItemList));

    if (!sipCpp)
        return -1;

    int sipArgsParsed = 0;

    {
        int a0;
        const KFileItem * a1;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"iJ9",&a0,sipType_KFileItem,&a1))
        {
            int sipIsErr = 0;

#line 149 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kfileitem.sip"
int len;

    len = sipCpp -> count();

    if ((a0 = sipConvertFromSequenceIndex(a0,len)) < 0)
        sipIsErr = 1;
    else
        (*sipCpp)[a0] = *(KFileItem *)a1;
#line 12612 "sipkiopart2.cpp"

            if (sipIsErr)
                return -1;

            return 0;
        }
    }

    {
        PyObject * a0;
        const KFileItemList * a1;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"TJ9",&PySlice_Type,&a0,sipType_KFileItemList,&a1))
        {
            int sipIsErr = 0;

#line 161 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/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 12655 "sipkiopart2.cpp"

            if (sipIsErr)
                return -1;

            return 0;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KFileItemList,sipName___setitem__);

    return -1;
}


extern "C" {static int slot_KFileItemList___len__(PyObject *sipSelf);}
static int slot_KFileItemList___len__(PyObject *sipSelf)
{
    KFileItemList *sipCpp = reinterpret_cast<KFileItemList *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KFileItemList));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 142 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kfileitem.sip"
Py_BEGIN_ALLOW_THREADS
    sipRes = sipCpp -> count();
    Py_END_ALLOW_THREADS
#line 12688 "sipkiopart2.cpp"

            return sipRes;
        }
    }
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KFileItemList(void *, const sipTypeDef *);}
static void *cast_KFileItemList(void *ptr,const sipTypeDef *targetType)
{
    if (targetType == sipType_KFileItemList)
        return ptr;

    return NULL;
}


/* 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 *, const void*);}
static void assign_KFileItemList(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<KFileItemList *>(sipDst) = *reinterpret_cast<const KFileItemList *>(sipSrc);
}


extern "C" {static void dealloc_KFileItemList(sipSimpleWrapper *);}
static void dealloc_KFileItemList(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KFileItemList(sipSelf->u.cppPtr,0);
    }
}


extern "C" {static void *init_KFileItemList(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KFileItemList(sipSimpleWrapper *, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    KFileItemList *sipCpp = 0;

    if (!sipCpp)
    {
        if (sipParseArgs(sipArgsParsed,sipArgs,""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KFileItemList();
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        const QList<KFileItem> * a0;
        int a0State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J1",sipType_QList_0200KFileItem,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KFileItemList(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QList<KFileItem> *>(a0),sipType_QList_0200KFileItem,a0State);
        }
    }

    if (!sipCpp)
    {
        const KFileItemList * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_KFileItemList,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KFileItemList(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    return sipCpp;
}


/* 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 pyqt4Type_kio_KFileItemList = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KFileItemList,
        {0}
    },
    sipNameNr_KFileItemList,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {0, 0, 1},
    0,
    slots_KFileItemList,
    4, methods_KFileItemList,
    0, 0,
    0, 0,
    init_KFileItemList,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KFileItemList,
    release_KFileItemList,
    cast_KFileItemList,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_KFileItemList,
    0,
    0,
    0
};

#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kfileitem.sip"
#include <kfileitem.h>
#line 12847 "sipkiopart2.cpp"

#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/udsentry.sip"
#include <udsentry.h>
#line 12851 "sipkiopart2.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 12854 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 12857 "sipkiopart2.cpp"
#line 37 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kfilemetainfo.sip"
#include <kfilemetainfo.h>
#line 12860 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 12863 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 12866 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 12869 "sipkiopart2.cpp"
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 12884 "sipkiopart2.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/klockfile.sip"
#include <klockfile.h>
#line 12887 "sipkiopart2.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kmimetype.sip"
#include <kmimetype.h>
#line 12890 "sipkiopart2.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservice.sip"
#include <kservice.h>
#line 12893 "sipkiopart2.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservicegroup.sip"
#include <kservicegroup.h>
#line 12896 "sipkiopart2.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservicetype.sip"
#include <kservicetype.h>
#line 12899 "sipkiopart2.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ksharedconfig.sip"
#include <ksharedconfig.h>
#line 12902 "sipkiopart2.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ksycocaentry.sip"
#include <ksycocaentry.h>
#line 12905 "sipkiopart2.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kdatetime.sip"
#include <kdatetime.h>
#line 12908 "sipkiopart2.cpp"
#line 46 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kacl.sip"
#include <kacl.h>
#line 12911 "sipkiopart2.cpp"


extern "C" {static PyObject *meth_KFileItem_refresh(PyObject *, PyObject *);}
static PyObject *meth_KFileItem_refresh(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KFileItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KFileItem,sipName_refresh);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItem_refreshMimeType(PyObject *, PyObject *);}
static PyObject *meth_KFileItem_refreshMimeType(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KFileItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KFileItem,sipName_refreshMimeType);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItem_url(PyObject *, PyObject *);}
static PyObject *meth_KFileItem_url(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KFileItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KFileItem,sipName_url);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItem_setUrl(PyObject *, PyObject *);}
static PyObject *meth_KFileItem_setUrl(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KUrl * a0;
        KFileItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KFileItem,sipName_setUrl);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItem_setName(PyObject *, PyObject *);}
static PyObject *meth_KFileItem_setName(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        KFileItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KFileItem,sipName_setName);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItem_permissions(PyObject *, PyObject *);}
static PyObject *meth_KFileItem_permissions(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KFileItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KFileItem,sipName_permissions);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItem_permissionsString(PyObject *, PyObject *);}
static PyObject *meth_KFileItem_permissionsString(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KFileItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KFileItem,sipName_permissionsString);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItem_hasExtendedACL(PyObject *, PyObject *);}
static PyObject *meth_KFileItem_hasExtendedACL(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KFileItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KFileItem,sipName_hasExtendedACL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItem_ACL(PyObject *, PyObject *);}
static PyObject *meth_KFileItem_ACL(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KFileItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KFileItem,sipName_ACL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItem_defaultACL(PyObject *, PyObject *);}
static PyObject *meth_KFileItem_defaultACL(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KFileItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KFileItem,sipName_defaultACL);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItem_mode(PyObject *, PyObject *);}
static PyObject *meth_KFileItem_mode(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KFileItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KFileItem,sipName_mode);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItem_user(PyObject *, PyObject *);}
static PyObject *meth_KFileItem_user(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KFileItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KFileItem,sipName_user);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItem_group(PyObject *, PyObject *);}
static PyObject *meth_KFileItem_group(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KFileItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KFileItem,sipName_group);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItem_isLink(PyObject *, PyObject *);}
static PyObject *meth_KFileItem_isLink(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KFileItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KFileItem,sipName_isLink);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItem_isDir(PyObject *, PyObject *);}
static PyObject *meth_KFileItem_isDir(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KFileItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KFileItem,sipName_isDir);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItem_isFile(PyObject *, PyObject *);}
static PyObject *meth_KFileItem_isFile(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KFileItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KFileItem,sipName_isFile);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItem_isReadable(PyObject *, PyObject *);}
static PyObject *meth_KFileItem_isReadable(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KFileItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KFileItem,sipName_isReadable);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItem_isWritable(PyObject *, PyObject *);}
static PyObject *meth_KFileItem_isWritable(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KFileItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KFileItem,sipName_isWritable);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItem_isHidden(PyObject *, PyObject *);}
static PyObject *meth_KFileItem_isHidden(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KFileItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KFileItem,sipName_isHidden);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItem_isDesktopFile(PyObject *, PyObject *);}
static PyObject *meth_KFileItem_isDesktopFile(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KFileItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KFileItem,sipName_isDesktopFile);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItem_linkDest(PyObject *, PyObject *);}
static PyObject *meth_KFileItem_linkDest(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KFileItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KFileItem,sipName_linkDest);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItem_targetUrl(PyObject *, PyObject *);}
static PyObject *meth_KFileItem_targetUrl(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KFileItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KFileItem,sipName_targetUrl);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItem_localPath(PyObject *, PyObject *);}
static PyObject *meth_KFileItem_localPath(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KFileItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KFileItem,sipName_localPath);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItem_size(PyObject *, PyObject *);}
static PyObject *meth_KFileItem_size(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KFileItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KFileItem,sipName_size);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItem_time(PyObject *, PyObject *);}
static PyObject *meth_KFileItem_time(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KFileItem::FileTimes a0;
        KFileItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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);
        }
    }

    {
        unsigned a0;
        KFileItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KFileItem,sipName_time);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItem_timeString(PyObject *, PyObject *);}
static PyObject *meth_KFileItem_timeString(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KFileItem::FileTimes a0 = KFileItem::ModificationTime;
        KFileItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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);
        }
    }

    {
        unsigned a0;
        KFileItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KFileItem,sipName_timeString);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItem_isLocalFile(PyObject *, PyObject *);}
static PyObject *meth_KFileItem_isLocalFile(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KFileItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KFileItem,sipName_isLocalFile);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItem_text(PyObject *, PyObject *);}
static PyObject *meth_KFileItem_text(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KFileItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KFileItem,sipName_text);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItem_name(PyObject *, PyObject *);}
static PyObject *meth_KFileItem_name(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0 = 0;
        KFileItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KFileItem,sipName_name);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItem_mimetype(PyObject *, PyObject *);}
static PyObject *meth_KFileItem_mimetype(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KFileItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KFileItem,sipName_mimetype);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItem_determineMimeType(PyObject *, PyObject *);}
static PyObject *meth_KFileItem_determineMimeType(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KFileItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KFileItem,&sipCpp))
        {
            KMimeType::Ptr *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KMimeType::Ptr(sipCpp->determineMimeType());
            Py_END_ALLOW_THREADS

            PyObject *sipResObj = sipConvertFromType(sipRes,sipType_KSharedPtr_0200KMimeType,NULL);
            delete sipRes;

            return sipResObj;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KFileItem,sipName_determineMimeType);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItem_mimeTypePtr(PyObject *, PyObject *);}
static PyObject *meth_KFileItem_mimeTypePtr(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KFileItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KFileItem,&sipCpp))
        {
            KMimeType::Ptr *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KMimeType::Ptr(sipCpp->mimeTypePtr());
            Py_END_ALLOW_THREADS

            PyObject *sipResObj = sipConvertFromType(sipRes,sipType_KSharedPtr_0200KMimeType,NULL);
            delete sipRes;

            return sipResObj;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KFileItem,sipName_mimeTypePtr);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItem_isMimeTypeKnown(PyObject *, PyObject *);}
static PyObject *meth_KFileItem_isMimeTypeKnown(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KFileItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KFileItem,sipName_isMimeTypeKnown);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItem_mimeComment(PyObject *, PyObject *);}
static PyObject *meth_KFileItem_mimeComment(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KFileItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KFileItem,sipName_mimeComment);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItem_iconName(PyObject *, PyObject *);}
static PyObject *meth_KFileItem_iconName(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KFileItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KFileItem,sipName_iconName);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItem_pixmap(PyObject *, PyObject *);}
static PyObject *meth_KFileItem_pixmap(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        int a0;
        int a1 = 0;
        KFileItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KFileItem,sipName_pixmap);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItem_overlays(PyObject *, PyObject *);}
static PyObject *meth_KFileItem_overlays(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KFileItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KFileItem,sipName_overlays);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItem_getStatusBarInfo(PyObject *, PyObject *);}
static PyObject *meth_KFileItem_getStatusBarInfo(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KFileItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KFileItem,sipName_getStatusBarInfo);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItem_getToolTipText(PyObject *, PyObject *);}
static PyObject *meth_KFileItem_getToolTipText(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        int a0 = 6;
        KFileItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KFileItem,sipName_getToolTipText);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItem_acceptsDrops(PyObject *, PyObject *);}
static PyObject *meth_KFileItem_acceptsDrops(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KFileItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KFileItem,sipName_acceptsDrops);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItem_run(PyObject *, PyObject *);}
static PyObject *meth_KFileItem_run(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        QWidget * a0 = 0;
        KFileItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KFileItem,sipName_run);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItem_entry(PyObject *, PyObject *);}
static PyObject *meth_KFileItem_entry(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KFileItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KFileItem,sipName_entry);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItem_isMarked(PyObject *, PyObject *);}
static PyObject *meth_KFileItem_isMarked(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KFileItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KFileItem,sipName_isMarked);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItem_mark(PyObject *, PyObject *);}
static PyObject *meth_KFileItem_mark(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KFileItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KFileItem,sipName_mark);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItem_unmark(PyObject *, PyObject *);}
static PyObject *meth_KFileItem_unmark(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KFileItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KFileItem,sipName_unmark);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItem_isRegularFile(PyObject *, PyObject *);}
static PyObject *meth_KFileItem_isRegularFile(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KFileItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KFileItem,sipName_isRegularFile);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItem_cmp(PyObject *, PyObject *);}
static PyObject *meth_KFileItem_cmp(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KFileItem * a0;
        KFileItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KFileItem,sipName_cmp);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItem_setMetaInfo(PyObject *, PyObject *);}
static PyObject *meth_KFileItem_setMetaInfo(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KFileMetaInfo * a0;
        KFileItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KFileItem,sipName_setMetaInfo);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItem_metaInfo(PyObject *, PyObject *);}
static PyObject *meth_KFileItem_metaInfo(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0 = 1;
        int a1 = KFileMetaInfo::Fastest;
        KFileItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KFileItem,sipName_metaInfo);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItem_assign(PyObject *, PyObject *);}
static PyObject *meth_KFileItem_assign(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KFileItem * a0;
        KFileItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KFileItem,sipName_assign);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItem_setUDSEntry(PyObject *, PyObject *);}
static PyObject *meth_KFileItem_setUDSEntry(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KIO::UDSEntry * a0;
        const KUrl * a1;
        bool a2 = 0;
        bool a3 = 0;
        KFileItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KFileItem,sipName_setUDSEntry);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItem_mostLocalUrl(PyObject *, PyObject *);}
static PyObject *meth_KFileItem_mostLocalUrl(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0;
        KFileItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KFileItem,sipName_mostLocalUrl);

    return NULL;
}


extern "C" {static PyObject *meth_KFileItem_isNull(PyObject *, PyObject *);}
static PyObject *meth_KFileItem_isNull(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KFileItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KFileItem,sipName_isNull);

    return NULL;
}


extern "C" {static PyObject *slot_KFileItem___ne__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_KFileItem___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    KFileItem *sipCpp = reinterpret_cast<KFileItem *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KFileItem));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        const KFileItem * a0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1J9",sipType_KFileItem,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->KFileItem::operator!=(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    return sipPySlotExtend(&sipModuleAPI_kio,ne_slot,sipType_KFileItem,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KFileItem___eq__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_KFileItem___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    KFileItem *sipCpp = reinterpret_cast<KFileItem *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KFileItem));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        const KFileItem * a0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1J9",sipType_KFileItem,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->KFileItem::operator==(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    return sipPySlotExtend(&sipModuleAPI_kio,eq_slot,sipType_KFileItem,sipSelf,sipArg);
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KFileItem(void *, const sipTypeDef *);}
static void *cast_KFileItem(void *ptr,const sipTypeDef *targetType)
{
    if (targetType == sipType_KFileItem)
        return ptr;

    return NULL;
}


/* 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 *, const void*);}
static void assign_KFileItem(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<KFileItem *>(sipDst) = *reinterpret_cast<const KFileItem *>(sipSrc);
}


extern "C" {static void dealloc_KFileItem(sipSimpleWrapper *);}
static void dealloc_KFileItem(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KFileItem(sipSelf->u.cppPtr,0);
    }
}


extern "C" {static void *init_KFileItem(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KFileItem(sipSimpleWrapper *, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    KFileItem *sipCpp = 0;

    if (!sipCpp)
    {
        if (sipParseArgs(sipArgsParsed,sipArgs,""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KFileItem();
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        const KIO::UDSEntry * a0;
        const KUrl * a1;
        bool a2 = 0;
        bool a3 = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"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
        }
    }

    if (!sipCpp)
    {
        mode_t a0;
        mode_t a1;
        const KUrl * a2;
        bool a3 = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"uuJ9|b",&a0,&a1,sipType_KUrl,&a2,&a3))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KFileItem(a0,a1,*a2,a3);
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        const KUrl * a0;
        const QString * a1;
        int a1State = 0;
        mode_t a2;

        if (sipParseArgs(sipArgsParsed,sipArgs,"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);
        }
    }

    if (!sipCpp)
    {
        const KFileItem * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_KFileItem,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KFileItem(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    return sipCpp;
}


/* 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_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_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_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, KFileItem::AccessTime, 73},
    {sipName_CreationTime, KFileItem::CreationTime, 73},
    {sipName_ModificationTime, KFileItem::ModificationTime, 73},
    {sipName_Unknown, KFileItem::Unknown, -1},
};


pyqt4ClassTypeDef pyqt4Type_kio_KFileItem = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KFileItem,
        {0}
    },
    sipNameNr_KFileItem,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {0, 0, 1},
    0,
    slots_KFileItem,
    53, methods_KFileItem,
    4, enummembers_KFileItem,
    0, 0,
    init_KFileItem,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KFileItem,
    release_KFileItem,
    cast_KFileItem,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_KFileItem,
    0,
    0,
    0
};

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kemailsettings.sip"
#include <kemailsettings.h>
#line 14691 "sipkiopart2.cpp"

#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 14695 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 14698 "sipkiopart2.cpp"


extern "C" {static PyObject *meth_KEMailSettings_profiles(PyObject *, PyObject *);}
static PyObject *meth_KEMailSettings_profiles(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KEMailSettings *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KEMailSettings,sipName_profiles);

    return NULL;
}


extern "C" {static PyObject *meth_KEMailSettings_currentProfileName(PyObject *, PyObject *);}
static PyObject *meth_KEMailSettings_currentProfileName(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KEMailSettings *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KEMailSettings,sipName_currentProfileName);

    return NULL;
}


extern "C" {static PyObject *meth_KEMailSettings_setProfile(PyObject *, PyObject *);}
static PyObject *meth_KEMailSettings_setProfile(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        KEMailSettings *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KEMailSettings,sipName_setProfile);

    return NULL;
}


extern "C" {static PyObject *meth_KEMailSettings_defaultProfileName(PyObject *, PyObject *);}
static PyObject *meth_KEMailSettings_defaultProfileName(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KEMailSettings *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KEMailSettings,sipName_defaultProfileName);

    return NULL;
}


extern "C" {static PyObject *meth_KEMailSettings_setDefault(PyObject *, PyObject *);}
static PyObject *meth_KEMailSettings_setDefault(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        KEMailSettings *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KEMailSettings,sipName_setDefault);

    return NULL;
}


extern "C" {static PyObject *meth_KEMailSettings_getSetting(PyObject *, PyObject *);}
static PyObject *meth_KEMailSettings_getSetting(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KEMailSettings::Setting a0;
        KEMailSettings *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KEMailSettings,sipName_getSetting);

    return NULL;
}


extern "C" {static PyObject *meth_KEMailSettings_setSetting(PyObject *, PyObject *);}
static PyObject *meth_KEMailSettings_setSetting(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KEMailSettings::Setting a0;
        const QString * a1;
        int a1State = 0;
        KEMailSettings *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KEMailSettings,sipName_setSetting);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KEMailSettings(void *, const sipTypeDef *);}
static void *cast_KEMailSettings(void *ptr,const sipTypeDef *targetType)
{
    if (targetType == sipType_KEMailSettings)
        return ptr;

    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(sipSelf->u.cppPtr,0);
    }
}


extern "C" {static void *init_KEMailSettings(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KEMailSettings(sipSimpleWrapper *, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    KEMailSettings *sipCpp = 0;

    if (!sipCpp)
    {
        if (sipParseArgs(sipArgsParsed,sipArgs,""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KEMailSettings();
            Py_END_ALLOW_THREADS
        }
    }

    return sipCpp;
}


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, KEMailSettings::ClientProgram, 61},
    {sipName_ClientTerminal, KEMailSettings::ClientTerminal, 61},
    {sipName_EmailAddress, KEMailSettings::EmailAddress, 61},
    {sipName_InServer, KEMailSettings::InServer, 61},
    {sipName_InServerLogin, KEMailSettings::InServerLogin, 61},
    {sipName_InServerMBXType, KEMailSettings::InServerMBXType, 61},
    {sipName_InServerPass, KEMailSettings::InServerPass, 61},
    {sipName_InServerTLS, KEMailSettings::InServerTLS, 61},
    {sipName_InServerType, KEMailSettings::InServerType, 61},
    {sipName_OTHER, KEMailSettings::OTHER, 60},
    {sipName_Organization, KEMailSettings::Organization, 61},
    {sipName_OutServer, KEMailSettings::OutServer, 61},
    {sipName_OutServerCommand, KEMailSettings::OutServerCommand, 61},
    {sipName_OutServerLogin, KEMailSettings::OutServerLogin, 61},
    {sipName_OutServerPass, KEMailSettings::OutServerPass, 61},
    {sipName_OutServerTLS, KEMailSettings::OutServerTLS, 61},
    {sipName_OutServerType, KEMailSettings::OutServerType, 61},
    {sipName_POP3, KEMailSettings::POP3, 60},
    {sipName_RealName, KEMailSettings::RealName, 61},
    {sipName_ReplyToAddress, KEMailSettings::ReplyToAddress, 61},
    {sipName_SMTP, KEMailSettings::SMTP, 60},
};


pyqt4ClassTypeDef pyqt4Type_kio_KEMailSettings = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KEMailSettings,
        {0}
    },
    sipNameNr_KEMailSettings,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {0, 0, 1},
    0,
    0,
    7, methods_KEMailSettings,
    21, enummembers_KEMailSettings,
    0, 0,
    init_KEMailSettings,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KEMailSettings,
    release_KEMailSettings,
    cast_KEMailSettings,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kdirwatch.sip"
#include <kdirwatch.h>
#line 15035 "sipkiopart2.cpp"

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kdirwatch.sip"
#include <kdirwatch.h>
#line 15039 "sipkiopart2.cpp"


extern "C" {static int slot_KDirWatch_WatchModes___bool__(PyObject *sipSelf);}
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 271 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() != 0);
#line 15057 "sipkiopart2.cpp"

            return sipRes;
        }
    }
}


extern "C" {static PyObject *slot_KDirWatch_WatchModes___ne__(PyObject *sipSelf,PyObject *sipArg);}
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;

    int sipArgsParsed = 0;

    {
        const KDirWatch::WatchModes * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1J1",sipType_KDirWatch_WatchModes,&a0,&a0State))
        {
            bool sipRes = 0;

#line 266 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() != a0->operator int());
#line 15085 "sipkiopart2.cpp"

            sipReleaseType(const_cast<KDirWatch::WatchModes *>(a0),sipType_KDirWatch_WatchModes,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    return sipPySlotExtend(&sipModuleAPI_kio,ne_slot,sipType_KDirWatch_WatchModes,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KDirWatch_WatchModes___eq__(PyObject *sipSelf,PyObject *sipArg);}
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;

    int sipArgsParsed = 0;

    {
        const KDirWatch::WatchModes * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1J1",sipType_KDirWatch_WatchModes,&a0,&a0State))
        {
            bool sipRes = 0;

#line 261 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() == a0->operator int());
#line 15117 "sipkiopart2.cpp"

            sipReleaseType(const_cast<KDirWatch::WatchModes *>(a0),sipType_KDirWatch_WatchModes,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    return sipPySlotExtend(&sipModuleAPI_kio,eq_slot,sipType_KDirWatch_WatchModes,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KDirWatch_WatchModes___invert__(PyObject *sipSelf);}
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);
        }
    }
}


extern "C" {static PyObject *slot_KDirWatch_WatchModes___and__(PyObject *sipArg0,PyObject *sipArg1);}
static PyObject *slot_KDirWatch_WatchModes___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    int sipArgsParsed = 0;

    {
        KDirWatch::WatchModes * a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipArgsParsed,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);
        }
    }

    return sipPySlotExtend(&sipModuleAPI_kio,and_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KDirWatch_WatchModes___xor__(PyObject *sipArg0,PyObject *sipArg1);}
static PyObject *slot_KDirWatch_WatchModes___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    int sipArgsParsed = 0;

    {
        KDirWatch::WatchModes * a0;
        int a0State = 0;
        KDirWatch::WatchModes * a1;
        int a1State = 0;

        if (sipParsePair(&sipArgsParsed,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);
        }
    }

    return sipPySlotExtend(&sipModuleAPI_kio,xor_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KDirWatch_WatchModes___or__(PyObject *sipArg0,PyObject *sipArg1);}
static PyObject *slot_KDirWatch_WatchModes___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    int sipArgsParsed = 0;

    {
        KDirWatch::WatchModes * a0;
        int a0State = 0;
        KDirWatch::WatchModes * a1;
        int a1State = 0;

        if (sipParsePair(&sipArgsParsed,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);
        }
    }

    return sipPySlotExtend(&sipModuleAPI_kio,or_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KDirWatch_WatchModes___int__(PyObject *sipSelf);}
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);
        }
    }
}


extern "C" {static PyObject *slot_KDirWatch_WatchModes___ixor__(PyObject *sipSelf,PyObject *sipArg);}
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;

    int sipArgsParsed = 0;

    {
        KDirWatch::WatchModes * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,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;
        }
    }

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_KDirWatch_WatchModes___ior__(PyObject *sipSelf,PyObject *sipArg);}
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;

    int sipArgsParsed = 0;

    {
        KDirWatch::WatchModes * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,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;
        }
    }

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_KDirWatch_WatchModes___iand__(PyObject *sipSelf,PyObject *sipArg);}
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;

    int sipArgsParsed = 0;

    {
        int a0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1i",&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KDirWatch::WatchModes::operator&=(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KDirWatch_WatchModes(void *, const sipTypeDef *);}
static void *cast_KDirWatch_WatchModes(void *ptr,const sipTypeDef *targetType)
{
    if (targetType == sipType_KDirWatch_WatchModes)
        return ptr;

    return NULL;
}


/* 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 *, const void*);}
static void assign_KDirWatch_WatchModes(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<KDirWatch::WatchModes *>(sipDst) = *reinterpret_cast<const KDirWatch::WatchModes *>(sipSrc);
}


extern "C" {static void dealloc_KDirWatch_WatchModes(sipSimpleWrapper *);}
static void dealloc_KDirWatch_WatchModes(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KDirWatch_WatchModes(sipSelf->u.cppPtr,0);
    }
}


extern "C" {static void *init_KDirWatch_WatchModes(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KDirWatch_WatchModes(sipSimpleWrapper *, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    KDirWatch::WatchModes *sipCpp = 0;

    if (!sipCpp)
    {
        const KDirWatch::WatchModes * a0;
        int a0State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"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);
        }
    }

    if (!sipCpp)
    {
        int a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"i",&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KDirWatch::WatchModes(a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        if (sipParseArgs(sipArgsParsed,sipArgs,""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KDirWatch::WatchModes();
            Py_END_ALLOW_THREADS
        }
    }

    return sipCpp;
}


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 276 "/usr/local/share/py-sip/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(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 15488 "sipkiopart2.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 pyqt4Type_kio_KDirWatch_WatchModes = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KDirWatch__WatchModes,
        {0}
    },
    sipNameNr_WatchModes,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {53, 255, 0},
    0,
    slots_KDirWatch_WatchModes,
    0, 0,
    0, 0,
    0, 0,
    init_KDirWatch_WatchModes,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KDirWatch_WatchModes,
    release_KDirWatch_WatchModes,
    cast_KDirWatch_WatchModes,
    convertTo_KDirWatch_WatchModes,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_KDirWatch_WatchModes,
    0,
    1,
    0
};

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kdirwatch.sip"
#include <kdirwatch.h>
#line 15556 "sipkiopart2.cpp"

#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 15560 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 15563 "sipkiopart2.cpp"
#line 321 "/usr/local/share/py-sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 15566 "sipkiopart2.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kdirwatch.sip"
#include <kdirwatch.h>
#line 15569 "sipkiopart2.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 15572 "sipkiopart2.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 15575 "sipkiopart2.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 15578 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 15581 "sipkiopart2.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 15612 "sipkiopart2.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 15615 "sipkiopart2.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 15618 "sipkiopart2.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 15621 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 15624 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 15627 "sipkiopart2.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 15630 "sipkiopart2.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 15633 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 15636 "sipkiopart2.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 15639 "sipkiopart2.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 public method for every protected method visible from
     * this class.
     */
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    bool event(QEvent *);
    bool eventFilter(QObject *,QEvent *);
    void timerEvent(QTimerEvent *);
    void childEvent(QChildEvent *);
    void customEvent(QEvent *);
    void connectNotify(const char *);
    void disconnectNotify(const char *);

public:
    sipSimpleWrapper *sipPySelf;

private:
    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 && sip_kio_qt_metacast(sipPySelf,sipType_KDirWatch,_clname)) ? this : KDirWatch::qt_metacast(_clname);
}

bool sipKDirWatch::event(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_event);

    if (!meth)
        return QObject::event(a0);

    return ((sipVH_QtCore_13)(sipModuleAPI_kio_QtCore->em_virthandlers[13]))(sipGILState,meth,a0);
}

bool sipKDirWatch::eventFilter(QObject *a0,QEvent *a1)
{
    typedef bool (*sipVH_QtCore_21)(sip_gilstate_t,PyObject *,QObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_eventFilter);

    if (!meth)
        return QObject::eventFilter(a0,a1);

    return ((sipVH_QtCore_21)(sipModuleAPI_kio_QtCore->em_virthandlers[21]))(sipGILState,meth,a0,a1);
}

void sipKDirWatch::timerEvent(QTimerEvent *a0)
{
    typedef void (*sipVH_QtCore_3)(sip_gilstate_t,PyObject *,QTimerEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_timerEvent);

    if (!meth)
    {
        QObject::timerEvent(a0);
        return;
    }

    ((sipVH_QtCore_3)(sipModuleAPI_kio_QtCore->em_virthandlers[3]))(sipGILState,meth,a0);
}

void sipKDirWatch::childEvent(QChildEvent *a0)
{
    typedef void (*sipVH_QtCore_20)(sip_gilstate_t,PyObject *,QChildEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!meth)
    {
        QObject::childEvent(a0);
        return;
    }

    ((sipVH_QtCore_20)(sipModuleAPI_kio_QtCore->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipKDirWatch::customEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_customEvent);

    if (!meth)
    {
        QObject::customEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_kio_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipKDirWatch::connectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_connectNotify);

    if (!meth)
    {
        QObject::connectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipKDirWatch::disconnectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_disconnectNotify);

    if (!meth)
    {
        QObject::disconnectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

int sipKDirWatch::sipProtect_receivers(const char *a0) const
{
    return QObject::receivers(a0);
}

void sipKDirWatch::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipKDirWatch::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent *a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipKDirWatch::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipKDirWatch::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipKDirWatch::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}


extern "C" {static PyObject *meth_KDirWatch_receivers(PyObject *, PyObject *);}
static PyObject *meth_KDirWatch_receivers(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        char * a0;
        sipKDirWatch *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KDirWatch,&sipCpp,&a0))
        {
            int sipRes = 0;

#line 462 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
#line 15892 "sipkiopart2.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirWatch,sipName_receivers);

    return NULL;
}


extern "C" {static PyObject *meth_KDirWatch_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_KDirWatch_timerEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipKDirWatch *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KDirWatch,&sipCpp,sipType_QTimerEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirWatch,sipName_timerEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KDirWatch_childEvent(PyObject *, PyObject *);}
static PyObject *meth_KDirWatch_childEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipKDirWatch *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KDirWatch,&sipCpp,sipType_QChildEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirWatch,sipName_childEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KDirWatch_customEvent(PyObject *, PyObject *);}
static PyObject *meth_KDirWatch_customEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKDirWatch *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KDirWatch,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirWatch,sipName_customEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KDirWatch_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_KDirWatch_connectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKDirWatch *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KDirWatch,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirWatch,sipName_connectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KDirWatch_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_KDirWatch_disconnectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKDirWatch *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KDirWatch,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirWatch,sipName_disconnectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KDirWatch_addDir(PyObject *, PyObject *);}
static PyObject *meth_KDirWatch_addDir(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        KDirWatch::WatchModes a1def = KDirWatch::WatchDirOnly;
        KDirWatch::WatchModes * a1 = &a1def;
        int a1State = 0;
        KDirWatch *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KDirWatch,sipName_addDir);

    return NULL;
}


extern "C" {static PyObject *meth_KDirWatch_addFile(PyObject *, PyObject *);}
static PyObject *meth_KDirWatch_addFile(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        KDirWatch *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KDirWatch,sipName_addFile);

    return NULL;
}


extern "C" {static PyObject *meth_KDirWatch_ctime(PyObject *, PyObject *);}
static PyObject *meth_KDirWatch_ctime(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        KDirWatch *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KDirWatch,sipName_ctime);

    return NULL;
}


extern "C" {static PyObject *meth_KDirWatch_removeDir(PyObject *, PyObject *);}
static PyObject *meth_KDirWatch_removeDir(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        KDirWatch *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KDirWatch,sipName_removeDir);

    return NULL;
}


extern "C" {static PyObject *meth_KDirWatch_removeFile(PyObject *, PyObject *);}
static PyObject *meth_KDirWatch_removeFile(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        KDirWatch *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KDirWatch,sipName_removeFile);

    return NULL;
}


extern "C" {static PyObject *meth_KDirWatch_stopDirScan(PyObject *, PyObject *);}
static PyObject *meth_KDirWatch_stopDirScan(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        KDirWatch *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KDirWatch,sipName_stopDirScan);

    return NULL;
}


extern "C" {static PyObject *meth_KDirWatch_restartDirScan(PyObject *, PyObject *);}
static PyObject *meth_KDirWatch_restartDirScan(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        KDirWatch *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KDirWatch,sipName_restartDirScan);

    return NULL;
}


extern "C" {static PyObject *meth_KDirWatch_startScan(PyObject *, PyObject *);}
static PyObject *meth_KDirWatch_startScan(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0 = 0;
        bool a1 = 0;
        KDirWatch *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KDirWatch,sipName_startScan);

    return NULL;
}


extern "C" {static PyObject *meth_KDirWatch_stopScan(PyObject *, PyObject *);}
static PyObject *meth_KDirWatch_stopScan(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KDirWatch *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KDirWatch,sipName_stopScan);

    return NULL;
}


extern "C" {static PyObject *meth_KDirWatch_isStopped(PyObject *, PyObject *);}
static PyObject *meth_KDirWatch_isStopped(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KDirWatch *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KDirWatch,sipName_isStopped);

    return NULL;
}


extern "C" {static PyObject *meth_KDirWatch_contains(PyObject *, PyObject *);}
static PyObject *meth_KDirWatch_contains(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        KDirWatch *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KDirWatch,sipName_contains);

    return NULL;
}


extern "C" {static PyObject *meth_KDirWatch_statistics(PyObject *, PyObject *);}
static PyObject *meth_KDirWatch_statistics(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KDirWatch,sipName_statistics);

    return NULL;
}


extern "C" {static PyObject *meth_KDirWatch_setCreated(PyObject *, PyObject *);}
static PyObject *meth_KDirWatch_setCreated(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        KDirWatch *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KDirWatch,sipName_setCreated);

    return NULL;
}


extern "C" {static PyObject *meth_KDirWatch_setDirty(PyObject *, PyObject *);}
static PyObject *meth_KDirWatch_setDirty(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        KDirWatch *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KDirWatch,sipName_setDirty);

    return NULL;
}


extern "C" {static PyObject *meth_KDirWatch_setDeleted(PyObject *, PyObject *);}
static PyObject *meth_KDirWatch_setDeleted(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        KDirWatch *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KDirWatch,sipName_setDeleted);

    return NULL;
}


extern "C" {static PyObject *meth_KDirWatch_internalMethod(PyObject *, PyObject *);}
static PyObject *meth_KDirWatch_internalMethod(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KDirWatch *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KDirWatch,sipName_internalMethod);

    return NULL;
}


extern "C" {static PyObject *meth_KDirWatch_self(PyObject *, PyObject *);}
static PyObject *meth_KDirWatch_self(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KDirWatch,sipName_self);

    return NULL;
}


extern "C" {static PyObject *meth_KDirWatch_exists(PyObject *, PyObject *);}
static PyObject *meth_KDirWatch_exists(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KDirWatch,sipName_exists);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KDirWatch(void *, const sipTypeDef *);}
static void *cast_KDirWatch(void *ptr,const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KDirWatch)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(KDirWatch *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KDirWatch(void *, int);}
static void release_KDirWatch(void *sipCppV,int state)
{
    Py_BEGIN_ALLOW_THREADS

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKDirWatch *>(sipCppV);
    else
        delete reinterpret_cast<KDirWatch *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KDirWatch(sipSimpleWrapper *);}
static void dealloc_KDirWatch(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKDirWatch *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KDirWatch(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_KDirWatch(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KDirWatch(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **sipOwner, int *sipArgsParsed)
{
    sipKDirWatch *sipCpp = 0;

    if (!sipCpp)
    {
        QObject * a0 = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"|JH",sipType_QObject,&a0,sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKDirWatch(a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KDirWatch[] = {{111, 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_childEvent), meth_KDirWatch_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KDirWatch_connectNotify, 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_customEvent), meth_KDirWatch_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KDirWatch_disconnectNotify, 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_receivers), meth_KDirWatch_receivers, 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},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KDirWatch_timerEvent, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KDirWatch[] = {
    {sipName_DNotify, KDirWatch::DNotify, 54},
    {sipName_FAM, KDirWatch::FAM, 54},
    {sipName_INotify, KDirWatch::INotify, 54},
    {sipName_Stat, KDirWatch::Stat, 54},
    {sipName_WatchDirOnly, KDirWatch::WatchDirOnly, 55},
    {sipName_WatchFiles, KDirWatch::WatchFiles, 55},
    {sipName_WatchSubDirs, KDirWatch::WatchSubDirs, 55},
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_KDirWatch[] = {
    {"deleted(const QString&)", 0},
    {"created(const QString&)", 0},
    {"dirty(const QString&)", 0},
    {0, 0}
};


pyqt4ClassTypeDef pyqt4Type_kio_KDirWatch = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KDirWatch,
        {0}
    },
    sipNameNr_KDirWatch,
    -1,
    -1,
    {0, 0, 1},
    supers_KDirWatch,
    0,
    24, methods_KDirWatch,
    7, enummembers_KDirWatch,
    0, 0,
    init_KDirWatch,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KDirWatch,
    release_KDirWatch,
    cast_KDirWatch,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KDirWatch::staticMetaObject,
    0,
    pyqt4_signals_KDirWatch
};

#line 30 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kdirmodel.sip"
#include <kdirmodel.h>
#line 16731 "sipkiopart2.cpp"

#line 30 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kdirmodel.sip"
#include <kdirmodel.h>
#line 16735 "sipkiopart2.cpp"


extern "C" {static int slot_KDirModel_DropsAllowed___bool__(PyObject *sipSelf);}
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 271 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() != 0);
#line 16753 "sipkiopart2.cpp"

            return sipRes;
        }
    }
}


extern "C" {static PyObject *slot_KDirModel_DropsAllowed___ne__(PyObject *sipSelf,PyObject *sipArg);}
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;

    int sipArgsParsed = 0;

    {
        const KDirModel::DropsAllowed * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1J1",sipType_KDirModel_DropsAllowed,&a0,&a0State))
        {
            bool sipRes = 0;

#line 266 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() != a0->operator int());
#line 16781 "sipkiopart2.cpp"

            sipReleaseType(const_cast<KDirModel::DropsAllowed *>(a0),sipType_KDirModel_DropsAllowed,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    return sipPySlotExtend(&sipModuleAPI_kio,ne_slot,sipType_KDirModel_DropsAllowed,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KDirModel_DropsAllowed___eq__(PyObject *sipSelf,PyObject *sipArg);}
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;

    int sipArgsParsed = 0;

    {
        const KDirModel::DropsAllowed * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1J1",sipType_KDirModel_DropsAllowed,&a0,&a0State))
        {
            bool sipRes = 0;

#line 261 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() == a0->operator int());
#line 16813 "sipkiopart2.cpp"

            sipReleaseType(const_cast<KDirModel::DropsAllowed *>(a0),sipType_KDirModel_DropsAllowed,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    return sipPySlotExtend(&sipModuleAPI_kio,eq_slot,sipType_KDirModel_DropsAllowed,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KDirModel_DropsAllowed___invert__(PyObject *sipSelf);}
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);
        }
    }
}


extern "C" {static PyObject *slot_KDirModel_DropsAllowed___and__(PyObject *sipArg0,PyObject *sipArg1);}
static PyObject *slot_KDirModel_DropsAllowed___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    int sipArgsParsed = 0;

    {
        KDirModel::DropsAllowed * a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipArgsParsed,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);
        }
    }

    return sipPySlotExtend(&sipModuleAPI_kio,and_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KDirModel_DropsAllowed___xor__(PyObject *sipArg0,PyObject *sipArg1);}
static PyObject *slot_KDirModel_DropsAllowed___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    int sipArgsParsed = 0;

    {
        KDirModel::DropsAllowed * a0;
        int a0State = 0;
        KDirModel::DropsAllowed * a1;
        int a1State = 0;

        if (sipParsePair(&sipArgsParsed,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);
        }
    }

    return sipPySlotExtend(&sipModuleAPI_kio,xor_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KDirModel_DropsAllowed___or__(PyObject *sipArg0,PyObject *sipArg1);}
static PyObject *slot_KDirModel_DropsAllowed___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    int sipArgsParsed = 0;

    {
        KDirModel::DropsAllowed * a0;
        int a0State = 0;
        KDirModel::DropsAllowed * a1;
        int a1State = 0;

        if (sipParsePair(&sipArgsParsed,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);
        }
    }

    return sipPySlotExtend(&sipModuleAPI_kio,or_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KDirModel_DropsAllowed___int__(PyObject *sipSelf);}
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);
        }
    }
}


extern "C" {static PyObject *slot_KDirModel_DropsAllowed___ixor__(PyObject *sipSelf,PyObject *sipArg);}
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;

    int sipArgsParsed = 0;

    {
        KDirModel::DropsAllowed * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,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;
        }
    }

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_KDirModel_DropsAllowed___ior__(PyObject *sipSelf,PyObject *sipArg);}
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;

    int sipArgsParsed = 0;

    {
        KDirModel::DropsAllowed * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,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;
        }
    }

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_KDirModel_DropsAllowed___iand__(PyObject *sipSelf,PyObject *sipArg);}
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;

    int sipArgsParsed = 0;

    {
        int a0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1i",&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KDirModel::DropsAllowed::operator&=(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KDirModel_DropsAllowed(void *, const sipTypeDef *);}
static void *cast_KDirModel_DropsAllowed(void *ptr,const sipTypeDef *targetType)
{
    if (targetType == sipType_KDirModel_DropsAllowed)
        return ptr;

    return NULL;
}


/* 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 *, const void*);}
static void assign_KDirModel_DropsAllowed(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<KDirModel::DropsAllowed *>(sipDst) = *reinterpret_cast<const KDirModel::DropsAllowed *>(sipSrc);
}


extern "C" {static void dealloc_KDirModel_DropsAllowed(sipSimpleWrapper *);}
static void dealloc_KDirModel_DropsAllowed(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KDirModel_DropsAllowed(sipSelf->u.cppPtr,0);
    }
}


extern "C" {static void *init_KDirModel_DropsAllowed(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KDirModel_DropsAllowed(sipSimpleWrapper *, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    KDirModel::DropsAllowed *sipCpp = 0;

    if (!sipCpp)
    {
        const KDirModel::DropsAllowed * a0;
        int a0State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"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);
        }
    }

    if (!sipCpp)
    {
        int a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"i",&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KDirModel::DropsAllowed(a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        if (sipParseArgs(sipArgsParsed,sipArgs,""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KDirModel::DropsAllowed();
            Py_END_ALLOW_THREADS
        }
    }

    return sipCpp;
}


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 276 "/usr/local/share/py-sip/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(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 17184 "sipkiopart2.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 pyqt4Type_kio_KDirModel_DropsAllowed = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KDirModel__DropsAllowed,
        {0}
    },
    sipNameNr_DropsAllowed,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {44, 255, 0},
    0,
    slots_KDirModel_DropsAllowed,
    0, 0,
    0, 0,
    0, 0,
    init_KDirModel_DropsAllowed,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KDirModel_DropsAllowed,
    release_KDirModel_DropsAllowed,
    cast_KDirModel_DropsAllowed,
    convertTo_KDirModel_DropsAllowed,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_KDirModel_DropsAllowed,
    0,
    1,
    0
};

#line 30 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kdirmodel.sip"
#include <kdirmodel.h>
#line 17252 "sipkiopart2.cpp"

#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 17256 "sipkiopart2.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 17259 "sipkiopart2.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 17262 "sipkiopart2.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 17265 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 17268 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 17271 "sipkiopart2.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 17274 "sipkiopart2.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 17305 "sipkiopart2.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 17308 "sipkiopart2.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 17311 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 17314 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 17317 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 17320 "sipkiopart2.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 17323 "sipkiopart2.cpp"
#line 30 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kdirmodel.sip"
#include <kdirmodel.h>
#line 17326 "sipkiopart2.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 17329 "sipkiopart2.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kfileitem.sip"
#include <kfileitem.h>
#line 17332 "sipkiopart2.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kdirlister.sip"
#include <kdirlister.h>
#line 17335 "sipkiopart2.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 17338 "sipkiopart2.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qdatastream.sip"
#include <qdatastream.h>
#line 17341 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 17344 "sipkiopart2.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 17347 "sipkiopart2.cpp"
#line 43 "/usr/local/share/py-sip/QtCore/qmap.sip"
#include <qmap.h>
#line 154 "/usr/local/share/py-sip/QtCore/qmap.sip"
#include <qmap.h>
#line 17352 "sipkiopart2.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 17355 "sipkiopart2.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 17358 "sipkiopart2.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 17361 "sipkiopart2.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 17364 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 17367 "sipkiopart2.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 17370 "sipkiopart2.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 public method for every protected method visible from
     * this class.
     */
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);
    void sipProtect_encodeData(const QModelIndexList&,QDataStream&) const;
    bool sipProtect_decodeData(int,int,const QModelIndex&,QDataStream&);
    void sipProtect_beginInsertRows(const QModelIndex&,int,int);
    void sipProtect_endInsertRows();
    void sipProtect_beginRemoveRows(const QModelIndex&,int,int);
    void sipProtect_endRemoveRows();
    void sipProtect_beginInsertColumns(const QModelIndex&,int,int);
    void sipProtect_endInsertColumns();
    void sipProtect_beginRemoveColumns(const QModelIndex&,int,int);
    void sipProtect_endRemoveColumns();
    QModelIndexList sipProtect_persistentIndexList() const;
    void sipProtect_reset();
    void sipProtect_changePersistentIndex(const QModelIndex&,const QModelIndex&);
    void sipProtect_changePersistentIndexList(const QModelIndexList&,const QModelIndexList&);
    QModelIndex sipProtect_createIndex(int,int,void *) const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    bool canFetchMore(const QModelIndex&) const;
    int columnCount(const QModelIndex&) const;
    QVariant data(const QModelIndex&,int) const;
    bool dropMimeData(const QMimeData *,Qt::DropAction,int,int,const QModelIndex&);
    void fetchMore(const QModelIndex&);
    Qt::ItemFlags flags(const QModelIndex&) const;
    bool hasChildren(const QModelIndex&) const;
    QVariant headerData(int,Qt::Orientation,int) const;
    QModelIndex index(int,int,const QModelIndex&) const;
    QMimeData * mimeData(const QModelIndexList&) const;
    QStringList mimeTypes() const;
    QModelIndex parent(const QModelIndex&) const;
    int rowCount(const QModelIndex&) const;
    bool setData(const QModelIndex&,const QVariant&,int);
    void sort(int,Qt::SortOrder);
    bool setHeaderData(int,Qt::Orientation,const QVariant&,int);
    QMap<int,QVariant> itemData(const QModelIndex&) const;
    bool setItemData(const QModelIndex&,const QMap<int,QVariant>&);
    Qt::DropActions supportedDropActions() const;
    bool insertRows(int,int,const QModelIndex&);
    bool insertColumns(int,int,const QModelIndex&);
    bool removeRows(int,int,const QModelIndex&);
    bool removeColumns(int,int,const QModelIndex&);
    QModelIndex buddy(const QModelIndex&) const;
    QModelIndexList match(const QModelIndex&,int,const QVariant&,int,Qt::MatchFlags) const;
    QSize span(const QModelIndex&) const;
    bool submit();
    void revert();
    bool event(QEvent *);
    bool eventFilter(QObject *,QEvent *);
    void timerEvent(QTimerEvent *);
    void childEvent(QChildEvent *);
    void customEvent(QEvent *);
    void connectNotify(const char *);
    void disconnectNotify(const char *);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKDirModel(const sipKDirModel &);
    sipKDirModel &operator = (const sipKDirModel &);

    char sipPyMethods[35];
};

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 && sip_kio_qt_metacast(sipPySelf,sipType_KDirModel,_clname)) ? this : KDirModel::qt_metacast(_clname);
}

bool sipKDirModel::canFetchMore(const QModelIndex& a0) const
{
    typedef bool (*sipVH_QtCore_38)(sip_gilstate_t,PyObject *,const QModelIndex&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_canFetchMore);

    if (!meth)
        return KDirModel::canFetchMore(a0);

    return ((sipVH_QtCore_38)(sipModuleAPI_kio_QtCore->em_virthandlers[38]))(sipGILState,meth,a0);
}

int sipKDirModel::columnCount(const QModelIndex& a0) const
{
    typedef int (*sipVH_QtCore_39)(sip_gilstate_t,PyObject *,const QModelIndex&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_columnCount);

    if (!meth)
        return KDirModel::columnCount(a0);

    return ((sipVH_QtCore_39)(sipModuleAPI_kio_QtCore->em_virthandlers[39]))(sipGILState,meth,a0);
}

QVariant sipKDirModel::data(const QModelIndex& a0,int a1) const
{
    typedef QVariant (*sipVH_QtCore_56)(sip_gilstate_t,PyObject *,const QModelIndex&,int);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName_data);

    if (!meth)
        return KDirModel::data(a0,a1);

    return ((sipVH_QtCore_56)(sipModuleAPI_kio_QtCore->em_virthandlers[56]))(sipGILState,meth,a0,a1);
}

bool sipKDirModel::dropMimeData(const QMimeData *a0,Qt::DropAction a1,int a2,int a3,const QModelIndex& a4)
{
    typedef bool (*sipVH_QtCore_41)(sip_gilstate_t,PyObject *,const QMimeData *,Qt::DropAction,int,int,const QModelIndex&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_dropMimeData);

    if (!meth)
        return KDirModel::dropMimeData(a0,a1,a2,a3,a4);

    return ((sipVH_QtCore_41)(sipModuleAPI_kio_QtCore->em_virthandlers[41]))(sipGILState,meth,a0,a1,a2,a3,a4);
}

void sipKDirModel::fetchMore(const QModelIndex& a0)
{
    typedef void (*sipVH_QtCore_47)(sip_gilstate_t,PyObject *,const QModelIndex&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_fetchMore);

    if (!meth)
    {
        KDirModel::fetchMore(a0);
        return;
    }

    ((sipVH_QtCore_47)(sipModuleAPI_kio_QtCore->em_virthandlers[47]))(sipGILState,meth,a0);
}

Qt::ItemFlags sipKDirModel::flags(const QModelIndex& a0) const
{
    typedef Qt::ItemFlags (*sipVH_QtCore_46)(sip_gilstate_t,PyObject *,const QModelIndex&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_flags);

    if (!meth)
        return KDirModel::flags(a0);

    return ((sipVH_QtCore_46)(sipModuleAPI_kio_QtCore->em_virthandlers[46]))(sipGILState,meth,a0);
}

bool sipKDirModel::hasChildren(const QModelIndex& a0) const
{
    typedef bool (*sipVH_QtCore_38)(sip_gilstate_t,PyObject *,const QModelIndex&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_hasChildren);

    if (!meth)
        return KDirModel::hasChildren(a0);

    return ((sipVH_QtCore_38)(sipModuleAPI_kio_QtCore->em_virthandlers[38]))(sipGILState,meth,a0);
}

QVariant sipKDirModel::headerData(int a0,Qt::Orientation a1,int a2) const
{
    typedef QVariant (*sipVH_QtCore_54)(sip_gilstate_t,PyObject *,int,Qt::Orientation,int);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_headerData);

    if (!meth)
        return KDirModel::headerData(a0,a1,a2);

    return ((sipVH_QtCore_54)(sipModuleAPI_kio_QtCore->em_virthandlers[54]))(sipGILState,meth,a0,a1,a2);
}

QModelIndex sipKDirModel::index(int a0,int a1,const QModelIndex& a2) const
{
    typedef QModelIndex (*sipVH_QtCore_42)(sip_gilstate_t,PyObject *,int,int,const QModelIndex&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_index);

    if (!meth)
        return KDirModel::index(a0,a1,a2);

    return ((sipVH_QtCore_42)(sipModuleAPI_kio_QtCore->em_virthandlers[42]))(sipGILState,meth,a0,a1,a2);
}

QMimeData * sipKDirModel::mimeData(const QModelIndexList& a0) const
{
    typedef QMimeData * (*sipVH_QtGui_210)(sip_gilstate_t,PyObject *,const QList<QModelIndex>&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_mimeData);

    if (!meth)
        return KDirModel::mimeData(a0);

    return ((sipVH_QtGui_210)(sipModuleAPI_kio_QtGui->em_virthandlers[210]))(sipGILState,meth,a0);
}

QStringList sipKDirModel::mimeTypes() const
{
    typedef QStringList (*sipVH_QtCore_23)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_mimeTypes);

    if (!meth)
        return KDirModel::mimeTypes();

    return ((sipVH_QtCore_23)(sipModuleAPI_kio_QtCore->em_virthandlers[23]))(sipGILState,meth);
}

QModelIndex sipKDirModel::parent(const QModelIndex& a0) const
{
    typedef QModelIndex (*sipVH_QtCore_40)(sip_gilstate_t,PyObject *,const QModelIndex&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_parent);

    if (!meth)
        return KDirModel::parent(a0);

    return ((sipVH_QtCore_40)(sipModuleAPI_kio_QtCore->em_virthandlers[40]))(sipGILState,meth,a0);
}

int sipKDirModel::rowCount(const QModelIndex& a0) const
{
    typedef int (*sipVH_QtCore_39)(sip_gilstate_t,PyObject *,const QModelIndex&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_rowCount);

    if (!meth)
        return KDirModel::rowCount(a0);

    return ((sipVH_QtCore_39)(sipModuleAPI_kio_QtCore->em_virthandlers[39]))(sipGILState,meth,a0);
}

bool sipKDirModel::setData(const QModelIndex& a0,const QVariant& a1,int a2)
{
    typedef bool (*sipVH_QtCore_55)(sip_gilstate_t,PyObject *,const QModelIndex&,const QVariant&,int);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_setData);

    if (!meth)
        return KDirModel::setData(a0,a1,a2);

    return ((sipVH_QtCore_55)(sipModuleAPI_kio_QtCore->em_virthandlers[55]))(sipGILState,meth,a0,a1,a2);
}

void sipKDirModel::sort(int a0,Qt::SortOrder a1)
{
    typedef void (*sipVH_QtCore_45)(sip_gilstate_t,PyObject *,int,Qt::SortOrder);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_sort);

    if (!meth)
    {
        KDirModel::sort(a0,a1);
        return;
    }

    ((sipVH_QtCore_45)(sipModuleAPI_kio_QtCore->em_virthandlers[45]))(sipGILState,meth,a0,a1);
}

bool sipKDirModel::setHeaderData(int a0,Qt::Orientation a1,const QVariant& a2,int a3)
{
    typedef bool (*sipVH_QtCore_53)(sip_gilstate_t,PyObject *,int,Qt::Orientation,const QVariant&,int);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_setHeaderData);

    if (!meth)
        return QAbstractItemModel::setHeaderData(a0,a1,a2,a3);

    return ((sipVH_QtCore_53)(sipModuleAPI_kio_QtCore->em_virthandlers[53]))(sipGILState,meth,a0,a1,a2,a3);
}

QMap<int,QVariant> sipKDirModel::itemData(const QModelIndex& a0) const
{
    typedef QMap<int,QVariant> (*sipVH_QtCore_52)(sip_gilstate_t,PyObject *,const QModelIndex&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[16]),sipPySelf,NULL,sipName_itemData);

    if (!meth)
        return QAbstractItemModel::itemData(a0);

    return ((sipVH_QtCore_52)(sipModuleAPI_kio_QtCore->em_virthandlers[52]))(sipGILState,meth,a0);
}

bool sipKDirModel::setItemData(const QModelIndex& a0,const QMap<int,QVariant>& a1)
{
    typedef bool (*sipVH_QtCore_51)(sip_gilstate_t,PyObject *,const QModelIndex&,const QMap<int,QVariant>&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_setItemData);

    if (!meth)
        return QAbstractItemModel::setItemData(a0,a1);

    return ((sipVH_QtCore_51)(sipModuleAPI_kio_QtCore->em_virthandlers[51]))(sipGILState,meth,a0,a1);
}

Qt::DropActions sipKDirModel::supportedDropActions() const
{
    typedef Qt::DropActions (*sipVH_QtCore_49)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[18]),sipPySelf,NULL,sipName_supportedDropActions);

    if (!meth)
        return QAbstractItemModel::supportedDropActions();

    return ((sipVH_QtCore_49)(sipModuleAPI_kio_QtCore->em_virthandlers[49]))(sipGILState,meth);
}

bool sipKDirModel::insertRows(int a0,int a1,const QModelIndex& a2)
{
    typedef bool (*sipVH_QtCore_48)(sip_gilstate_t,PyObject *,int,int,const QModelIndex&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_insertRows);

    if (!meth)
        return QAbstractItemModel::insertRows(a0,a1,a2);

    return ((sipVH_QtCore_48)(sipModuleAPI_kio_QtCore->em_virthandlers[48]))(sipGILState,meth,a0,a1,a2);
}

bool sipKDirModel::insertColumns(int a0,int a1,const QModelIndex& a2)
{
    typedef bool (*sipVH_QtCore_48)(sip_gilstate_t,PyObject *,int,int,const QModelIndex&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_insertColumns);

    if (!meth)
        return QAbstractItemModel::insertColumns(a0,a1,a2);

    return ((sipVH_QtCore_48)(sipModuleAPI_kio_QtCore->em_virthandlers[48]))(sipGILState,meth,a0,a1,a2);
}

bool sipKDirModel::removeRows(int a0,int a1,const QModelIndex& a2)
{
    typedef bool (*sipVH_QtCore_48)(sip_gilstate_t,PyObject *,int,int,const QModelIndex&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_removeRows);

    if (!meth)
        return QAbstractItemModel::removeRows(a0,a1,a2);

    return ((sipVH_QtCore_48)(sipModuleAPI_kio_QtCore->em_virthandlers[48]))(sipGILState,meth,a0,a1,a2);
}

bool sipKDirModel::removeColumns(int a0,int a1,const QModelIndex& a2)
{
    typedef bool (*sipVH_QtCore_48)(sip_gilstate_t,PyObject *,int,int,const QModelIndex&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_removeColumns);

    if (!meth)
        return QAbstractItemModel::removeColumns(a0,a1,a2);

    return ((sipVH_QtCore_48)(sipModuleAPI_kio_QtCore->em_virthandlers[48]))(sipGILState,meth,a0,a1,a2);
}

QModelIndex sipKDirModel::buddy(const QModelIndex& a0) const
{
    typedef QModelIndex (*sipVH_QtCore_40)(sip_gilstate_t,PyObject *,const QModelIndex&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[23]),sipPySelf,NULL,sipName_buddy);

    if (!meth)
        return QAbstractItemModel::buddy(a0);

    return ((sipVH_QtCore_40)(sipModuleAPI_kio_QtCore->em_virthandlers[40]))(sipGILState,meth,a0);
}

QModelIndexList sipKDirModel::match(const QModelIndex& a0,int a1,const QVariant& a2,int a3,Qt::MatchFlags a4) const
{
    typedef QList<QModelIndex> (*sipVH_QtCore_44)(sip_gilstate_t,PyObject *,const QModelIndex&,int,const QVariant&,int,Qt::MatchFlags);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[24]),sipPySelf,NULL,sipName_match);

    if (!meth)
        return QAbstractItemModel::match(a0,a1,a2,a3,a4);

    return ((sipVH_QtCore_44)(sipModuleAPI_kio_QtCore->em_virthandlers[44]))(sipGILState,meth,a0,a1,a2,a3,a4);
}

QSize sipKDirModel::span(const QModelIndex& a0) const
{
    typedef QSize (*sipVH_QtCore_43)(sip_gilstate_t,PyObject *,const QModelIndex&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[25]),sipPySelf,NULL,sipName_span);

    if (!meth)
        return QAbstractItemModel::span(a0);

    return ((sipVH_QtCore_43)(sipModuleAPI_kio_QtCore->em_virthandlers[43]))(sipGILState,meth,a0);
}

bool sipKDirModel::submit()
{
    typedef bool (*sipVH_QtCore_1)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_submit);

    if (!meth)
        return QAbstractItemModel::submit();

    return ((sipVH_QtCore_1)(sipModuleAPI_kio_QtCore->em_virthandlers[1]))(sipGILState,meth);
}

void sipKDirModel::revert()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_revert);

    if (!meth)
    {
        QAbstractItemModel::revert();
        return;
    }

    ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

bool sipKDirModel::event(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_event);

    if (!meth)
        return QObject::event(a0);

    return ((sipVH_QtCore_13)(sipModuleAPI_kio_QtCore->em_virthandlers[13]))(sipGILState,meth,a0);
}

bool sipKDirModel::eventFilter(QObject *a0,QEvent *a1)
{
    typedef bool (*sipVH_QtCore_21)(sip_gilstate_t,PyObject *,QObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_eventFilter);

    if (!meth)
        return QObject::eventFilter(a0,a1);

    return ((sipVH_QtCore_21)(sipModuleAPI_kio_QtCore->em_virthandlers[21]))(sipGILState,meth,a0,a1);
}

void sipKDirModel::timerEvent(QTimerEvent *a0)
{
    typedef void (*sipVH_QtCore_3)(sip_gilstate_t,PyObject *,QTimerEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_timerEvent);

    if (!meth)
    {
        QObject::timerEvent(a0);
        return;
    }

    ((sipVH_QtCore_3)(sipModuleAPI_kio_QtCore->em_virthandlers[3]))(sipGILState,meth,a0);
}

void sipKDirModel::childEvent(QChildEvent *a0)
{
    typedef void (*sipVH_QtCore_20)(sip_gilstate_t,PyObject *,QChildEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_childEvent);

    if (!meth)
    {
        QObject::childEvent(a0);
        return;
    }

    ((sipVH_QtCore_20)(sipModuleAPI_kio_QtCore->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipKDirModel::customEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_customEvent);

    if (!meth)
    {
        QObject::customEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_kio_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipKDirModel::connectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_connectNotify);

    if (!meth)
    {
        QObject::connectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipKDirModel::disconnectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_disconnectNotify);

    if (!meth)
    {
        QObject::disconnectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

int sipKDirModel::sipProtect_receivers(const char *a0) const
{
    return QObject::receivers(a0);
}

void sipKDirModel::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipKDirModel::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent *a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipKDirModel::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipKDirModel::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipKDirModel::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

void sipKDirModel::sipProtect_encodeData(const QModelIndexList& a0,QDataStream& a1) const
{
    QAbstractItemModel::encodeData(a0,a1);
}

bool sipKDirModel::sipProtect_decodeData(int a0,int a1,const QModelIndex& a2,QDataStream& a3)
{
    return QAbstractItemModel::decodeData(a0,a1,a2,a3);
}

void sipKDirModel::sipProtect_beginInsertRows(const QModelIndex& a0,int a1,int a2)
{
    QAbstractItemModel::beginInsertRows(a0,a1,a2);
}

void sipKDirModel::sipProtect_endInsertRows()
{
    QAbstractItemModel::endInsertRows();
}

void sipKDirModel::sipProtect_beginRemoveRows(const QModelIndex& a0,int a1,int a2)
{
    QAbstractItemModel::beginRemoveRows(a0,a1,a2);
}

void sipKDirModel::sipProtect_endRemoveRows()
{
    QAbstractItemModel::endRemoveRows();
}

void sipKDirModel::sipProtect_beginInsertColumns(const QModelIndex& a0,int a1,int a2)
{
    QAbstractItemModel::beginInsertColumns(a0,a1,a2);
}

void sipKDirModel::sipProtect_endInsertColumns()
{
    QAbstractItemModel::endInsertColumns();
}

void sipKDirModel::sipProtect_beginRemoveColumns(const QModelIndex& a0,int a1,int a2)
{
    QAbstractItemModel::beginRemoveColumns(a0,a1,a2);
}

void sipKDirModel::sipProtect_endRemoveColumns()
{
    QAbstractItemModel::endRemoveColumns();
}

QModelIndexList sipKDirModel::sipProtect_persistentIndexList() const
{
    return QAbstractItemModel::persistentIndexList();
}

void sipKDirModel::sipProtect_reset()
{
    QAbstractItemModel::reset();
}

void sipKDirModel::sipProtect_changePersistentIndex(const QModelIndex& a0,const QModelIndex& a1)
{
    QAbstractItemModel::changePersistentIndex(a0,a1);
}

void sipKDirModel::sipProtect_changePersistentIndexList(const QModelIndexList& a0,const QModelIndexList& a1)
{
    QAbstractItemModel::changePersistentIndexList(a0,a1);
}

QModelIndex sipKDirModel::sipProtect_createIndex(int a0,int a1,void *a2) const
{
    return QAbstractItemModel::createIndex(a0,a1,a2);
}


extern "C" {static PyObject *meth_KDirModel_receivers(PyObject *, PyObject *);}
static PyObject *meth_KDirModel_receivers(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        char * a0;
        sipKDirModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KDirModel,&sipCpp,&a0))
        {
            int sipRes = 0;

#line 462 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
#line 18170 "sipkiopart2.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirModel,sipName_receivers);

    return NULL;
}


extern "C" {static PyObject *meth_KDirModel_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_KDirModel_timerEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipKDirModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KDirModel,&sipCpp,sipType_QTimerEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirModel,sipName_timerEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KDirModel_childEvent(PyObject *, PyObject *);}
static PyObject *meth_KDirModel_childEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipKDirModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KDirModel,&sipCpp,sipType_QChildEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirModel,sipName_childEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KDirModel_customEvent(PyObject *, PyObject *);}
static PyObject *meth_KDirModel_customEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKDirModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KDirModel,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirModel,sipName_customEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KDirModel_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_KDirModel_connectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKDirModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KDirModel,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirModel,sipName_connectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KDirModel_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_KDirModel_disconnectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKDirModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KDirModel,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirModel,sipName_disconnectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KDirModel_encodeData(PyObject *, PyObject *);}
static PyObject *meth_KDirModel_encodeData(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QModelIndexList * a0;
        int a0State = 0;
        QDataStream * a1;
        sipKDirModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1J9",&sipSelf,sipType_KDirModel,&sipCpp,sipType_QList_0200QModelIndex,&a0,&a0State,sipType_QDataStream,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_encodeData(*a0,*a1);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QModelIndexList *>(a0),sipType_QList_0200QModelIndex,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirModel,sipName_encodeData);

    return NULL;
}


extern "C" {static PyObject *meth_KDirModel_decodeData(PyObject *, PyObject *);}
static PyObject *meth_KDirModel_decodeData(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        int a0;
        int a1;
        const QModelIndex * a2;
        QDataStream * a3;
        sipKDirModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"piiJ9J9",&sipSelf,sipType_KDirModel,&sipCpp,&a0,&a1,sipType_QModelIndex,&a2,sipType_QDataStream,&a3))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_decodeData(a0,a1,*a2,*a3);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirModel,sipName_decodeData);

    return NULL;
}


extern "C" {static PyObject *meth_KDirModel_beginInsertRows(PyObject *, PyObject *);}
static PyObject *meth_KDirModel_beginInsertRows(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QModelIndex * a0;
        int a1;
        int a2;
        sipKDirModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9ii",&sipSelf,sipType_KDirModel,&sipCpp,sipType_QModelIndex,&a0,&a1,&a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_beginInsertRows(*a0,a1,a2);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirModel,sipName_beginInsertRows);

    return NULL;
}


extern "C" {static PyObject *meth_KDirModel_endInsertRows(PyObject *, PyObject *);}
static PyObject *meth_KDirModel_endInsertRows(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKDirModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KDirModel,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_endInsertRows();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirModel,sipName_endInsertRows);

    return NULL;
}


extern "C" {static PyObject *meth_KDirModel_beginRemoveRows(PyObject *, PyObject *);}
static PyObject *meth_KDirModel_beginRemoveRows(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QModelIndex * a0;
        int a1;
        int a2;
        sipKDirModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9ii",&sipSelf,sipType_KDirModel,&sipCpp,sipType_QModelIndex,&a0,&a1,&a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_beginRemoveRows(*a0,a1,a2);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirModel,sipName_beginRemoveRows);

    return NULL;
}


extern "C" {static PyObject *meth_KDirModel_endRemoveRows(PyObject *, PyObject *);}
static PyObject *meth_KDirModel_endRemoveRows(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKDirModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KDirModel,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_endRemoveRows();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirModel,sipName_endRemoveRows);

    return NULL;
}


extern "C" {static PyObject *meth_KDirModel_beginInsertColumns(PyObject *, PyObject *);}
static PyObject *meth_KDirModel_beginInsertColumns(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QModelIndex * a0;
        int a1;
        int a2;
        sipKDirModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9ii",&sipSelf,sipType_KDirModel,&sipCpp,sipType_QModelIndex,&a0,&a1,&a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_beginInsertColumns(*a0,a1,a2);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirModel,sipName_beginInsertColumns);

    return NULL;
}


extern "C" {static PyObject *meth_KDirModel_endInsertColumns(PyObject *, PyObject *);}
static PyObject *meth_KDirModel_endInsertColumns(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKDirModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KDirModel,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_endInsertColumns();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirModel,sipName_endInsertColumns);

    return NULL;
}


extern "C" {static PyObject *meth_KDirModel_beginRemoveColumns(PyObject *, PyObject *);}
static PyObject *meth_KDirModel_beginRemoveColumns(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QModelIndex * a0;
        int a1;
        int a2;
        sipKDirModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9ii",&sipSelf,sipType_KDirModel,&sipCpp,sipType_QModelIndex,&a0,&a1,&a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_beginRemoveColumns(*a0,a1,a2);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirModel,sipName_beginRemoveColumns);

    return NULL;
}


extern "C" {static PyObject *meth_KDirModel_endRemoveColumns(PyObject *, PyObject *);}
static PyObject *meth_KDirModel_endRemoveColumns(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKDirModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KDirModel,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_endRemoveColumns();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirModel,sipName_endRemoveColumns);

    return NULL;
}


extern "C" {static PyObject *meth_KDirModel_persistentIndexList(PyObject *, PyObject *);}
static PyObject *meth_KDirModel_persistentIndexList(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKDirModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KDirModel,&sipCpp))
        {
            QModelIndexList *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QModelIndexList(sipCpp->sipProtect_persistentIndexList());
            Py_END_ALLOW_THREADS

            PyObject *sipResObj = sipConvertFromType(sipRes,sipType_QList_0200QModelIndex,NULL);
            delete sipRes;

            return sipResObj;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirModel,sipName_persistentIndexList);

    return NULL;
}


extern "C" {static PyObject *meth_KDirModel_reset(PyObject *, PyObject *);}
static PyObject *meth_KDirModel_reset(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKDirModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KDirModel,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_reset();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirModel,sipName_reset);

    return NULL;
}


extern "C" {static PyObject *meth_KDirModel_changePersistentIndex(PyObject *, PyObject *);}
static PyObject *meth_KDirModel_changePersistentIndex(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QModelIndex * a0;
        const QModelIndex * a1;
        sipKDirModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9J9",&sipSelf,sipType_KDirModel,&sipCpp,sipType_QModelIndex,&a0,sipType_QModelIndex,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_changePersistentIndex(*a0,*a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirModel,sipName_changePersistentIndex);

    return NULL;
}


extern "C" {static PyObject *meth_KDirModel_changePersistentIndexList(PyObject *, PyObject *);}
static PyObject *meth_KDirModel_changePersistentIndexList(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QModelIndexList * a0;
        int a0State = 0;
        const QModelIndexList * a1;
        int a1State = 0;
        sipKDirModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1J1",&sipSelf,sipType_KDirModel,&sipCpp,sipType_QList_0200QModelIndex,&a0,&a0State,sipType_QList_0200QModelIndex,&a1,&a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_changePersistentIndexList(*a0,*a1);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QModelIndexList *>(a0),sipType_QList_0200QModelIndex,a0State);
            sipReleaseType(const_cast<QModelIndexList *>(a1),sipType_QList_0200QModelIndex,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirModel,sipName_changePersistentIndexList);

    return NULL;
}


extern "C" {static PyObject *meth_KDirModel_createIndex(PyObject *, PyObject *);}
static PyObject *meth_KDirModel_createIndex(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        int a0;
        int a1;
        PyObject * a2 = 0;
        sipKDirModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pii|P0",&sipSelf,sipType_KDirModel,&sipCpp,&a0,&a1,&a2))
        {
            QModelIndex *sipRes = 0;

#line 226 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
        // The Qt API is broken (and won't be fixed as it would break binary
        // compatibility) regarding the internal id of a model index on different
        // architectures (32 vs 64 bits).  We choose to work around the breakage as it
        // is fairly subtle and continues to catch people out.  Instead of letting Qt
        // convert betweed an integer id and a pointer id (the internal format used by
        // Qt) we let Python do it.
        
        void *ptr;
        
        if (a2)
        {
            // Try and convert it to a Python long and fallback to the object's
            // address if it fails.
            ptr = PyLong_AsVoidPtr(a2);
        
            if (PyErr_Occurred())
            {
                PyErr_Clear();
                ptr = a2;
            }
        }
        else
        {
            ptr = 0;
        }
        
        sipRes = new QModelIndex(sipCpp->sipProtect_createIndex(a0, a1, ptr));
#line 18765 "sipkiopart2.cpp"

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirModel,sipName_createIndex);

    return NULL;
}


extern "C" {static PyObject *meth_KDirModel_setDirLister(PyObject *, PyObject *);}
static PyObject *meth_KDirModel_setDirLister(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KDirLister * a0;
        KDirModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KDirModel,sipName_setDirLister);

    return NULL;
}


extern "C" {static PyObject *meth_KDirModel_dirLister(PyObject *, PyObject *);}
static PyObject *meth_KDirModel_dirLister(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KDirModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KDirModel,sipName_dirLister);

    return NULL;
}


extern "C" {static PyObject *meth_KDirModel_itemForIndex(PyObject *, PyObject *);}
static PyObject *meth_KDirModel_itemForIndex(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QModelIndex * a0;
        KDirModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KDirModel,sipName_itemForIndex);

    return NULL;
}


extern "C" {static PyObject *meth_KDirModel_indexForItem(PyObject *, PyObject *);}
static PyObject *meth_KDirModel_indexForItem(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KFileItem * a0;
        KDirModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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;
        KDirModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KDirModel,sipName_indexForItem);

    return NULL;
}


extern "C" {static PyObject *meth_KDirModel_indexForUrl(PyObject *, PyObject *);}
static PyObject *meth_KDirModel_indexForUrl(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KUrl * a0;
        KDirModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KDirModel,sipName_indexForUrl);

    return NULL;
}


extern "C" {static PyObject *meth_KDirModel_expandToUrl(PyObject *, PyObject *);}
static PyObject *meth_KDirModel_expandToUrl(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KUrl * a0;
        KDirModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KDirModel,sipName_expandToUrl);

    return NULL;
}


extern "C" {static PyObject *meth_KDirModel_itemChanged(PyObject *, PyObject *);}
static PyObject *meth_KDirModel_itemChanged(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QModelIndex * a0;
        KDirModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KDirModel,sipName_itemChanged);

    return NULL;
}


extern "C" {static PyObject *meth_KDirModel_setDropsAllowed(PyObject *, PyObject *);}
static PyObject *meth_KDirModel_setDropsAllowed(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KDirModel::DropsAllowed * a0;
        int a0State = 0;
        KDirModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KDirModel,sipName_setDropsAllowed);

    return NULL;
}


extern "C" {static PyObject *meth_KDirModel_canFetchMore(PyObject *, PyObject *);}
static PyObject *meth_KDirModel_canFetchMore(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex * a0;
        KDirModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KDirModel,sipName_canFetchMore);

    return NULL;
}


extern "C" {static PyObject *meth_KDirModel_columnCount(PyObject *, PyObject *);}
static PyObject *meth_KDirModel_columnCount(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex& a0def = QModelIndex();
        const QModelIndex * a0 = &a0def;
        KDirModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KDirModel,sipName_columnCount);

    return NULL;
}


extern "C" {static PyObject *meth_KDirModel_data(PyObject *, PyObject *);}
static PyObject *meth_KDirModel_data(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex * a0;
        int a1 = Qt::DisplayRole;
        KDirModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KDirModel,sipName_data);

    return NULL;
}


extern "C" {static PyObject *meth_KDirModel_dropMimeData(PyObject *, PyObject *);}
static PyObject *meth_KDirModel_dropMimeData(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMimeData * a0;
        Qt::DropAction a1;
        int a2;
        int a3;
        const QModelIndex * a4;
        KDirModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KDirModel,sipName_dropMimeData);

    return NULL;
}


extern "C" {static PyObject *meth_KDirModel_fetchMore(PyObject *, PyObject *);}
static PyObject *meth_KDirModel_fetchMore(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex * a0;
        KDirModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KDirModel,sipName_fetchMore);

    return NULL;
}


extern "C" {static PyObject *meth_KDirModel_flags(PyObject *, PyObject *);}
static PyObject *meth_KDirModel_flags(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex * a0;
        KDirModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KDirModel,sipName_flags);

    return NULL;
}


extern "C" {static PyObject *meth_KDirModel_hasChildren(PyObject *, PyObject *);}
static PyObject *meth_KDirModel_hasChildren(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex& a0def = QModelIndex();
        const QModelIndex * a0 = &a0def;
        KDirModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KDirModel,sipName_hasChildren);

    return NULL;
}


extern "C" {static PyObject *meth_KDirModel_headerData(PyObject *, PyObject *);}
static PyObject *meth_KDirModel_headerData(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        Qt::Orientation a1;
        int a2 = Qt::DisplayRole;
        KDirModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KDirModel,sipName_headerData);

    return NULL;
}


extern "C" {static PyObject *meth_KDirModel_index(PyObject *, PyObject *);}
static PyObject *meth_KDirModel_index(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        int a1;
        const QModelIndex& a2def = QModelIndex();
        const QModelIndex * a2 = &a2def;
        KDirModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KDirModel,sipName_index);

    return NULL;
}


extern "C" {static PyObject *meth_KDirModel_mimeData(PyObject *, PyObject *);}
static PyObject *meth_KDirModel_mimeData(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndexList * a0;
        int a0State = 0;
        KDirModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KDirModel,&sipCpp,sipType_QList_0200QModelIndex,&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_0200QModelIndex,a0State);

            return sipConvertFromType(sipRes,sipType_QMimeData,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirModel,sipName_mimeData);

    return NULL;
}


extern "C" {static PyObject *meth_KDirModel_mimeTypes(PyObject *, PyObject *);}
static PyObject *meth_KDirModel_mimeTypes(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KDirModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KDirModel,sipName_mimeTypes);

    return NULL;
}


extern "C" {static PyObject *meth_KDirModel_parent(PyObject *, PyObject *);}
static PyObject *meth_KDirModel_parent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex * a0;
        KDirModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KDirModel,sipName_parent);

    return NULL;
}


extern "C" {static PyObject *meth_KDirModel_rowCount(PyObject *, PyObject *);}
static PyObject *meth_KDirModel_rowCount(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex& a0def = QModelIndex();
        const QModelIndex * a0 = &a0def;
        KDirModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KDirModel,sipName_rowCount);

    return NULL;
}


extern "C" {static PyObject *meth_KDirModel_setData(PyObject *, PyObject *);}
static PyObject *meth_KDirModel_setData(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex * a0;
        const QVariant * a1;
        int a1State = 0;
        int a2 = Qt::EditRole;
        KDirModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KDirModel,sipName_setData);

    return NULL;
}


extern "C" {static PyObject *meth_KDirModel_sort(PyObject *, PyObject *);}
static PyObject *meth_KDirModel_sort(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        Qt::SortOrder a1 = Qt::AscendingOrder;
        KDirModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KDirModel,sipName_sort);

    return NULL;
}


extern "C" {static PyObject *meth_KDirModel_simplifiedUrlList(PyObject *, PyObject *);}
static PyObject *meth_KDirModel_simplifiedUrlList(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KUrl::List * a0;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KDirModel,sipName_simplifiedUrlList);

    return NULL;
}


extern "C" {static PyObject *meth_KDirModel_requestSequenceIcon(PyObject *, PyObject *);}
static PyObject *meth_KDirModel_requestSequenceIcon(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QModelIndex * a0;
        int a1;
        KDirModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KDirModel,sipName_requestSequenceIcon);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KDirModel(void *, const sipTypeDef *);}
static void *cast_KDirModel(void *ptr,const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KDirModel)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QAbstractItemModel)->ctd_cast((QAbstractItemModel *)(KDirModel *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KDirModel(void *, int);}
static void release_KDirModel(void *sipCppV,int state)
{
    Py_BEGIN_ALLOW_THREADS

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKDirModel *>(sipCppV);
    else
        delete reinterpret_cast<KDirModel *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KDirModel(sipSimpleWrapper *);}
static void dealloc_KDirModel(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKDirModel *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KDirModel(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_KDirModel(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KDirModel(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **sipOwner, int *sipArgsParsed)
{
    sipKDirModel *sipCpp = 0;

    if (!sipCpp)
    {
        QObject * a0 = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"|JH",sipType_QObject,&a0,sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKDirModel(a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KDirModel[] = {{9, 0, 1}};


static PyMethodDef methods_KDirModel[] = {
    {SIP_MLNAME_CAST(sipName_beginInsertColumns), meth_KDirModel_beginInsertColumns, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_beginInsertRows), meth_KDirModel_beginInsertRows, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_beginRemoveColumns), meth_KDirModel_beginRemoveColumns, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_beginRemoveRows), meth_KDirModel_beginRemoveRows, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_canFetchMore), meth_KDirModel_canFetchMore, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_changePersistentIndex), meth_KDirModel_changePersistentIndex, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_changePersistentIndexList), meth_KDirModel_changePersistentIndexList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_KDirModel_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_columnCount), meth_KDirModel_columnCount, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KDirModel_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_createIndex), meth_KDirModel_createIndex, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KDirModel_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_data), meth_KDirModel_data, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_decodeData), meth_KDirModel_decodeData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dirLister), meth_KDirModel_dirLister, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KDirModel_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dropMimeData), meth_KDirModel_dropMimeData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_encodeData), meth_KDirModel_encodeData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_endInsertColumns), meth_KDirModel_endInsertColumns, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_endInsertRows), meth_KDirModel_endInsertRows, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_endRemoveColumns), meth_KDirModel_endRemoveColumns, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_endRemoveRows), meth_KDirModel_endRemoveRows, 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_itemChanged), meth_KDirModel_itemChanged, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_itemForIndex), meth_KDirModel_itemForIndex, 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_persistentIndexList), meth_KDirModel_persistentIndexList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_KDirModel_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_requestSequenceIcon), meth_KDirModel_requestSequenceIcon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_reset), meth_KDirModel_reset, 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_simplifiedUrlList), meth_KDirModel_simplifiedUrlList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sort), meth_KDirModel_sort, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KDirModel_timerEvent, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KDirModel[] = {
    {sipName_ChildCountRole, KDirModel::ChildCountRole, 45},
    {sipName_ChildCountUnknown, KDirModel::ChildCountUnknown, -1},
    {sipName_ColumnCount, KDirModel::ColumnCount, 48},
    {sipName_DropOnAnyFile, KDirModel::DropOnAnyFile, 47},
    {sipName_DropOnDirectory, KDirModel::DropOnDirectory, 47},
    {sipName_DropOnLocalExecutable, KDirModel::DropOnLocalExecutable, 47},
    {sipName_FileItemRole, KDirModel::FileItemRole, 45},
    {sipName_Group, KDirModel::Group, 48},
    {sipName_ModifiedTime, KDirModel::ModifiedTime, 48},
    {sipName_Name, KDirModel::Name, 48},
    {sipName_NoDrops, KDirModel::NoDrops, 47},
    {sipName_Owner, KDirModel::Owner, 48},
    {sipName_Permissions, KDirModel::Permissions, 48},
    {sipName_Size, KDirModel::Size, 48},
    {sipName_Type, KDirModel::Type, 48},
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_KDirModel[] = {
    {"needSequenceIcon(const QModelIndex&,int)", 0},
    {"expand(const QModelIndex&)", 0},
    {0, 0}
};


pyqt4ClassTypeDef pyqt4Type_kio_KDirModel = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KDirModel,
        {0}
    },
    sipNameNr_KDirModel,
    -1,
    -1,
    {0, 0, 1},
    supers_KDirModel,
    0,
    46, methods_KDirModel,
    15, enummembers_KDirModel,
    0, 0,
    init_KDirModel,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KDirModel,
    release_KDirModel,
    cast_KDirModel,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KDirModel::staticMetaObject,
    0,
    pyqt4_signals_KDirModel
};

#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kdirlister.sip"
#include <kdirlister.h>
#line 19720 "sipkiopart2.cpp"

#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kdirlister.sip"
#include <kdirlister.h>
#line 19724 "sipkiopart2.cpp"


extern "C" {static int slot_KDirLister_OpenUrlFlags___bool__(PyObject *sipSelf);}
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 271 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() != 0);
#line 19742 "sipkiopart2.cpp"

            return sipRes;
        }
    }
}


extern "C" {static PyObject *slot_KDirLister_OpenUrlFlags___ne__(PyObject *sipSelf,PyObject *sipArg);}
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;

    int sipArgsParsed = 0;

    {
        const KDirLister::OpenUrlFlags * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1J1",sipType_KDirLister_OpenUrlFlags,&a0,&a0State))
        {
            bool sipRes = 0;

#line 266 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() != a0->operator int());
#line 19770 "sipkiopart2.cpp"

            sipReleaseType(const_cast<KDirLister::OpenUrlFlags *>(a0),sipType_KDirLister_OpenUrlFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    return sipPySlotExtend(&sipModuleAPI_kio,ne_slot,sipType_KDirLister_OpenUrlFlags,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KDirLister_OpenUrlFlags___eq__(PyObject *sipSelf,PyObject *sipArg);}
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;

    int sipArgsParsed = 0;

    {
        const KDirLister::OpenUrlFlags * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1J1",sipType_KDirLister_OpenUrlFlags,&a0,&a0State))
        {
            bool sipRes = 0;

#line 261 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() == a0->operator int());
#line 19802 "sipkiopart2.cpp"

            sipReleaseType(const_cast<KDirLister::OpenUrlFlags *>(a0),sipType_KDirLister_OpenUrlFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    return sipPySlotExtend(&sipModuleAPI_kio,eq_slot,sipType_KDirLister_OpenUrlFlags,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KDirLister_OpenUrlFlags___invert__(PyObject *sipSelf);}
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);
        }
    }
}


extern "C" {static PyObject *slot_KDirLister_OpenUrlFlags___and__(PyObject *sipArg0,PyObject *sipArg1);}
static PyObject *slot_KDirLister_OpenUrlFlags___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    int sipArgsParsed = 0;

    {
        KDirLister::OpenUrlFlags * a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipArgsParsed,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);
        }
    }

    return sipPySlotExtend(&sipModuleAPI_kio,and_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KDirLister_OpenUrlFlags___xor__(PyObject *sipArg0,PyObject *sipArg1);}
static PyObject *slot_KDirLister_OpenUrlFlags___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    int sipArgsParsed = 0;

    {
        KDirLister::OpenUrlFlags * a0;
        int a0State = 0;
        KDirLister::OpenUrlFlags * a1;
        int a1State = 0;

        if (sipParsePair(&sipArgsParsed,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);
        }
    }

    return sipPySlotExtend(&sipModuleAPI_kio,xor_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KDirLister_OpenUrlFlags___or__(PyObject *sipArg0,PyObject *sipArg1);}
static PyObject *slot_KDirLister_OpenUrlFlags___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    int sipArgsParsed = 0;

    {
        KDirLister::OpenUrlFlags * a0;
        int a0State = 0;
        KDirLister::OpenUrlFlags * a1;
        int a1State = 0;

        if (sipParsePair(&sipArgsParsed,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);
        }
    }

    return sipPySlotExtend(&sipModuleAPI_kio,or_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KDirLister_OpenUrlFlags___int__(PyObject *sipSelf);}
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);
        }
    }
}


extern "C" {static PyObject *slot_KDirLister_OpenUrlFlags___ixor__(PyObject *sipSelf,PyObject *sipArg);}
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;

    int sipArgsParsed = 0;

    {
        KDirLister::OpenUrlFlags * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,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;
        }
    }

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_KDirLister_OpenUrlFlags___ior__(PyObject *sipSelf,PyObject *sipArg);}
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;

    int sipArgsParsed = 0;

    {
        KDirLister::OpenUrlFlags * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,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;
        }
    }

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_KDirLister_OpenUrlFlags___iand__(PyObject *sipSelf,PyObject *sipArg);}
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;

    int sipArgsParsed = 0;

    {
        int a0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1i",&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KDirLister::OpenUrlFlags::operator&=(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KDirLister_OpenUrlFlags(void *, const sipTypeDef *);}
static void *cast_KDirLister_OpenUrlFlags(void *ptr,const sipTypeDef *targetType)
{
    if (targetType == sipType_KDirLister_OpenUrlFlags)
        return ptr;

    return NULL;
}


/* 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 *, const void*);}
static void assign_KDirLister_OpenUrlFlags(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<KDirLister::OpenUrlFlags *>(sipDst) = *reinterpret_cast<const KDirLister::OpenUrlFlags *>(sipSrc);
}


extern "C" {static void dealloc_KDirLister_OpenUrlFlags(sipSimpleWrapper *);}
static void dealloc_KDirLister_OpenUrlFlags(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KDirLister_OpenUrlFlags(sipSelf->u.cppPtr,0);
    }
}


extern "C" {static void *init_KDirLister_OpenUrlFlags(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KDirLister_OpenUrlFlags(sipSimpleWrapper *, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    KDirLister::OpenUrlFlags *sipCpp = 0;

    if (!sipCpp)
    {
        const KDirLister::OpenUrlFlags * a0;
        int a0State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"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);
        }
    }

    if (!sipCpp)
    {
        int a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"i",&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KDirLister::OpenUrlFlags(a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        if (sipParseArgs(sipArgsParsed,sipArgs,""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KDirLister::OpenUrlFlags();
            Py_END_ALLOW_THREADS
        }
    }

    return sipCpp;
}


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 276 "/usr/local/share/py-sip/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(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 20173 "sipkiopart2.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 pyqt4Type_kio_KDirLister_OpenUrlFlags = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KDirLister__OpenUrlFlags,
        {0}
    },
    sipNameNr_OpenUrlFlags,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {39, 255, 0},
    0,
    slots_KDirLister_OpenUrlFlags,
    0, 0,
    0, 0,
    0, 0,
    init_KDirLister_OpenUrlFlags,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KDirLister_OpenUrlFlags,
    release_KDirLister_OpenUrlFlags,
    cast_KDirLister_OpenUrlFlags,
    convertTo_KDirLister_OpenUrlFlags,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_KDirLister_OpenUrlFlags,
    0,
    1,
    0
};

#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kdirlister.sip"
#include <kdirlister.h>
#line 20241 "sipkiopart2.cpp"

#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 20245 "sipkiopart2.cpp"
#line 43 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 20248 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 20251 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 20254 "sipkiopart2.cpp"
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 20270 "sipkiopart2.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kfilemetainfoitem.sip"
#include <kfilemetainfoitem.h>
#line 20273 "sipkiopart2.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/udsentry.sip"
#include <udsentry.h>
#line 20276 "sipkiopart2.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/copyjob.sip"
#include <copyjob.h>
#line 20279 "sipkiopart2.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kdatatool.sip"
#include <kdatatool.h>
#line 20282 "sipkiopart2.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kfileitem.sip"
#include <kfileitem.h>
#line 20285 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 20288 "sipkiopart2.cpp"
#line 127 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kfileitem.sip"
#include <kfileitem.h>
#line 20291 "sipkiopart2.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 20294 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 20297 "sipkiopart2.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 20300 "sipkiopart2.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kdirlister.sip"
#include <kdirlister.h>
#line 20303 "sipkiopart2.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 20306 "sipkiopart2.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 20309 "sipkiopart2.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 20312 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 20315 "sipkiopart2.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 20346 "sipkiopart2.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 20349 "sipkiopart2.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 20352 "sipkiopart2.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 20355 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 20358 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 20361 "sipkiopart2.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 20364 "sipkiopart2.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 20367 "sipkiopart2.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 20370 "sipkiopart2.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;

    /* Expose this protected enum. */
    enum sipChanges {
        NONE = KDirLister::NONE,
        NAME_FILTER = KDirLister::NAME_FILTER,
        MIME_FILTER = KDirLister::MIME_FILTER,
        DOT_FILES = KDirLister::DOT_FILES,
        DIR_ONLY_MODE = KDirLister::DIR_ONLY_MODE
    };

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);
    bool sipProtectVirt_matchesFilter(bool,const KFileItem&) const;
    bool sipProtectVirt_matchesMimeFilter(bool,const KFileItem&) const;
    bool sipProtectVirt_doNameFilter(bool,const QString&,const QList<QRegExp>&) const;
    bool sipProtectVirt_doMimeFilter(bool,const QString&,const QStringList&) const;
    void sipProtectVirt_handleError(bool,KIO::Job *);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    bool openUrl(const KUrl&,KDirLister::OpenUrlFlags);
    void stop();
    void stop(const KUrl&);
    void setAutoUpdate(bool);
    void setShowingDotFiles(bool);
    void setDirOnlyMode(bool);
    void emitChanges();
    void updateDirectory(const KUrl&);
    KFileItem findByUrl(const KUrl&) const;
    KFileItem findByName(const QString&) const;
    void setNameFilter(const QString&);
    void setMimeFilter(const QStringList&);
    void clearMimeFilter();
    bool matchesFilter(const KFileItem&) const;
    bool matchesMimeFilter(const KFileItem&) const;
    bool doNameFilter(const QString&,const QList<QRegExp>&) const;
    bool doMimeFilter(const QString&,const QStringList&) const;
    void handleError(KIO::Job *);
    bool event(QEvent *);
    bool eventFilter(QObject *,QEvent *);
    void timerEvent(QTimerEvent *);
    void childEvent(QChildEvent *);
    void customEvent(QEvent *);
    void connectNotify(const char *);
    void disconnectNotify(const char *);

public:
    sipSimpleWrapper *sipPySelf;

private:
    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 && sip_kio_qt_metacast(sipPySelf,sipType_KDirLister,_clname)) ? this : KDirLister::qt_metacast(_clname);
}

bool sipKDirLister::openUrl(const KUrl& a0,KDirLister::OpenUrlFlags a1)
{
    extern bool sipVH_kio_38(sip_gilstate_t,PyObject *,const KUrl&,KDirLister::OpenUrlFlags);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_openUrl);

    if (!meth)
        return KDirLister::openUrl(a0,a1);

    return sipVH_kio_38(sipGILState,meth,a0,a1);
}

void sipKDirLister::stop()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_stop);

    if (!meth)
    {
        KDirLister::stop();
        return;
    }

    ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

void sipKDirLister::stop(const KUrl& a0)
{
    typedef void (*sipVH_kdecore_61)(sip_gilstate_t,PyObject *,const KUrl&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_stop);

    if (!meth)
    {
        KDirLister::stop(a0);
        return;
    }

    ((sipVH_kdecore_61)(sipModuleAPI_kio_kdecore->em_virthandlers[61]))(sipGILState,meth,a0);
}

void sipKDirLister::setAutoUpdate(bool a0)
{
    typedef void (*sipVH_QtNetwork_2)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_setAutoUpdate);

    if (!meth)
    {
        KDirLister::setAutoUpdate(a0);
        return;
    }

    ((sipVH_QtNetwork_2)(sipModuleAPI_kio_QtNetwork->em_virthandlers[2]))(sipGILState,meth,a0);
}

void sipKDirLister::setShowingDotFiles(bool a0)
{
    typedef void (*sipVH_QtNetwork_2)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_setShowingDotFiles);

    if (!meth)
    {
        KDirLister::setShowingDotFiles(a0);
        return;
    }

    ((sipVH_QtNetwork_2)(sipModuleAPI_kio_QtNetwork->em_virthandlers[2]))(sipGILState,meth,a0);
}

void sipKDirLister::setDirOnlyMode(bool a0)
{
    typedef void (*sipVH_QtNetwork_2)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_setDirOnlyMode);

    if (!meth)
    {
        KDirLister::setDirOnlyMode(a0);
        return;
    }

    ((sipVH_QtNetwork_2)(sipModuleAPI_kio_QtNetwork->em_virthandlers[2]))(sipGILState,meth,a0);
}

void sipKDirLister::emitChanges()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_emitChanges);

    if (!meth)
    {
        KDirLister::emitChanges();
        return;
    }

    ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

void sipKDirLister::updateDirectory(const KUrl& a0)
{
    typedef void (*sipVH_kdecore_61)(sip_gilstate_t,PyObject *,const KUrl&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_updateDirectory);

    if (!meth)
    {
        KDirLister::updateDirectory(a0);
        return;
    }

    ((sipVH_kdecore_61)(sipModuleAPI_kio_kdecore->em_virthandlers[61]))(sipGILState,meth,a0);
}

KFileItem sipKDirLister::findByUrl(const KUrl& a0) const
{
    extern KFileItem sipVH_kio_37(sip_gilstate_t,PyObject *,const KUrl&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_findByUrl);

    if (!meth)
        return KDirLister::findByUrl(a0);

    return sipVH_kio_37(sipGILState,meth,a0);
}

KFileItem sipKDirLister::findByName(const QString& a0) const
{
    extern KFileItem sipVH_kio_36(sip_gilstate_t,PyObject *,const QString&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_findByName);

    if (!meth)
        return KDirLister::findByName(a0);

    return sipVH_kio_36(sipGILState,meth,a0);
}

void sipKDirLister::setNameFilter(const QString& a0)
{
    typedef void (*sipVH_QtCore_29)(sip_gilstate_t,PyObject *,const QString&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_setNameFilter);

    if (!meth)
    {
        KDirLister::setNameFilter(a0);
        return;
    }

    ((sipVH_QtCore_29)(sipModuleAPI_kio_QtCore->em_virthandlers[29]))(sipGILState,meth,a0);
}

void sipKDirLister::setMimeFilter(const QStringList& a0)
{
    typedef void (*sipVH_kdecore_51)(sip_gilstate_t,PyObject *,const QStringList&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_setMimeFilter);

    if (!meth)
    {
        KDirLister::setMimeFilter(a0);
        return;
    }

    ((sipVH_kdecore_51)(sipModuleAPI_kio_kdecore->em_virthandlers[51]))(sipGILState,meth,a0);
}

void sipKDirLister::clearMimeFilter()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_clearMimeFilter);

    if (!meth)
    {
        KDirLister::clearMimeFilter();
        return;
    }

    ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

bool sipKDirLister::matchesFilter(const KFileItem& a0) const
{
    extern bool sipVH_kio_35(sip_gilstate_t,PyObject *,const KFileItem&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_matchesFilter);

    if (!meth)
        return KDirLister::matchesFilter(a0);

    return sipVH_kio_35(sipGILState,meth,a0);
}

bool sipKDirLister::matchesMimeFilter(const KFileItem& a0) const
{
    extern bool sipVH_kio_35(sip_gilstate_t,PyObject *,const KFileItem&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_matchesMimeFilter);

    if (!meth)
        return KDirLister::matchesMimeFilter(a0);

    return sipVH_kio_35(sipGILState,meth,a0);
}

bool sipKDirLister::doNameFilter(const QString& a0,const QList<QRegExp>& a1) const
{
    extern bool sipVH_kio_34(sip_gilstate_t,PyObject *,const QString&,const QList<QRegExp>&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[15]),sipPySelf,NULL,sipName_doNameFilter);

    if (!meth)
        return KDirLister::doNameFilter(a0,a1);

    return sipVH_kio_34(sipGILState,meth,a0,a1);
}

bool sipKDirLister::doMimeFilter(const QString& a0,const QStringList& a1) const
{
    extern bool sipVH_kio_33(sip_gilstate_t,PyObject *,const QString&,const QStringList&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[16]),sipPySelf,NULL,sipName_doMimeFilter);

    if (!meth)
        return KDirLister::doMimeFilter(a0,a1);

    return sipVH_kio_33(sipGILState,meth,a0,a1);
}

void sipKDirLister::handleError(KIO::Job *a0)
{
    extern void sipVH_kio_32(sip_gilstate_t,PyObject *,KIO::Job *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_handleError);

    if (!meth)
    {
        KDirLister::handleError(a0);
        return;
    }

    sipVH_kio_32(sipGILState,meth,a0);
}

bool sipKDirLister::event(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_event);

    if (!meth)
        return QObject::event(a0);

    return ((sipVH_QtCore_13)(sipModuleAPI_kio_QtCore->em_virthandlers[13]))(sipGILState,meth,a0);
}

bool sipKDirLister::eventFilter(QObject *a0,QEvent *a1)
{
    typedef bool (*sipVH_QtCore_21)(sip_gilstate_t,PyObject *,QObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_eventFilter);

    if (!meth)
        return QObject::eventFilter(a0,a1);

    return ((sipVH_QtCore_21)(sipModuleAPI_kio_QtCore->em_virthandlers[21]))(sipGILState,meth,a0,a1);
}

void sipKDirLister::timerEvent(QTimerEvent *a0)
{
    typedef void (*sipVH_QtCore_3)(sip_gilstate_t,PyObject *,QTimerEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_timerEvent);

    if (!meth)
    {
        QObject::timerEvent(a0);
        return;
    }

    ((sipVH_QtCore_3)(sipModuleAPI_kio_QtCore->em_virthandlers[3]))(sipGILState,meth,a0);
}

void sipKDirLister::childEvent(QChildEvent *a0)
{
    typedef void (*sipVH_QtCore_20)(sip_gilstate_t,PyObject *,QChildEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_childEvent);

    if (!meth)
    {
        QObject::childEvent(a0);
        return;
    }

    ((sipVH_QtCore_20)(sipModuleAPI_kio_QtCore->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipKDirLister::customEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_customEvent);

    if (!meth)
    {
        QObject::customEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_kio_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipKDirLister::connectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_connectNotify);

    if (!meth)
    {
        QObject::connectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipKDirLister::disconnectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_disconnectNotify);

    if (!meth)
    {
        QObject::disconnectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

int sipKDirLister::sipProtect_receivers(const char *a0) const
{
    return QObject::receivers(a0);
}

void sipKDirLister::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipKDirLister::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent *a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipKDirLister::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipKDirLister::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipKDirLister::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

bool sipKDirLister::sipProtectVirt_matchesFilter(bool sipSelfWasArg,const KFileItem& a0) const
{
    return (sipSelfWasArg ? KDirLister::matchesFilter(a0) : matchesFilter(a0));
}

bool sipKDirLister::sipProtectVirt_matchesMimeFilter(bool sipSelfWasArg,const KFileItem& a0) const
{
    return (sipSelfWasArg ? KDirLister::matchesMimeFilter(a0) : matchesMimeFilter(a0));
}

bool sipKDirLister::sipProtectVirt_doNameFilter(bool sipSelfWasArg,const QString& a0,const QList<QRegExp>& a1) const
{
    return (sipSelfWasArg ? KDirLister::doNameFilter(a0,a1) : doNameFilter(a0,a1));
}

bool sipKDirLister::sipProtectVirt_doMimeFilter(bool sipSelfWasArg,const QString& a0,const QStringList& a1) const
{
    return (sipSelfWasArg ? KDirLister::doMimeFilter(a0,a1) : doMimeFilter(a0,a1));
}

void sipKDirLister::sipProtectVirt_handleError(bool sipSelfWasArg,KIO::Job *a0)
{
    (sipSelfWasArg ? KDirLister::handleError(a0) : handleError(a0));
}


extern "C" {static PyObject *meth_KDirLister_receivers(PyObject *, PyObject *);}
static PyObject *meth_KDirLister_receivers(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        char * a0;
        sipKDirLister *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KDirLister,&sipCpp,&a0))
        {
            int sipRes = 0;

#line 462 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
#line 20983 "sipkiopart2.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirLister,sipName_receivers);

    return NULL;
}


extern "C" {static PyObject *meth_KDirLister_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_KDirLister_timerEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipKDirLister *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KDirLister,&sipCpp,sipType_QTimerEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirLister,sipName_timerEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KDirLister_childEvent(PyObject *, PyObject *);}
static PyObject *meth_KDirLister_childEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipKDirLister *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KDirLister,&sipCpp,sipType_QChildEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirLister,sipName_childEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KDirLister_customEvent(PyObject *, PyObject *);}
static PyObject *meth_KDirLister_customEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKDirLister *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KDirLister,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirLister,sipName_customEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KDirLister_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_KDirLister_connectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKDirLister *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KDirLister,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirLister,sipName_connectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KDirLister_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_KDirLister_disconnectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKDirLister *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KDirLister,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirLister,sipName_disconnectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KDirLister_openUrl(PyObject *, PyObject *);}
static PyObject *meth_KDirLister_openUrl(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    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(&sipArgsParsed,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(sipArgsParsed,sipName_KDirLister,sipName_openUrl);

    return NULL;
}


extern "C" {static PyObject *meth_KDirLister_stop(PyObject *, PyObject *);}
static PyObject *meth_KDirLister_stop(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KDirLister *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(&sipArgsParsed,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(sipArgsParsed,sipName_KDirLister,sipName_stop);

    return NULL;
}


extern "C" {static PyObject *meth_KDirLister_delayedMimeTypes(PyObject *, PyObject *);}
static PyObject *meth_KDirLister_delayedMimeTypes(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KDirLister *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KDirLister,sipName_delayedMimeTypes);

    return NULL;
}


extern "C" {static PyObject *meth_KDirLister_setDelayedMimeTypes(PyObject *, PyObject *);}
static PyObject *meth_KDirLister_setDelayedMimeTypes(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0;
        KDirLister *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KDirLister,sipName_setDelayedMimeTypes);

    return NULL;
}


extern "C" {static PyObject *meth_KDirLister_autoUpdate(PyObject *, PyObject *);}
static PyObject *meth_KDirLister_autoUpdate(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KDirLister *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KDirLister,sipName_autoUpdate);

    return NULL;
}


extern "C" {static PyObject *meth_KDirLister_setAutoUpdate(PyObject *, PyObject *);}
static PyObject *meth_KDirLister_setAutoUpdate(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        KDirLister *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KDirLister,sipName_setAutoUpdate);

    return NULL;
}


extern "C" {static PyObject *meth_KDirLister_autoErrorHandlingEnabled(PyObject *, PyObject *);}
static PyObject *meth_KDirLister_autoErrorHandlingEnabled(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KDirLister *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KDirLister,sipName_autoErrorHandlingEnabled);

    return NULL;
}


extern "C" {static PyObject *meth_KDirLister_setAutoErrorHandlingEnabled(PyObject *, PyObject *);}
static PyObject *meth_KDirLister_setAutoErrorHandlingEnabled(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0;
        QWidget * a1;
        KDirLister *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KDirLister,sipName_setAutoErrorHandlingEnabled);

    return NULL;
}


extern "C" {static PyObject *meth_KDirLister_showingDotFiles(PyObject *, PyObject *);}
static PyObject *meth_KDirLister_showingDotFiles(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KDirLister *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KDirLister,sipName_showingDotFiles);

    return NULL;
}


extern "C" {static PyObject *meth_KDirLister_setShowingDotFiles(PyObject *, PyObject *);}
static PyObject *meth_KDirLister_setShowingDotFiles(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        KDirLister *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KDirLister,sipName_setShowingDotFiles);

    return NULL;
}


extern "C" {static PyObject *meth_KDirLister_dirOnlyMode(PyObject *, PyObject *);}
static PyObject *meth_KDirLister_dirOnlyMode(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KDirLister *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KDirLister,sipName_dirOnlyMode);

    return NULL;
}


extern "C" {static PyObject *meth_KDirLister_setDirOnlyMode(PyObject *, PyObject *);}
static PyObject *meth_KDirLister_setDirOnlyMode(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        KDirLister *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KDirLister,sipName_setDirOnlyMode);

    return NULL;
}


extern "C" {static PyObject *meth_KDirLister_url(PyObject *, PyObject *);}
static PyObject *meth_KDirLister_url(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KDirLister *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KDirLister,sipName_url);

    return NULL;
}


extern "C" {static PyObject *meth_KDirLister_directories(PyObject *, PyObject *);}
static PyObject *meth_KDirLister_directories(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KDirLister *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KDirLister,sipName_directories);

    return NULL;
}


extern "C" {static PyObject *meth_KDirLister_emitChanges(PyObject *, PyObject *);}
static PyObject *meth_KDirLister_emitChanges(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KDirLister *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KDirLister,sipName_emitChanges);

    return NULL;
}


extern "C" {static PyObject *meth_KDirLister_updateDirectory(PyObject *, PyObject *);}
static PyObject *meth_KDirLister_updateDirectory(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KUrl * a0;
        KDirLister *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KDirLister,sipName_updateDirectory);

    return NULL;
}


extern "C" {static PyObject *meth_KDirLister_isFinished(PyObject *, PyObject *);}
static PyObject *meth_KDirLister_isFinished(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KDirLister *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KDirLister,sipName_isFinished);

    return NULL;
}


extern "C" {static PyObject *meth_KDirLister_rootItem(PyObject *, PyObject *);}
static PyObject *meth_KDirLister_rootItem(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KDirLister *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KDirLister,sipName_rootItem);

    return NULL;
}


extern "C" {static PyObject *meth_KDirLister_findByUrl(PyObject *, PyObject *);}
static PyObject *meth_KDirLister_findByUrl(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KUrl * a0;
        KDirLister *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KDirLister,sipName_findByUrl);

    return NULL;
}


extern "C" {static PyObject *meth_KDirLister_findByName(PyObject *, PyObject *);}
static PyObject *meth_KDirLister_findByName(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString * a0;
        int a0State = 0;
        KDirLister *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KDirLister,sipName_findByName);

    return NULL;
}


extern "C" {static PyObject *meth_KDirLister_setNameFilter(PyObject *, PyObject *);}
static PyObject *meth_KDirLister_setNameFilter(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString * a0;
        int a0State = 0;
        KDirLister *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KDirLister,sipName_setNameFilter);

    return NULL;
}


extern "C" {static PyObject *meth_KDirLister_nameFilter(PyObject *, PyObject *);}
static PyObject *meth_KDirLister_nameFilter(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KDirLister *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KDirLister,sipName_nameFilter);

    return NULL;
}


extern "C" {static PyObject *meth_KDirLister_setMimeFilter(PyObject *, PyObject *);}
static PyObject *meth_KDirLister_setMimeFilter(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QStringList * a0;
        int a0State = 0;
        KDirLister *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KDirLister,sipName_setMimeFilter);

    return NULL;
}


extern "C" {static PyObject *meth_KDirLister_setMimeExcludeFilter(PyObject *, PyObject *);}
static PyObject *meth_KDirLister_setMimeExcludeFilter(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QStringList * a0;
        int a0State = 0;
        KDirLister *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KDirLister,sipName_setMimeExcludeFilter);

    return NULL;
}


extern "C" {static PyObject *meth_KDirLister_clearMimeFilter(PyObject *, PyObject *);}
static PyObject *meth_KDirLister_clearMimeFilter(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KDirLister *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KDirLister,sipName_clearMimeFilter);

    return NULL;
}


extern "C" {static PyObject *meth_KDirLister_mimeFilters(PyObject *, PyObject *);}
static PyObject *meth_KDirLister_mimeFilters(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KDirLister *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KDirLister,sipName_mimeFilters);

    return NULL;
}


extern "C" {static PyObject *meth_KDirLister_matchesFilter(PyObject *, PyObject *);}
static PyObject *meth_KDirLister_matchesFilter(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString * a0;
        int a0State = 0;
        KDirLister *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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;
        sipKDirLister *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&sipSelf,sipType_KDirLister,&sipCpp,sipType_KFileItem,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_matchesFilter(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirLister,sipName_matchesFilter);

    return NULL;
}


extern "C" {static PyObject *meth_KDirLister_matchesMimeFilter(PyObject *, PyObject *);}
static PyObject *meth_KDirLister_matchesMimeFilter(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString * a0;
        int a0State = 0;
        KDirLister *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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;
        sipKDirLister *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&sipSelf,sipType_KDirLister,&sipCpp,sipType_KFileItem,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_matchesMimeFilter(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirLister,sipName_matchesMimeFilter);

    return NULL;
}


extern "C" {static PyObject *meth_KDirLister_setMainWindow(PyObject *, PyObject *);}
static PyObject *meth_KDirLister_setMainWindow(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        QWidget * a0;
        KDirLister *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KDirLister,sipName_setMainWindow);

    return NULL;
}


extern "C" {static PyObject *meth_KDirLister_mainWindow(PyObject *, PyObject *);}
static PyObject *meth_KDirLister_mainWindow(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KDirLister *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KDirLister,sipName_mainWindow);

    return NULL;
}


extern "C" {static PyObject *meth_KDirLister_items(PyObject *, PyObject *);}
static PyObject *meth_KDirLister_items(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KDirLister::WhichItems a0 = KDirLister::FilteredItems;
        KDirLister *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KDirLister,sipName_items);

    return NULL;
}


extern "C" {static PyObject *meth_KDirLister_itemsForDir(PyObject *, PyObject *);}
static PyObject *meth_KDirLister_itemsForDir(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KUrl * a0;
        KDirLister::WhichItems a1 = KDirLister::FilteredItems;
        KDirLister *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KDirLister,sipName_itemsForDir);

    return NULL;
}


extern "C" {static PyObject *meth_KDirLister_cachedItemForUrl(PyObject *, PyObject *);}
static PyObject *meth_KDirLister_cachedItemForUrl(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KUrl * a0;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KDirLister,sipName_cachedItemForUrl);

    return NULL;
}


extern "C" {static PyObject *meth_KDirLister_doNameFilter(PyObject *, PyObject *);}
static PyObject *meth_KDirLister_doNameFilter(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString * a0;
        int a0State = 0;
        const QList<QRegExp> * a1;
        int a1State = 0;
        sipKDirLister *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1J1",&sipSelf,sipType_KDirLister,&sipCpp,sipType_QString,&a0,&a0State,sipType_QList_0200QRegExp,&a1,&a1State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_doNameFilter(sipSelfWasArg,*a0,*a1);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QList<QRegExp> *>(a1),sipType_QList_0200QRegExp,a1State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirLister,sipName_doNameFilter);

    return NULL;
}


extern "C" {static PyObject *meth_KDirLister_doMimeFilter(PyObject *, PyObject *);}
static PyObject *meth_KDirLister_doMimeFilter(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString * a0;
        int a0State = 0;
        const QStringList * a1;
        int a1State = 0;
        sipKDirLister *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1J1",&sipSelf,sipType_KDirLister,&sipCpp,sipType_QString,&a0,&a0State,sipType_QStringList,&a1,&a1State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_doMimeFilter(sipSelfWasArg,*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(sipArgsParsed,sipName_KDirLister,sipName_doMimeFilter);

    return NULL;
}


extern "C" {static PyObject *meth_KDirLister_handleError(PyObject *, PyObject *);}
static PyObject *meth_KDirLister_handleError(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KIO::Job * a0;
        sipKDirLister *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KDirLister,&sipCpp,sipType_KIO_Job,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_handleError(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirLister,sipName_handleError);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KDirLister(void *, const sipTypeDef *);}
static void *cast_KDirLister(void *ptr,const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KDirLister)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(KDirLister *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KDirLister(void *, int);}
static void release_KDirLister(void *sipCppV,int state)
{
    Py_BEGIN_ALLOW_THREADS

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKDirLister *>(sipCppV);
    else
        delete reinterpret_cast<KDirLister *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KDirLister(sipSimpleWrapper *);}
static void dealloc_KDirLister(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKDirLister *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KDirLister(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_KDirLister(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KDirLister(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **sipOwner, int *sipArgsParsed)
{
    sipKDirLister *sipCpp = 0;

    if (!sipCpp)
    {
        QObject * a0 = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"|JH",sipType_QObject,&a0,sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKDirLister(a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KDirLister[] = {{111, 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_childEvent), meth_KDirLister_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_clearMimeFilter), meth_KDirLister_clearMimeFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KDirLister_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KDirLister_customEvent, 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_disconnectNotify), meth_KDirLister_disconnectNotify, 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_receivers), meth_KDirLister_receivers, 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_timerEvent), meth_KDirLister_timerEvent, 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, KDirLister::AllItems, 43},
    {sipName_DIR_ONLY_MODE, sipKDirLister::DIR_ONLY_MODE, 40},
    {sipName_DOT_FILES, sipKDirLister::DOT_FILES, 40},
    {sipName_FilteredItems, KDirLister::FilteredItems, 43},
    {sipName_Keep, KDirLister::Keep, 41},
    {sipName_MIME_FILTER, sipKDirLister::MIME_FILTER, 40},
    {sipName_NAME_FILTER, sipKDirLister::NAME_FILTER, 40},
    {sipName_NONE, sipKDirLister::NONE, 40},
    {sipName_NoFlags, KDirLister::NoFlags, 41},
    {sipName_Reload, KDirLister::Reload, 41},
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_KDirLister[] = {
    {"speed(int)", 0},
    {"processedSize(KIO::filesize_t)", 0},
    {"totalSize(KIO::filesize_t)", 0},
    {"percent(int)", 0},
    {"infoMessage(const QString&)", 0},
    {"refreshItems(const QList<QPair<KFileItem,KFileItem> >&)", 0},
    {"itemsDeleted(const KFileItemList&)", 0},
    {"deleteItem(const KFileItem&)", 0},
    {"itemsFilteredByMime(const KFileItemList&)", 0},
    {"itemsAdded(const KUrl&,const KFileItemList&)", 0},
    {"newItems(const KFileItemList&)", 0},
    {"clear()", 0},
    {"clear(const KUrl&)", 0},
    {"redirection(const KUrl&)", 0},
    {"redirection(const KUrl&,const KUrl&)", 0},
    {"canceled()", 0},
    {"canceled(const KUrl&)", 0},
    {"completed()", 0},
    {"completed(const KUrl&)", 0},
    {"started(const KUrl&)", 0},
    {0, 0}
};


pyqt4ClassTypeDef pyqt4Type_kio_KDirLister = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KDirLister,
        {0}
    },
    sipNameNr_KDirLister,
    -1,
    -1,
    {0, 0, 1},
    supers_KDirLister,
    0,
    42, methods_KDirLister,
    10, enummembers_KDirLister,
    0, 0,
    init_KDirLister,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KDirLister,
    release_KDirLister,
    cast_KDirLister,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KDirLister::staticMetaObject,
    0,
    pyqt4_signals_KDirLister
};


#line 708 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <qlist.h>
#line 102 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservice.sip"
#include <qlist.h>
#line 81 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kmimetype.sip"
#include <qlist.h>
#line 61 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservicetype.sip"
#include <qlist.h>
#line 65 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ksycocaentry.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 22470 "sipkiopart2.cpp"
#line 136 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 22473 "sipkiopart2.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kplugininfo.sip"
#include <kplugininfo.h>
#line 22476 "sipkiopart2.cpp"
#line 36 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kprotocolinfo.sip"
#include <kprotocolinfo.h>
#line 22479 "sipkiopart2.cpp"
#line 184 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 22482 "sipkiopart2.cpp"
#line 184 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 22485 "sipkiopart2.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kserviceaction.sip"
#include <kserviceaction.h>
#line 22488 "sipkiopart2.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktimezone.sip"
#include <ktimezone.h>
#line 22491 "sipkiopart2.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktimezone.sip"
#include <ktimezone.h>
#line 22494 "sipkiopart2.cpp"
#line 321 "/usr/local/share/py-sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 22497 "sipkiopart2.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktimezone.sip"
#include <ktimezone.h>
#line 22500 "sipkiopart2.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kautosavefile.sip"
#include <kautosavefile.h>
#line 22503 "sipkiopart2.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 22506 "sipkiopart2.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 22509 "sipkiopart2.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kaboutdata.sip"
#include <kaboutdata.h>
#line 22512 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 22515 "sipkiopart2.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/klocale.sip"
#include <klocale.h>
#line 22518 "sipkiopart2.cpp"
#line 57 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktcpsocket.sip"
#include <ktcpsocket.h>
#line 22521 "sipkiopart2.cpp"
#line 79 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktcpsocket.sip"
#include <ktcpsocket.h>
#line 22524 "sipkiopart2.cpp"
#line 83 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kuser.sip"
#include <kuser.h>
#line 22527 "sipkiopart2.cpp"
#line 34 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kuser.sip"
#include <kuser.h>
#line 22530 "sipkiopart2.cpp"
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 22545 "sipkiopart2.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/klockfile.sip"
#include <klockfile.h>
#line 22548 "sipkiopart2.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kmimetype.sip"
#include <kmimetype.h>
#line 22551 "sipkiopart2.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservice.sip"
#include <kservice.h>
#line 22554 "sipkiopart2.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservicegroup.sip"
#include <kservicegroup.h>
#line 22557 "sipkiopart2.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservicetype.sip"
#include <kservicetype.h>
#line 22560 "sipkiopart2.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ksharedconfig.sip"
#include <ksharedconfig.h>
#line 22563 "sipkiopart2.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ksycocaentry.sip"
#include <ksycocaentry.h>
#line 22566 "sipkiopart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 22569 "sipkiopart2.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kdesktopfile.sip"
#include <kdesktopfile.h>
#line 22572 "sipkiopart2.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 22575 "sipkiopart2.cpp"


extern "C" {static PyObject *meth_KDesktopFileActions_run(PyObject *,PyObject *);}
static PyObject *meth_KDesktopFileActions_run(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KUrl * a0;
        bool a1;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_run);

    return NULL;
}


extern "C" {static PyObject *meth_KDesktopFileActions_executeService(PyObject *,PyObject *);}
static PyObject *meth_KDesktopFileActions_executeService(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KUrl::List * a0;
        const KServiceAction * a1;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_executeService);

    return NULL;
}


extern "C" {static PyObject *meth_KDesktopFileActions_userDefinedServices(PyObject *,PyObject *);}
static PyObject *meth_KDesktopFileActions_userDefinedServices(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        bool a1;

        if (sipParseArgs(&sipArgsParsed,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);

            PyObject *sipResObj = sipConvertFromType(sipRes,sipType_QList_0200KServiceAction,NULL);
            delete sipRes;

            return sipResObj;
        }
    }

    {
        const QString * a0;
        int a0State = 0;
        const KDesktopFile * a1;
        bool a2;
        const KUrl::List& a3def = KUrl::List();
        const KUrl::List * a3 = &a3def;

        if (sipParseArgs(&sipArgsParsed,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);

            PyObject *sipResObj = sipConvertFromType(sipRes,sipType_QList_0200KServiceAction,NULL);
            delete sipRes;

            return sipResObj;
        }
    }

    {
        const KService * a0;
        bool a1;
        const KUrl::List& a2def = KUrl::List();
        const KUrl::List * a2 = &a2def;

        if (sipParseArgs(&sipArgsParsed,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

            PyObject *sipResObj = sipConvertFromType(sipRes,sipType_QList_0200KServiceAction,NULL);
            delete sipRes;

            return sipResObj;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipArgsParsed,sipName_userDefinedServices);

    return NULL;
}


extern "C" {static PyObject *meth_KDesktopFileActions_builtinServices(PyObject *,PyObject *);}
static PyObject *meth_KDesktopFileActions_builtinServices(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KUrl * a0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J9",sipType_KUrl,&a0))
        {
            QList<KServiceAction> *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<KServiceAction>(KDesktopFileActions::builtinServices(*a0));
            Py_END_ALLOW_THREADS

            PyObject *sipResObj = sipConvertFromType(sipRes,sipType_QList_0200KServiceAction,NULL);
            delete sipRes;

            return sipResObj;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipArgsParsed,sipName_builtinServices);

    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 pyqt4Type_kio_KDesktopFileActions = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_NAMESPACE,
        sipNameNr_KDesktopFileActions,
        {0}
    },
    sipNameNr_KDesktopFileActions,
    -1,
    -1,
    {0, 0, 1},
    0,
    0,
    4, methods_KDesktopFileActions,
    0, 0,
    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,
    0
},
    0,
    0,
    0,
    0
};
