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

#include "sipAPIkio.h"

#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kfile.sip"
#include <kfile.h>
#line 12 "sipkiopart6.cpp"

#line 46 "/usr/local/share/py-sip/QtCore/qdir.sip"
#include <qdir.h>
#line 16 "sipkiopart6.cpp"


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

    {
        const QDir::SortFlags * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J1",sipType_QDir_SortFlags,&a0,&a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KFile::isSortByName(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QDir::SortFlags *>(a0),sipType_QDir_SortFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const QDir::SortFlags * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J1",sipType_QDir_SortFlags,&a0,&a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KFile::isSortBySize(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QDir::SortFlags *>(a0),sipType_QDir_SortFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const QDir::SortFlags * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J1",sipType_QDir_SortFlags,&a0,&a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KFile::isSortByDate(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QDir::SortFlags *>(a0),sipType_QDir_SortFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const QDir::SortFlags * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J1",sipType_QDir_SortFlags,&a0,&a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KFile::isSortByType(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QDir::SortFlags *>(a0),sipType_QDir_SortFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const QDir::SortFlags * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J1",sipType_QDir_SortFlags,&a0,&a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KFile::isSortDirsFirst(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QDir::SortFlags *>(a0),sipType_QDir_SortFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const QDir::SortFlags * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J1",sipType_QDir_SortFlags,&a0,&a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KFile::isSortCaseInsensitive(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QDir::SortFlags *>(a0),sipType_QDir_SortFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KFile::FileView a0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"E",sipType_KFile_FileView,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KFile::isDefaultView(a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KFile::FileView a0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"E",sipType_KFile_FileView,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KFile::isSimpleView(a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KFile::FileView a0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"E",sipType_KFile_FileView,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KFile::isDetailView(a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KFile::FileView a0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"E",sipType_KFile_FileView,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KFile::isSeparateDirs(a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KFile::FileView a0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"E",sipType_KFile_FileView,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KFile::isPreviewContents(a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KFile::FileView a0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"E",sipType_KFile_FileView,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KFile::isPreviewInfo(a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KFile::FileView a0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"E",sipType_KFile_FileView,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KFile::isTreeView(a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KFile::FileView a0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"E",sipType_KFile_FileView,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KFile::isDetailTreeView(a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    return NULL;
}


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

    delete reinterpret_cast<KFile *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


static PyMethodDef methods_KFile[] = {
    {SIP_MLNAME_CAST(sipName_isDefaultView), meth_KFile_isDefaultView, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isDetailTreeView), meth_KFile_isDetailTreeView, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isDetailView), meth_KFile_isDetailView, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isPreviewContents), meth_KFile_isPreviewContents, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isPreviewInfo), meth_KFile_isPreviewInfo, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isSeparateDirs), meth_KFile_isSeparateDirs, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isSimpleView), meth_KFile_isSimpleView, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isSortByDate), meth_KFile_isSortByDate, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isSortByName), meth_KFile_isSortByName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isSortBySize), meth_KFile_isSortBySize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isSortByType), meth_KFile_isSortByType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isSortCaseInsensitive), meth_KFile_isSortCaseInsensitive, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isSortDirsFirst), meth_KFile_isSortDirsFirst, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isTreeView), meth_KFile_isTreeView, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KFile[] = {
    {sipName_Default, KFile::Default, 65},
    {sipName_Detail, KFile::Detail, 65},
    {sipName_DetailTree, KFile::DetailTree, 65},
    {sipName_Directory, KFile::Directory, 66},
    {sipName_ExistingOnly, KFile::ExistingOnly, 66},
    {sipName_Extended, KFile::Extended, 68},
    {sipName_File, KFile::File, 66},
    {sipName_FileViewMax, KFile::FileViewMax, 65},
    {sipName_Files, KFile::Files, 66},
    {sipName_LocalOnly, KFile::LocalOnly, 66},
    {sipName_ModeMax, KFile::ModeMax, 66},
    {sipName_Multi, KFile::Multi, 68},
    {sipName_NoSelection, KFile::NoSelection, 68},
    {sipName_PreviewContents, KFile::PreviewContents, 65},
    {sipName_PreviewInfo, KFile::PreviewInfo, 65},
    {sipName_SeparateDirs, KFile::SeparateDirs, 65},
    {sipName_Simple, KFile::Simple, 65},
    {sipName_Single, KFile::Single, 68},
    {sipName_Tree, KFile::Tree, 65},
};


pyqt4ClassTypeDef pyqt4Type_kio_KFile = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KFile,
        {0}
    },
    sipNameNr_KFile,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {0, 0, 1},
    0,
    0,
    14, methods_KFile,
    19, enummembers_KFile,
    0, 0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KFile,
    release_KFile,
    cast_KFile,
    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/kencodingfiledialog.sip"
#include <kencodingfiledialog.h>
#line 535 "sipkiopart6.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 539 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 542 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 545 "sipkiopart6.cpp"


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

    return NULL;
}


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

    delete reinterpret_cast<KEncodingFileDialog::Result *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KEncodingFileDialog_Result(void *, const void*);}
static void assign_KEncodingFileDialog_Result(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<KEncodingFileDialog::Result *>(sipDst) = *reinterpret_cast<const KEncodingFileDialog::Result *>(sipSrc);
}


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


extern "C" {static void *init_KEncodingFileDialog_Result(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KEncodingFileDialog_Result(sipSimpleWrapper *, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    KEncodingFileDialog::Result *sipCpp = 0;

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

    if (!sipCpp)
    {
        const KEncodingFileDialog::Result * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_KEncodingFileDialog_Result,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KEncodingFileDialog::Result(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    return sipCpp;
}


extern "C" {static PyObject *varget_KEncodingFileDialog_Result_URLs(void *, PyObject *);}
static PyObject *varget_KEncodingFileDialog_Result_URLs(void *sipSelf, PyObject *)
{
    KUrl::List *sipVal;
    KEncodingFileDialog::Result *sipCpp = reinterpret_cast<KEncodingFileDialog::Result *>(sipSelf);

    sipVal = &sipCpp->URLs;

    return sipConvertFromType(sipVal,sipType_KUrl_List, NULL);
}


extern "C" {static int varset_KEncodingFileDialog_Result_URLs(void *, PyObject *, PyObject *);}
static int varset_KEncodingFileDialog_Result_URLs(void *sipSelf, PyObject *sipPy, PyObject *)
{
    KUrl::List *sipVal;
    KEncodingFileDialog::Result *sipCpp = reinterpret_cast<KEncodingFileDialog::Result *>(sipSelf);

    int sipIsErr = 0;

    sipVal = reinterpret_cast<KUrl::List *>(sipForceConvertToType(sipPy,sipType_KUrl_List,NULL,SIP_NOT_NONE,NULL,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->URLs = *sipVal;

    return 0;
}


extern "C" {static PyObject *varget_KEncodingFileDialog_Result_encoding(void *, PyObject *);}
static PyObject *varget_KEncodingFileDialog_Result_encoding(void *sipSelf, PyObject *)
{
    QString *sipVal;
    KEncodingFileDialog::Result *sipCpp = reinterpret_cast<KEncodingFileDialog::Result *>(sipSelf);

    sipVal = &sipCpp->encoding;

    return sipConvertFromType(sipVal,sipType_QString, NULL);
}


extern "C" {static int varset_KEncodingFileDialog_Result_encoding(void *, PyObject *, PyObject *);}
static int varset_KEncodingFileDialog_Result_encoding(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QString *sipVal;
    KEncodingFileDialog::Result *sipCpp = reinterpret_cast<KEncodingFileDialog::Result *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QString *>(sipForceConvertToType(sipPy,sipType_QString,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->encoding = *sipVal;

    sipReleaseType(sipVal, sipType_QString, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_KEncodingFileDialog_Result_fileNames(void *, PyObject *);}
static PyObject *varget_KEncodingFileDialog_Result_fileNames(void *sipSelf, PyObject *)
{
    QStringList *sipVal;
    KEncodingFileDialog::Result *sipCpp = reinterpret_cast<KEncodingFileDialog::Result *>(sipSelf);

    sipVal = &sipCpp->fileNames;

    return sipConvertFromType(sipVal,sipType_QStringList, NULL);
}


extern "C" {static int varset_KEncodingFileDialog_Result_fileNames(void *, PyObject *, PyObject *);}
static int varset_KEncodingFileDialog_Result_fileNames(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QStringList *sipVal;
    KEncodingFileDialog::Result *sipCpp = reinterpret_cast<KEncodingFileDialog::Result *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QStringList *>(sipForceConvertToType(sipPy,sipType_QStringList,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->fileNames = *sipVal;

    sipReleaseType(sipVal, sipType_QStringList, sipValState);

    return 0;
}

sipVariableDef variables_KEncodingFileDialog_Result[] = {
    {sipName_URLs, varget_KEncodingFileDialog_Result_URLs, varset_KEncodingFileDialog_Result_URLs, 0},
    {sipName_encoding, varget_KEncodingFileDialog_Result_encoding, varset_KEncodingFileDialog_Result_encoding, 0},
    {sipName_fileNames, varget_KEncodingFileDialog_Result_fileNames, varset_KEncodingFileDialog_Result_fileNames, 0},
};


pyqt4ClassTypeDef pyqt4Type_kio_KEncodingFileDialog_Result = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KEncodingFileDialog__Result,
        {0}
    },
    sipNameNr_Result,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {62, 255, 0},
    0,
    0,
    0, 0,
    0, 0,
    3, variables_KEncodingFileDialog_Result,
    init_KEncodingFileDialog_Result,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KEncodingFileDialog_Result,
    release_KEncodingFileDialog_Result,
    cast_KEncodingFileDialog_Result,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_KEncodingFileDialog_Result,
    0,
    0,
    0
};

#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kfiledialog.sip"
#include <kfiledialog.h>
#line 771 "sipkiopart6.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 775 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 778 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 781 "sipkiopart6.cpp"
#line 424 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 784 "sipkiopart6.cpp"
#line 296 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 787 "sipkiopart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kactioncollection.sip"
#include <kactioncollection.h>
#line 790 "sipkiopart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kfilefiltercombo.sip"
#include <kfilefiltercombo.h>
#line 793 "sipkiopart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kurlcombobox.sip"
#include <kurlcombobox.h>
#line 796 "sipkiopart6.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 799 "sipkiopart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/ktoolbar.sip"
#include <ktoolbar.h>
#line 802 "sipkiopart6.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kabstractfilewidget.sip"
#include <kabstractfilewidget.h>
#line 805 "sipkiopart6.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kfile.sip"
#include <kfile.h>
#line 808 "sipkiopart6.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 811 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 814 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 817 "sipkiopart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kpreviewwidgetbase.sip"
#include <kpreviewwidgetbase.h>
#line 820 "sipkiopart6.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 835 "sipkiopart6.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 838 "sipkiopart6.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 841 "sipkiopart6.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 844 "sipkiopart6.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 847 "sipkiopart6.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 850 "sipkiopart6.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 853 "sipkiopart6.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 856 "sipkiopart6.cpp"
#line 388 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 859 "sipkiopart6.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 862 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 865 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qlayout.sip"
#include <qlayout.h>
#line 868 "sipkiopart6.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 871 "sipkiopart6.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 874 "sipkiopart6.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 877 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qmenu.sip"
#include <qmenu.h>
#line 880 "sipkiopart6.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 883 "sipkiopart6.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 886 "sipkiopart6.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 889 "sipkiopart6.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 892 "sipkiopart6.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 895 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 898 "sipkiopart6.cpp"
#line 436 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 901 "sipkiopart6.cpp"
#line 374 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 904 "sipkiopart6.cpp"
#line 412 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 907 "sipkiopart6.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 910 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 913 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 916 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 919 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qregion.sip"
#include <qregion.h>
#line 922 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 925 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 928 "sipkiopart6.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 931 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 934 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 937 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qfont.sip"
#include <qfont.h>
#line 940 "sipkiopart6.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 943 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 946 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 949 "sipkiopart6.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 954 "sipkiopart6.cpp"
#line 508 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 957 "sipkiopart6.cpp"
#line 562 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 960 "sipkiopart6.cpp"
#line 533 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 963 "sipkiopart6.cpp"
#line 550 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 966 "sipkiopart6.cpp"
#line 618 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 969 "sipkiopart6.cpp"
#line 247 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 972 "sipkiopart6.cpp"
#line 360 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 975 "sipkiopart6.cpp"
#line 345 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 978 "sipkiopart6.cpp"
#line 325 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 981 "sipkiopart6.cpp"
#line 225 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 984 "sipkiopart6.cpp"
#line 184 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 987 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 990 "sipkiopart6.cpp"
#line 74 "/usr/local/share/py-sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 993 "sipkiopart6.cpp"
#line 47 "/usr/local/share/py-sip/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 996 "sipkiopart6.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 1057 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qaction.sip"
#include <qaction.h>
#line 1060 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 1063 "sipkiopart6.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 1066 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qabstractbutton.sip"
#include <qabstractbutton.h>
#line 1069 "sipkiopart6.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 1074 "sipkiopart6.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 1077 "sipkiopart6.cpp"
#line 99 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 1080 "sipkiopart6.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 1083 "sipkiopart6.cpp"
#line 165 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 1086 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qlistwidget.sip"
#include <qlistwidget.h>
#line 1089 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qdockwidget.sip"
#include <qdockwidget.h>
#line 1092 "sipkiopart6.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qmdisubwindow.sip"
#include <qmdisubwindow.h>
#line 1095 "sipkiopart6.cpp"
#line 334 "/usr/local/share/py-sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 1098 "sipkiopart6.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 1103 "sipkiopart6.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qprinterinfo.sip"
#include <qprinterinfo.h>
#line 1106 "sipkiopart6.cpp"
#line 202 "/usr/local/share/py-sip/QtGui/qstandarditemmodel.sip"
#include <qstandarditemmodel.h>
#line 1109 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 1112 "sipkiopart6.cpp"
#line 66 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 1115 "sipkiopart6.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 1120 "sipkiopart6.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 1125 "sipkiopart6.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 1130 "sipkiopart6.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 1135 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtreewidget.sip"
#include <qtreewidget.h>
#line 1138 "sipkiopart6.cpp"
#line 75 "/usr/local/share/py-sip/QtGui/qundostack.sip"
#include <qundostack.h>
#line 1141 "sipkiopart6.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qwizard.sip"
#include <qwizard.h>
#line 1144 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qprinter.sip"
#include <qprinter.h>
#line 1147 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontdatabase.sip"
#include <qfontdatabase.h>
#line 1150 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 1153 "sipkiopart6.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1156 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 1159 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qicon.sip"
#include <qicon.h>
#line 1162 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 1165 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qstyle.sip"
#include <qstyle.h>
#line 1168 "sipkiopart6.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1171 "sipkiopart6.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1174 "sipkiopart6.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 1205 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 1208 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 1211 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 1214 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 1217 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 1220 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 1223 "sipkiopart6.cpp"


class sipKFileDialog : public KFileDialog
{
public:
    sipKFileDialog(const KUrl&,const QString&,QWidget *,QWidget *);
    virtual ~sipKFileDialog();

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

    /*
     * There is a 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_closeEvent(bool,QCloseEvent *);
    void sipProtectVirt_slotButtonClicked(bool,int);
    void sipProtect_updateGeometry();
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent *);
    void sipProtectVirt_hideEvent(bool,QHideEvent *);
    void sipProtectVirt_slotOk(bool);
    void sipProtectVirt_accept(bool);
    void sipProtectVirt_slotCancel(bool);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    QSize sizeHint() const;
    void keyPressEvent(QKeyEvent *);
    void hideEvent(QHideEvent *);
    void slotOk();
    void accept();
    void slotCancel();
    QSize minimumSizeHint() const;
    void setCaption(const QString&);
    void setCaption(const QString&,bool);
    void setPlainCaption(const QString&);
    void closeEvent(QCloseEvent *);
    void slotButtonClicked(int);
    void setVisible(bool);
    void done(int);
    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:
    sipKFileDialog(const sipKFileDialog &);
    sipKFileDialog &operator = (const sipKFileDialog &);

    char sipPyMethods[56];
};

sipKFileDialog::sipKFileDialog(const KUrl& a0,const QString& a1,QWidget *a2,QWidget *a3): KFileDialog(a0,a1,a2,a3), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipKFileDialog::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KFileDialog);
}

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

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

    return _id;
}

void *sipKFileDialog::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast && sip_kio_qt_metacast(sipPySelf,sipType_KFileDialog,_clname)) ? this : KFileDialog::qt_metacast(_clname);
}

QSize sipKFileDialog::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 KFileDialog::sizeHint();

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipKFileDialog::slotOk()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KFileDialog::slotOk();
        return;
    }

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipKFileDialog::slotCancel()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KFileDialog::slotCancel();
        return;
    }

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipKFileDialog::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[7],sipPySelf,NULL,sipName_setCaption);

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

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

void sipKFileDialog::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[8],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 sipKFileDialog::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[9],sipPySelf,NULL,sipName_setPlainCaption);

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

bool sipKFileDialog::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[18],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 sipKFileDialog::devType() const
{
    typedef int (*sipVH_QtCore_8)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

int sipKFileDialog::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[20]),sipPySelf,NULL,sipName_heightForWidth);

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipKFileDialog::mousePressEvent(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_mousePressEvent);

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

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

void sipKFileDialog::mouseReleaseEvent(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_mouseReleaseEvent);

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipKFileDialog::leaveEvent(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_leaveEvent);

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

int sipKFileDialog::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[42]),sipPySelf,NULL,sipName_metric);

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

QVariant sipKFileDialog::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[44]),sipPySelf,NULL,sipName_inputMethodQuery);

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipKFileDialog::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[47],sipPySelf,NULL,sipName_paletteChange);

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

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

void sipKFileDialog::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[48],sipPySelf,NULL,sipName_fontChange);

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipKFileDialog::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[54],sipPySelf,NULL,sipName_connectNotify);

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

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

void sipKFileDialog::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[55],sipPySelf,NULL,sipName_disconnectNotify);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

void sipKFileDialog::sipProtectVirt_slotOk(bool sipSelfWasArg)
{
    (sipSelfWasArg ? KFileDialog::slotOk() : slotOk());
}

void sipKFileDialog::sipProtectVirt_accept(bool sipSelfWasArg)
{
    (sipSelfWasArg ? KFileDialog::accept() : accept());
}

void sipKFileDialog::sipProtectVirt_slotCancel(bool sipSelfWasArg)
{
    (sipSelfWasArg ? KFileDialog::slotCancel() : slotCancel());
}


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

    {
        char * a0;
        sipKFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KFileDialog,&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 2659 "sipkiopart6.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QTimerEvent * a0;
        sipKFileDialog *sipCpp;

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

    return NULL;
}


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

    {
        QChildEvent * a0;
        sipKFileDialog *sipCpp;

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipKFileDialog *sipCpp;

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

    return NULL;
}


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

    {
        char * a0;
        sipKFileDialog *sipCpp;

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

    return NULL;
}


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

    {
        char * a0;
        sipKFileDialog *sipCpp;

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipKFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KFileDialog,&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_KFileDialog,sipName_event);

    return NULL;
}


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

    {
        QMouseEvent * a0;
        sipKFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KFileDialog,&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_KFileDialog,sipName_mousePressEvent);

    return NULL;
}


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

    {
        QMouseEvent * a0;
        sipKFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KFileDialog,&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_KFileDialog,sipName_mouseReleaseEvent);

    return NULL;
}


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

    {
        QMouseEvent * a0;
        sipKFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KFileDialog,&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_KFileDialog,sipName_mouseDoubleClickEvent);

    return NULL;
}


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

    {
        QMouseEvent * a0;
        sipKFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KFileDialog,&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_KFileDialog,sipName_mouseMoveEvent);

    return NULL;
}


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

    {
        QWheelEvent * a0;
        sipKFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KFileDialog,&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_KFileDialog,sipName_wheelEvent);

    return NULL;
}


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

    {
        QKeyEvent * a0;
        sipKFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KFileDialog,&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_KFileDialog,sipName_keyReleaseEvent);

    return NULL;
}


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

    {
        QFocusEvent * a0;
        sipKFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KFileDialog,&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_KFileDialog,sipName_focusInEvent);

    return NULL;
}


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

    {
        QFocusEvent * a0;
        sipKFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KFileDialog,&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_KFileDialog,sipName_focusOutEvent);

    return NULL;
}


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

    {
        QEvent * a0;
        sipKFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KFileDialog,&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_KFileDialog,sipName_enterEvent);

    return NULL;
}


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

    {
        QEvent * a0;
        sipKFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KFileDialog,&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_KFileDialog,sipName_leaveEvent);

    return NULL;
}


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

    {
        QPaintEvent * a0;
        sipKFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KFileDialog,&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_KFileDialog,sipName_paintEvent);

    return NULL;
}


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

    {
        QMoveEvent * a0;
        sipKFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KFileDialog,&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_KFileDialog,sipName_moveEvent);

    return NULL;
}


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

    {
        QTabletEvent * a0;
        sipKFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KFileDialog,&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_KFileDialog,sipName_tabletEvent);

    return NULL;
}


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

    {
        QActionEvent * a0;
        sipKFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KFileDialog,&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_KFileDialog,sipName_actionEvent);

    return NULL;
}


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

    {
        QDragEnterEvent * a0;
        sipKFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KFileDialog,&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_KFileDialog,sipName_dragEnterEvent);

    return NULL;
}


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

    {
        QDragMoveEvent * a0;
        sipKFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KFileDialog,&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_KFileDialog,sipName_dragMoveEvent);

    return NULL;
}


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

    {
        QDragLeaveEvent * a0;
        sipKFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KFileDialog,&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_KFileDialog,sipName_dragLeaveEvent);

    return NULL;
}


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

    {
        QDropEvent * a0;
        sipKFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KFileDialog,&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_KFileDialog,sipName_dropEvent);

    return NULL;
}


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

    {
        QEvent * a0;
        sipKFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KFileDialog,&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_KFileDialog,sipName_changeEvent);

    return NULL;
}


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

    {
        QPaintDevice::PaintDeviceMetric a0;
        sipKFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pE",&sipSelf,sipType_KFileDialog,&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_KFileDialog,sipName_metric);

    return NULL;
}


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

    {
        QInputMethodEvent * a0;
        sipKFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KFileDialog,&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_KFileDialog,sipName_inputMethodEvent);

    return NULL;
}


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

    {
        sipKFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KFileDialog,&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_KFileDialog,sipName_resetInputContext);

    return NULL;
}


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

    {
        sipKFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KFileDialog,&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_KFileDialog,sipName_updateMicroFocus);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p|mbb",&sipSelf,sipType_KFileDialog,&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_KFileDialog,sipName_create);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p|bb",&sipSelf,sipType_KFileDialog,&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_KFileDialog,sipName_destroy);

    return NULL;
}


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

    {
        bool a0;
        sipKFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_KFileDialog,&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_KFileDialog,sipName_focusNextPrevChild);

    return NULL;
}


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

    {
        sipKFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KFileDialog,&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_KFileDialog,sipName_focusNextChild);

    return NULL;
}


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

    {
        sipKFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KFileDialog,&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_KFileDialog,sipName_focusPreviousChild);

    return NULL;
}


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

    {
        bool a0;
        sipKFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_KFileDialog,&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_KFileDialog,sipName_enabledChange);

    return NULL;
}


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

    {
        const QPalette * a0;
        sipKFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&sipSelf,sipType_KFileDialog,&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_KFileDialog,sipName_paletteChange);

    return NULL;
}


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

    {
        const QFont * a0;
        sipKFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&sipSelf,sipType_KFileDialog,&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_KFileDialog,sipName_fontChange);

    return NULL;
}


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

    {
        bool a0;
        sipKFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_KFileDialog,&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_KFileDialog,sipName_windowActivationChange);

    return NULL;
}


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

    {
        sipKFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KFileDialog,&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_KFileDialog,sipName_languageChange);

    return NULL;
}


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

    {
        QShowEvent * a0;
        sipKFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KFileDialog,&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_KFileDialog,sipName_showEvent);

    return NULL;
}


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

    {
        QResizeEvent * a0;
        sipKFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KFileDialog,&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_KFileDialog,sipName_resizeEvent);

    return NULL;
}


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

    {
        QContextMenuEvent * a0;
        sipKFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KFileDialog,&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_KFileDialog,sipName_contextMenuEvent);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8J8",&sipSelf,sipType_KFileDialog,&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_KFileDialog,sipName_eventFilter);

    return NULL;
}


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

    {
        QCloseEvent * a0;
        sipKFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KFileDialog,&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_KFileDialog,sipName_closeEvent);

    return NULL;
}


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

    {
        int a0;
        sipKFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pi",&sipSelf,sipType_KFileDialog,&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_KFileDialog,sipName_slotButtonClicked);

    return NULL;
}


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

    {
        sipKFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KFileDialog,&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_KFileDialog,sipName_updateGeometry);

    return NULL;
}


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

    {
        KFileDialog *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        KFileDialog *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        KFileDialog *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        KFileDialog *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        KFileDialog *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        const KUrl * a0;
        bool a1 = 1;
        KFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9|b",&sipSelf,sipType_KFileDialog,&sipCpp,sipType_KUrl,&a0,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setUrl(*a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KFileDialog,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSelection(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KFileDialog::OperationMode a0;
        KFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BE",&sipSelf,sipType_KFileDialog,&sipCpp,sipType_KFileDialog_OperationMode,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setOperationMode(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KFileDialog,&sipCpp))
        {
            KFileDialog::OperationMode sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->operationMode();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KFileDialog_OperationMode);
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        KFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_KFileDialog,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setKeepLocation(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KFileDialog *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->keepsLocation();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KFileDialog,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setFilter(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KFileDialog *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        KFileDialog *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KMimeType::Ptr(sipCpp->currentFilterMimeType());
            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_KFileDialog,sipName_currentFilterMimeType);

    return NULL;
}


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

    {
        const QStringList * a0;
        int a0State = 0;
        const QString& a1def = QString();
        const QString * a1 = &a1def;
        int a1State = 0;
        KFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1|J1",&sipSelf,sipType_KFileDialog,&sipCpp,sipType_QStringList,&a0,&a0State,sipType_QString,&a1,&a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMimeFilter(*a0,*a1);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QStringList *>(a0),sipType_QStringList,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KFileDialog *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        KFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KFileDialog,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->clearFilter();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KPreviewWidgetBase * a0;
        KFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8",&sipSelf,sipType_KFileDialog,&sipCpp,sipType_KPreviewWidgetBase,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPreviewWidget(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        KFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_KFileDialog,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setInlinePreviewShown(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        KFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_KFileDialog,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setConfirmOverwrite(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KFileDialog *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        const KUrl& a0def = KUrl();
        const KUrl * a0 = &a0def;
        const QString& a1def = QString();
        const QString * a1 = &a1def;
        int a1State = 0;
        QWidget * a2 = 0;
        const QString& a3def = QString();
        const QString * a3 = &a3def;
        int a3State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"|J9J1J:J1",sipType_KUrl,&a0,sipType_QString,&a1,&a1State,sipType_QWidget,&a2,sipType_QString,&a3,&a3State))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KFileDialog::getOpenFileName(*a0,*a1,a2,*a3));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);

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

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

    return NULL;
}


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

    {
        const KUrl * a0;
        const QString * a1;
        int a1State = 0;
        WId a2;
        const QString * a3;
        int a3State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J9J1mJ1",sipType_KUrl,&a0,sipType_QString,&a1,&a1State,&a2,sipType_QString,&a3,&a3State))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KFileDialog::getOpenFileNameWId(*a0,*a1,a2,*a3));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);

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

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

    return NULL;
}


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

    {
        const KUrl& a0def = KUrl();
        const KUrl * a0 = &a0def;
        const QString& a1def = QString();
        const QString * a1 = &a1def;
        int a1State = 0;
        QWidget * a2 = 0;
        const QString& a3def = QString();
        const QString * a3 = &a3def;
        int a3State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"|J9J1J:J1",sipType_KUrl,&a0,sipType_QString,&a1,&a1State,sipType_QWidget,&a2,sipType_QString,&a3,&a3State))
        {
            QStringList *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(KFileDialog::getOpenFileNames(*a0,*a1,a2,*a3));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);

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

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

    return NULL;
}


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

    {
        const KUrl& a0def = KUrl();
        const KUrl * a0 = &a0def;
        const QString& a1def = QString();
        const QString * a1 = &a1def;
        int a1State = 0;
        QWidget * a2 = 0;
        const QString& a3def = QString();
        const QString * a3 = &a3def;
        int a3State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"|J9J1J:J1",sipType_KUrl,&a0,sipType_QString,&a1,&a1State,sipType_QWidget,&a2,sipType_QString,&a3,&a3State))
        {
            KUrl *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl(KFileDialog::getOpenUrl(*a0,*a1,a2,*a3));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);

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

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

    return NULL;
}


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

    {
        const KUrl& a0def = KUrl();
        const KUrl * a0 = &a0def;
        const QString& a1def = QString();
        const QString * a1 = &a1def;
        int a1State = 0;
        QWidget * a2 = 0;
        const QString& a3def = QString();
        const QString * a3 = &a3def;
        int a3State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"|J9J1J:J1",sipType_KUrl,&a0,sipType_QString,&a1,&a1State,sipType_QWidget,&a2,sipType_QString,&a3,&a3State))
        {
            KUrl::List *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl::List(KFileDialog::getOpenUrls(*a0,*a1,a2,*a3));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);

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

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

    return NULL;
}


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

    {
        const KUrl& a0def = KUrl();
        const KUrl * a0 = &a0def;
        const QString& a1def = QString();
        const QString * a1 = &a1def;
        int a1State = 0;
        QWidget * a2 = 0;
        const QString& a3def = QString();
        const QString * a3 = &a3def;
        int a3State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"|J9J1J:J1",sipType_KUrl,&a0,sipType_QString,&a1,&a1State,sipType_QWidget,&a2,sipType_QString,&a3,&a3State))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KFileDialog::getSaveFileName(*a0,*a1,a2,*a3));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);

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

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

    return NULL;
}


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

    {
        const KUrl * a0;
        const QString * a1;
        int a1State = 0;
        WId a2;
        const QString * a3;
        int a3State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J9J1mJ1",sipType_KUrl,&a0,sipType_QString,&a1,&a1State,&a2,sipType_QString,&a3,&a3State))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KFileDialog::getSaveFileNameWId(*a0,*a1,a2,*a3));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);

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

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

    return NULL;
}


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

    {
        const KUrl& a0def = KUrl();
        const KUrl * a0 = &a0def;
        const QString& a1def = QString();
        const QString * a1 = &a1def;
        int a1State = 0;
        QWidget * a2 = 0;
        const QString& a3def = QString();
        const QString * a3 = &a3def;
        int a3State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"|J9J1J:J1",sipType_KUrl,&a0,sipType_QString,&a1,&a1State,sipType_QWidget,&a2,sipType_QString,&a3,&a3State))
        {
            KUrl *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl(KFileDialog::getSaveUrl(*a0,*a1,a2,*a3));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);

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

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

    return NULL;
}


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

    {
        const KUrl& a0def = KUrl();
        const KUrl * a0 = &a0def;
        QWidget * a1 = 0;
        const QString& a2def = QString();
        const QString * a2 = &a2def;
        int a2State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"|J9J:J1",sipType_KUrl,&a0,sipType_QWidget,&a1,sipType_QString,&a2,&a2State))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KFileDialog::getExistingDirectory(*a0,a1,*a2));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

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

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

    return NULL;
}


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

    {
        const KUrl& a0def = KUrl();
        const KUrl * a0 = &a0def;
        QWidget * a1 = 0;
        const QString& a2def = QString();
        const QString * a2 = &a2def;
        int a2State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"|J9J:J1",sipType_KUrl,&a0,sipType_QWidget,&a1,sipType_QString,&a2,&a2State))
        {
            KUrl *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl(KFileDialog::getExistingDirectoryUrl(*a0,a1,*a2));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

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

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

    return NULL;
}


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

    {
        const KUrl& a0def = KUrl();
        const KUrl * a0 = &a0def;
        QWidget * a1 = 0;
        const QString& a2def = QString();
        const QString * a2 = &a2def;
        int a2State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"|J9J:J1",sipType_KUrl,&a0,sipType_QWidget,&a1,sipType_QString,&a2,&a2State))
        {
            KUrl *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl(KFileDialog::getImageOpenUrl(*a0,a1,*a2));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KFileDialog,&sipCpp,sipType_KFile_Modes,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMode(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_KFile_Modes,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KFileDialog,&sipCpp))
        {
            KFile::Modes *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KFile::Modes(sipCpp->mode());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KFileDialog,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setLocationLabel(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KFileDialog *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->fileWidget();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KFileDialog *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->toolBar();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KFileDialog *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->okButton();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KFileDialog *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->cancelButton();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KFileDialog *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->locationEdit();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KFileDialog *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->filterWidget();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KFileDialog *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->actionCollection();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J9J1",sipType_KUrl,&a0,sipType_QString,&a1,&a1State))
        {
            KUrl *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl(KFileDialog::getStartUrl(*a0,*a1));
            Py_END_ALLOW_THREADS

            sipReleaseType(a1,sipType_QString,a1State);

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

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

    return NULL;
}


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

    {
        const KUrl * a0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J9",sipType_KUrl,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            KFileDialog::setStartDir(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QKeyEvent * a0;
        sipKFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KFileDialog,&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_KFileDialog,sipName_keyPressEvent);

    return NULL;
}


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

    {
        QHideEvent * a0;
        sipKFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KFileDialog,&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_KFileDialog,sipName_hideEvent);

    return NULL;
}


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

    {
        sipKFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KFileDialog,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_slotOk(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_KFileDialog,sipName_slotOk);

    return NULL;
}


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

    {
        sipKFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KFileDialog,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_accept(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_KFileDialog,sipName_accept);

    return NULL;
}


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

    {
        sipKFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KFileDialog,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_slotCancel(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_KFileDialog,sipName_slotCancel);

    return NULL;
}


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

    if (targetType == sipType_KFileDialog)
        return ptr;

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

    return NULL;
}


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

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKFileDialog *>(sipCppV);
    else
        delete reinterpret_cast<KFileDialog *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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

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


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

    if (!sipCpp)
    {
        const KUrl * a0;
        const QString * a1;
        int a1State = 0;
        QWidget * a2;
        QWidget * a3 = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9J1JH|J8",sipType_KUrl,&a0,sipType_QString,&a1,&a1State,sipType_QWidget,&a2,sipOwner,sipType_QWidget,&a3))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKFileDialog(*a0,*a1,a2,a3);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


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


static PyMethodDef methods_KFileDialog[] = {
    {SIP_MLNAME_CAST(sipName_accept), meth_KFileDialog_accept, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_actionCollection), meth_KFileDialog_actionCollection, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_actionEvent), meth_KFileDialog_actionEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_baseUrl), meth_KFileDialog_baseUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_cancelButton), meth_KFileDialog_cancelButton, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_changeEvent), meth_KFileDialog_changeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_KFileDialog_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_clearFilter), meth_KFileDialog_clearFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), meth_KFileDialog_closeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KFileDialog_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), meth_KFileDialog_contextMenuEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_create), meth_KFileDialog_create, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_currentFilter), meth_KFileDialog_currentFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_currentFilterMimeType), meth_KFileDialog_currentFilterMimeType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_currentMimeFilter), meth_KFileDialog_currentMimeFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KFileDialog_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), meth_KFileDialog_destroy, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KFileDialog_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), meth_KFileDialog_dragEnterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), meth_KFileDialog_dragLeaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), meth_KFileDialog_dragMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), meth_KFileDialog_dropEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enabledChange), meth_KFileDialog_enabledChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), meth_KFileDialog_enterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_event), meth_KFileDialog_event, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_eventFilter), meth_KFileDialog_eventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fileWidget), meth_KFileDialog_fileWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_filterWidget), meth_KFileDialog_filterWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), meth_KFileDialog_focusInEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), meth_KFileDialog_focusNextChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), meth_KFileDialog_focusNextPrevChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), meth_KFileDialog_focusOutEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), meth_KFileDialog_focusPreviousChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fontChange), meth_KFileDialog_fontChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_getExistingDirectory), meth_KFileDialog_getExistingDirectory, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_getExistingDirectoryUrl), meth_KFileDialog_getExistingDirectoryUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_getImageOpenUrl), meth_KFileDialog_getImageOpenUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_getOpenFileName), meth_KFileDialog_getOpenFileName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_getOpenFileNameWId), meth_KFileDialog_getOpenFileNameWId, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_getOpenFileNames), meth_KFileDialog_getOpenFileNames, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_getOpenUrl), meth_KFileDialog_getOpenUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_getOpenUrls), meth_KFileDialog_getOpenUrls, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_getSaveFileName), meth_KFileDialog_getSaveFileName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_getSaveFileNameWId), meth_KFileDialog_getSaveFileNameWId, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_getSaveUrl), meth_KFileDialog_getSaveUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_getStartUrl), meth_KFileDialog_getStartUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), meth_KFileDialog_hideEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), meth_KFileDialog_inputMethodEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keepsLocation), meth_KFileDialog_keepsLocation, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), meth_KFileDialog_keyPressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), meth_KFileDialog_keyReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_languageChange), meth_KFileDialog_languageChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), meth_KFileDialog_leaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_locationEdit), meth_KFileDialog_locationEdit, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_metric), meth_KFileDialog_metric, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mode), meth_KFileDialog_mode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), meth_KFileDialog_mouseDoubleClickEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), meth_KFileDialog_mouseMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), meth_KFileDialog_mousePressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), meth_KFileDialog_mouseReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), meth_KFileDialog_moveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_okButton), meth_KFileDialog_okButton, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_operationMode), meth_KFileDialog_operationMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), meth_KFileDialog_paintEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paletteChange), meth_KFileDialog_paletteChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_KFileDialog_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resetInputContext), meth_KFileDialog_resetInputContext, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_KFileDialog_resizeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_selectedFile), meth_KFileDialog_selectedFile, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_selectedFiles), meth_KFileDialog_selectedFiles, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_selectedUrl), meth_KFileDialog_selectedUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_selectedUrls), meth_KFileDialog_selectedUrls, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setConfirmOverwrite), meth_KFileDialog_setConfirmOverwrite, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setFilter), meth_KFileDialog_setFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setInlinePreviewShown), meth_KFileDialog_setInlinePreviewShown, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setKeepLocation), meth_KFileDialog_setKeepLocation, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setLocationLabel), meth_KFileDialog_setLocationLabel, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMimeFilter), meth_KFileDialog_setMimeFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMode), meth_KFileDialog_setMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setOperationMode), meth_KFileDialog_setOperationMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPreviewWidget), meth_KFileDialog_setPreviewWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSelection), meth_KFileDialog_setSelection, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setStartDir), meth_KFileDialog_setStartDir, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setUrl), meth_KFileDialog_setUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), meth_KFileDialog_showEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_KFileDialog_sizeHint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotButtonClicked), meth_KFileDialog_slotButtonClicked, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotCancel), meth_KFileDialog_slotCancel, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotOk), meth_KFileDialog_slotOk, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_tabletEvent), meth_KFileDialog_tabletEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KFileDialog_timerEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toolBar), meth_KFileDialog_toolBar, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateGeometry), meth_KFileDialog_updateGeometry, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), meth_KFileDialog_updateMicroFocus, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), meth_KFileDialog_wheelEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_windowActivationChange), meth_KFileDialog_windowActivationChange, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KFileDialog[] = {
    {sipName_Opening, KFileDialog::Opening, 70},
    {sipName_Other, KFileDialog::Other, 70},
    {sipName_Saving, KFileDialog::Saving, 70},
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_KFileDialog[] = {
    {"filterChanged(const QString&)", 0},
    {"selectionChanged()", 0},
    {"fileHighlighted(const QString&)", 0},
    {"fileSelected(const QString&)", 0},
    {0, 0}
};


pyqt4ClassTypeDef pyqt4Type_kio_KFileDialog = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KFileDialog,
        {0}
    },
    sipNameNr_KFileDialog,
    -1,
    -1,
    {0, 0, 1},
    supers_KFileDialog,
    0,
    96, methods_KFileDialog,
    3, enummembers_KFileDialog,
    0, 0,
    init_KFileDialog,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KFileDialog,
    release_KFileDialog,
    cast_KFileDialog,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KFileDialog::staticMetaObject,
    0,
    pyqt4_signals_KFileDialog
};

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kencodingfiledialog.sip"
#include <kencodingfiledialog.h>
#line 5652 "sipkiopart6.cpp"

#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 5656 "sipkiopart6.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kfiledialog.sip"
#include <kfiledialog.h>
#line 5659 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 5662 "sipkiopart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kencodingfiledialog.sip"
#include <kencodingfiledialog.h>
#line 5665 "sipkiopart6.cpp"
#line 424 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 5668 "sipkiopart6.cpp"
#line 296 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 5671 "sipkiopart6.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 5674 "sipkiopart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kactioncollection.sip"
#include <kactioncollection.h>
#line 5677 "sipkiopart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kfilefiltercombo.sip"
#include <kfilefiltercombo.h>
#line 5680 "sipkiopart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kurlcombobox.sip"
#include <kurlcombobox.h>
#line 5683 "sipkiopart6.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 5686 "sipkiopart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/ktoolbar.sip"
#include <ktoolbar.h>
#line 5689 "sipkiopart6.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kabstractfilewidget.sip"
#include <kabstractfilewidget.h>
#line 5692 "sipkiopart6.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kfile.sip"
#include <kfile.h>
#line 5695 "sipkiopart6.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 5698 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 5701 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 5704 "sipkiopart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kpreviewwidgetbase.sip"
#include <kpreviewwidgetbase.h>
#line 5707 "sipkiopart6.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 5722 "sipkiopart6.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 5725 "sipkiopart6.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 5728 "sipkiopart6.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 5731 "sipkiopart6.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 5734 "sipkiopart6.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 5737 "sipkiopart6.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 5740 "sipkiopart6.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 5743 "sipkiopart6.cpp"
#line 388 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 5746 "sipkiopart6.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 5749 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 5752 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qlayout.sip"
#include <qlayout.h>
#line 5755 "sipkiopart6.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 5758 "sipkiopart6.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 5761 "sipkiopart6.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 5764 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qmenu.sip"
#include <qmenu.h>
#line 5767 "sipkiopart6.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 5770 "sipkiopart6.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 5773 "sipkiopart6.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 5776 "sipkiopart6.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 5779 "sipkiopart6.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 5782 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 5785 "sipkiopart6.cpp"
#line 436 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 5788 "sipkiopart6.cpp"
#line 374 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 5791 "sipkiopart6.cpp"
#line 412 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 5794 "sipkiopart6.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 5797 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 5800 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 5803 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 5806 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qregion.sip"
#include <qregion.h>
#line 5809 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 5812 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 5815 "sipkiopart6.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 5818 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 5821 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 5824 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qfont.sip"
#include <qfont.h>
#line 5827 "sipkiopart6.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 5830 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 5833 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 5836 "sipkiopart6.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 5841 "sipkiopart6.cpp"
#line 508 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 5844 "sipkiopart6.cpp"
#line 562 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 5847 "sipkiopart6.cpp"
#line 533 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 5850 "sipkiopart6.cpp"
#line 550 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 5853 "sipkiopart6.cpp"
#line 618 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 5856 "sipkiopart6.cpp"
#line 247 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 5859 "sipkiopart6.cpp"
#line 360 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 5862 "sipkiopart6.cpp"
#line 345 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 5865 "sipkiopart6.cpp"
#line 325 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 5868 "sipkiopart6.cpp"
#line 225 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 5871 "sipkiopart6.cpp"
#line 184 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 5874 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 5877 "sipkiopart6.cpp"
#line 74 "/usr/local/share/py-sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 5880 "sipkiopart6.cpp"
#line 47 "/usr/local/share/py-sip/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 5883 "sipkiopart6.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 5944 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qaction.sip"
#include <qaction.h>
#line 5947 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 5950 "sipkiopart6.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 5953 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qabstractbutton.sip"
#include <qabstractbutton.h>
#line 5956 "sipkiopart6.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 5961 "sipkiopart6.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 5964 "sipkiopart6.cpp"
#line 99 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 5967 "sipkiopart6.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 5970 "sipkiopart6.cpp"
#line 165 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 5973 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qlistwidget.sip"
#include <qlistwidget.h>
#line 5976 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qdockwidget.sip"
#include <qdockwidget.h>
#line 5979 "sipkiopart6.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qmdisubwindow.sip"
#include <qmdisubwindow.h>
#line 5982 "sipkiopart6.cpp"
#line 334 "/usr/local/share/py-sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 5985 "sipkiopart6.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 5990 "sipkiopart6.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qprinterinfo.sip"
#include <qprinterinfo.h>
#line 5993 "sipkiopart6.cpp"
#line 202 "/usr/local/share/py-sip/QtGui/qstandarditemmodel.sip"
#include <qstandarditemmodel.h>
#line 5996 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 5999 "sipkiopart6.cpp"
#line 66 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 6002 "sipkiopart6.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 6007 "sipkiopart6.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 6012 "sipkiopart6.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 6017 "sipkiopart6.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 6022 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtreewidget.sip"
#include <qtreewidget.h>
#line 6025 "sipkiopart6.cpp"
#line 75 "/usr/local/share/py-sip/QtGui/qundostack.sip"
#include <qundostack.h>
#line 6028 "sipkiopart6.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qwizard.sip"
#include <qwizard.h>
#line 6031 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qprinter.sip"
#include <qprinter.h>
#line 6034 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontdatabase.sip"
#include <qfontdatabase.h>
#line 6037 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 6040 "sipkiopart6.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 6043 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 6046 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qicon.sip"
#include <qicon.h>
#line 6049 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 6052 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qstyle.sip"
#include <qstyle.h>
#line 6055 "sipkiopart6.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6058 "sipkiopart6.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6061 "sipkiopart6.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 6092 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 6095 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 6098 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 6101 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 6104 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 6107 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 6110 "sipkiopart6.cpp"


class sipKEncodingFileDialog : public KEncodingFileDialog
{
public:
    sipKEncodingFileDialog(const QString&,const QString&,const QString&,const QString&,KFileDialog::OperationMode,QWidget *);
    virtual ~sipKEncodingFileDialog();

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

    /*
     * There is a 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_closeEvent(bool,QCloseEvent *);
    void sipProtectVirt_slotButtonClicked(bool,int);
    void sipProtect_updateGeometry();
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent *);
    void sipProtectVirt_hideEvent(bool,QHideEvent *);
    void sipProtectVirt_slotOk(bool);
    void sipProtectVirt_accept(bool);
    void sipProtectVirt_slotCancel(bool);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    QSize sizeHint() const;
    void keyPressEvent(QKeyEvent *);
    void hideEvent(QHideEvent *);
    void slotOk();
    void accept();
    void slotCancel();
    QSize minimumSizeHint() const;
    void setCaption(const QString&);
    void setCaption(const QString&,bool);
    void setPlainCaption(const QString&);
    void closeEvent(QCloseEvent *);
    void slotButtonClicked(int);
    void setVisible(bool);
    void done(int);
    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:
    sipKEncodingFileDialog(const sipKEncodingFileDialog &);
    sipKEncodingFileDialog &operator = (const sipKEncodingFileDialog &);

    char sipPyMethods[56];
};

sipKEncodingFileDialog::sipKEncodingFileDialog(const QString& a0,const QString& a1,const QString& a2,const QString& a3,KFileDialog::OperationMode a4,QWidget *a5): KEncodingFileDialog(a0,a1,a2,a3,a4,a5), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipKEncodingFileDialog::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KEncodingFileDialog);
}

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

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

    return _id;
}

void *sipKEncodingFileDialog::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast && sip_kio_qt_metacast(sipPySelf,sipType_KEncodingFileDialog,_clname)) ? this : KEncodingFileDialog::qt_metacast(_clname);
}

QSize sipKEncodingFileDialog::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 KFileDialog::sizeHint();

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipKEncodingFileDialog::slotOk()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KFileDialog::slotOk();
        return;
    }

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipKEncodingFileDialog::slotCancel()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KFileDialog::slotCancel();
        return;
    }

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipKEncodingFileDialog::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[7],sipPySelf,NULL,sipName_setCaption);

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

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

void sipKEncodingFileDialog::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[8],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 sipKEncodingFileDialog::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[9],sipPySelf,NULL,sipName_setPlainCaption);

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

bool sipKEncodingFileDialog::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[18],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 sipKEncodingFileDialog::devType() const
{
    typedef int (*sipVH_QtCore_8)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

int sipKEncodingFileDialog::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[20]),sipPySelf,NULL,sipName_heightForWidth);

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipKEncodingFileDialog::mousePressEvent(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_mousePressEvent);

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

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

void sipKEncodingFileDialog::mouseReleaseEvent(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_mouseReleaseEvent);

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipKEncodingFileDialog::leaveEvent(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_leaveEvent);

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

int sipKEncodingFileDialog::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[42]),sipPySelf,NULL,sipName_metric);

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

QVariant sipKEncodingFileDialog::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[44]),sipPySelf,NULL,sipName_inputMethodQuery);

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipKEncodingFileDialog::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[47],sipPySelf,NULL,sipName_paletteChange);

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

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

void sipKEncodingFileDialog::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[48],sipPySelf,NULL,sipName_fontChange);

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipKEncodingFileDialog::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[54],sipPySelf,NULL,sipName_connectNotify);

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

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

void sipKEncodingFileDialog::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[55],sipPySelf,NULL,sipName_disconnectNotify);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

void sipKEncodingFileDialog::sipProtectVirt_slotOk(bool sipSelfWasArg)
{
    (sipSelfWasArg ? KFileDialog::slotOk() : slotOk());
}

void sipKEncodingFileDialog::sipProtectVirt_accept(bool sipSelfWasArg)
{
    (sipSelfWasArg ? KFileDialog::accept() : accept());
}

void sipKEncodingFileDialog::sipProtectVirt_slotCancel(bool sipSelfWasArg)
{
    (sipSelfWasArg ? KFileDialog::slotCancel() : slotCancel());
}


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

    {
        char * a0;
        sipKEncodingFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KEncodingFileDialog,&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 7546 "sipkiopart6.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QTimerEvent * a0;
        sipKEncodingFileDialog *sipCpp;

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

    return NULL;
}


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

    {
        QChildEvent * a0;
        sipKEncodingFileDialog *sipCpp;

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipKEncodingFileDialog *sipCpp;

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

    return NULL;
}


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

    {
        char * a0;
        sipKEncodingFileDialog *sipCpp;

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

    return NULL;
}


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

    {
        char * a0;
        sipKEncodingFileDialog *sipCpp;

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipKEncodingFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KEncodingFileDialog,&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_KEncodingFileDialog,sipName_event);

    return NULL;
}


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

    {
        QMouseEvent * a0;
        sipKEncodingFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KEncodingFileDialog,&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_KEncodingFileDialog,sipName_mousePressEvent);

    return NULL;
}


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

    {
        QMouseEvent * a0;
        sipKEncodingFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KEncodingFileDialog,&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_KEncodingFileDialog,sipName_mouseReleaseEvent);

    return NULL;
}


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

    {
        QMouseEvent * a0;
        sipKEncodingFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KEncodingFileDialog,&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_KEncodingFileDialog,sipName_mouseDoubleClickEvent);

    return NULL;
}


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

    {
        QMouseEvent * a0;
        sipKEncodingFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KEncodingFileDialog,&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_KEncodingFileDialog,sipName_mouseMoveEvent);

    return NULL;
}


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

    {
        QWheelEvent * a0;
        sipKEncodingFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KEncodingFileDialog,&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_KEncodingFileDialog,sipName_wheelEvent);

    return NULL;
}


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

    {
        QKeyEvent * a0;
        sipKEncodingFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KEncodingFileDialog,&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_KEncodingFileDialog,sipName_keyReleaseEvent);

    return NULL;
}


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

    {
        QFocusEvent * a0;
        sipKEncodingFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KEncodingFileDialog,&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_KEncodingFileDialog,sipName_focusInEvent);

    return NULL;
}


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

    {
        QFocusEvent * a0;
        sipKEncodingFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KEncodingFileDialog,&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_KEncodingFileDialog,sipName_focusOutEvent);

    return NULL;
}


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

    {
        QEvent * a0;
        sipKEncodingFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KEncodingFileDialog,&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_KEncodingFileDialog,sipName_enterEvent);

    return NULL;
}


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

    {
        QEvent * a0;
        sipKEncodingFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KEncodingFileDialog,&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_KEncodingFileDialog,sipName_leaveEvent);

    return NULL;
}


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

    {
        QPaintEvent * a0;
        sipKEncodingFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KEncodingFileDialog,&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_KEncodingFileDialog,sipName_paintEvent);

    return NULL;
}


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

    {
        QMoveEvent * a0;
        sipKEncodingFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KEncodingFileDialog,&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_KEncodingFileDialog,sipName_moveEvent);

    return NULL;
}


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

    {
        QTabletEvent * a0;
        sipKEncodingFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KEncodingFileDialog,&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_KEncodingFileDialog,sipName_tabletEvent);

    return NULL;
}


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

    {
        QActionEvent * a0;
        sipKEncodingFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KEncodingFileDialog,&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_KEncodingFileDialog,sipName_actionEvent);

    return NULL;
}


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

    {
        QDragEnterEvent * a0;
        sipKEncodingFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KEncodingFileDialog,&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_KEncodingFileDialog,sipName_dragEnterEvent);

    return NULL;
}


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

    {
        QDragMoveEvent * a0;
        sipKEncodingFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KEncodingFileDialog,&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_KEncodingFileDialog,sipName_dragMoveEvent);

    return NULL;
}


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

    {
        QDragLeaveEvent * a0;
        sipKEncodingFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KEncodingFileDialog,&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_KEncodingFileDialog,sipName_dragLeaveEvent);

    return NULL;
}


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

    {
        QDropEvent * a0;
        sipKEncodingFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KEncodingFileDialog,&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_KEncodingFileDialog,sipName_dropEvent);

    return NULL;
}


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

    {
        QEvent * a0;
        sipKEncodingFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KEncodingFileDialog,&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_KEncodingFileDialog,sipName_changeEvent);

    return NULL;
}


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

    {
        QPaintDevice::PaintDeviceMetric a0;
        sipKEncodingFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pE",&sipSelf,sipType_KEncodingFileDialog,&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_KEncodingFileDialog,sipName_metric);

    return NULL;
}


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

    {
        QInputMethodEvent * a0;
        sipKEncodingFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KEncodingFileDialog,&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_KEncodingFileDialog,sipName_inputMethodEvent);

    return NULL;
}


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

    {
        sipKEncodingFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KEncodingFileDialog,&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_KEncodingFileDialog,sipName_resetInputContext);

    return NULL;
}


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

    {
        sipKEncodingFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KEncodingFileDialog,&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_KEncodingFileDialog,sipName_updateMicroFocus);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p|mbb",&sipSelf,sipType_KEncodingFileDialog,&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_KEncodingFileDialog,sipName_create);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p|bb",&sipSelf,sipType_KEncodingFileDialog,&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_KEncodingFileDialog,sipName_destroy);

    return NULL;
}


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

    {
        bool a0;
        sipKEncodingFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_KEncodingFileDialog,&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_KEncodingFileDialog,sipName_focusNextPrevChild);

    return NULL;
}


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

    {
        sipKEncodingFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KEncodingFileDialog,&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_KEncodingFileDialog,sipName_focusNextChild);

    return NULL;
}


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

    {
        sipKEncodingFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KEncodingFileDialog,&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_KEncodingFileDialog,sipName_focusPreviousChild);

    return NULL;
}


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

    {
        bool a0;
        sipKEncodingFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_KEncodingFileDialog,&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_KEncodingFileDialog,sipName_enabledChange);

    return NULL;
}


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

    {
        const QPalette * a0;
        sipKEncodingFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&sipSelf,sipType_KEncodingFileDialog,&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_KEncodingFileDialog,sipName_paletteChange);

    return NULL;
}


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

    {
        const QFont * a0;
        sipKEncodingFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&sipSelf,sipType_KEncodingFileDialog,&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_KEncodingFileDialog,sipName_fontChange);

    return NULL;
}


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

    {
        bool a0;
        sipKEncodingFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_KEncodingFileDialog,&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_KEncodingFileDialog,sipName_windowActivationChange);

    return NULL;
}


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

    {
        sipKEncodingFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KEncodingFileDialog,&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_KEncodingFileDialog,sipName_languageChange);

    return NULL;
}


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

    {
        QShowEvent * a0;
        sipKEncodingFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KEncodingFileDialog,&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_KEncodingFileDialog,sipName_showEvent);

    return NULL;
}


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

    {
        QResizeEvent * a0;
        sipKEncodingFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KEncodingFileDialog,&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_KEncodingFileDialog,sipName_resizeEvent);

    return NULL;
}


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

    {
        QContextMenuEvent * a0;
        sipKEncodingFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KEncodingFileDialog,&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_KEncodingFileDialog,sipName_contextMenuEvent);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8J8",&sipSelf,sipType_KEncodingFileDialog,&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_KEncodingFileDialog,sipName_eventFilter);

    return NULL;
}


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

    {
        QCloseEvent * a0;
        sipKEncodingFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KEncodingFileDialog,&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_KEncodingFileDialog,sipName_closeEvent);

    return NULL;
}


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

    {
        int a0;
        sipKEncodingFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pi",&sipSelf,sipType_KEncodingFileDialog,&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_KEncodingFileDialog,sipName_slotButtonClicked);

    return NULL;
}


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

    {
        sipKEncodingFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KEncodingFileDialog,&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_KEncodingFileDialog,sipName_updateGeometry);

    return NULL;
}


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

    {
        QKeyEvent * a0;
        sipKEncodingFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KEncodingFileDialog,&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_KEncodingFileDialog,sipName_keyPressEvent);

    return NULL;
}


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

    {
        QHideEvent * a0;
        sipKEncodingFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KEncodingFileDialog,&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_KEncodingFileDialog,sipName_hideEvent);

    return NULL;
}


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

    {
        sipKEncodingFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KEncodingFileDialog,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_slotOk(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_KEncodingFileDialog,sipName_slotOk);

    return NULL;
}


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

    {
        sipKEncodingFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KEncodingFileDialog,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_accept(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_KEncodingFileDialog,sipName_accept);

    return NULL;
}


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

    {
        sipKEncodingFileDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KEncodingFileDialog,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_slotCancel(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_KEncodingFileDialog,sipName_slotCancel);

    return NULL;
}


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

    {
        KEncodingFileDialog *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        const QString& a0def = QString();
        const QString * a0 = &a0def;
        int a0State = 0;
        const QString& a1def = QString();
        const QString * a1 = &a1def;
        int a1State = 0;
        const QString& a2def = QString();
        const QString * a2 = &a2def;
        int a2State = 0;
        QWidget * a3 = 0;
        const QString& a4def = QString();
        const QString * a4 = &a4def;
        int a4State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"|J1J1J1J:J1",sipType_QString,&a0,&a0State,sipType_QString,&a1,&a1State,sipType_QString,&a2,&a2State,sipType_QWidget,&a3,sipType_QString,&a4,&a4State))
        {
            KEncodingFileDialog::Result *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KEncodingFileDialog::Result(KEncodingFileDialog::getOpenFileNameAndEncoding(*a0,*a1,*a2,a3,*a4));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast<QString *>(a4),sipType_QString,a4State);

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

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

    return NULL;
}


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

    {
        const QString& a0def = QString();
        const QString * a0 = &a0def;
        int a0State = 0;
        const QString& a1def = QString();
        const QString * a1 = &a1def;
        int a1State = 0;
        const QString& a2def = QString();
        const QString * a2 = &a2def;
        int a2State = 0;
        QWidget * a3 = 0;
        const QString& a4def = QString();
        const QString * a4 = &a4def;
        int a4State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"|J1J1J1J:J1",sipType_QString,&a0,&a0State,sipType_QString,&a1,&a1State,sipType_QString,&a2,&a2State,sipType_QWidget,&a3,sipType_QString,&a4,&a4State))
        {
            KEncodingFileDialog::Result *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KEncodingFileDialog::Result(KEncodingFileDialog::getOpenFileNamesAndEncoding(*a0,*a1,*a2,a3,*a4));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast<QString *>(a4),sipType_QString,a4State);

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

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

    return NULL;
}


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

    {
        const QString& a0def = QString();
        const QString * a0 = &a0def;
        int a0State = 0;
        const QString& a1def = QString();
        const QString * a1 = &a1def;
        int a1State = 0;
        const QString& a2def = QString();
        const QString * a2 = &a2def;
        int a2State = 0;
        QWidget * a3 = 0;
        const QString& a4def = QString();
        const QString * a4 = &a4def;
        int a4State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"|J1J1J1J:J1",sipType_QString,&a0,&a0State,sipType_QString,&a1,&a1State,sipType_QString,&a2,&a2State,sipType_QWidget,&a3,sipType_QString,&a4,&a4State))
        {
            KEncodingFileDialog::Result *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KEncodingFileDialog::Result(KEncodingFileDialog::getOpenUrlAndEncoding(*a0,*a1,*a2,a3,*a4));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast<QString *>(a4),sipType_QString,a4State);

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

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

    return NULL;
}


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

    {
        const QString& a0def = QString();
        const QString * a0 = &a0def;
        int a0State = 0;
        const QString& a1def = QString();
        const QString * a1 = &a1def;
        int a1State = 0;
        const QString& a2def = QString();
        const QString * a2 = &a2def;
        int a2State = 0;
        QWidget * a3 = 0;
        const QString& a4def = QString();
        const QString * a4 = &a4def;
        int a4State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"|J1J1J1J:J1",sipType_QString,&a0,&a0State,sipType_QString,&a1,&a1State,sipType_QString,&a2,&a2State,sipType_QWidget,&a3,sipType_QString,&a4,&a4State))
        {
            KEncodingFileDialog::Result *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KEncodingFileDialog::Result(KEncodingFileDialog::getOpenUrlsAndEncoding(*a0,*a1,*a2,a3,*a4));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast<QString *>(a4),sipType_QString,a4State);

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KEncodingFileDialog,sipName_getOpenUrlsAndEncoding);

    return NULL;
}


extern "C" {static PyObject *meth_KEncodingFileDialog_getSaveFileNameAndEncoding(PyObject *, PyObject *);}
static PyObject *meth_KEncodingFileDialog_getSaveFileNameAndEncoding(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString& a0def = QString();
        const QString * a0 = &a0def;
        int a0State = 0;
        const QString& a1def = QString();
        const QString * a1 = &a1def;
        int a1State = 0;
        const QString& a2def = QString();
        const QString * a2 = &a2def;
        int a2State = 0;
        QWidget * a3 = 0;
        const QString& a4def = QString();
        const QString * a4 = &a4def;
        int a4State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"|J1J1J1J:J1",sipType_QString,&a0,&a0State,sipType_QString,&a1,&a1State,sipType_QString,&a2,&a2State,sipType_QWidget,&a3,sipType_QString,&a4,&a4State))
        {
            KEncodingFileDialog::Result *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KEncodingFileDialog::Result(KEncodingFileDialog::getSaveFileNameAndEncoding(*a0,*a1,*a2,a3,*a4));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast<QString *>(a4),sipType_QString,a4State);

            return sipConvertFromNewType(sipRes,sipType_KEncodingFileDialog_Result,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KEncodingFileDialog,sipName_getSaveFileNameAndEncoding);

    return NULL;
}


extern "C" {static PyObject *meth_KEncodingFileDialog_getSaveUrlAndEncoding(PyObject *, PyObject *);}
static PyObject *meth_KEncodingFileDialog_getSaveUrlAndEncoding(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString& a0def = QString();
        const QString * a0 = &a0def;
        int a0State = 0;
        const QString& a1def = QString();
        const QString * a1 = &a1def;
        int a1State = 0;
        const QString& a2def = QString();
        const QString * a2 = &a2def;
        int a2State = 0;
        QWidget * a3 = 0;
        const QString& a4def = QString();
        const QString * a4 = &a4def;
        int a4State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"|J1J1J1J:J1",sipType_QString,&a0,&a0State,sipType_QString,&a1,&a1State,sipType_QString,&a2,&a2State,sipType_QWidget,&a3,sipType_QString,&a4,&a4State))
        {
            KEncodingFileDialog::Result *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KEncodingFileDialog::Result(KEncodingFileDialog::getSaveUrlAndEncoding(*a0,*a1,*a2,a3,*a4));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast<QString *>(a4),sipType_QString,a4State);

            return sipConvertFromNewType(sipRes,sipType_KEncodingFileDialog_Result,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KEncodingFileDialog,sipName_getSaveUrlAndEncoding);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KEncodingFileDialog(void *, const sipTypeDef *);}
static void *cast_KEncodingFileDialog(void *ptr,const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KEncodingFileDialog)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KFileDialog)->ctd_cast((KFileDialog *)(KEncodingFileDialog *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KEncodingFileDialog(void *, int);}
static void release_KEncodingFileDialog(void *sipCppV,int state)
{
    Py_BEGIN_ALLOW_THREADS

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKEncodingFileDialog *>(sipCppV);
    else
        delete reinterpret_cast<KEncodingFileDialog *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KEncodingFileDialog(sipSimpleWrapper *);}
static void dealloc_KEncodingFileDialog(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKEncodingFileDialog *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KEncodingFileDialog(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_KEncodingFileDialog(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KEncodingFileDialog(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **sipOwner, int *sipArgsParsed)
{
    sipKEncodingFileDialog *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 QString& a2def = QString();
        const QString * a2 = &a2def;
        int a2State = 0;
        const QString& a3def = QString();
        const QString * a3 = &a3def;
        int a3State = 0;
        KFileDialog::OperationMode a4 = KFileDialog::Opening;
        QWidget * a5 = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"|J1J1J1J1EJH",sipType_QString,&a0,&a0State,sipType_QString,&a1,&a1State,sipType_QString,&a2,&a2State,sipType_QString,&a3,&a3State,sipType_KFileDialog_OperationMode,&a4,sipType_QWidget,&a5,sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKEncodingFileDialog(*a0,*a1,*a2,*a3,a4,a5);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KEncodingFileDialog[] = {{69, 255, 1}};


static PyMethodDef methods_KEncodingFileDialog[] = {
    {SIP_MLNAME_CAST(sipName_accept), meth_KEncodingFileDialog_accept, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_actionEvent), meth_KEncodingFileDialog_actionEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_changeEvent), meth_KEncodingFileDialog_changeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_KEncodingFileDialog_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), meth_KEncodingFileDialog_closeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KEncodingFileDialog_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), meth_KEncodingFileDialog_contextMenuEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_create), meth_KEncodingFileDialog_create, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KEncodingFileDialog_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), meth_KEncodingFileDialog_destroy, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KEncodingFileDialog_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), meth_KEncodingFileDialog_dragEnterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), meth_KEncodingFileDialog_dragLeaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), meth_KEncodingFileDialog_dragMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), meth_KEncodingFileDialog_dropEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enabledChange), meth_KEncodingFileDialog_enabledChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), meth_KEncodingFileDialog_enterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_event), meth_KEncodingFileDialog_event, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_eventFilter), meth_KEncodingFileDialog_eventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), meth_KEncodingFileDialog_focusInEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), meth_KEncodingFileDialog_focusNextChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), meth_KEncodingFileDialog_focusNextPrevChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), meth_KEncodingFileDialog_focusOutEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), meth_KEncodingFileDialog_focusPreviousChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fontChange), meth_KEncodingFileDialog_fontChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_getOpenFileNameAndEncoding), meth_KEncodingFileDialog_getOpenFileNameAndEncoding, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_getOpenFileNamesAndEncoding), meth_KEncodingFileDialog_getOpenFileNamesAndEncoding, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_getOpenUrlAndEncoding), meth_KEncodingFileDialog_getOpenUrlAndEncoding, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_getOpenUrlsAndEncoding), meth_KEncodingFileDialog_getOpenUrlsAndEncoding, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_getSaveFileNameAndEncoding), meth_KEncodingFileDialog_getSaveFileNameAndEncoding, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_getSaveUrlAndEncoding), meth_KEncodingFileDialog_getSaveUrlAndEncoding, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), meth_KEncodingFileDialog_hideEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), meth_KEncodingFileDialog_inputMethodEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), meth_KEncodingFileDialog_keyPressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), meth_KEncodingFileDialog_keyReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_languageChange), meth_KEncodingFileDialog_languageChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), meth_KEncodingFileDialog_leaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_metric), meth_KEncodingFileDialog_metric, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), meth_KEncodingFileDialog_mouseDoubleClickEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), meth_KEncodingFileDialog_mouseMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), meth_KEncodingFileDialog_mousePressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), meth_KEncodingFileDialog_mouseReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), meth_KEncodingFileDialog_moveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), meth_KEncodingFileDialog_paintEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paletteChange), meth_KEncodingFileDialog_paletteChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_KEncodingFileDialog_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resetInputContext), meth_KEncodingFileDialog_resetInputContext, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_KEncodingFileDialog_resizeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_selectedEncoding), meth_KEncodingFileDialog_selectedEncoding, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), meth_KEncodingFileDialog_showEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotButtonClicked), meth_KEncodingFileDialog_slotButtonClicked, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotCancel), meth_KEncodingFileDialog_slotCancel, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotOk), meth_KEncodingFileDialog_slotOk, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_tabletEvent), meth_KEncodingFileDialog_tabletEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KEncodingFileDialog_timerEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateGeometry), meth_KEncodingFileDialog_updateGeometry, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), meth_KEncodingFileDialog_updateMicroFocus, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), meth_KEncodingFileDialog_wheelEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_windowActivationChange), meth_KEncodingFileDialog_windowActivationChange, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_kio_KEncodingFileDialog = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KEncodingFileDialog,
        {0}
    },
    sipNameNr_KEncodingFileDialog,
    -1,
    -1,
    {0, 0, 1},
    supers_KEncodingFileDialog,
    0,
    59, methods_KEncodingFileDialog,
    0, 0,
    0, 0,
    init_KEncodingFileDialog,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KEncodingFileDialog,
    release_KEncodingFileDialog,
    cast_KEncodingFileDialog,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KEncodingFileDialog::staticMetaObject,
    0,
    0
};

#line 24 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kdiskfreespaceinfo.sip"
#include <kdiskfreespaceinfo.h>
#line 9472 "sipkiopart6.cpp"

#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 9476 "sipkiopart6.cpp"


extern "C" {static PyObject *meth_KDiskFreeSpaceInfo_isValid(PyObject *, PyObject *);}
static PyObject *meth_KDiskFreeSpaceInfo_isValid(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KDiskFreeSpaceInfo *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KDiskFreeSpaceInfo,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isValid();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDiskFreeSpaceInfo,sipName_isValid);

    return NULL;
}


extern "C" {static PyObject *meth_KDiskFreeSpaceInfo_mountPoint(PyObject *, PyObject *);}
static PyObject *meth_KDiskFreeSpaceInfo_mountPoint(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KDiskFreeSpaceInfo *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KDiskFreeSpaceInfo,&sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->mountPoint());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDiskFreeSpaceInfo,sipName_mountPoint);

    return NULL;
}


extern "C" {static PyObject *meth_KDiskFreeSpaceInfo_size(PyObject *, PyObject *);}
static PyObject *meth_KDiskFreeSpaceInfo_size(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KDiskFreeSpaceInfo *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KDiskFreeSpaceInfo,&sipCpp))
        {
            KIO::filesize_t sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->size();
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDiskFreeSpaceInfo,sipName_size);

    return NULL;
}


extern "C" {static PyObject *meth_KDiskFreeSpaceInfo_available(PyObject *, PyObject *);}
static PyObject *meth_KDiskFreeSpaceInfo_available(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KDiskFreeSpaceInfo *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KDiskFreeSpaceInfo,&sipCpp))
        {
            KIO::filesize_t sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->available();
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDiskFreeSpaceInfo,sipName_available);

    return NULL;
}


extern "C" {static PyObject *meth_KDiskFreeSpaceInfo_used(PyObject *, PyObject *);}
static PyObject *meth_KDiskFreeSpaceInfo_used(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KDiskFreeSpaceInfo *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KDiskFreeSpaceInfo,&sipCpp))
        {
            KIO::filesize_t sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->used();
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDiskFreeSpaceInfo,sipName_used);

    return NULL;
}


extern "C" {static PyObject *meth_KDiskFreeSpaceInfo_freeSpaceInfo(PyObject *, PyObject *);}
static PyObject *meth_KDiskFreeSpaceInfo_freeSpaceInfo(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J1",sipType_QString,&a0,&a0State))
        {
            KDiskFreeSpaceInfo *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KDiskFreeSpaceInfo(KDiskFreeSpaceInfo::freeSpaceInfo(*a0));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_KDiskFreeSpaceInfo,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDiskFreeSpaceInfo,sipName_freeSpaceInfo);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KDiskFreeSpaceInfo(void *, const sipTypeDef *);}
static void *cast_KDiskFreeSpaceInfo(void *ptr,const sipTypeDef *targetType)
{
    if (targetType == sipType_KDiskFreeSpaceInfo)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KDiskFreeSpaceInfo(void *, int);}
static void release_KDiskFreeSpaceInfo(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<KDiskFreeSpaceInfo *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KDiskFreeSpaceInfo(sipSimpleWrapper *);}
static void dealloc_KDiskFreeSpaceInfo(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KDiskFreeSpaceInfo(sipSelf->u.cppPtr,0);
    }
}


extern "C" {static void *init_KDiskFreeSpaceInfo(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KDiskFreeSpaceInfo(sipSimpleWrapper *, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    KDiskFreeSpaceInfo *sipCpp = 0;

    if (!sipCpp)
    {
        const KDiskFreeSpaceInfo * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_KDiskFreeSpaceInfo,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KDiskFreeSpaceInfo(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    return sipCpp;
}


static PyMethodDef methods_KDiskFreeSpaceInfo[] = {
    {SIP_MLNAME_CAST(sipName_available), meth_KDiskFreeSpaceInfo_available, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_freeSpaceInfo), meth_KDiskFreeSpaceInfo_freeSpaceInfo, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isValid), meth_KDiskFreeSpaceInfo_isValid, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mountPoint), meth_KDiskFreeSpaceInfo_mountPoint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_size), meth_KDiskFreeSpaceInfo_size, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_used), meth_KDiskFreeSpaceInfo_used, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_kio_KDiskFreeSpaceInfo = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KDiskFreeSpaceInfo,
        {0}
    },
    sipNameNr_KDiskFreeSpaceInfo,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {0, 0, 1},
    0,
    0,
    6, methods_KDiskFreeSpaceInfo,
    0, 0,
    0, 0,
    init_KDiskFreeSpaceInfo,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KDiskFreeSpaceInfo,
    release_KDiskFreeSpaceInfo,
    cast_KDiskFreeSpaceInfo,
    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/kdiskfreespace.sip"
#include <kdiskfreespace.h>
#line 9755 "sipkiopart6.cpp"

#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 9759 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 9762 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9765 "sipkiopart6.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9768 "sipkiopart6.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9771 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 9774 "sipkiopart6.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 9805 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 9808 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 9811 "sipkiopart6.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 9814 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 9817 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 9820 "sipkiopart6.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 9823 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 9826 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 9829 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 9832 "sipkiopart6.cpp"


class sipKDiskFreeSpace : public KDiskFreeSpace
{
public:
    sipKDiskFreeSpace(QObject *);
    virtual ~sipKDiskFreeSpace();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a 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:
    sipKDiskFreeSpace(const sipKDiskFreeSpace &);
    sipKDiskFreeSpace &operator = (const sipKDiskFreeSpace &);

    char sipPyMethods[7];
};

sipKDiskFreeSpace::sipKDiskFreeSpace(QObject *a0): KDiskFreeSpace(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKDiskFreeSpace::~sipKDiskFreeSpace()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKDiskFreeSpace::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KDiskFreeSpace);
}

int sipKDiskFreeSpace::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KDiskFreeSpace::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kio_qt_metacall(sipPySelf,sipType_KDiskFreeSpace,_c,_id,_a);

    return _id;
}

void *sipKDiskFreeSpace::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast && sip_kio_qt_metacast(sipPySelf,sipType_KDiskFreeSpace,_clname)) ? this : KDiskFreeSpace::qt_metacast(_clname);
}

bool sipKDiskFreeSpace::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 sipKDiskFreeSpace::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 sipKDiskFreeSpace::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 sipKDiskFreeSpace::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 sipKDiskFreeSpace::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 sipKDiskFreeSpace::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 sipKDiskFreeSpace::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 sipKDiskFreeSpace::sipProtect_receivers(const char *a0) const
{
    return QObject::receivers(a0);
}

void sipKDiskFreeSpace::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipKDiskFreeSpace::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent *a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipKDiskFreeSpace::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipKDiskFreeSpace::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipKDiskFreeSpace::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}


extern "C" {static PyObject *meth_KDiskFreeSpace_receivers(PyObject *, PyObject *);}
static PyObject *meth_KDiskFreeSpace_receivers(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        char * a0;
        sipKDiskFreeSpace *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KDiskFreeSpace,&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 10085 "sipkiopart6.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDiskFreeSpace,sipName_receivers);

    return NULL;
}


extern "C" {static PyObject *meth_KDiskFreeSpace_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_KDiskFreeSpace_timerEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipKDiskFreeSpace *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KDiskFreeSpace,&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_KDiskFreeSpace,sipName_timerEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KDiskFreeSpace_childEvent(PyObject *, PyObject *);}
static PyObject *meth_KDiskFreeSpace_childEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipKDiskFreeSpace *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KDiskFreeSpace,&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_KDiskFreeSpace,sipName_childEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KDiskFreeSpace_customEvent(PyObject *, PyObject *);}
static PyObject *meth_KDiskFreeSpace_customEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKDiskFreeSpace *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KDiskFreeSpace,&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_KDiskFreeSpace,sipName_customEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KDiskFreeSpace_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_KDiskFreeSpace_connectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKDiskFreeSpace *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KDiskFreeSpace,&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_KDiskFreeSpace,sipName_connectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KDiskFreeSpace_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_KDiskFreeSpace_disconnectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKDiskFreeSpace *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KDiskFreeSpace,&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_KDiskFreeSpace,sipName_disconnectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KDiskFreeSpace_readDF(PyObject *, PyObject *);}
static PyObject *meth_KDiskFreeSpace_readDF(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        KDiskFreeSpace *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KDiskFreeSpace,&sipCpp,sipType_QString,&a0,&a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->readDF(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDiskFreeSpace,sipName_readDF);

    return NULL;
}


extern "C" {static PyObject *meth_KDiskFreeSpace_findUsageInfo(PyObject *, PyObject *);}
static PyObject *meth_KDiskFreeSpace_findUsageInfo(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J1",sipType_QString,&a0,&a0State))
        {
            KDiskFreeSpace *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KDiskFreeSpace::findUsageInfo(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromType(sipRes,sipType_KDiskFreeSpace,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDiskFreeSpace,sipName_findUsageInfo);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KDiskFreeSpace(void *, const sipTypeDef *);}
static void *cast_KDiskFreeSpace(void *ptr,const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KDiskFreeSpace)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(KDiskFreeSpace *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KDiskFreeSpace(void *, int);}
static void release_KDiskFreeSpace(void *sipCppV,int state)
{
    Py_BEGIN_ALLOW_THREADS

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKDiskFreeSpace *>(sipCppV);
    else
        delete reinterpret_cast<KDiskFreeSpace *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KDiskFreeSpace(sipSimpleWrapper *);}
static void dealloc_KDiskFreeSpace(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKDiskFreeSpace *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KDiskFreeSpace(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_KDiskFreeSpace(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KDiskFreeSpace(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **sipOwner, int *sipArgsParsed)
{
    sipKDiskFreeSpace *sipCpp = 0;

    if (!sipCpp)
    {
        QObject * a0 = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"|JH",sipType_QObject,&a0,sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKDiskFreeSpace(a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KDiskFreeSpace[] = {{111, 0, 1}};


static PyMethodDef methods_KDiskFreeSpace[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), meth_KDiskFreeSpace_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KDiskFreeSpace_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KDiskFreeSpace_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KDiskFreeSpace_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_findUsageInfo), meth_KDiskFreeSpace_findUsageInfo, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readDF), meth_KDiskFreeSpace_readDF, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_KDiskFreeSpace_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KDiskFreeSpace_timerEvent, METH_VARARGS, NULL}
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_KDiskFreeSpace[] = {
    {"done()", 0},
    {"foundMountPoint(const QString&,quint64,quint64,quint64)", 0},
    {0, 0}
};


pyqt4ClassTypeDef pyqt4Type_kio_KDiskFreeSpace = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KDiskFreeSpace,
        {0}
    },
    sipNameNr_KDiskFreeSpace,
    -1,
    -1,
    {0, 0, 1},
    supers_KDiskFreeSpace,
    0,
    8, methods_KDiskFreeSpace,
    0, 0,
    0, 0,
    init_KDiskFreeSpace,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KDiskFreeSpace,
    release_KDiskFreeSpace,
    cast_KDiskFreeSpace,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KDiskFreeSpace::staticMetaObject,
    0,
    pyqt4_signals_KDiskFreeSpace
};

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kdevicelistmodel.sip"
#include <kdevicelistmodel.h>
#line 10438 "sipkiopart6.cpp"

#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 10442 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 10445 "sipkiopart6.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/solid/predicate.sip"
#include <predicate.h>
#line 10448 "sipkiopart6.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/solid/device.sip"
#include <device.h>
#line 10451 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 10454 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 10457 "sipkiopart6.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 10460 "sipkiopart6.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 10463 "sipkiopart6.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 10494 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 10497 "sipkiopart6.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 10500 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 10503 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 10506 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qdatastream.sip"
#include <qdatastream.h>
#line 10509 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 10512 "sipkiopart6.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 10515 "sipkiopart6.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 10518 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 10521 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 10524 "sipkiopart6.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 10529 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10532 "sipkiopart6.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10535 "sipkiopart6.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10538 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 10541 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 10544 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 10547 "sipkiopart6.cpp"


class sipKDeviceListModel : public KDeviceListModel
{
public:
    sipKDeviceListModel(QObject *);
    sipKDeviceListModel(const QString&,QObject *);
    sipKDeviceListModel(const Solid::Predicate&,QObject *);
    virtual ~sipKDeviceListModel();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a 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:
    QModelIndex index(int,int,const QModelIndex&) const;
    QModelIndex parent(const QModelIndex&) const;
    int rowCount(const QModelIndex&) const;
    int columnCount(const QModelIndex&) const;
    bool hasChildren(const QModelIndex&) const;
    QVariant data(const QModelIndex&,int) const;
    bool setData(const QModelIndex&,const QVariant&,int);
    QVariant headerData(int,Qt::Orientation,int) const;
    bool setHeaderData(int,Qt::Orientation,const QVariant&,int);
    QMap<int,QVariant> itemData(const QModelIndex&) const;
    bool setItemData(const QModelIndex&,const QMap<int,QVariant>&);
    QStringList mimeTypes() const;
    QMimeData * mimeData(const QModelIndexList&) const;
    bool dropMimeData(const QMimeData *,Qt::DropAction,int,int,const QModelIndex&);
    Qt::DropActions supportedDropActions() const;
    bool insertRows(int,int,const QModelIndex&);
    bool insertColumns(int,int,const QModelIndex&);
    bool removeRows(int,int,const QModelIndex&);
    bool removeColumns(int,int,const QModelIndex&);
    void fetchMore(const QModelIndex&);
    bool canFetchMore(const QModelIndex&) const;
    Qt::ItemFlags flags(const QModelIndex&) const;
    void sort(int,Qt::SortOrder);
    QModelIndex buddy(const QModelIndex&) const;
    QModelIndexList match(const QModelIndex&,int,const QVariant&,int,Qt::MatchFlags) const;
    QSize span(const QModelIndex&) const;
    bool submit();
    void revert();
    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:
    sipKDeviceListModel(const sipKDeviceListModel &);
    sipKDeviceListModel &operator = (const sipKDeviceListModel &);

    char sipPyMethods[35];
};

sipKDeviceListModel::sipKDeviceListModel(QObject *a0): KDeviceListModel(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKDeviceListModel::sipKDeviceListModel(const QString& a0,QObject *a1): KDeviceListModel(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKDeviceListModel::sipKDeviceListModel(const Solid::Predicate& a0,QObject *a1): KDeviceListModel(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKDeviceListModel::~sipKDeviceListModel()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKDeviceListModel::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KDeviceListModel);
}

int sipKDeviceListModel::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KDeviceListModel::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kio_qt_metacall(sipPySelf,sipType_KDeviceListModel,_c,_id,_a);

    return _id;
}

void *sipKDeviceListModel::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast && sip_kio_qt_metacast(sipPySelf,sipType_KDeviceListModel,_clname)) ? this : KDeviceListModel::qt_metacast(_clname);
}

QModelIndex sipKDeviceListModel::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[0]),sipPySelf,NULL,sipName_index);

    if (!meth)
        return KDeviceListModel::index(a0,a1,a2);

    return ((sipVH_QtCore_42)(sipModuleAPI_kio_QtCore->em_virthandlers[42]))(sipGILState,meth,a0,a1,a2);
}

QModelIndex sipKDeviceListModel::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[1]),sipPySelf,NULL,sipName_parent);

    if (!meth)
        return KDeviceListModel::parent(a0);

    return ((sipVH_QtCore_40)(sipModuleAPI_kio_QtCore->em_virthandlers[40]))(sipGILState,meth,a0);
}

int sipKDeviceListModel::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[2]),sipPySelf,NULL,sipName_rowCount);

    if (!meth)
        return KDeviceListModel::rowCount(a0);

    return ((sipVH_QtCore_39)(sipModuleAPI_kio_QtCore->em_virthandlers[39]))(sipGILState,meth,a0);
}

int sipKDeviceListModel::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[3]),sipPySelf,NULL,sipName_columnCount);

    if (!meth)
        return KDeviceListModel::columnCount(a0);

    return ((sipVH_QtCore_39)(sipModuleAPI_kio_QtCore->em_virthandlers[39]))(sipGILState,meth,a0);
}

bool sipKDeviceListModel::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[4]),sipPySelf,NULL,sipName_hasChildren);

    if (!meth)
        return QAbstractItemModel::hasChildren(a0);

    return ((sipVH_QtCore_38)(sipModuleAPI_kio_QtCore->em_virthandlers[38]))(sipGILState,meth,a0);
}

QVariant sipKDeviceListModel::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[5]),sipPySelf,NULL,sipName_data);

    if (!meth)
        return KDeviceListModel::data(a0,a1);

    return ((sipVH_QtCore_56)(sipModuleAPI_kio_QtCore->em_virthandlers[56]))(sipGILState,meth,a0,a1);
}

bool sipKDeviceListModel::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[6],sipPySelf,NULL,sipName_setData);

    if (!meth)
        return QAbstractItemModel::setData(a0,a1,a2);

    return ((sipVH_QtCore_55)(sipModuleAPI_kio_QtCore->em_virthandlers[55]))(sipGILState,meth,a0,a1,a2);
}

QVariant sipKDeviceListModel::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 KDeviceListModel::headerData(a0,a1,a2);

    return ((sipVH_QtCore_54)(sipModuleAPI_kio_QtCore->em_virthandlers[54]))(sipGILState,meth,a0,a1,a2);
}

bool sipKDeviceListModel::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[8],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> sipKDeviceListModel::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[9]),sipPySelf,NULL,sipName_itemData);

    if (!meth)
        return QAbstractItemModel::itemData(a0);

    return ((sipVH_QtCore_52)(sipModuleAPI_kio_QtCore->em_virthandlers[52]))(sipGILState,meth,a0);
}

bool sipKDeviceListModel::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[10],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);
}

QStringList sipKDeviceListModel::mimeTypes() const
{
    typedef QStringList (*sipVH_QtCore_23)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_mimeTypes);

    if (!meth)
        return QAbstractItemModel::mimeTypes();

    return ((sipVH_QtCore_23)(sipModuleAPI_kio_QtCore->em_virthandlers[23]))(sipGILState,meth);
}

QMimeData * sipKDeviceListModel::mimeData(const QModelIndexList& a0) const
{
    typedef QMimeData * (*sipVH_QtCore_50)(sip_gilstate_t,PyObject *,const QList<QModelIndex>&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_mimeData);

    if (!meth)
        return QAbstractItemModel::mimeData(a0);

    return ((sipVH_QtCore_50)(sipModuleAPI_kio_QtCore->em_virthandlers[50]))(sipGILState,meth,a0);
}

bool sipKDeviceListModel::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[13],sipPySelf,NULL,sipName_dropMimeData);

    if (!meth)
        return QAbstractItemModel::dropMimeData(a0,a1,a2,a3,a4);

    return ((sipVH_QtCore_41)(sipModuleAPI_kio_QtCore->em_virthandlers[41]))(sipGILState,meth,a0,a1,a2,a3,a4);
}

Qt::DropActions sipKDeviceListModel::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[14]),sipPySelf,NULL,sipName_supportedDropActions);

    if (!meth)
        return QAbstractItemModel::supportedDropActions();

    return ((sipVH_QtCore_49)(sipModuleAPI_kio_QtCore->em_virthandlers[49]))(sipGILState,meth);
}

bool sipKDeviceListModel::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[15],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 sipKDeviceListModel::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[16],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 sipKDeviceListModel::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[17],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 sipKDeviceListModel::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[18],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);
}

void sipKDeviceListModel::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[19],sipPySelf,NULL,sipName_fetchMore);

    if (!meth)
    {
        QAbstractItemModel::fetchMore(a0);
        return;
    }

    ((sipVH_QtCore_47)(sipModuleAPI_kio_QtCore->em_virthandlers[47]))(sipGILState,meth,a0);
}

bool sipKDeviceListModel::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[20]),sipPySelf,NULL,sipName_canFetchMore);

    if (!meth)
        return QAbstractItemModel::canFetchMore(a0);

    return ((sipVH_QtCore_38)(sipModuleAPI_kio_QtCore->em_virthandlers[38]))(sipGILState,meth,a0);
}

Qt::ItemFlags sipKDeviceListModel::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[21]),sipPySelf,NULL,sipName_flags);

    if (!meth)
        return QAbstractItemModel::flags(a0);

    return ((sipVH_QtCore_46)(sipModuleAPI_kio_QtCore->em_virthandlers[46]))(sipGILState,meth,a0);
}

void sipKDeviceListModel::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[22],sipPySelf,NULL,sipName_sort);

    if (!meth)
    {
        QAbstractItemModel::sort(a0,a1);
        return;
    }

    ((sipVH_QtCore_45)(sipModuleAPI_kio_QtCore->em_virthandlers[45]))(sipGILState,meth,a0,a1);
}

QModelIndex sipKDeviceListModel::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 sipKDeviceListModel::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 sipKDeviceListModel::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 sipKDeviceListModel::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 sipKDeviceListModel::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 sipKDeviceListModel::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 sipKDeviceListModel::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 sipKDeviceListModel::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 sipKDeviceListModel::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 sipKDeviceListModel::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 sipKDeviceListModel::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 sipKDeviceListModel::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 sipKDeviceListModel::sipProtect_receivers(const char *a0) const
{
    return QObject::receivers(a0);
}

void sipKDeviceListModel::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipKDeviceListModel::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent *a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipKDeviceListModel::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipKDeviceListModel::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipKDeviceListModel::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

void sipKDeviceListModel::sipProtect_encodeData(const QModelIndexList& a0,QDataStream& a1) const
{
    QAbstractItemModel::encodeData(a0,a1);
}

bool sipKDeviceListModel::sipProtect_decodeData(int a0,int a1,const QModelIndex& a2,QDataStream& a3)
{
    return QAbstractItemModel::decodeData(a0,a1,a2,a3);
}

void sipKDeviceListModel::sipProtect_beginInsertRows(const QModelIndex& a0,int a1,int a2)
{
    QAbstractItemModel::beginInsertRows(a0,a1,a2);
}

void sipKDeviceListModel::sipProtect_endInsertRows()
{
    QAbstractItemModel::endInsertRows();
}

void sipKDeviceListModel::sipProtect_beginRemoveRows(const QModelIndex& a0,int a1,int a2)
{
    QAbstractItemModel::beginRemoveRows(a0,a1,a2);
}

void sipKDeviceListModel::sipProtect_endRemoveRows()
{
    QAbstractItemModel::endRemoveRows();
}

void sipKDeviceListModel::sipProtect_beginInsertColumns(const QModelIndex& a0,int a1,int a2)
{
    QAbstractItemModel::beginInsertColumns(a0,a1,a2);
}

void sipKDeviceListModel::sipProtect_endInsertColumns()
{
    QAbstractItemModel::endInsertColumns();
}

void sipKDeviceListModel::sipProtect_beginRemoveColumns(const QModelIndex& a0,int a1,int a2)
{
    QAbstractItemModel::beginRemoveColumns(a0,a1,a2);
}

void sipKDeviceListModel::sipProtect_endRemoveColumns()
{
    QAbstractItemModel::endRemoveColumns();
}

QModelIndexList sipKDeviceListModel::sipProtect_persistentIndexList() const
{
    return QAbstractItemModel::persistentIndexList();
}

void sipKDeviceListModel::sipProtect_reset()
{
    QAbstractItemModel::reset();
}

void sipKDeviceListModel::sipProtect_changePersistentIndex(const QModelIndex& a0,const QModelIndex& a1)
{
    QAbstractItemModel::changePersistentIndex(a0,a1);
}

void sipKDeviceListModel::sipProtect_changePersistentIndexList(const QModelIndexList& a0,const QModelIndexList& a1)
{
    QAbstractItemModel::changePersistentIndexList(a0,a1);
}

QModelIndex sipKDeviceListModel::sipProtect_createIndex(int a0,int a1,void *a2) const
{
    return QAbstractItemModel::createIndex(a0,a1,a2);
}


extern "C" {static PyObject *meth_KDeviceListModel_receivers(PyObject *, PyObject *);}
static PyObject *meth_KDeviceListModel_receivers(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        char * a0;
        sipKDeviceListModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KDeviceListModel,&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 11359 "sipkiopart6.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDeviceListModel,sipName_receivers);

    return NULL;
}


extern "C" {static PyObject *meth_KDeviceListModel_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_KDeviceListModel_timerEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipKDeviceListModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KDeviceListModel,&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_KDeviceListModel,sipName_timerEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KDeviceListModel_childEvent(PyObject *, PyObject *);}
static PyObject *meth_KDeviceListModel_childEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipKDeviceListModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KDeviceListModel,&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_KDeviceListModel,sipName_childEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KDeviceListModel_customEvent(PyObject *, PyObject *);}
static PyObject *meth_KDeviceListModel_customEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKDeviceListModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KDeviceListModel,&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_KDeviceListModel,sipName_customEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KDeviceListModel_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_KDeviceListModel_connectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKDeviceListModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KDeviceListModel,&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_KDeviceListModel,sipName_connectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KDeviceListModel_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_KDeviceListModel_disconnectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKDeviceListModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KDeviceListModel,&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_KDeviceListModel,sipName_disconnectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KDeviceListModel_encodeData(PyObject *, PyObject *);}
static PyObject *meth_KDeviceListModel_encodeData(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QModelIndexList * a0;
        int a0State = 0;
        QDataStream * a1;
        sipKDeviceListModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1J9",&sipSelf,sipType_KDeviceListModel,&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_KDeviceListModel,sipName_encodeData);

    return NULL;
}


extern "C" {static PyObject *meth_KDeviceListModel_decodeData(PyObject *, PyObject *);}
static PyObject *meth_KDeviceListModel_decodeData(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        int a0;
        int a1;
        const QModelIndex * a2;
        QDataStream * a3;
        sipKDeviceListModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"piiJ9J9",&sipSelf,sipType_KDeviceListModel,&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_KDeviceListModel,sipName_decodeData);

    return NULL;
}


extern "C" {static PyObject *meth_KDeviceListModel_beginInsertRows(PyObject *, PyObject *);}
static PyObject *meth_KDeviceListModel_beginInsertRows(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QModelIndex * a0;
        int a1;
        int a2;
        sipKDeviceListModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9ii",&sipSelf,sipType_KDeviceListModel,&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_KDeviceListModel,sipName_beginInsertRows);

    return NULL;
}


extern "C" {static PyObject *meth_KDeviceListModel_endInsertRows(PyObject *, PyObject *);}
static PyObject *meth_KDeviceListModel_endInsertRows(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKDeviceListModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KDeviceListModel,&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_KDeviceListModel,sipName_endInsertRows);

    return NULL;
}


extern "C" {static PyObject *meth_KDeviceListModel_beginRemoveRows(PyObject *, PyObject *);}
static PyObject *meth_KDeviceListModel_beginRemoveRows(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QModelIndex * a0;
        int a1;
        int a2;
        sipKDeviceListModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9ii",&sipSelf,sipType_KDeviceListModel,&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_KDeviceListModel,sipName_beginRemoveRows);

    return NULL;
}


extern "C" {static PyObject *meth_KDeviceListModel_endRemoveRows(PyObject *, PyObject *);}
static PyObject *meth_KDeviceListModel_endRemoveRows(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKDeviceListModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KDeviceListModel,&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_KDeviceListModel,sipName_endRemoveRows);

    return NULL;
}


extern "C" {static PyObject *meth_KDeviceListModel_beginInsertColumns(PyObject *, PyObject *);}
static PyObject *meth_KDeviceListModel_beginInsertColumns(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QModelIndex * a0;
        int a1;
        int a2;
        sipKDeviceListModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9ii",&sipSelf,sipType_KDeviceListModel,&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_KDeviceListModel,sipName_beginInsertColumns);

    return NULL;
}


extern "C" {static PyObject *meth_KDeviceListModel_endInsertColumns(PyObject *, PyObject *);}
static PyObject *meth_KDeviceListModel_endInsertColumns(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKDeviceListModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KDeviceListModel,&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_KDeviceListModel,sipName_endInsertColumns);

    return NULL;
}


extern "C" {static PyObject *meth_KDeviceListModel_beginRemoveColumns(PyObject *, PyObject *);}
static PyObject *meth_KDeviceListModel_beginRemoveColumns(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QModelIndex * a0;
        int a1;
        int a2;
        sipKDeviceListModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9ii",&sipSelf,sipType_KDeviceListModel,&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_KDeviceListModel,sipName_beginRemoveColumns);

    return NULL;
}


extern "C" {static PyObject *meth_KDeviceListModel_endRemoveColumns(PyObject *, PyObject *);}
static PyObject *meth_KDeviceListModel_endRemoveColumns(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKDeviceListModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KDeviceListModel,&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_KDeviceListModel,sipName_endRemoveColumns);

    return NULL;
}


extern "C" {static PyObject *meth_KDeviceListModel_persistentIndexList(PyObject *, PyObject *);}
static PyObject *meth_KDeviceListModel_persistentIndexList(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKDeviceListModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KDeviceListModel,&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_KDeviceListModel,sipName_persistentIndexList);

    return NULL;
}


extern "C" {static PyObject *meth_KDeviceListModel_reset(PyObject *, PyObject *);}
static PyObject *meth_KDeviceListModel_reset(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKDeviceListModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KDeviceListModel,&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_KDeviceListModel,sipName_reset);

    return NULL;
}


extern "C" {static PyObject *meth_KDeviceListModel_changePersistentIndex(PyObject *, PyObject *);}
static PyObject *meth_KDeviceListModel_changePersistentIndex(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QModelIndex * a0;
        const QModelIndex * a1;
        sipKDeviceListModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9J9",&sipSelf,sipType_KDeviceListModel,&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_KDeviceListModel,sipName_changePersistentIndex);

    return NULL;
}


extern "C" {static PyObject *meth_KDeviceListModel_changePersistentIndexList(PyObject *, PyObject *);}
static PyObject *meth_KDeviceListModel_changePersistentIndexList(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QModelIndexList * a0;
        int a0State = 0;
        const QModelIndexList * a1;
        int a1State = 0;
        sipKDeviceListModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1J1",&sipSelf,sipType_KDeviceListModel,&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_KDeviceListModel,sipName_changePersistentIndexList);

    return NULL;
}


extern "C" {static PyObject *meth_KDeviceListModel_createIndex(PyObject *, PyObject *);}
static PyObject *meth_KDeviceListModel_createIndex(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        int a0;
        int a1;
        PyObject * a2 = 0;
        sipKDeviceListModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pii|P0",&sipSelf,sipType_KDeviceListModel,&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 11954 "sipkiopart6.cpp"

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDeviceListModel,sipName_createIndex);

    return NULL;
}


extern "C" {static PyObject *meth_KDeviceListModel_data(PyObject *, PyObject *);}
static PyObject *meth_KDeviceListModel_data(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex * a0;
        int a1;
        KDeviceListModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9i",&sipSelf,sipType_KDeviceListModel,&sipCpp,sipType_QModelIndex,&a0,&a1))
        {
            QVariant *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant((sipSelfWasArg ? sipCpp->KDeviceListModel::data(*a0,a1) : sipCpp->data(*a0,a1)));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDeviceListModel,sipName_data);

    return NULL;
}


extern "C" {static PyObject *meth_KDeviceListModel_headerData(PyObject *, PyObject *);}
static PyObject *meth_KDeviceListModel_headerData(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        Qt::Orientation a1;
        int a2 = Qt::DisplayRole;
        KDeviceListModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BiE|i",&sipSelf,sipType_KDeviceListModel,&sipCpp,&a0,sipType_Qt_Orientation,&a1,&a2))
        {
            QVariant *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant((sipSelfWasArg ? sipCpp->KDeviceListModel::headerData(a0,a1,a2) : sipCpp->headerData(a0,a1,a2)));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDeviceListModel,sipName_headerData);

    return NULL;
}


extern "C" {static PyObject *meth_KDeviceListModel_index(PyObject *, PyObject *);}
static PyObject *meth_KDeviceListModel_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;
        KDeviceListModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bii|J;",&sipSelf,sipType_KDeviceListModel,&sipCpp,&a0,&a1,sipType_QModelIndex,&a2))
        {
            QModelIndex *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QModelIndex((sipSelfWasArg ? sipCpp->KDeviceListModel::index(a0,a1,*a2) : sipCpp->index(a0,a1,*a2)));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDeviceListModel,sipName_index);

    return NULL;
}


extern "C" {static PyObject *meth_KDeviceListModel_rootIndex(PyObject *, PyObject *);}
static PyObject *meth_KDeviceListModel_rootIndex(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KDeviceListModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KDeviceListModel,&sipCpp))
        {
            QModelIndex *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QModelIndex(sipCpp->rootIndex());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDeviceListModel,sipName_rootIndex);

    return NULL;
}


extern "C" {static PyObject *meth_KDeviceListModel_parent(PyObject *, PyObject *);}
static PyObject *meth_KDeviceListModel_parent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex * a0;
        KDeviceListModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_KDeviceListModel,&sipCpp,sipType_QModelIndex,&a0))
        {
            QModelIndex *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QModelIndex((sipSelfWasArg ? sipCpp->KDeviceListModel::parent(*a0) : sipCpp->parent(*a0)));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDeviceListModel,sipName_parent);

    return NULL;
}


extern "C" {static PyObject *meth_KDeviceListModel_rowCount(PyObject *, PyObject *);}
static PyObject *meth_KDeviceListModel_rowCount(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex& a0def = QModelIndex();
        const QModelIndex * a0 = &a0def;
        KDeviceListModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B|J;",&sipSelf,sipType_KDeviceListModel,&sipCpp,sipType_QModelIndex,&a0))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KDeviceListModel::rowCount(*a0) : sipCpp->rowCount(*a0));
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDeviceListModel,sipName_rowCount);

    return NULL;
}


extern "C" {static PyObject *meth_KDeviceListModel_columnCount(PyObject *, PyObject *);}
static PyObject *meth_KDeviceListModel_columnCount(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex& a0def = QModelIndex();
        const QModelIndex * a0 = &a0def;
        KDeviceListModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B|J;",&sipSelf,sipType_KDeviceListModel,&sipCpp,sipType_QModelIndex,&a0))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KDeviceListModel::columnCount(*a0) : sipCpp->columnCount(*a0));
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDeviceListModel,sipName_columnCount);

    return NULL;
}


extern "C" {static PyObject *meth_KDeviceListModel_deviceForIndex(PyObject *, PyObject *);}
static PyObject *meth_KDeviceListModel_deviceForIndex(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QModelIndex * a0;
        KDeviceListModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_KDeviceListModel,&sipCpp,sipType_QModelIndex,&a0))
        {
            Solid::Device *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Solid::Device(sipCpp->deviceForIndex(*a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_Solid_Device,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDeviceListModel,sipName_deviceForIndex);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KDeviceListModel(void *, const sipTypeDef *);}
static void *cast_KDeviceListModel(void *ptr,const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KDeviceListModel)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QAbstractItemModel)->ctd_cast((QAbstractItemModel *)(KDeviceListModel *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KDeviceListModel(void *, int);}
static void release_KDeviceListModel(void *sipCppV,int state)
{
    Py_BEGIN_ALLOW_THREADS

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKDeviceListModel *>(sipCppV);
    else
        delete reinterpret_cast<KDeviceListModel *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KDeviceListModel(sipSimpleWrapper *);}
static void dealloc_KDeviceListModel(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKDeviceListModel *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KDeviceListModel(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_KDeviceListModel(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KDeviceListModel(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **sipOwner, int *sipArgsParsed)
{
    sipKDeviceListModel *sipCpp = 0;

    if (!sipCpp)
    {
        QObject * a0 = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"|JH",sipType_QObject,&a0,sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKDeviceListModel(a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        const QString * a0;
        int a0State = 0;
        QObject * a1 = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J1|JH",sipType_QString,&a0,&a0State,sipType_QObject,&a1,sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKDeviceListModel(*a0,a1);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
        }
    }

    if (!sipCpp)
    {
        const Solid::Predicate * a0;
        QObject * a1 = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9|JH",sipType_Solid_Predicate,&a0,sipType_QObject,&a1,sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKDeviceListModel(*a0,a1);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KDeviceListModel[] = {{9, 0, 1}};


static PyMethodDef methods_KDeviceListModel[] = {
    {SIP_MLNAME_CAST(sipName_beginInsertColumns), meth_KDeviceListModel_beginInsertColumns, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_beginInsertRows), meth_KDeviceListModel_beginInsertRows, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_beginRemoveColumns), meth_KDeviceListModel_beginRemoveColumns, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_beginRemoveRows), meth_KDeviceListModel_beginRemoveRows, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_changePersistentIndex), meth_KDeviceListModel_changePersistentIndex, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_changePersistentIndexList), meth_KDeviceListModel_changePersistentIndexList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_KDeviceListModel_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_columnCount), meth_KDeviceListModel_columnCount, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KDeviceListModel_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_createIndex), meth_KDeviceListModel_createIndex, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KDeviceListModel_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_data), meth_KDeviceListModel_data, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_decodeData), meth_KDeviceListModel_decodeData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_deviceForIndex), meth_KDeviceListModel_deviceForIndex, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KDeviceListModel_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_encodeData), meth_KDeviceListModel_encodeData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_endInsertColumns), meth_KDeviceListModel_endInsertColumns, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_endInsertRows), meth_KDeviceListModel_endInsertRows, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_endRemoveColumns), meth_KDeviceListModel_endRemoveColumns, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_endRemoveRows), meth_KDeviceListModel_endRemoveRows, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_headerData), meth_KDeviceListModel_headerData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_index), meth_KDeviceListModel_index, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_parent), meth_KDeviceListModel_parent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_persistentIndexList), meth_KDeviceListModel_persistentIndexList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_KDeviceListModel_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_reset), meth_KDeviceListModel_reset, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_rootIndex), meth_KDeviceListModel_rootIndex, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_rowCount), meth_KDeviceListModel_rowCount, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KDeviceListModel_timerEvent, METH_VARARGS, NULL}
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_KDeviceListModel[] = {
    {"modelInitialized()", 0},
    {0, 0}
};


pyqt4ClassTypeDef pyqt4Type_kio_KDeviceListModel = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KDeviceListModel,
        {0}
    },
    sipNameNr_KDeviceListModel,
    -1,
    -1,
    {0, 0, 1},
    supers_KDeviceListModel,
    0,
    29, methods_KDeviceListModel,
    0, 0,
    0, 0,
    init_KDeviceListModel,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KDeviceListModel,
    release_KDeviceListModel,
    cast_KDeviceListModel,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KDeviceListModel::staticMetaObject,
    0,
    pyqt4_signals_KDeviceListModel
};

#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kabstractfilewidget.sip"
#include <kabstractfilewidget.h>
#line 12392 "sipkiopart6.cpp"

#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 12396 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 12399 "sipkiopart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kactioncollection.sip"
#include <kactioncollection.h>
#line 12402 "sipkiopart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kfilefiltercombo.sip"
#include <kfilefiltercombo.h>
#line 12405 "sipkiopart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kurlcombobox.sip"
#include <kurlcombobox.h>
#line 12408 "sipkiopart6.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 12411 "sipkiopart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/ktoolbar.sip"
#include <ktoolbar.h>
#line 12414 "sipkiopart6.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kfile.sip"
#include <kfile.h>
#line 12417 "sipkiopart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kpreviewwidgetbase.sip"
#include <kpreviewwidgetbase.h>
#line 12420 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 12423 "sipkiopart6.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 12438 "sipkiopart6.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 12441 "sipkiopart6.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 12444 "sipkiopart6.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 12447 "sipkiopart6.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 12450 "sipkiopart6.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 12453 "sipkiopart6.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 12456 "sipkiopart6.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 12459 "sipkiopart6.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 12462 "sipkiopart6.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 12465 "sipkiopart6.cpp"


class sipKAbstractFileWidget : public KAbstractFileWidget
{
public:
    sipKAbstractFileWidget();
    sipKAbstractFileWidget(const KAbstractFileWidget&);
    virtual ~sipKAbstractFileWidget();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    KUrl selectedUrl() const;
    KUrl::List selectedUrls() const;
    KUrl baseUrl() const;
    QString selectedFile() const;
    QStringList selectedFiles() const;
    void setUrl(const KUrl&,bool);
    void setSelection(const QString&);
    void setOperationMode(KAbstractFileWidget::OperationMode);
    KAbstractFileWidget::OperationMode operationMode() const;
    void setKeepLocation(bool);
    bool keepsLocation() const;
    void setFilter(const QString&);
    QString currentFilter() const;
    KMimeType::Ptr currentFilterMimeType();
    void setMimeFilter(const QStringList&,const QString&);
    QString currentMimeFilter() const;
    void clearFilter();
    void setPreviewWidget(KPreviewWidgetBase *);
    void setMode(KFile::Modes);
    KFile::Modes mode() const;
    void setLocationLabel(const QString&);
    KToolBar * toolBar() const;
    KPushButton * okButton() const;
    KPushButton * cancelButton() const;
    KUrlComboBox * locationEdit() const;
    KFileFilterCombo * filterWidget() const;
    KActionCollection * actionCollection() const;
    void setCustomWidget(QWidget *);
    void setCustomWidget(const QString&,QWidget *);
    void slotOk();
    void accept();
    void slotCancel();
    void virtual_hook(int,void *);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKAbstractFileWidget(const sipKAbstractFileWidget &);
    sipKAbstractFileWidget &operator = (const sipKAbstractFileWidget &);

    char sipPyMethods[33];
};

sipKAbstractFileWidget::sipKAbstractFileWidget(): KAbstractFileWidget(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKAbstractFileWidget::sipKAbstractFileWidget(const KAbstractFileWidget& a0): KAbstractFileWidget(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKAbstractFileWidget::~sipKAbstractFileWidget()
{
    sipCommonDtor(sipPySelf);
}

KUrl sipKAbstractFileWidget::selectedUrl() const
{
    extern KUrl sipVH_kio_58(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,sipName_KAbstractFileWidget,sipName_selectedUrl);

    if (!meth)
        return KUrl();

    return sipVH_kio_58(sipGILState,meth);
}

KUrl::List sipKAbstractFileWidget::selectedUrls() const
{
    extern KUrl::List sipVH_kio_59(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,sipName_KAbstractFileWidget,sipName_selectedUrls);

    if (!meth)
        return KUrl::List();

    return sipVH_kio_59(sipGILState,meth);
}

KUrl sipKAbstractFileWidget::baseUrl() const
{
    extern KUrl sipVH_kio_58(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,sipName_KAbstractFileWidget,sipName_baseUrl);

    if (!meth)
        return KUrl();

    return sipVH_kio_58(sipGILState,meth);
}

QString sipKAbstractFileWidget::selectedFile() const
{
    typedef QString (*sipVH_QtCore_58)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,sipName_KAbstractFileWidget,sipName_selectedFile);

    if (!meth)
        return QString();

    return ((sipVH_QtCore_58)(sipModuleAPI_kio_QtCore->em_virthandlers[58]))(sipGILState,meth);
}

QStringList sipKAbstractFileWidget::selectedFiles() const
{
    typedef QStringList (*sipVH_QtCore_23)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,sipName_KAbstractFileWidget,sipName_selectedFiles);

    if (!meth)
        return QStringList();

    return ((sipVH_QtCore_23)(sipModuleAPI_kio_QtCore->em_virthandlers[23]))(sipGILState,meth);
}

void sipKAbstractFileWidget::setUrl(const KUrl& a0,bool a1)
{
    extern void sipVH_kio_5(sip_gilstate_t,PyObject *,const KUrl&,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,sipName_KAbstractFileWidget,sipName_setUrl);

    if (!meth)
        return;

    sipVH_kio_5(sipGILState,meth,a0,a1);
}

void sipKAbstractFileWidget::setSelection(const QString& a0)
{
    typedef void (*sipVH_QtCore_29)(sip_gilstate_t,PyObject *,const QString&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,sipName_KAbstractFileWidget,sipName_setSelection);

    if (!meth)
        return;

    ((sipVH_QtCore_29)(sipModuleAPI_kio_QtCore->em_virthandlers[29]))(sipGILState,meth,a0);
}

void sipKAbstractFileWidget::setOperationMode(KAbstractFileWidget::OperationMode a0)
{
    extern void sipVH_kio_57(sip_gilstate_t,PyObject *,KAbstractFileWidget::OperationMode);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,sipName_KAbstractFileWidget,sipName_setOperationMode);

    if (!meth)
        return;

    sipVH_kio_57(sipGILState,meth,a0);
}

KAbstractFileWidget::OperationMode sipKAbstractFileWidget::operationMode() const
{
    extern KAbstractFileWidget::OperationMode sipVH_kio_56(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,sipName_KAbstractFileWidget,sipName_operationMode);

    if (!meth)
        return (KAbstractFileWidget::OperationMode)0;

    return sipVH_kio_56(sipGILState,meth);
}

void sipKAbstractFileWidget::setKeepLocation(bool a0)
{
    typedef void (*sipVH_QtNetwork_2)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,sipName_KAbstractFileWidget,sipName_setKeepLocation);

    if (!meth)
        return;

    ((sipVH_QtNetwork_2)(sipModuleAPI_kio_QtNetwork->em_virthandlers[2]))(sipGILState,meth,a0);
}

bool sipKAbstractFileWidget::keepsLocation() const
{
    typedef bool (*sipVH_QtCore_1)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,sipName_KAbstractFileWidget,sipName_keepsLocation);

    if (!meth)
        return 0;

    return ((sipVH_QtCore_1)(sipModuleAPI_kio_QtCore->em_virthandlers[1]))(sipGILState,meth);
}

void sipKAbstractFileWidget::setFilter(const QString& a0)
{
    typedef void (*sipVH_QtCore_29)(sip_gilstate_t,PyObject *,const QString&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,sipName_KAbstractFileWidget,sipName_setFilter);

    if (!meth)
        return;

    ((sipVH_QtCore_29)(sipModuleAPI_kio_QtCore->em_virthandlers[29]))(sipGILState,meth,a0);
}

QString sipKAbstractFileWidget::currentFilter() const
{
    typedef QString (*sipVH_QtCore_58)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,sipName_KAbstractFileWidget,sipName_currentFilter);

    if (!meth)
        return QString();

    return ((sipVH_QtCore_58)(sipModuleAPI_kio_QtCore->em_virthandlers[58]))(sipGILState,meth);
}

KMimeType::Ptr sipKAbstractFileWidget::currentFilterMimeType()
{
    extern KSharedPtr<KMimeType> sipVH_kio_55(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,sipName_KAbstractFileWidget,sipName_currentFilterMimeType);

    if (!meth)
        return KMimeType::Ptr();

    return sipVH_kio_55(sipGILState,meth);
}

void sipKAbstractFileWidget::setMimeFilter(const QStringList& a0,const QString& a1)
{
    extern void sipVH_kio_54(sip_gilstate_t,PyObject *,const QStringList&,const QString&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,sipName_KAbstractFileWidget,sipName_setMimeFilter);

    if (!meth)
        return;

    sipVH_kio_54(sipGILState,meth,a0,a1);
}

QString sipKAbstractFileWidget::currentMimeFilter() const
{
    typedef QString (*sipVH_QtCore_58)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[15]),sipPySelf,sipName_KAbstractFileWidget,sipName_currentMimeFilter);

    if (!meth)
        return QString();

    return ((sipVH_QtCore_58)(sipModuleAPI_kio_QtCore->em_virthandlers[58]))(sipGILState,meth);
}

void sipKAbstractFileWidget::clearFilter()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,sipName_KAbstractFileWidget,sipName_clearFilter);

    if (!meth)
        return;

    ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

void sipKAbstractFileWidget::setPreviewWidget(KPreviewWidgetBase *a0)
{
    extern void sipVH_kio_53(sip_gilstate_t,PyObject *,KPreviewWidgetBase *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,sipName_KAbstractFileWidget,sipName_setPreviewWidget);

    if (!meth)
        return;

    sipVH_kio_53(sipGILState,meth,a0);
}

void sipKAbstractFileWidget::setMode(KFile::Modes a0)
{
    extern void sipVH_kio_52(sip_gilstate_t,PyObject *,KFile::Modes);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,sipName_KAbstractFileWidget,sipName_setMode);

    if (!meth)
        return;

    sipVH_kio_52(sipGILState,meth,a0);
}

KFile::Modes sipKAbstractFileWidget::mode() const
{
    extern KFile::Modes sipVH_kio_51(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[19]),sipPySelf,sipName_KAbstractFileWidget,sipName_mode);

    if (!meth)
        return KFile::Modes();

    return sipVH_kio_51(sipGILState,meth);
}

void sipKAbstractFileWidget::setLocationLabel(const QString& a0)
{
    typedef void (*sipVH_QtCore_29)(sip_gilstate_t,PyObject *,const QString&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,sipName_KAbstractFileWidget,sipName_setLocationLabel);

    if (!meth)
        return;

    ((sipVH_QtCore_29)(sipModuleAPI_kio_QtCore->em_virthandlers[29]))(sipGILState,meth,a0);
}

KToolBar * sipKAbstractFileWidget::toolBar() const
{
    extern KToolBar * sipVH_kio_67(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[21]),sipPySelf,sipName_KAbstractFileWidget,sipName_toolBar);

    if (!meth)
        return 0;

    return sipVH_kio_67(sipGILState,meth);
}

KPushButton * sipKAbstractFileWidget::okButton() const
{
    extern KPushButton * sipVH_kio_66(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[22]),sipPySelf,sipName_KAbstractFileWidget,sipName_okButton);

    if (!meth)
        return 0;

    return sipVH_kio_66(sipGILState,meth);
}

KPushButton * sipKAbstractFileWidget::cancelButton() const
{
    extern KPushButton * sipVH_kio_66(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[23]),sipPySelf,sipName_KAbstractFileWidget,sipName_cancelButton);

    if (!meth)
        return 0;

    return sipVH_kio_66(sipGILState,meth);
}

KUrlComboBox * sipKAbstractFileWidget::locationEdit() const
{
    extern KUrlComboBox * sipVH_kio_65(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[24]),sipPySelf,sipName_KAbstractFileWidget,sipName_locationEdit);

    if (!meth)
        return 0;

    return sipVH_kio_65(sipGILState,meth);
}

KFileFilterCombo * sipKAbstractFileWidget::filterWidget() const
{
    extern KFileFilterCombo * sipVH_kio_64(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[25]),sipPySelf,sipName_KAbstractFileWidget,sipName_filterWidget);

    if (!meth)
        return 0;

    return sipVH_kio_64(sipGILState,meth);
}

KActionCollection * sipKAbstractFileWidget::actionCollection() const
{
    typedef KActionCollection * (*sipVH_kdeui_9)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[26]),sipPySelf,sipName_KAbstractFileWidget,sipName_actionCollection);

    if (!meth)
        return 0;

    return ((sipVH_kdeui_9)(sipModuleAPI_kio_kdeui->em_virthandlers[9]))(sipGILState,meth);
}

void sipKAbstractFileWidget::setCustomWidget(QWidget *a0)
{
    typedef void (*sipVH_QtGui_8)(sip_gilstate_t,PyObject *,QWidget *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,sipName_KAbstractFileWidget,sipName_setCustomWidget);

    if (!meth)
        return;

    ((sipVH_QtGui_8)(sipModuleAPI_kio_QtGui->em_virthandlers[8]))(sipGILState,meth,a0);
}

void sipKAbstractFileWidget::setCustomWidget(const QString& a0,QWidget *a1)
{
    extern void sipVH_kio_50(sip_gilstate_t,PyObject *,const QString&,QWidget *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,sipName_KAbstractFileWidget,sipName_setCustomWidget);

    if (!meth)
        return;

    sipVH_kio_50(sipGILState,meth,a0,a1);
}

void sipKAbstractFileWidget::slotOk()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,sipName_KAbstractFileWidget,sipName_slotOk);

    if (!meth)
        return;

    ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

void sipKAbstractFileWidget::accept()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,sipName_KAbstractFileWidget,sipName_accept);

    if (!meth)
        return;

    ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

void sipKAbstractFileWidget::slotCancel()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,sipName_KAbstractFileWidget,sipName_slotCancel);

    if (!meth)
        return;

    ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

void sipKAbstractFileWidget::virtual_hook(int a0,void *a1)
{
    extern void sipVH_kio_63(sip_gilstate_t,PyObject *,int,void *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,sipName_KAbstractFileWidget,sipName_virtual_hook);

    if (!meth)
        return;

    sipVH_kio_63(sipGILState,meth,a0,a1);
}


extern "C" {static PyObject *meth_KAbstractFileWidget_selectedUrl(PyObject *, PyObject *);}
static PyObject *meth_KAbstractFileWidget_selectedUrl(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KAbstractFileWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KAbstractFileWidget,&sipCpp))
        {
            KUrl *sipRes;

            if (sipSelfWasArg)
            {
                sipAbstractMethod(sipName_KAbstractFileWidget, sipName_selectedUrl);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl(sipCpp->selectedUrl());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KUrl,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KAbstractFileWidget,sipName_selectedUrl);

    return NULL;
}


extern "C" {static PyObject *meth_KAbstractFileWidget_selectedUrls(PyObject *, PyObject *);}
static PyObject *meth_KAbstractFileWidget_selectedUrls(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KAbstractFileWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KAbstractFileWidget,&sipCpp))
        {
            KUrl::List *sipRes;

            if (sipSelfWasArg)
            {
                sipAbstractMethod(sipName_KAbstractFileWidget, sipName_selectedUrls);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl::List(sipCpp->selectedUrls());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KUrl_List,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KAbstractFileWidget,sipName_selectedUrls);

    return NULL;
}


extern "C" {static PyObject *meth_KAbstractFileWidget_baseUrl(PyObject *, PyObject *);}
static PyObject *meth_KAbstractFileWidget_baseUrl(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KAbstractFileWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KAbstractFileWidget,&sipCpp))
        {
            KUrl *sipRes;

            if (sipSelfWasArg)
            {
                sipAbstractMethod(sipName_KAbstractFileWidget, sipName_baseUrl);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl(sipCpp->baseUrl());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KUrl,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KAbstractFileWidget,sipName_baseUrl);

    return NULL;
}


extern "C" {static PyObject *meth_KAbstractFileWidget_selectedFile(PyObject *, PyObject *);}
static PyObject *meth_KAbstractFileWidget_selectedFile(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KAbstractFileWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KAbstractFileWidget,&sipCpp))
        {
            QString *sipRes;

            if (sipSelfWasArg)
            {
                sipAbstractMethod(sipName_KAbstractFileWidget, sipName_selectedFile);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->selectedFile());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KAbstractFileWidget,sipName_selectedFile);

    return NULL;
}


extern "C" {static PyObject *meth_KAbstractFileWidget_selectedFiles(PyObject *, PyObject *);}
static PyObject *meth_KAbstractFileWidget_selectedFiles(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KAbstractFileWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KAbstractFileWidget,&sipCpp))
        {
            QStringList *sipRes;

            if (sipSelfWasArg)
            {
                sipAbstractMethod(sipName_KAbstractFileWidget, sipName_selectedFiles);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->selectedFiles());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KAbstractFileWidget,sipName_selectedFiles);

    return NULL;
}


extern "C" {static PyObject *meth_KAbstractFileWidget_setUrl(PyObject *, PyObject *);}
static PyObject *meth_KAbstractFileWidget_setUrl(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KUrl * a0;
        bool a1 = 1;
        KAbstractFileWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9|b",&sipSelf,sipType_KAbstractFileWidget,&sipCpp,sipType_KUrl,&a0,&a1))
        {
            if (sipSelfWasArg)
            {
                sipAbstractMethod(sipName_KAbstractFileWidget, sipName_setUrl);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->setUrl(*a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KAbstractFileWidget,sipName_setUrl);

    return NULL;
}


extern "C" {static PyObject *meth_KAbstractFileWidget_setSelection(PyObject *, PyObject *);}
static PyObject *meth_KAbstractFileWidget_setSelection(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString * a0;
        int a0State = 0;
        KAbstractFileWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KAbstractFileWidget,&sipCpp,sipType_QString,&a0,&a0State))
        {
            if (sipSelfWasArg)
            {
                sipAbstractMethod(sipName_KAbstractFileWidget, sipName_setSelection);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSelection(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KAbstractFileWidget,sipName_setSelection);

    return NULL;
}


extern "C" {static PyObject *meth_KAbstractFileWidget_setOperationMode(PyObject *, PyObject *);}
static PyObject *meth_KAbstractFileWidget_setOperationMode(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KAbstractFileWidget::OperationMode a0;
        KAbstractFileWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BE",&sipSelf,sipType_KAbstractFileWidget,&sipCpp,sipType_KAbstractFileWidget_OperationMode,&a0))
        {
            if (sipSelfWasArg)
            {
                sipAbstractMethod(sipName_KAbstractFileWidget, sipName_setOperationMode);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->setOperationMode(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KAbstractFileWidget,sipName_setOperationMode);

    return NULL;
}


extern "C" {static PyObject *meth_KAbstractFileWidget_operationMode(PyObject *, PyObject *);}
static PyObject *meth_KAbstractFileWidget_operationMode(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KAbstractFileWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KAbstractFileWidget,&sipCpp))
        {
            KAbstractFileWidget::OperationMode sipRes;

            if (sipSelfWasArg)
            {
                sipAbstractMethod(sipName_KAbstractFileWidget, sipName_operationMode);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->operationMode();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KAbstractFileWidget_OperationMode);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KAbstractFileWidget,sipName_operationMode);

    return NULL;
}


extern "C" {static PyObject *meth_KAbstractFileWidget_setKeepLocation(PyObject *, PyObject *);}
static PyObject *meth_KAbstractFileWidget_setKeepLocation(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        KAbstractFileWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_KAbstractFileWidget,&sipCpp,&a0))
        {
            if (sipSelfWasArg)
            {
                sipAbstractMethod(sipName_KAbstractFileWidget, sipName_setKeepLocation);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->setKeepLocation(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KAbstractFileWidget,sipName_setKeepLocation);

    return NULL;
}


extern "C" {static PyObject *meth_KAbstractFileWidget_keepsLocation(PyObject *, PyObject *);}
static PyObject *meth_KAbstractFileWidget_keepsLocation(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KAbstractFileWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KAbstractFileWidget,&sipCpp))
        {
            bool sipRes;

            if (sipSelfWasArg)
            {
                sipAbstractMethod(sipName_KAbstractFileWidget, sipName_keepsLocation);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->keepsLocation();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KAbstractFileWidget,sipName_keepsLocation);

    return NULL;
}


extern "C" {static PyObject *meth_KAbstractFileWidget_setFilter(PyObject *, PyObject *);}
static PyObject *meth_KAbstractFileWidget_setFilter(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString * a0;
        int a0State = 0;
        KAbstractFileWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KAbstractFileWidget,&sipCpp,sipType_QString,&a0,&a0State))
        {
            if (sipSelfWasArg)
            {
                sipAbstractMethod(sipName_KAbstractFileWidget, sipName_setFilter);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->setFilter(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KAbstractFileWidget,sipName_setFilter);

    return NULL;
}


extern "C" {static PyObject *meth_KAbstractFileWidget_currentFilter(PyObject *, PyObject *);}
static PyObject *meth_KAbstractFileWidget_currentFilter(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KAbstractFileWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KAbstractFileWidget,&sipCpp))
        {
            QString *sipRes;

            if (sipSelfWasArg)
            {
                sipAbstractMethod(sipName_KAbstractFileWidget, sipName_currentFilter);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->currentFilter());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KAbstractFileWidget,sipName_currentFilter);

    return NULL;
}


extern "C" {static PyObject *meth_KAbstractFileWidget_currentFilterMimeType(PyObject *, PyObject *);}
static PyObject *meth_KAbstractFileWidget_currentFilterMimeType(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KAbstractFileWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KAbstractFileWidget,&sipCpp))
        {
            KMimeType::Ptr *sipRes;

            if (sipSelfWasArg)
            {
                sipAbstractMethod(sipName_KAbstractFileWidget, sipName_currentFilterMimeType);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KMimeType::Ptr(sipCpp->currentFilterMimeType());
            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_KAbstractFileWidget,sipName_currentFilterMimeType);

    return NULL;
}


extern "C" {static PyObject *meth_KAbstractFileWidget_setMimeFilter(PyObject *, PyObject *);}
static PyObject *meth_KAbstractFileWidget_setMimeFilter(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QStringList * a0;
        int a0State = 0;
        const QString& a1def = QString();
        const QString * a1 = &a1def;
        int a1State = 0;
        KAbstractFileWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1|J1",&sipSelf,sipType_KAbstractFileWidget,&sipCpp,sipType_QStringList,&a0,&a0State,sipType_QString,&a1,&a1State))
        {
            if (sipSelfWasArg)
            {
                sipAbstractMethod(sipName_KAbstractFileWidget, sipName_setMimeFilter);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMimeFilter(*a0,*a1);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QStringList *>(a0),sipType_QStringList,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KAbstractFileWidget,sipName_setMimeFilter);

    return NULL;
}


extern "C" {static PyObject *meth_KAbstractFileWidget_currentMimeFilter(PyObject *, PyObject *);}
static PyObject *meth_KAbstractFileWidget_currentMimeFilter(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KAbstractFileWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KAbstractFileWidget,&sipCpp))
        {
            QString *sipRes;

            if (sipSelfWasArg)
            {
                sipAbstractMethod(sipName_KAbstractFileWidget, sipName_currentMimeFilter);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->currentMimeFilter());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KAbstractFileWidget,sipName_currentMimeFilter);

    return NULL;
}


extern "C" {static PyObject *meth_KAbstractFileWidget_clearFilter(PyObject *, PyObject *);}
static PyObject *meth_KAbstractFileWidget_clearFilter(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KAbstractFileWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KAbstractFileWidget,&sipCpp))
        {
            if (sipSelfWasArg)
            {
                sipAbstractMethod(sipName_KAbstractFileWidget, sipName_clearFilter);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->clearFilter();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KAbstractFileWidget,sipName_clearFilter);

    return NULL;
}


extern "C" {static PyObject *meth_KAbstractFileWidget_setPreviewWidget(PyObject *, PyObject *);}
static PyObject *meth_KAbstractFileWidget_setPreviewWidget(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KPreviewWidgetBase * a0;
        KAbstractFileWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8",&sipSelf,sipType_KAbstractFileWidget,&sipCpp,sipType_KPreviewWidgetBase,&a0))
        {
            if (sipSelfWasArg)
            {
                sipAbstractMethod(sipName_KAbstractFileWidget, sipName_setPreviewWidget);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPreviewWidget(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KAbstractFileWidget,sipName_setPreviewWidget);

    return NULL;
}


extern "C" {static PyObject *meth_KAbstractFileWidget_setMode(PyObject *, PyObject *);}
static PyObject *meth_KAbstractFileWidget_setMode(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KFile::Modes * a0;
        int a0State = 0;
        KAbstractFileWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KAbstractFileWidget,&sipCpp,sipType_KFile_Modes,&a0,&a0State))
        {
            if (sipSelfWasArg)
            {
                sipAbstractMethod(sipName_KAbstractFileWidget, sipName_setMode);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMode(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_KFile_Modes,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KAbstractFileWidget,sipName_setMode);

    return NULL;
}


extern "C" {static PyObject *meth_KAbstractFileWidget_mode(PyObject *, PyObject *);}
static PyObject *meth_KAbstractFileWidget_mode(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KAbstractFileWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KAbstractFileWidget,&sipCpp))
        {
            KFile::Modes *sipRes;

            if (sipSelfWasArg)
            {
                sipAbstractMethod(sipName_KAbstractFileWidget, sipName_mode);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KFile::Modes(sipCpp->mode());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KFile_Modes,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KAbstractFileWidget,sipName_mode);

    return NULL;
}


extern "C" {static PyObject *meth_KAbstractFileWidget_setLocationLabel(PyObject *, PyObject *);}
static PyObject *meth_KAbstractFileWidget_setLocationLabel(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString * a0;
        int a0State = 0;
        KAbstractFileWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KAbstractFileWidget,&sipCpp,sipType_QString,&a0,&a0State))
        {
            if (sipSelfWasArg)
            {
                sipAbstractMethod(sipName_KAbstractFileWidget, sipName_setLocationLabel);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->setLocationLabel(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KAbstractFileWidget,sipName_setLocationLabel);

    return NULL;
}


extern "C" {static PyObject *meth_KAbstractFileWidget_toolBar(PyObject *, PyObject *);}
static PyObject *meth_KAbstractFileWidget_toolBar(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KAbstractFileWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KAbstractFileWidget,&sipCpp))
        {
            KToolBar *sipRes;

            if (sipSelfWasArg)
            {
                sipAbstractMethod(sipName_KAbstractFileWidget, sipName_toolBar);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->toolBar();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KToolBar,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KAbstractFileWidget,sipName_toolBar);

    return NULL;
}


extern "C" {static PyObject *meth_KAbstractFileWidget_okButton(PyObject *, PyObject *);}
static PyObject *meth_KAbstractFileWidget_okButton(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KAbstractFileWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KAbstractFileWidget,&sipCpp))
        {
            KPushButton *sipRes;

            if (sipSelfWasArg)
            {
                sipAbstractMethod(sipName_KAbstractFileWidget, sipName_okButton);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->okButton();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KPushButton,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KAbstractFileWidget,sipName_okButton);

    return NULL;
}


extern "C" {static PyObject *meth_KAbstractFileWidget_cancelButton(PyObject *, PyObject *);}
static PyObject *meth_KAbstractFileWidget_cancelButton(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KAbstractFileWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KAbstractFileWidget,&sipCpp))
        {
            KPushButton *sipRes;

            if (sipSelfWasArg)
            {
                sipAbstractMethod(sipName_KAbstractFileWidget, sipName_cancelButton);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->cancelButton();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KPushButton,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KAbstractFileWidget,sipName_cancelButton);

    return NULL;
}


extern "C" {static PyObject *meth_KAbstractFileWidget_locationEdit(PyObject *, PyObject *);}
static PyObject *meth_KAbstractFileWidget_locationEdit(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KAbstractFileWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KAbstractFileWidget,&sipCpp))
        {
            KUrlComboBox *sipRes;

            if (sipSelfWasArg)
            {
                sipAbstractMethod(sipName_KAbstractFileWidget, sipName_locationEdit);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->locationEdit();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KUrlComboBox,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KAbstractFileWidget,sipName_locationEdit);

    return NULL;
}


extern "C" {static PyObject *meth_KAbstractFileWidget_filterWidget(PyObject *, PyObject *);}
static PyObject *meth_KAbstractFileWidget_filterWidget(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KAbstractFileWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KAbstractFileWidget,&sipCpp))
        {
            KFileFilterCombo *sipRes;

            if (sipSelfWasArg)
            {
                sipAbstractMethod(sipName_KAbstractFileWidget, sipName_filterWidget);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->filterWidget();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KFileFilterCombo,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KAbstractFileWidget,sipName_filterWidget);

    return NULL;
}


extern "C" {static PyObject *meth_KAbstractFileWidget_actionCollection(PyObject *, PyObject *);}
static PyObject *meth_KAbstractFileWidget_actionCollection(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KAbstractFileWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KAbstractFileWidget,&sipCpp))
        {
            KActionCollection *sipRes;

            if (sipSelfWasArg)
            {
                sipAbstractMethod(sipName_KAbstractFileWidget, sipName_actionCollection);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->actionCollection();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KActionCollection,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KAbstractFileWidget,sipName_actionCollection);

    return NULL;
}


extern "C" {static PyObject *meth_KAbstractFileWidget_setCustomWidget(PyObject *, PyObject *);}
static PyObject *meth_KAbstractFileWidget_setCustomWidget(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWidget * a0;
        KAbstractFileWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8",&sipSelf,sipType_KAbstractFileWidget,&sipCpp,sipType_QWidget,&a0))
        {
            if (sipSelfWasArg)
            {
                sipAbstractMethod(sipName_KAbstractFileWidget, sipName_setCustomWidget);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCustomWidget(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QString * a0;
        int a0State = 0;
        QWidget * a1;
        KAbstractFileWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1J8",&sipSelf,sipType_KAbstractFileWidget,&sipCpp,sipType_QString,&a0,&a0State,sipType_QWidget,&a1))
        {
            if (sipSelfWasArg)
            {
                sipAbstractMethod(sipName_KAbstractFileWidget, sipName_setCustomWidget);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCustomWidget(*a0,a1);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KAbstractFileWidget,sipName_setCustomWidget);

    return NULL;
}


extern "C" {static PyObject *meth_KAbstractFileWidget_slotOk(PyObject *, PyObject *);}
static PyObject *meth_KAbstractFileWidget_slotOk(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KAbstractFileWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KAbstractFileWidget,&sipCpp))
        {
            if (sipSelfWasArg)
            {
                sipAbstractMethod(sipName_KAbstractFileWidget, sipName_slotOk);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->slotOk();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KAbstractFileWidget,sipName_slotOk);

    return NULL;
}


extern "C" {static PyObject *meth_KAbstractFileWidget_accept(PyObject *, PyObject *);}
static PyObject *meth_KAbstractFileWidget_accept(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KAbstractFileWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KAbstractFileWidget,&sipCpp))
        {
            if (sipSelfWasArg)
            {
                sipAbstractMethod(sipName_KAbstractFileWidget, sipName_accept);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->accept();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KAbstractFileWidget,sipName_accept);

    return NULL;
}


extern "C" {static PyObject *meth_KAbstractFileWidget_slotCancel(PyObject *, PyObject *);}
static PyObject *meth_KAbstractFileWidget_slotCancel(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KAbstractFileWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KAbstractFileWidget,&sipCpp))
        {
            if (sipSelfWasArg)
            {
                sipAbstractMethod(sipName_KAbstractFileWidget, sipName_slotCancel);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->slotCancel();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KAbstractFileWidget,sipName_slotCancel);

    return NULL;
}


extern "C" {static PyObject *meth_KAbstractFileWidget_virtual_hook(PyObject *, PyObject *);}
static PyObject *meth_KAbstractFileWidget_virtual_hook(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        void * a1;
        KAbstractFileWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Biv",&sipSelf,sipType_KAbstractFileWidget,&sipCpp,&a0,&a1))
        {
            if (sipSelfWasArg)
            {
                sipAbstractMethod(sipName_KAbstractFileWidget, sipName_virtual_hook);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->virtual_hook(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_KAbstractFileWidget,sipName_virtual_hook);

    return NULL;
}


extern "C" {static PyObject *meth_KAbstractFileWidget_setConfirmOverwrite(PyObject *, PyObject *);}
static PyObject *meth_KAbstractFileWidget_setConfirmOverwrite(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0;
        KAbstractFileWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_KAbstractFileWidget,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setConfirmOverwrite(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KAbstractFileWidget,sipName_setConfirmOverwrite);

    return NULL;
}


extern "C" {static PyObject *meth_KAbstractFileWidget_setInlinePreviewShown(PyObject *, PyObject *);}
static PyObject *meth_KAbstractFileWidget_setInlinePreviewShown(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0;
        KAbstractFileWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_KAbstractFileWidget,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setInlinePreviewShown(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KAbstractFileWidget,sipName_setInlinePreviewShown);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KAbstractFileWidget(void *, const sipTypeDef *);}
static void *cast_KAbstractFileWidget(void *ptr,const sipTypeDef *targetType)
{
    if (targetType == sipType_KAbstractFileWidget)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KAbstractFileWidget(void *, int);}
static void release_KAbstractFileWidget(void *sipCppV,int state)
{
    Py_BEGIN_ALLOW_THREADS

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKAbstractFileWidget *>(sipCppV);
    else
        delete reinterpret_cast<KAbstractFileWidget *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KAbstractFileWidget(sipSimpleWrapper *);}
static void dealloc_KAbstractFileWidget(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKAbstractFileWidget *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KAbstractFileWidget(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_KAbstractFileWidget(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KAbstractFileWidget(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    sipKAbstractFileWidget *sipCpp = 0;

    if (!sipCpp)
    {
        if (sipParseArgs(sipArgsParsed,sipArgs,""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKAbstractFileWidget();
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        const KAbstractFileWidget * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_KAbstractFileWidget,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKAbstractFileWidget(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


static PyMethodDef methods_KAbstractFileWidget[] = {
    {SIP_MLNAME_CAST(sipName_accept), meth_KAbstractFileWidget_accept, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_actionCollection), meth_KAbstractFileWidget_actionCollection, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_baseUrl), meth_KAbstractFileWidget_baseUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_cancelButton), meth_KAbstractFileWidget_cancelButton, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_clearFilter), meth_KAbstractFileWidget_clearFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_currentFilter), meth_KAbstractFileWidget_currentFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_currentFilterMimeType), meth_KAbstractFileWidget_currentFilterMimeType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_currentMimeFilter), meth_KAbstractFileWidget_currentMimeFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_filterWidget), meth_KAbstractFileWidget_filterWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keepsLocation), meth_KAbstractFileWidget_keepsLocation, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_locationEdit), meth_KAbstractFileWidget_locationEdit, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mode), meth_KAbstractFileWidget_mode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_okButton), meth_KAbstractFileWidget_okButton, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_operationMode), meth_KAbstractFileWidget_operationMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_selectedFile), meth_KAbstractFileWidget_selectedFile, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_selectedFiles), meth_KAbstractFileWidget_selectedFiles, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_selectedUrl), meth_KAbstractFileWidget_selectedUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_selectedUrls), meth_KAbstractFileWidget_selectedUrls, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setConfirmOverwrite), meth_KAbstractFileWidget_setConfirmOverwrite, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCustomWidget), meth_KAbstractFileWidget_setCustomWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setFilter), meth_KAbstractFileWidget_setFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setInlinePreviewShown), meth_KAbstractFileWidget_setInlinePreviewShown, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setKeepLocation), meth_KAbstractFileWidget_setKeepLocation, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setLocationLabel), meth_KAbstractFileWidget_setLocationLabel, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMimeFilter), meth_KAbstractFileWidget_setMimeFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMode), meth_KAbstractFileWidget_setMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setOperationMode), meth_KAbstractFileWidget_setOperationMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPreviewWidget), meth_KAbstractFileWidget_setPreviewWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSelection), meth_KAbstractFileWidget_setSelection, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setUrl), meth_KAbstractFileWidget_setUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotCancel), meth_KAbstractFileWidget_slotCancel, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotOk), meth_KAbstractFileWidget_slotOk, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toolBar), meth_KAbstractFileWidget_toolBar, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_virtual_hook), meth_KAbstractFileWidget_virtual_hook, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KAbstractFileWidget[] = {
    {sipName_Opening, KAbstractFileWidget::Opening, 4},
    {sipName_Other, KAbstractFileWidget::Other, 4},
    {sipName_Saving, KAbstractFileWidget::Saving, 4},
};


pyqt4ClassTypeDef pyqt4Type_kio_KAbstractFileWidget = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_CLASS,
        sipNameNr_KAbstractFileWidget,
        {0}
    },
    sipNameNr_KAbstractFileWidget,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {0, 0, 1},
    0,
    0,
    34, methods_KAbstractFileWidget,
    3, enummembers_KAbstractFileWidget,
    0, 0,
    init_KAbstractFileWidget,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KAbstractFileWidget,
    release_KAbstractFileWidget,
    cast_KAbstractFileWidget,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 107 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kabstractfilemodule.sip"
#include <kabstractfilemodule.h>
#line 14386 "sipkiopart6.cpp"

#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 14390 "sipkiopart6.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 14393 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 14396 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 14399 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 14402 "sipkiopart6.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 14405 "sipkiopart6.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 14408 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 14411 "sipkiopart6.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 14442 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 14445 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 14448 "sipkiopart6.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 14451 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 14454 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 14457 "sipkiopart6.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 14460 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 14463 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 14466 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 14469 "sipkiopart6.cpp"


class sipKAbstractFileModule : public KAbstractFileModule
{
public:
    sipKAbstractFileModule(QObject *);
    virtual ~sipKAbstractFileModule();

    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:
    QWidget * createFileWidget(const KUrl&,QWidget *);
    KUrl getStartUrl(const KUrl&,QString&);
    void setStartDir(const KUrl&);
    KUrl selectDirectory(const KUrl&,bool,QWidget *,const QString&);
    bool event(QEvent *);
    bool eventFilter(QObject *,QEvent *);
    void timerEvent(QTimerEvent *);
    void childEvent(QChildEvent *);
    void customEvent(QEvent *);
    void connectNotify(const char *);
    void disconnectNotify(const char *);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKAbstractFileModule(const sipKAbstractFileModule &);
    sipKAbstractFileModule &operator = (const sipKAbstractFileModule &);

    char sipPyMethods[11];
};

sipKAbstractFileModule::sipKAbstractFileModule(QObject *a0): KAbstractFileModule(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKAbstractFileModule::~sipKAbstractFileModule()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKAbstractFileModule::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KAbstractFileModule);
}

int sipKAbstractFileModule::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KAbstractFileModule::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kio_qt_metacall(sipPySelf,sipType_KAbstractFileModule,_c,_id,_a);

    return _id;
}

void *sipKAbstractFileModule::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast && sip_kio_qt_metacast(sipPySelf,sipType_KAbstractFileModule,_clname)) ? this : KAbstractFileModule::qt_metacast(_clname);
}

QWidget * sipKAbstractFileModule::createFileWidget(const KUrl& a0,QWidget *a1)
{
    extern QWidget * sipVH_kio_70(sip_gilstate_t,PyObject *,const KUrl&,QWidget *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,sipName_KAbstractFileModule,sipName_createFileWidget);

    if (!meth)
        return 0;

    return sipVH_kio_70(sipGILState,meth,a0,a1);
}

KUrl sipKAbstractFileModule::getStartUrl(const KUrl& a0,QString& a1)
{
    extern KUrl sipVH_kio_69(sip_gilstate_t,PyObject *,const KUrl&,QString&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,sipName_KAbstractFileModule,sipName_getStartUrl);

    if (!meth)
        return KUrl();

    return sipVH_kio_69(sipGILState,meth,a0,a1);
}

void sipKAbstractFileModule::setStartDir(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,sipName_KAbstractFileModule,sipName_setStartDir);

    if (!meth)
        return;

    ((sipVH_kdecore_61)(sipModuleAPI_kio_kdecore->em_virthandlers[61]))(sipGILState,meth,a0);
}

KUrl sipKAbstractFileModule::selectDirectory(const KUrl& a0,bool a1,QWidget *a2,const QString& a3)
{
    extern KUrl sipVH_kio_68(sip_gilstate_t,PyObject *,const KUrl&,bool,QWidget *,const QString&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,sipName_KAbstractFileModule,sipName_selectDirectory);

    if (!meth)
        return KUrl();

    return sipVH_kio_68(sipGILState,meth,a0,a1,a2,a3);
}

bool sipKAbstractFileModule::event(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_event);

    if (!meth)
        return QObject::event(a0);

    return ((sipVH_QtCore_13)(sipModuleAPI_kio_QtCore->em_virthandlers[13]))(sipGILState,meth,a0);
}

bool sipKAbstractFileModule::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[5],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 sipKAbstractFileModule::timerEvent(QTimerEvent *a0)
{
    typedef void (*sipVH_QtCore_3)(sip_gilstate_t,PyObject *,QTimerEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_timerEvent);

    if (!meth)
    {
        QObject::timerEvent(a0);
        return;
    }

    ((sipVH_QtCore_3)(sipModuleAPI_kio_QtCore->em_virthandlers[3]))(sipGILState,meth,a0);
}

void sipKAbstractFileModule::childEvent(QChildEvent *a0)
{
    typedef void (*sipVH_QtCore_20)(sip_gilstate_t,PyObject *,QChildEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_childEvent);

    if (!meth)
    {
        QObject::childEvent(a0);
        return;
    }

    ((sipVH_QtCore_20)(sipModuleAPI_kio_QtCore->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipKAbstractFileModule::customEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_customEvent);

    if (!meth)
    {
        QObject::customEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_kio_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipKAbstractFileModule::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[9],sipPySelf,NULL,sipName_connectNotify);

    if (!meth)
    {
        QObject::connectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipKAbstractFileModule::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[10],sipPySelf,NULL,sipName_disconnectNotify);

    if (!meth)
    {
        QObject::disconnectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

int sipKAbstractFileModule::sipProtect_receivers(const char *a0) const
{
    return QObject::receivers(a0);
}

void sipKAbstractFileModule::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipKAbstractFileModule::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent *a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipKAbstractFileModule::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipKAbstractFileModule::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipKAbstractFileModule::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}


extern "C" {static PyObject *meth_KAbstractFileModule_receivers(PyObject *, PyObject *);}
static PyObject *meth_KAbstractFileModule_receivers(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        char * a0;
        sipKAbstractFileModule *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KAbstractFileModule,&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 14786 "sipkiopart6.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KAbstractFileModule,sipName_receivers);

    return NULL;
}


extern "C" {static PyObject *meth_KAbstractFileModule_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_KAbstractFileModule_timerEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipKAbstractFileModule *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KAbstractFileModule,&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_KAbstractFileModule,sipName_timerEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KAbstractFileModule_childEvent(PyObject *, PyObject *);}
static PyObject *meth_KAbstractFileModule_childEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipKAbstractFileModule *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KAbstractFileModule,&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_KAbstractFileModule,sipName_childEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KAbstractFileModule_customEvent(PyObject *, PyObject *);}
static PyObject *meth_KAbstractFileModule_customEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKAbstractFileModule *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KAbstractFileModule,&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_KAbstractFileModule,sipName_customEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KAbstractFileModule_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_KAbstractFileModule_connectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKAbstractFileModule *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KAbstractFileModule,&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_KAbstractFileModule,sipName_connectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KAbstractFileModule_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_KAbstractFileModule_disconnectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKAbstractFileModule *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KAbstractFileModule,&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_KAbstractFileModule,sipName_disconnectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KAbstractFileModule_createFileWidget(PyObject *, PyObject *);}
static PyObject *meth_KAbstractFileModule_createFileWidget(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KUrl * a0;
        QWidget * a1;
        KAbstractFileModule *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9J:",&sipSelf,sipType_KAbstractFileModule,&sipCpp,sipType_KUrl,&a0,sipType_QWidget,&a1))
        {
            QWidget *sipRes;

            if (sipSelfWasArg)
            {
                sipAbstractMethod(sipName_KAbstractFileModule, sipName_createFileWidget);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->createFileWidget(*a0,a1);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KAbstractFileModule,sipName_createFileWidget);

    return NULL;
}


extern "C" {static PyObject *meth_KAbstractFileModule_getStartUrl(PyObject *, PyObject *);}
static PyObject *meth_KAbstractFileModule_getStartUrl(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KUrl * a0;
        QString * a1;
        int a1State = 0;
        KAbstractFileModule *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9J1",&sipSelf,sipType_KAbstractFileModule,&sipCpp,sipType_KUrl,&a0,sipType_QString,&a1,&a1State))
        {
            KUrl *sipRes;

            if (sipSelfWasArg)
            {
                sipAbstractMethod(sipName_KAbstractFileModule, sipName_getStartUrl);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl(sipCpp->getStartUrl(*a0,*a1));
            Py_END_ALLOW_THREADS

            sipReleaseType(a1,sipType_QString,a1State);

            return sipConvertFromNewType(sipRes,sipType_KUrl,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KAbstractFileModule,sipName_getStartUrl);

    return NULL;
}


extern "C" {static PyObject *meth_KAbstractFileModule_setStartDir(PyObject *, PyObject *);}
static PyObject *meth_KAbstractFileModule_setStartDir(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KUrl * a0;
        KAbstractFileModule *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_KAbstractFileModule,&sipCpp,sipType_KUrl,&a0))
        {
            if (sipSelfWasArg)
            {
                sipAbstractMethod(sipName_KAbstractFileModule, sipName_setStartDir);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->setStartDir(*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_KAbstractFileModule,sipName_setStartDir);

    return NULL;
}


extern "C" {static PyObject *meth_KAbstractFileModule_selectDirectory(PyObject *, PyObject *);}
static PyObject *meth_KAbstractFileModule_selectDirectory(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KUrl * a0;
        bool a1;
        QWidget * a2;
        const QString * a3;
        int a3State = 0;
        KAbstractFileModule *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9bJ:J1",&sipSelf,sipType_KAbstractFileModule,&sipCpp,sipType_KUrl,&a0,&a1,sipType_QWidget,&a2,sipType_QString,&a3,&a3State))
        {
            KUrl *sipRes;

            if (sipSelfWasArg)
            {
                sipAbstractMethod(sipName_KAbstractFileModule, sipName_selectDirectory);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl(sipCpp->selectDirectory(*a0,a1,a2,*a3));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);

            return sipConvertFromNewType(sipRes,sipType_KUrl,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KAbstractFileModule,sipName_selectDirectory);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KAbstractFileModule(void *, const sipTypeDef *);}
static void *cast_KAbstractFileModule(void *ptr,const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KAbstractFileModule)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(KAbstractFileModule *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KAbstractFileModule(void *, int);}
static void release_KAbstractFileModule(void *sipCppV,int state)
{
    Py_BEGIN_ALLOW_THREADS

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKAbstractFileModule *>(sipCppV);
    else
        delete reinterpret_cast<KAbstractFileModule *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KAbstractFileModule(sipSimpleWrapper *);}
static void dealloc_KAbstractFileModule(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKAbstractFileModule *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KAbstractFileModule(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_KAbstractFileModule(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KAbstractFileModule(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **sipOwner, int *sipArgsParsed)
{
    sipKAbstractFileModule *sipCpp = 0;

    if (!sipCpp)
    {
        QObject * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"JH",sipType_QObject,&a0,sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKAbstractFileModule(a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KAbstractFileModule[] = {{111, 0, 1}};


static PyMethodDef methods_KAbstractFileModule[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), meth_KAbstractFileModule_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KAbstractFileModule_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_createFileWidget), meth_KAbstractFileModule_createFileWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KAbstractFileModule_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KAbstractFileModule_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_getStartUrl), meth_KAbstractFileModule_getStartUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_KAbstractFileModule_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_selectDirectory), meth_KAbstractFileModule_selectDirectory, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setStartDir), meth_KAbstractFileModule_setStartDir, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KAbstractFileModule_timerEvent, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_kio_KAbstractFileModule = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KAbstractFileModule,
        {0}
    },
    sipNameNr_KAbstractFileModule,
    -1,
    -1,
    {0, 0, 1},
    supers_KAbstractFileModule,
    0,
    10, methods_KAbstractFileModule,
    0, 0,
    0, 0,
    init_KAbstractFileModule,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KAbstractFileModule,
    release_KAbstractFileModule,
    cast_KAbstractFileModule,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KAbstractFileModule::staticMetaObject,
    0,
    0
};

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kdirsortfilterproxymodel.sip"
#include <kdirsortfilterproxymodel.h>
#line 15222 "sipkiopart6.cpp"

#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 15226 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 15229 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 15232 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 15235 "sipkiopart6.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 15238 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 15241 "sipkiopart6.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 15244 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 15247 "sipkiopart6.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 15278 "sipkiopart6.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 15281 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 15284 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 15287 "sipkiopart6.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 15290 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 15293 "sipkiopart6.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 15296 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 15299 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 15302 "sipkiopart6.cpp"
#line 161 "/usr/local/share/py-sip/QtGui/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 15305 "sipkiopart6.cpp"
#line 133 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 15308 "sipkiopart6.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 15313 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qdatastream.sip"
#include <qdatastream.h>
#line 15316 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 15319 "sipkiopart6.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 15322 "sipkiopart6.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 15325 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 15328 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 15331 "sipkiopart6.cpp"


class sipKDirSortFilterProxyModel : public KDirSortFilterProxyModel
{
public:
    sipKDirSortFilterProxyModel(QObject *);
    virtual ~sipKDirSortFilterProxyModel();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a 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;
    bool sipProtectVirt_filterAcceptsRow(bool,int,const QModelIndex&) const;
    bool sipProtectVirt_filterAcceptsColumn(bool,int,const QModelIndex&) const;
    void sipProtect_filterChanged();
    void sipProtect_invalidateFilter();
    bool sipProtectVirt_lessThan(bool,const QModelIndex&,const QModelIndex&) const;
    int sipProtectVirt_compareCategories(bool,const QModelIndex&,const QModelIndex&) const;
    bool sipProtectVirt_subSortLessThan(bool,const QModelIndex&,const QModelIndex&) const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    bool hasChildren(const QModelIndex&) const;
    bool canFetchMore(const QModelIndex&) const;
    bool subSortLessThan(const QModelIndex&,const QModelIndex&) const;
    void sort(int,Qt::SortOrder);
    bool lessThan(const QModelIndex&,const QModelIndex&) const;
    int compareCategories(const QModelIndex&,const QModelIndex&) const;
    void setSourceModel(QAbstractItemModel *);
    QModelIndex mapToSource(const QModelIndex&) const;
    QModelIndex mapFromSource(const QModelIndex&) const;
    QItemSelection mapSelectionToSource(const QItemSelection&) const;
    QItemSelection mapSelectionFromSource(const QItemSelection&) const;
    bool filterAcceptsRow(int,const QModelIndex&) const;
    bool filterAcceptsColumn(int,const QModelIndex&) const;
    QModelIndex index(int,int,const QModelIndex&) const;
    QModelIndex parent(const QModelIndex&) const;
    int rowCount(const QModelIndex&) const;
    int columnCount(const QModelIndex&) const;
    bool setData(const QModelIndex&,const QVariant&,int);
    QVariant headerData(int,Qt::Orientation,int) const;
    bool setHeaderData(int,Qt::Orientation,const QVariant&,int);
    QMimeData * mimeData(const QModelIndexList&) const;
    bool dropMimeData(const QMimeData *,Qt::DropAction,int,int,const QModelIndex&);
    bool insertRows(int,int,const QModelIndex&);
    bool insertColumns(int,int,const QModelIndex&);
    bool removeRows(int,int,const QModelIndex&);
    bool removeColumns(int,int,const QModelIndex&);
    void fetchMore(const QModelIndex&);
    Qt::ItemFlags flags(const QModelIndex&) const;
    QModelIndex buddy(const QModelIndex&) const;
    QSize span(const QModelIndex&) const;
    QModelIndexList match(const QModelIndex&,int,const QVariant&,int,Qt::MatchFlags) const;
    QStringList mimeTypes() const;
    Qt::DropActions supportedDropActions() const;
    QVariant data(const QModelIndex&,int) const;
    bool submit();
    void revert();
    QMap<int,QVariant> itemData(const QModelIndex&) const;
    bool setItemData(const QModelIndex&,const QMap<int,QVariant>&);
    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:
    sipKDirSortFilterProxyModel(const sipKDirSortFilterProxyModel &);
    sipKDirSortFilterProxyModel &operator = (const sipKDirSortFilterProxyModel &);

    char sipPyMethods[45];
};

sipKDirSortFilterProxyModel::sipKDirSortFilterProxyModel(QObject *a0): KDirSortFilterProxyModel(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKDirSortFilterProxyModel::~sipKDirSortFilterProxyModel()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKDirSortFilterProxyModel::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KDirSortFilterProxyModel);
}

int sipKDirSortFilterProxyModel::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KDirSortFilterProxyModel::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kio_qt_metacall(sipPySelf,sipType_KDirSortFilterProxyModel,_c,_id,_a);

    return _id;
}

void *sipKDirSortFilterProxyModel::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast && sip_kio_qt_metacast(sipPySelf,sipType_KDirSortFilterProxyModel,_clname)) ? this : KDirSortFilterProxyModel::qt_metacast(_clname);
}

bool sipKDirSortFilterProxyModel::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[0]),sipPySelf,NULL,sipName_hasChildren);

    if (!meth)
        return KDirSortFilterProxyModel::hasChildren(a0);

    return ((sipVH_QtCore_38)(sipModuleAPI_kio_QtCore->em_virthandlers[38]))(sipGILState,meth,a0);
}

bool sipKDirSortFilterProxyModel::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[1]),sipPySelf,NULL,sipName_canFetchMore);

    if (!meth)
        return KDirSortFilterProxyModel::canFetchMore(a0);

    return ((sipVH_QtCore_38)(sipModuleAPI_kio_QtCore->em_virthandlers[38]))(sipGILState,meth,a0);
}

bool sipKDirSortFilterProxyModel::subSortLessThan(const QModelIndex& a0,const QModelIndex& a1) const
{
    typedef bool (*sipVH_QtGui_112)(sip_gilstate_t,PyObject *,const QModelIndex&,const QModelIndex&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName_subSortLessThan);

    if (!meth)
        return KDirSortFilterProxyModel::subSortLessThan(a0,a1);

    return ((sipVH_QtGui_112)(sipModuleAPI_kio_QtGui->em_virthandlers[112]))(sipGILState,meth,a0,a1);
}

void sipKDirSortFilterProxyModel::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[3],sipPySelf,NULL,sipName_sort);

    if (!meth)
    {
        KCategorizedSortFilterProxyModel::sort(a0,a1);
        return;
    }

    ((sipVH_QtCore_45)(sipModuleAPI_kio_QtCore->em_virthandlers[45]))(sipGILState,meth,a0,a1);
}

bool sipKDirSortFilterProxyModel::lessThan(const QModelIndex& a0,const QModelIndex& a1) const
{
    typedef bool (*sipVH_QtGui_112)(sip_gilstate_t,PyObject *,const QModelIndex&,const QModelIndex&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,NULL,sipName_lessThan);

    if (!meth)
        return KCategorizedSortFilterProxyModel::lessThan(a0,a1);

    return ((sipVH_QtGui_112)(sipModuleAPI_kio_QtGui->em_virthandlers[112]))(sipGILState,meth,a0,a1);
}

int sipKDirSortFilterProxyModel::compareCategories(const QModelIndex& a0,const QModelIndex& a1) const
{
    typedef int (*sipVH_kdeui_76)(sip_gilstate_t,PyObject *,const QModelIndex&,const QModelIndex&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_compareCategories);

    if (!meth)
        return KCategorizedSortFilterProxyModel::compareCategories(a0,a1);

    return ((sipVH_kdeui_76)(sipModuleAPI_kio_kdeui->em_virthandlers[76]))(sipGILState,meth,a0,a1);
}

void sipKDirSortFilterProxyModel::setSourceModel(QAbstractItemModel *a0)
{
    typedef void (*sipVH_QtGui_35)(sip_gilstate_t,PyObject *,QAbstractItemModel *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_setSourceModel);

    if (!meth)
    {
        QSortFilterProxyModel::setSourceModel(a0);
        return;
    }

    ((sipVH_QtGui_35)(sipModuleAPI_kio_QtGui->em_virthandlers[35]))(sipGILState,meth,a0);
}

QModelIndex sipKDirSortFilterProxyModel::mapToSource(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[7]),sipPySelf,NULL,sipName_mapToSource);

    if (!meth)
        return QSortFilterProxyModel::mapToSource(a0);

    return ((sipVH_QtCore_40)(sipModuleAPI_kio_QtCore->em_virthandlers[40]))(sipGILState,meth,a0);
}

QModelIndex sipKDirSortFilterProxyModel::mapFromSource(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[8]),sipPySelf,NULL,sipName_mapFromSource);

    if (!meth)
        return QSortFilterProxyModel::mapFromSource(a0);

    return ((sipVH_QtCore_40)(sipModuleAPI_kio_QtCore->em_virthandlers[40]))(sipGILState,meth,a0);
}

QItemSelection sipKDirSortFilterProxyModel::mapSelectionToSource(const QItemSelection& a0) const
{
    typedef QItemSelection (*sipVH_QtGui_114)(sip_gilstate_t,PyObject *,const QItemSelection&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_mapSelectionToSource);

    if (!meth)
        return QSortFilterProxyModel::mapSelectionToSource(a0);

    return ((sipVH_QtGui_114)(sipModuleAPI_kio_QtGui->em_virthandlers[114]))(sipGILState,meth,a0);
}

QItemSelection sipKDirSortFilterProxyModel::mapSelectionFromSource(const QItemSelection& a0) const
{
    typedef QItemSelection (*sipVH_QtGui_114)(sip_gilstate_t,PyObject *,const QItemSelection&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_mapSelectionFromSource);

    if (!meth)
        return QSortFilterProxyModel::mapSelectionFromSource(a0);

    return ((sipVH_QtGui_114)(sipModuleAPI_kio_QtGui->em_virthandlers[114]))(sipGILState,meth,a0);
}

bool sipKDirSortFilterProxyModel::filterAcceptsRow(int a0,const QModelIndex& a1) const
{
    typedef bool (*sipVH_QtGui_113)(sip_gilstate_t,PyObject *,int,const QModelIndex&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_filterAcceptsRow);

    if (!meth)
        return QSortFilterProxyModel::filterAcceptsRow(a0,a1);

    return ((sipVH_QtGui_113)(sipModuleAPI_kio_QtGui->em_virthandlers[113]))(sipGILState,meth,a0,a1);
}

bool sipKDirSortFilterProxyModel::filterAcceptsColumn(int a0,const QModelIndex& a1) const
{
    typedef bool (*sipVH_QtGui_113)(sip_gilstate_t,PyObject *,int,const QModelIndex&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_filterAcceptsColumn);

    if (!meth)
        return QSortFilterProxyModel::filterAcceptsColumn(a0,a1);

    return ((sipVH_QtGui_113)(sipModuleAPI_kio_QtGui->em_virthandlers[113]))(sipGILState,meth,a0,a1);
}

QModelIndex sipKDirSortFilterProxyModel::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[13]),sipPySelf,NULL,sipName_index);

    if (!meth)
        return QSortFilterProxyModel::index(a0,a1,a2);

    return ((sipVH_QtCore_42)(sipModuleAPI_kio_QtCore->em_virthandlers[42]))(sipGILState,meth,a0,a1,a2);
}

QModelIndex sipKDirSortFilterProxyModel::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[14]),sipPySelf,NULL,sipName_parent);

    if (!meth)
        return QSortFilterProxyModel::parent(a0);

    return ((sipVH_QtCore_40)(sipModuleAPI_kio_QtCore->em_virthandlers[40]))(sipGILState,meth,a0);
}

int sipKDirSortFilterProxyModel::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[15]),sipPySelf,NULL,sipName_rowCount);

    if (!meth)
        return QSortFilterProxyModel::rowCount(a0);

    return ((sipVH_QtCore_39)(sipModuleAPI_kio_QtCore->em_virthandlers[39]))(sipGILState,meth,a0);
}

int sipKDirSortFilterProxyModel::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[16]),sipPySelf,NULL,sipName_columnCount);

    if (!meth)
        return QSortFilterProxyModel::columnCount(a0);

    return ((sipVH_QtCore_39)(sipModuleAPI_kio_QtCore->em_virthandlers[39]))(sipGILState,meth,a0);
}

bool sipKDirSortFilterProxyModel::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[17],sipPySelf,NULL,sipName_setData);

    if (!meth)
        return QSortFilterProxyModel::setData(a0,a1,a2);

    return ((sipVH_QtCore_55)(sipModuleAPI_kio_QtCore->em_virthandlers[55]))(sipGILState,meth,a0,a1,a2);
}

QVariant sipKDirSortFilterProxyModel::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[18]),sipPySelf,NULL,sipName_headerData);

    if (!meth)
        return QSortFilterProxyModel::headerData(a0,a1,a2);

    return ((sipVH_QtCore_54)(sipModuleAPI_kio_QtCore->em_virthandlers[54]))(sipGILState,meth,a0,a1,a2);
}

bool sipKDirSortFilterProxyModel::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[19],sipPySelf,NULL,sipName_setHeaderData);

    if (!meth)
        return QSortFilterProxyModel::setHeaderData(a0,a1,a2,a3);

    return ((sipVH_QtCore_53)(sipModuleAPI_kio_QtCore->em_virthandlers[53]))(sipGILState,meth,a0,a1,a2,a3);
}

QMimeData * sipKDirSortFilterProxyModel::mimeData(const QModelIndexList& a0) const
{
    typedef QMimeData * (*sipVH_QtCore_50)(sip_gilstate_t,PyObject *,const QList<QModelIndex>&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[20]),sipPySelf,NULL,sipName_mimeData);

    if (!meth)
        return QSortFilterProxyModel::mimeData(a0);

    return ((sipVH_QtCore_50)(sipModuleAPI_kio_QtCore->em_virthandlers[50]))(sipGILState,meth,a0);
}

bool sipKDirSortFilterProxyModel::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[21],sipPySelf,NULL,sipName_dropMimeData);

    if (!meth)
        return QSortFilterProxyModel::dropMimeData(a0,a1,a2,a3,a4);

    return ((sipVH_QtCore_41)(sipModuleAPI_kio_QtCore->em_virthandlers[41]))(sipGILState,meth,a0,a1,a2,a3,a4);
}

bool sipKDirSortFilterProxyModel::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[22],sipPySelf,NULL,sipName_insertRows);

    if (!meth)
        return QSortFilterProxyModel::insertRows(a0,a1,a2);

    return ((sipVH_QtCore_48)(sipModuleAPI_kio_QtCore->em_virthandlers[48]))(sipGILState,meth,a0,a1,a2);
}

bool sipKDirSortFilterProxyModel::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[23],sipPySelf,NULL,sipName_insertColumns);

    if (!meth)
        return QSortFilterProxyModel::insertColumns(a0,a1,a2);

    return ((sipVH_QtCore_48)(sipModuleAPI_kio_QtCore->em_virthandlers[48]))(sipGILState,meth,a0,a1,a2);
}

bool sipKDirSortFilterProxyModel::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[24],sipPySelf,NULL,sipName_removeRows);

    if (!meth)
        return QSortFilterProxyModel::removeRows(a0,a1,a2);

    return ((sipVH_QtCore_48)(sipModuleAPI_kio_QtCore->em_virthandlers[48]))(sipGILState,meth,a0,a1,a2);
}

bool sipKDirSortFilterProxyModel::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[25],sipPySelf,NULL,sipName_removeColumns);

    if (!meth)
        return QSortFilterProxyModel::removeColumns(a0,a1,a2);

    return ((sipVH_QtCore_48)(sipModuleAPI_kio_QtCore->em_virthandlers[48]))(sipGILState,meth,a0,a1,a2);
}

void sipKDirSortFilterProxyModel::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[26],sipPySelf,NULL,sipName_fetchMore);

    if (!meth)
    {
        QSortFilterProxyModel::fetchMore(a0);
        return;
    }

    ((sipVH_QtCore_47)(sipModuleAPI_kio_QtCore->em_virthandlers[47]))(sipGILState,meth,a0);
}

Qt::ItemFlags sipKDirSortFilterProxyModel::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[27]),sipPySelf,NULL,sipName_flags);

    if (!meth)
        return QSortFilterProxyModel::flags(a0);

    return ((sipVH_QtCore_46)(sipModuleAPI_kio_QtCore->em_virthandlers[46]))(sipGILState,meth,a0);
}

QModelIndex sipKDirSortFilterProxyModel::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[28]),sipPySelf,NULL,sipName_buddy);

    if (!meth)
        return QSortFilterProxyModel::buddy(a0);

    return ((sipVH_QtCore_40)(sipModuleAPI_kio_QtCore->em_virthandlers[40]))(sipGILState,meth,a0);
}

QSize sipKDirSortFilterProxyModel::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[29]),sipPySelf,NULL,sipName_span);

    if (!meth)
        return QSortFilterProxyModel::span(a0);

    return ((sipVH_QtCore_43)(sipModuleAPI_kio_QtCore->em_virthandlers[43]))(sipGILState,meth,a0);
}

QModelIndexList sipKDirSortFilterProxyModel::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[30]),sipPySelf,NULL,sipName_match);

    if (!meth)
        return QSortFilterProxyModel::match(a0,a1,a2,a3,a4);

    return ((sipVH_QtCore_44)(sipModuleAPI_kio_QtCore->em_virthandlers[44]))(sipGILState,meth,a0,a1,a2,a3,a4);
}

QStringList sipKDirSortFilterProxyModel::mimeTypes() const
{
    typedef QStringList (*sipVH_QtCore_23)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[31]),sipPySelf,NULL,sipName_mimeTypes);

    if (!meth)
        return QSortFilterProxyModel::mimeTypes();

    return ((sipVH_QtCore_23)(sipModuleAPI_kio_QtCore->em_virthandlers[23]))(sipGILState,meth);
}

Qt::DropActions sipKDirSortFilterProxyModel::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[32]),sipPySelf,NULL,sipName_supportedDropActions);

    if (!meth)
        return QSortFilterProxyModel::supportedDropActions();

    return ((sipVH_QtCore_49)(sipModuleAPI_kio_QtCore->em_virthandlers[49]))(sipGILState,meth);
}

QVariant sipKDirSortFilterProxyModel::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[33]),sipPySelf,NULL,sipName_data);

    if (!meth)
        return QSortFilterProxyModel::data(a0,a1);

    return ((sipVH_QtCore_56)(sipModuleAPI_kio_QtCore->em_virthandlers[56]))(sipGILState,meth,a0,a1);
}

bool sipKDirSortFilterProxyModel::submit()
{
    typedef bool (*sipVH_QtCore_1)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_submit);

    if (!meth)
        return QAbstractProxyModel::submit();

    return ((sipVH_QtCore_1)(sipModuleAPI_kio_QtCore->em_virthandlers[1]))(sipGILState,meth);
}

void sipKDirSortFilterProxyModel::revert()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_revert);

    if (!meth)
    {
        QAbstractProxyModel::revert();
        return;
    }

    ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

QMap<int,QVariant> sipKDirSortFilterProxyModel::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[36]),sipPySelf,NULL,sipName_itemData);

    if (!meth)
        return QAbstractProxyModel::itemData(a0);

    return ((sipVH_QtCore_52)(sipModuleAPI_kio_QtCore->em_virthandlers[52]))(sipGILState,meth,a0);
}

bool sipKDirSortFilterProxyModel::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[37],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);
}

bool sipKDirSortFilterProxyModel::event(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_event);

    if (!meth)
        return QObject::event(a0);

    return ((sipVH_QtCore_13)(sipModuleAPI_kio_QtCore->em_virthandlers[13]))(sipGILState,meth,a0);
}

bool sipKDirSortFilterProxyModel::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[39],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 sipKDirSortFilterProxyModel::timerEvent(QTimerEvent *a0)
{
    typedef void (*sipVH_QtCore_3)(sip_gilstate_t,PyObject *,QTimerEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_timerEvent);

    if (!meth)
    {
        QObject::timerEvent(a0);
        return;
    }

    ((sipVH_QtCore_3)(sipModuleAPI_kio_QtCore->em_virthandlers[3]))(sipGILState,meth,a0);
}

void sipKDirSortFilterProxyModel::childEvent(QChildEvent *a0)
{
    typedef void (*sipVH_QtCore_20)(sip_gilstate_t,PyObject *,QChildEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_childEvent);

    if (!meth)
    {
        QObject::childEvent(a0);
        return;
    }

    ((sipVH_QtCore_20)(sipModuleAPI_kio_QtCore->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipKDirSortFilterProxyModel::customEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_customEvent);

    if (!meth)
    {
        QObject::customEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_kio_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipKDirSortFilterProxyModel::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[43],sipPySelf,NULL,sipName_connectNotify);

    if (!meth)
    {
        QObject::connectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipKDirSortFilterProxyModel::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[44],sipPySelf,NULL,sipName_disconnectNotify);

    if (!meth)
    {
        QObject::disconnectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

int sipKDirSortFilterProxyModel::sipProtect_receivers(const char *a0) const
{
    return QObject::receivers(a0);
}

void sipKDirSortFilterProxyModel::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipKDirSortFilterProxyModel::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent *a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipKDirSortFilterProxyModel::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipKDirSortFilterProxyModel::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipKDirSortFilterProxyModel::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

void sipKDirSortFilterProxyModel::sipProtect_encodeData(const QModelIndexList& a0,QDataStream& a1) const
{
    QAbstractItemModel::encodeData(a0,a1);
}

bool sipKDirSortFilterProxyModel::sipProtect_decodeData(int a0,int a1,const QModelIndex& a2,QDataStream& a3)
{
    return QAbstractItemModel::decodeData(a0,a1,a2,a3);
}

void sipKDirSortFilterProxyModel::sipProtect_beginInsertRows(const QModelIndex& a0,int a1,int a2)
{
    QAbstractItemModel::beginInsertRows(a0,a1,a2);
}

void sipKDirSortFilterProxyModel::sipProtect_endInsertRows()
{
    QAbstractItemModel::endInsertRows();
}

void sipKDirSortFilterProxyModel::sipProtect_beginRemoveRows(const QModelIndex& a0,int a1,int a2)
{
    QAbstractItemModel::beginRemoveRows(a0,a1,a2);
}

void sipKDirSortFilterProxyModel::sipProtect_endRemoveRows()
{
    QAbstractItemModel::endRemoveRows();
}

void sipKDirSortFilterProxyModel::sipProtect_beginInsertColumns(const QModelIndex& a0,int a1,int a2)
{
    QAbstractItemModel::beginInsertColumns(a0,a1,a2);
}

void sipKDirSortFilterProxyModel::sipProtect_endInsertColumns()
{
    QAbstractItemModel::endInsertColumns();
}

void sipKDirSortFilterProxyModel::sipProtect_beginRemoveColumns(const QModelIndex& a0,int a1,int a2)
{
    QAbstractItemModel::beginRemoveColumns(a0,a1,a2);
}

void sipKDirSortFilterProxyModel::sipProtect_endRemoveColumns()
{
    QAbstractItemModel::endRemoveColumns();
}

QModelIndexList sipKDirSortFilterProxyModel::sipProtect_persistentIndexList() const
{
    return QAbstractItemModel::persistentIndexList();
}

void sipKDirSortFilterProxyModel::sipProtect_reset()
{
    QAbstractItemModel::reset();
}

void sipKDirSortFilterProxyModel::sipProtect_changePersistentIndex(const QModelIndex& a0,const QModelIndex& a1)
{
    QAbstractItemModel::changePersistentIndex(a0,a1);
}

void sipKDirSortFilterProxyModel::sipProtect_changePersistentIndexList(const QModelIndexList& a0,const QModelIndexList& a1)
{
    QAbstractItemModel::changePersistentIndexList(a0,a1);
}

QModelIndex sipKDirSortFilterProxyModel::sipProtect_createIndex(int a0,int a1,void *a2) const
{
    return QAbstractItemModel::createIndex(a0,a1,a2);
}

bool sipKDirSortFilterProxyModel::sipProtectVirt_filterAcceptsRow(bool sipSelfWasArg,int a0,const QModelIndex& a1) const
{
    return (sipSelfWasArg ? QSortFilterProxyModel::filterAcceptsRow(a0,a1) : filterAcceptsRow(a0,a1));
}

bool sipKDirSortFilterProxyModel::sipProtectVirt_filterAcceptsColumn(bool sipSelfWasArg,int a0,const QModelIndex& a1) const
{
    return (sipSelfWasArg ? QSortFilterProxyModel::filterAcceptsColumn(a0,a1) : filterAcceptsColumn(a0,a1));
}

void sipKDirSortFilterProxyModel::sipProtect_filterChanged()
{
    QSortFilterProxyModel::filterChanged();
}

void sipKDirSortFilterProxyModel::sipProtect_invalidateFilter()
{
    QSortFilterProxyModel::invalidateFilter();
}

bool sipKDirSortFilterProxyModel::sipProtectVirt_lessThan(bool sipSelfWasArg,const QModelIndex& a0,const QModelIndex& a1) const
{
    return (sipSelfWasArg ? KCategorizedSortFilterProxyModel::lessThan(a0,a1) : lessThan(a0,a1));
}

int sipKDirSortFilterProxyModel::sipProtectVirt_compareCategories(bool sipSelfWasArg,const QModelIndex& a0,const QModelIndex& a1) const
{
    return (sipSelfWasArg ? KCategorizedSortFilterProxyModel::compareCategories(a0,a1) : compareCategories(a0,a1));
}

bool sipKDirSortFilterProxyModel::sipProtectVirt_subSortLessThan(bool sipSelfWasArg,const QModelIndex& a0,const QModelIndex& a1) const
{
    return (sipSelfWasArg ? KDirSortFilterProxyModel::subSortLessThan(a0,a1) : subSortLessThan(a0,a1));
}


extern "C" {static PyObject *meth_KDirSortFilterProxyModel_receivers(PyObject *, PyObject *);}
static PyObject *meth_KDirSortFilterProxyModel_receivers(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        char * a0;
        sipKDirSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KDirSortFilterProxyModel,&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 16336 "sipkiopart6.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirSortFilterProxyModel,sipName_receivers);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSortFilterProxyModel_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_KDirSortFilterProxyModel_timerEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipKDirSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KDirSortFilterProxyModel,&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_KDirSortFilterProxyModel,sipName_timerEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSortFilterProxyModel_childEvent(PyObject *, PyObject *);}
static PyObject *meth_KDirSortFilterProxyModel_childEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipKDirSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KDirSortFilterProxyModel,&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_KDirSortFilterProxyModel,sipName_childEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSortFilterProxyModel_customEvent(PyObject *, PyObject *);}
static PyObject *meth_KDirSortFilterProxyModel_customEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKDirSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KDirSortFilterProxyModel,&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_KDirSortFilterProxyModel,sipName_customEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSortFilterProxyModel_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_KDirSortFilterProxyModel_connectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKDirSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KDirSortFilterProxyModel,&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_KDirSortFilterProxyModel,sipName_connectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSortFilterProxyModel_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_KDirSortFilterProxyModel_disconnectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKDirSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KDirSortFilterProxyModel,&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_KDirSortFilterProxyModel,sipName_disconnectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSortFilterProxyModel_encodeData(PyObject *, PyObject *);}
static PyObject *meth_KDirSortFilterProxyModel_encodeData(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QModelIndexList * a0;
        int a0State = 0;
        QDataStream * a1;
        sipKDirSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1J9",&sipSelf,sipType_KDirSortFilterProxyModel,&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_KDirSortFilterProxyModel,sipName_encodeData);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSortFilterProxyModel_decodeData(PyObject *, PyObject *);}
static PyObject *meth_KDirSortFilterProxyModel_decodeData(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        int a0;
        int a1;
        const QModelIndex * a2;
        QDataStream * a3;
        sipKDirSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"piiJ9J9",&sipSelf,sipType_KDirSortFilterProxyModel,&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_KDirSortFilterProxyModel,sipName_decodeData);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSortFilterProxyModel_beginInsertRows(PyObject *, PyObject *);}
static PyObject *meth_KDirSortFilterProxyModel_beginInsertRows(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QModelIndex * a0;
        int a1;
        int a2;
        sipKDirSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9ii",&sipSelf,sipType_KDirSortFilterProxyModel,&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_KDirSortFilterProxyModel,sipName_beginInsertRows);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSortFilterProxyModel_endInsertRows(PyObject *, PyObject *);}
static PyObject *meth_KDirSortFilterProxyModel_endInsertRows(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKDirSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KDirSortFilterProxyModel,&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_KDirSortFilterProxyModel,sipName_endInsertRows);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSortFilterProxyModel_beginRemoveRows(PyObject *, PyObject *);}
static PyObject *meth_KDirSortFilterProxyModel_beginRemoveRows(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QModelIndex * a0;
        int a1;
        int a2;
        sipKDirSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9ii",&sipSelf,sipType_KDirSortFilterProxyModel,&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_KDirSortFilterProxyModel,sipName_beginRemoveRows);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSortFilterProxyModel_endRemoveRows(PyObject *, PyObject *);}
static PyObject *meth_KDirSortFilterProxyModel_endRemoveRows(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKDirSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KDirSortFilterProxyModel,&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_KDirSortFilterProxyModel,sipName_endRemoveRows);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSortFilterProxyModel_beginInsertColumns(PyObject *, PyObject *);}
static PyObject *meth_KDirSortFilterProxyModel_beginInsertColumns(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QModelIndex * a0;
        int a1;
        int a2;
        sipKDirSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9ii",&sipSelf,sipType_KDirSortFilterProxyModel,&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_KDirSortFilterProxyModel,sipName_beginInsertColumns);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSortFilterProxyModel_endInsertColumns(PyObject *, PyObject *);}
static PyObject *meth_KDirSortFilterProxyModel_endInsertColumns(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKDirSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KDirSortFilterProxyModel,&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_KDirSortFilterProxyModel,sipName_endInsertColumns);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSortFilterProxyModel_beginRemoveColumns(PyObject *, PyObject *);}
static PyObject *meth_KDirSortFilterProxyModel_beginRemoveColumns(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QModelIndex * a0;
        int a1;
        int a2;
        sipKDirSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9ii",&sipSelf,sipType_KDirSortFilterProxyModel,&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_KDirSortFilterProxyModel,sipName_beginRemoveColumns);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSortFilterProxyModel_endRemoveColumns(PyObject *, PyObject *);}
static PyObject *meth_KDirSortFilterProxyModel_endRemoveColumns(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKDirSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KDirSortFilterProxyModel,&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_KDirSortFilterProxyModel,sipName_endRemoveColumns);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSortFilterProxyModel_persistentIndexList(PyObject *, PyObject *);}
static PyObject *meth_KDirSortFilterProxyModel_persistentIndexList(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKDirSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KDirSortFilterProxyModel,&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_KDirSortFilterProxyModel,sipName_persistentIndexList);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSortFilterProxyModel_reset(PyObject *, PyObject *);}
static PyObject *meth_KDirSortFilterProxyModel_reset(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKDirSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KDirSortFilterProxyModel,&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_KDirSortFilterProxyModel,sipName_reset);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSortFilterProxyModel_changePersistentIndex(PyObject *, PyObject *);}
static PyObject *meth_KDirSortFilterProxyModel_changePersistentIndex(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QModelIndex * a0;
        const QModelIndex * a1;
        sipKDirSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9J9",&sipSelf,sipType_KDirSortFilterProxyModel,&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_KDirSortFilterProxyModel,sipName_changePersistentIndex);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSortFilterProxyModel_changePersistentIndexList(PyObject *, PyObject *);}
static PyObject *meth_KDirSortFilterProxyModel_changePersistentIndexList(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QModelIndexList * a0;
        int a0State = 0;
        const QModelIndexList * a1;
        int a1State = 0;
        sipKDirSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1J1",&sipSelf,sipType_KDirSortFilterProxyModel,&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_KDirSortFilterProxyModel,sipName_changePersistentIndexList);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSortFilterProxyModel_createIndex(PyObject *, PyObject *);}
static PyObject *meth_KDirSortFilterProxyModel_createIndex(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        int a0;
        int a1;
        PyObject * a2 = 0;
        sipKDirSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pii|P0",&sipSelf,sipType_KDirSortFilterProxyModel,&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 16931 "sipkiopart6.cpp"

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirSortFilterProxyModel,sipName_createIndex);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSortFilterProxyModel_filterAcceptsRow(PyObject *, PyObject *);}
static PyObject *meth_KDirSortFilterProxyModel_filterAcceptsRow(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        const QModelIndex * a1;
        sipKDirSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"piJ9",&sipSelf,sipType_KDirSortFilterProxyModel,&sipCpp,&a0,sipType_QModelIndex,&a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_filterAcceptsRow(sipSelfWasArg,a0,*a1);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirSortFilterProxyModel,sipName_filterAcceptsRow);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSortFilterProxyModel_filterAcceptsColumn(PyObject *, PyObject *);}
static PyObject *meth_KDirSortFilterProxyModel_filterAcceptsColumn(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        const QModelIndex * a1;
        sipKDirSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"piJ9",&sipSelf,sipType_KDirSortFilterProxyModel,&sipCpp,&a0,sipType_QModelIndex,&a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_filterAcceptsColumn(sipSelfWasArg,a0,*a1);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirSortFilterProxyModel,sipName_filterAcceptsColumn);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSortFilterProxyModel_filterChanged(PyObject *, PyObject *);}
static PyObject *meth_KDirSortFilterProxyModel_filterChanged(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKDirSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KDirSortFilterProxyModel,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_filterChanged();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirSortFilterProxyModel,sipName_filterChanged);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSortFilterProxyModel_invalidateFilter(PyObject *, PyObject *);}
static PyObject *meth_KDirSortFilterProxyModel_invalidateFilter(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKDirSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KDirSortFilterProxyModel,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_invalidateFilter();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirSortFilterProxyModel,sipName_invalidateFilter);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSortFilterProxyModel_lessThan(PyObject *, PyObject *);}
static PyObject *meth_KDirSortFilterProxyModel_lessThan(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex * a0;
        const QModelIndex * a1;
        sipKDirSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9J9",&sipSelf,sipType_KDirSortFilterProxyModel,&sipCpp,sipType_QModelIndex,&a0,sipType_QModelIndex,&a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_lessThan(sipSelfWasArg,*a0,*a1);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirSortFilterProxyModel,sipName_lessThan);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSortFilterProxyModel_compareCategories(PyObject *, PyObject *);}
static PyObject *meth_KDirSortFilterProxyModel_compareCategories(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex * a0;
        const QModelIndex * a1;
        sipKDirSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9J9",&sipSelf,sipType_KDirSortFilterProxyModel,&sipCpp,sipType_QModelIndex,&a0,sipType_QModelIndex,&a1))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_compareCategories(sipSelfWasArg,*a0,*a1);
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirSortFilterProxyModel,sipName_compareCategories);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSortFilterProxyModel_hasChildren(PyObject *, PyObject *);}
static PyObject *meth_KDirSortFilterProxyModel_hasChildren(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex& a0def = QModelIndex();
        const QModelIndex * a0 = &a0def;
        KDirSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B|J9",&sipSelf,sipType_KDirSortFilterProxyModel,&sipCpp,sipType_QModelIndex,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KDirSortFilterProxyModel::hasChildren(*a0) : sipCpp->hasChildren(*a0));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirSortFilterProxyModel,sipName_hasChildren);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSortFilterProxyModel_canFetchMore(PyObject *, PyObject *);}
static PyObject *meth_KDirSortFilterProxyModel_canFetchMore(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex * a0;
        KDirSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_KDirSortFilterProxyModel,&sipCpp,sipType_QModelIndex,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KDirSortFilterProxyModel::canFetchMore(*a0) : sipCpp->canFetchMore(*a0));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirSortFilterProxyModel,sipName_canFetchMore);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSortFilterProxyModel_pointsForPermissions(PyObject *, PyObject *);}
static PyObject *meth_KDirSortFilterProxyModel_pointsForPermissions(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QFileInfo * a0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J9",sipType_QFileInfo,&a0))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KDirSortFilterProxyModel::pointsForPermissions(*a0);
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirSortFilterProxyModel,sipName_pointsForPermissions);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSortFilterProxyModel_setSortFoldersFirst(PyObject *, PyObject *);}
static PyObject *meth_KDirSortFilterProxyModel_setSortFoldersFirst(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0;
        KDirSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_KDirSortFilterProxyModel,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSortFoldersFirst(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirSortFilterProxyModel,sipName_setSortFoldersFirst);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSortFilterProxyModel_sortFoldersFirst(PyObject *, PyObject *);}
static PyObject *meth_KDirSortFilterProxyModel_sortFoldersFirst(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KDirSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KDirSortFilterProxyModel,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sortFoldersFirst();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirSortFilterProxyModel,sipName_sortFoldersFirst);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSortFilterProxyModel_subSortLessThan(PyObject *, PyObject *);}
static PyObject *meth_KDirSortFilterProxyModel_subSortLessThan(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex * a0;
        const QModelIndex * a1;
        sipKDirSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9J9",&sipSelf,sipType_KDirSortFilterProxyModel,&sipCpp,sipType_QModelIndex,&a0,sipType_QModelIndex,&a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_subSortLessThan(sipSelfWasArg,*a0,*a1);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirSortFilterProxyModel,sipName_subSortLessThan);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KDirSortFilterProxyModel(void *, const sipTypeDef *);}
static void *cast_KDirSortFilterProxyModel(void *ptr,const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KDirSortFilterProxyModel)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KCategorizedSortFilterProxyModel)->ctd_cast((KCategorizedSortFilterProxyModel *)(KDirSortFilterProxyModel *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KDirSortFilterProxyModel(void *, int);}
static void release_KDirSortFilterProxyModel(void *sipCppV,int state)
{
    Py_BEGIN_ALLOW_THREADS

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKDirSortFilterProxyModel *>(sipCppV);
    else
        delete reinterpret_cast<KDirSortFilterProxyModel *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KDirSortFilterProxyModel(sipSimpleWrapper *);}
static void dealloc_KDirSortFilterProxyModel(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKDirSortFilterProxyModel *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KDirSortFilterProxyModel(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_KDirSortFilterProxyModel(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KDirSortFilterProxyModel(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **sipOwner, int *sipArgsParsed)
{
    sipKDirSortFilterProxyModel *sipCpp = 0;

    if (!sipCpp)
    {
        QObject * a0 = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"|JH",sipType_QObject,&a0,sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKDirSortFilterProxyModel(a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KDirSortFilterProxyModel[] = {{26, 6, 1}};


static PyMethodDef methods_KDirSortFilterProxyModel[] = {
    {SIP_MLNAME_CAST(sipName_beginInsertColumns), meth_KDirSortFilterProxyModel_beginInsertColumns, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_beginInsertRows), meth_KDirSortFilterProxyModel_beginInsertRows, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_beginRemoveColumns), meth_KDirSortFilterProxyModel_beginRemoveColumns, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_beginRemoveRows), meth_KDirSortFilterProxyModel_beginRemoveRows, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_canFetchMore), meth_KDirSortFilterProxyModel_canFetchMore, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_changePersistentIndex), meth_KDirSortFilterProxyModel_changePersistentIndex, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_changePersistentIndexList), meth_KDirSortFilterProxyModel_changePersistentIndexList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_KDirSortFilterProxyModel_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_compareCategories), meth_KDirSortFilterProxyModel_compareCategories, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KDirSortFilterProxyModel_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_createIndex), meth_KDirSortFilterProxyModel_createIndex, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KDirSortFilterProxyModel_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_decodeData), meth_KDirSortFilterProxyModel_decodeData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KDirSortFilterProxyModel_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_encodeData), meth_KDirSortFilterProxyModel_encodeData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_endInsertColumns), meth_KDirSortFilterProxyModel_endInsertColumns, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_endInsertRows), meth_KDirSortFilterProxyModel_endInsertRows, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_endRemoveColumns), meth_KDirSortFilterProxyModel_endRemoveColumns, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_endRemoveRows), meth_KDirSortFilterProxyModel_endRemoveRows, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_filterAcceptsColumn), meth_KDirSortFilterProxyModel_filterAcceptsColumn, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_filterAcceptsRow), meth_KDirSortFilterProxyModel_filterAcceptsRow, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_filterChanged), meth_KDirSortFilterProxyModel_filterChanged, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hasChildren), meth_KDirSortFilterProxyModel_hasChildren, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_invalidateFilter), meth_KDirSortFilterProxyModel_invalidateFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_lessThan), meth_KDirSortFilterProxyModel_lessThan, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_persistentIndexList), meth_KDirSortFilterProxyModel_persistentIndexList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_pointsForPermissions), meth_KDirSortFilterProxyModel_pointsForPermissions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_KDirSortFilterProxyModel_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_reset), meth_KDirSortFilterProxyModel_reset, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSortFoldersFirst), meth_KDirSortFilterProxyModel_setSortFoldersFirst, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sortFoldersFirst), meth_KDirSortFilterProxyModel_sortFoldersFirst, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_subSortLessThan), meth_KDirSortFilterProxyModel_subSortLessThan, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KDirSortFilterProxyModel_timerEvent, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_kio_KDirSortFilterProxyModel = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KDirSortFilterProxyModel,
        {0}
    },
    sipNameNr_KDirSortFilterProxyModel,
    -1,
    -1,
    {0, 0, 1},
    supers_KDirSortFilterProxyModel,
    0,
    33, methods_KDirSortFilterProxyModel,
    0, 0,
    0, 0,
    init_KDirSortFilterProxyModel,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KDirSortFilterProxyModel,
    release_KDirSortFilterProxyModel,
    cast_KDirSortFilterProxyModel,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KDirSortFilterProxyModel::staticMetaObject,
    0,
    0
};

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kdirselectdialog.sip"
#include <kdirselectdialog.h>
#line 17442 "sipkiopart6.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 17446 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 17449 "sipkiopart6.cpp"
#line 424 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 17452 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 17455 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 17458 "sipkiopart6.cpp"
#line 296 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 17461 "sipkiopart6.cpp"
#line 388 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 17464 "sipkiopart6.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 17467 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 17470 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 17473 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qlayout.sip"
#include <qlayout.h>
#line 17476 "sipkiopart6.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 17479 "sipkiopart6.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 17482 "sipkiopart6.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 17485 "sipkiopart6.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 17488 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qmenu.sip"
#include <qmenu.h>
#line 17491 "sipkiopart6.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 17494 "sipkiopart6.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 17497 "sipkiopart6.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 17500 "sipkiopart6.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 17503 "sipkiopart6.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 17506 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 17509 "sipkiopart6.cpp"
#line 436 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 17512 "sipkiopart6.cpp"
#line 374 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 17515 "sipkiopart6.cpp"
#line 412 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 17518 "sipkiopart6.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 17521 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 17524 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 17527 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 17530 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qregion.sip"
#include <qregion.h>
#line 17533 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 17536 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 17539 "sipkiopart6.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 17542 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 17545 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 17548 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qfont.sip"
#include <qfont.h>
#line 17551 "sipkiopart6.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 17554 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 17557 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 17560 "sipkiopart6.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 17565 "sipkiopart6.cpp"
#line 508 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 17568 "sipkiopart6.cpp"
#line 562 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 17571 "sipkiopart6.cpp"
#line 533 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 17574 "sipkiopart6.cpp"
#line 550 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 17577 "sipkiopart6.cpp"
#line 618 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 17580 "sipkiopart6.cpp"
#line 247 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 17583 "sipkiopart6.cpp"
#line 360 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 17586 "sipkiopart6.cpp"
#line 345 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 17589 "sipkiopart6.cpp"
#line 325 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 17592 "sipkiopart6.cpp"
#line 225 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 17595 "sipkiopart6.cpp"
#line 184 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 17598 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 17601 "sipkiopart6.cpp"
#line 74 "/usr/local/share/py-sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 17604 "sipkiopart6.cpp"
#line 47 "/usr/local/share/py-sip/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 17607 "sipkiopart6.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 17668 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qaction.sip"
#include <qaction.h>
#line 17671 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 17674 "sipkiopart6.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 17677 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qabstractbutton.sip"
#include <qabstractbutton.h>
#line 17680 "sipkiopart6.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 17685 "sipkiopart6.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 17688 "sipkiopart6.cpp"
#line 99 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 17691 "sipkiopart6.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 17694 "sipkiopart6.cpp"
#line 165 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 17697 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qlistwidget.sip"
#include <qlistwidget.h>
#line 17700 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qdockwidget.sip"
#include <qdockwidget.h>
#line 17703 "sipkiopart6.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qmdisubwindow.sip"
#include <qmdisubwindow.h>
#line 17706 "sipkiopart6.cpp"
#line 334 "/usr/local/share/py-sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 17709 "sipkiopart6.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 17714 "sipkiopart6.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qprinterinfo.sip"
#include <qprinterinfo.h>
#line 17717 "sipkiopart6.cpp"
#line 202 "/usr/local/share/py-sip/QtGui/qstandarditemmodel.sip"
#include <qstandarditemmodel.h>
#line 17720 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 17723 "sipkiopart6.cpp"
#line 66 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 17726 "sipkiopart6.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 17731 "sipkiopart6.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 17736 "sipkiopart6.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 17741 "sipkiopart6.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 17746 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtreewidget.sip"
#include <qtreewidget.h>
#line 17749 "sipkiopart6.cpp"
#line 75 "/usr/local/share/py-sip/QtGui/qundostack.sip"
#include <qundostack.h>
#line 17752 "sipkiopart6.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qwizard.sip"
#include <qwizard.h>
#line 17755 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qprinter.sip"
#include <qprinter.h>
#line 17758 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontdatabase.sip"
#include <qfontdatabase.h>
#line 17761 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 17764 "sipkiopart6.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 17767 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 17770 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qicon.sip"
#include <qicon.h>
#line 17773 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 17776 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qstyle.sip"
#include <qstyle.h>
#line 17779 "sipkiopart6.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 17782 "sipkiopart6.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 17785 "sipkiopart6.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 17816 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 17819 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 17822 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 17825 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 17828 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 17831 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 17834 "sipkiopart6.cpp"


class sipKDirSelectDialog : public KDirSelectDialog
{
public:
    sipKDirSelectDialog(const KUrl&,bool,QWidget *);
    virtual ~sipKDirSelectDialog();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a 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_closeEvent(bool,QCloseEvent *);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent *);
    void sipProtectVirt_slotButtonClicked(bool,int);
    void sipProtect_updateGeometry();
    void sipProtectVirt_accept(bool);
    void sipProtectVirt_hideEvent(bool,QHideEvent *);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void accept();
    void hideEvent(QHideEvent *);
    QSize sizeHint() const;
    QSize minimumSizeHint() const;
    void setCaption(const QString&);
    void setCaption(const QString&,bool);
    void setPlainCaption(const QString&);
    void closeEvent(QCloseEvent *);
    void keyPressEvent(QKeyEvent *);
    void slotButtonClicked(int);
    void setVisible(bool);
    void done(int);
    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:
    sipKDirSelectDialog(const sipKDirSelectDialog &);
    sipKDirSelectDialog &operator = (const sipKDirSelectDialog &);

    char sipPyMethods[54];
};

sipKDirSelectDialog::sipKDirSelectDialog(const KUrl& a0,bool a1,QWidget *a2): KDirSelectDialog(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKDirSelectDialog::~sipKDirSelectDialog()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKDirSelectDialog::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KDirSelectDialog);
}

int sipKDirSelectDialog::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KDirSelectDialog::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kio_qt_metacall(sipPySelf,sipType_KDirSelectDialog,_c,_id,_a);

    return _id;
}

void *sipKDirSelectDialog::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast && sip_kio_qt_metacast(sipPySelf,sipType_KDirSelectDialog,_clname)) ? this : KDirSelectDialog::qt_metacast(_clname);
}

void sipKDirSelectDialog::accept()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_accept);

    if (!meth)
    {
        KDirSelectDialog::accept();
        return;
    }

    ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

void sipKDirSelectDialog::hideEvent(QHideEvent *a0)
{
    typedef void (*sipVH_QtGui_0)(sip_gilstate_t,PyObject *,QHideEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_hideEvent);

    if (!meth)
    {
        KDirSelectDialog::hideEvent(a0);
        return;
    }

    ((sipVH_QtGui_0)(sipModuleAPI_kio_QtGui->em_virthandlers[0]))(sipGILState,meth,a0);
}

QSize sipKDirSelectDialog::sizeHint() const
{
    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName_sizeHint);

    if (!meth)
        return KDialog::sizeHint();

    return ((sipVH_QtGui_4)(sipModuleAPI_kio_QtGui->em_virthandlers[4]))(sipGILState,meth);
}

QSize sipKDirSelectDialog::minimumSizeHint() const
{
    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!meth)
        return KDialog::minimumSizeHint();

    return ((sipVH_QtGui_4)(sipModuleAPI_kio_QtGui->em_virthandlers[4]))(sipGILState,meth);
}

void sipKDirSelectDialog::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[4],sipPySelf,NULL,sipName_setCaption);

    if (!meth)
    {
        KDialog::setCaption(a0);
        return;
    }

    ((sipVH_QtCore_29)(sipModuleAPI_kio_QtCore->em_virthandlers[29]))(sipGILState,meth,a0);
}

void sipKDirSelectDialog::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[5],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 sipKDirSelectDialog::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[6],sipPySelf,NULL,sipName_setPlainCaption);

    if (!meth)
    {
        KDialog::setPlainCaption(a0);
        return;
    }

    ((sipVH_QtCore_29)(sipModuleAPI_kio_QtCore->em_virthandlers[29]))(sipGILState,meth,a0);
}

void sipKDirSelectDialog::closeEvent(QCloseEvent *a0)
{
    typedef void (*sipVH_QtGui_23)(sip_gilstate_t,PyObject *,QCloseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_closeEvent);

    if (!meth)
    {
        KDialog::closeEvent(a0);
        return;
    }

    ((sipVH_QtGui_23)(sipModuleAPI_kio_QtGui->em_virthandlers[23]))(sipGILState,meth,a0);
}

void sipKDirSelectDialog::keyPressEvent(QKeyEvent *a0)
{
    typedef void (*sipVH_QtGui_26)(sip_gilstate_t,PyObject *,QKeyEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_keyPressEvent);

    if (!meth)
    {
        KDialog::keyPressEvent(a0);
        return;
    }

    ((sipVH_QtGui_26)(sipModuleAPI_kio_QtGui->em_virthandlers[26]))(sipGILState,meth,a0);
}

void sipKDirSelectDialog::slotButtonClicked(int a0)
{
    typedef void (*sipVH_QtNetwork_1)(sip_gilstate_t,PyObject *,int);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_slotButtonClicked);

    if (!meth)
    {
        KDialog::slotButtonClicked(a0);
        return;
    }

    ((sipVH_QtNetwork_1)(sipModuleAPI_kio_QtNetwork->em_virthandlers[1]))(sipGILState,meth,a0);
}

void sipKDirSelectDialog::setVisible(bool a0)
{
    typedef void (*sipVH_QtGui_7)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_setVisible);

    if (!meth)
    {
        QDialog::setVisible(a0);
        return;
    }

    ((sipVH_QtGui_7)(sipModuleAPI_kio_QtGui->em_virthandlers[7]))(sipGILState,meth,a0);
}

void sipKDirSelectDialog::done(int a0)
{
    typedef void (*sipVH_QtGui_6)(sip_gilstate_t,PyObject *,int);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_done);

    if (!meth)
    {
        QDialog::done(a0);
        return;
    }

    ((sipVH_QtGui_6)(sipModuleAPI_kio_QtGui->em_virthandlers[6]))(sipGILState,meth,a0);
}

void sipKDirSelectDialog::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 sipKDirSelectDialog::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 sipKDirSelectDialog::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 sipKDirSelectDialog::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 sipKDirSelectDialog::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 sipKDirSelectDialog::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 sipKDirSelectDialog::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 * sipKDirSelectDialog::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 sipKDirSelectDialog::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 sipKDirSelectDialog::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 sipKDirSelectDialog::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 sipKDirSelectDialog::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 sipKDirSelectDialog::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 sipKDirSelectDialog::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 sipKDirSelectDialog::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 sipKDirSelectDialog::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 sipKDirSelectDialog::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 sipKDirSelectDialog::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 sipKDirSelectDialog::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 sipKDirSelectDialog::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 sipKDirSelectDialog::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 sipKDirSelectDialog::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 sipKDirSelectDialog::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 sipKDirSelectDialog::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 sipKDirSelectDialog::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 sipKDirSelectDialog::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 sipKDirSelectDialog::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 sipKDirSelectDialog::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 sipKDirSelectDialog::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 sipKDirSelectDialog::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 sipKDirSelectDialog::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 sipKDirSelectDialog::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 sipKDirSelectDialog::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 sipKDirSelectDialog::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 sipKDirSelectDialog::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 sipKDirSelectDialog::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 sipKDirSelectDialog::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 sipKDirSelectDialog::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 sipKDirSelectDialog::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 sipKDirSelectDialog::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 sipKDirSelectDialog::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 sipKDirSelectDialog::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 sipKDirSelectDialog::sipProtect_receivers(const char *a0) const
{
    return QObject::receivers(a0);
}

void sipKDirSelectDialog::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipKDirSelectDialog::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent *a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipKDirSelectDialog::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipKDirSelectDialog::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipKDirSelectDialog::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

bool sipKDirSelectDialog::sipProtectVirt_event(bool sipSelfWasArg,QEvent *a0)
{
    return (sipSelfWasArg ? QWidget::event(a0) : event(a0));
}

void sipKDirSelectDialog::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? QWidget::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipKDirSelectDialog::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? QWidget::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipKDirSelectDialog::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? QWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipKDirSelectDialog::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? QWidget::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipKDirSelectDialog::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent *a0)
{
    (sipSelfWasArg ? QWidget::wheelEvent(a0) : wheelEvent(a0));
}

void sipKDirSelectDialog::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent *a0)
{
    (sipSelfWasArg ? QWidget::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipKDirSelectDialog::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent *a0)
{
    (sipSelfWasArg ? QWidget::focusInEvent(a0) : focusInEvent(a0));
}

void sipKDirSelectDialog::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent *a0)
{
    (sipSelfWasArg ? QWidget::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipKDirSelectDialog::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipKDirSelectDialog::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipKDirSelectDialog::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent *a0)
{
    (sipSelfWasArg ? QWidget::paintEvent(a0) : paintEvent(a0));
}

void sipKDirSelectDialog::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent *a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipKDirSelectDialog::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent *a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipKDirSelectDialog::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent *a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipKDirSelectDialog::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent *a0)
{
    (sipSelfWasArg ? QWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipKDirSelectDialog::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent *a0)
{
    (sipSelfWasArg ? QWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipKDirSelectDialog::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent *a0)
{
    (sipSelfWasArg ? QWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipKDirSelectDialog::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent *a0)
{
    (sipSelfWasArg ? QWidget::dropEvent(a0) : dropEvent(a0));
}

void sipKDirSelectDialog::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QWidget::changeEvent(a0) : changeEvent(a0));
}

int sipKDirSelectDialog::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipKDirSelectDialog::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent *a0)
{
    (sipSelfWasArg ? QWidget::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipKDirSelectDialog::sipProtect_resetInputContext()
{
    QWidget::resetInputContext();
}

void sipKDirSelectDialog::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipKDirSelectDialog::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipKDirSelectDialog::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipKDirSelectDialog::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

bool sipKDirSelectDialog::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipKDirSelectDialog::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

void sipKDirSelectDialog::sipProtectVirt_enabledChange(bool sipSelfWasArg,bool a0)
{
    (sipSelfWasArg ? QWidget::enabledChange(a0) : enabledChange(a0));
}

void sipKDirSelectDialog::sipProtectVirt_paletteChange(bool sipSelfWasArg,const QPalette& a0)
{
    (sipSelfWasArg ? QWidget::paletteChange(a0) : paletteChange(a0));
}

void sipKDirSelectDialog::sipProtectVirt_fontChange(bool sipSelfWasArg,const QFont& a0)
{
    (sipSelfWasArg ? QWidget::fontChange(a0) : fontChange(a0));
}

void sipKDirSelectDialog::sipProtectVirt_windowActivationChange(bool sipSelfWasArg,bool a0)
{
    (sipSelfWasArg ? QWidget::windowActivationChange(a0) : windowActivationChange(a0));
}

void sipKDirSelectDialog::sipProtectVirt_languageChange(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QWidget::languageChange() : languageChange());
}

void sipKDirSelectDialog::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent *a0)
{
    (sipSelfWasArg ? QDialog::showEvent(a0) : showEvent(a0));
}

void sipKDirSelectDialog::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent *a0)
{
    (sipSelfWasArg ? QDialog::resizeEvent(a0) : resizeEvent(a0));
}

void sipKDirSelectDialog::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent *a0)
{
    (sipSelfWasArg ? QDialog::contextMenuEvent(a0) : contextMenuEvent(a0));
}

bool sipKDirSelectDialog::sipProtectVirt_eventFilter(bool sipSelfWasArg,QObject *a0,QEvent *a1)
{
    return (sipSelfWasArg ? QDialog::eventFilter(a0,a1) : eventFilter(a0,a1));
}

void sipKDirSelectDialog::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent *a0)
{
    (sipSelfWasArg ? KDialog::closeEvent(a0) : closeEvent(a0));
}

void sipKDirSelectDialog::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent *a0)
{
    (sipSelfWasArg ? KDialog::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipKDirSelectDialog::sipProtectVirt_slotButtonClicked(bool sipSelfWasArg,int a0)
{
    (sipSelfWasArg ? KDialog::slotButtonClicked(a0) : slotButtonClicked(a0));
}

void sipKDirSelectDialog::sipProtect_updateGeometry()
{
    KDialog::updateGeometry();
}

void sipKDirSelectDialog::sipProtectVirt_accept(bool sipSelfWasArg)
{
    (sipSelfWasArg ? KDirSelectDialog::accept() : accept());
}

void sipKDirSelectDialog::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent *a0)
{
    (sipSelfWasArg ? KDirSelectDialog::hideEvent(a0) : hideEvent(a0));
}


extern "C" {static PyObject *meth_KDirSelectDialog_receivers(PyObject *, PyObject *);}
static PyObject *meth_KDirSelectDialog_receivers(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        char * a0;
        sipKDirSelectDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KDirSelectDialog,&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 19220 "sipkiopart6.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirSelectDialog,sipName_receivers);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSelectDialog_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_KDirSelectDialog_timerEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipKDirSelectDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KDirSelectDialog,&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_KDirSelectDialog,sipName_timerEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSelectDialog_childEvent(PyObject *, PyObject *);}
static PyObject *meth_KDirSelectDialog_childEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipKDirSelectDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KDirSelectDialog,&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_KDirSelectDialog,sipName_childEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSelectDialog_customEvent(PyObject *, PyObject *);}
static PyObject *meth_KDirSelectDialog_customEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKDirSelectDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KDirSelectDialog,&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_KDirSelectDialog,sipName_customEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSelectDialog_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_KDirSelectDialog_connectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKDirSelectDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KDirSelectDialog,&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_KDirSelectDialog,sipName_connectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSelectDialog_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_KDirSelectDialog_disconnectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKDirSelectDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KDirSelectDialog,&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_KDirSelectDialog,sipName_disconnectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSelectDialog_event(PyObject *, PyObject *);}
static PyObject *meth_KDirSelectDialog_event(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKDirSelectDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KDirSelectDialog,&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_KDirSelectDialog,sipName_event);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSelectDialog_mousePressEvent(PyObject *, PyObject *);}
static PyObject *meth_KDirSelectDialog_mousePressEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent * a0;
        sipKDirSelectDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KDirSelectDialog,&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_KDirSelectDialog,sipName_mousePressEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSelectDialog_mouseReleaseEvent(PyObject *, PyObject *);}
static PyObject *meth_KDirSelectDialog_mouseReleaseEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent * a0;
        sipKDirSelectDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KDirSelectDialog,&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_KDirSelectDialog,sipName_mouseReleaseEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSelectDialog_mouseDoubleClickEvent(PyObject *, PyObject *);}
static PyObject *meth_KDirSelectDialog_mouseDoubleClickEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent * a0;
        sipKDirSelectDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KDirSelectDialog,&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_KDirSelectDialog,sipName_mouseDoubleClickEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSelectDialog_mouseMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_KDirSelectDialog_mouseMoveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent * a0;
        sipKDirSelectDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KDirSelectDialog,&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_KDirSelectDialog,sipName_mouseMoveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSelectDialog_wheelEvent(PyObject *, PyObject *);}
static PyObject *meth_KDirSelectDialog_wheelEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent * a0;
        sipKDirSelectDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KDirSelectDialog,&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_KDirSelectDialog,sipName_wheelEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSelectDialog_keyReleaseEvent(PyObject *, PyObject *);}
static PyObject *meth_KDirSelectDialog_keyReleaseEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent * a0;
        sipKDirSelectDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KDirSelectDialog,&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_KDirSelectDialog,sipName_keyReleaseEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSelectDialog_focusInEvent(PyObject *, PyObject *);}
static PyObject *meth_KDirSelectDialog_focusInEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent * a0;
        sipKDirSelectDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KDirSelectDialog,&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_KDirSelectDialog,sipName_focusInEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSelectDialog_focusOutEvent(PyObject *, PyObject *);}
static PyObject *meth_KDirSelectDialog_focusOutEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent * a0;
        sipKDirSelectDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KDirSelectDialog,&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_KDirSelectDialog,sipName_focusOutEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSelectDialog_enterEvent(PyObject *, PyObject *);}
static PyObject *meth_KDirSelectDialog_enterEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKDirSelectDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KDirSelectDialog,&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_KDirSelectDialog,sipName_enterEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSelectDialog_leaveEvent(PyObject *, PyObject *);}
static PyObject *meth_KDirSelectDialog_leaveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKDirSelectDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KDirSelectDialog,&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_KDirSelectDialog,sipName_leaveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSelectDialog_paintEvent(PyObject *, PyObject *);}
static PyObject *meth_KDirSelectDialog_paintEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent * a0;
        sipKDirSelectDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KDirSelectDialog,&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_KDirSelectDialog,sipName_paintEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSelectDialog_moveEvent(PyObject *, PyObject *);}
static PyObject *meth_KDirSelectDialog_moveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent * a0;
        sipKDirSelectDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KDirSelectDialog,&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_KDirSelectDialog,sipName_moveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSelectDialog_tabletEvent(PyObject *, PyObject *);}
static PyObject *meth_KDirSelectDialog_tabletEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent * a0;
        sipKDirSelectDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KDirSelectDialog,&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_KDirSelectDialog,sipName_tabletEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSelectDialog_actionEvent(PyObject *, PyObject *);}
static PyObject *meth_KDirSelectDialog_actionEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent * a0;
        sipKDirSelectDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KDirSelectDialog,&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_KDirSelectDialog,sipName_actionEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSelectDialog_dragEnterEvent(PyObject *, PyObject *);}
static PyObject *meth_KDirSelectDialog_dragEnterEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent * a0;
        sipKDirSelectDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KDirSelectDialog,&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_KDirSelectDialog,sipName_dragEnterEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSelectDialog_dragMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_KDirSelectDialog_dragMoveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent * a0;
        sipKDirSelectDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KDirSelectDialog,&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_KDirSelectDialog,sipName_dragMoveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSelectDialog_dragLeaveEvent(PyObject *, PyObject *);}
static PyObject *meth_KDirSelectDialog_dragLeaveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent * a0;
        sipKDirSelectDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KDirSelectDialog,&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_KDirSelectDialog,sipName_dragLeaveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSelectDialog_dropEvent(PyObject *, PyObject *);}
static PyObject *meth_KDirSelectDialog_dropEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent * a0;
        sipKDirSelectDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KDirSelectDialog,&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_KDirSelectDialog,sipName_dropEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSelectDialog_changeEvent(PyObject *, PyObject *);}
static PyObject *meth_KDirSelectDialog_changeEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKDirSelectDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KDirSelectDialog,&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_KDirSelectDialog,sipName_changeEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSelectDialog_metric(PyObject *, PyObject *);}
static PyObject *meth_KDirSelectDialog_metric(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        sipKDirSelectDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pE",&sipSelf,sipType_KDirSelectDialog,&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_KDirSelectDialog,sipName_metric);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSelectDialog_inputMethodEvent(PyObject *, PyObject *);}
static PyObject *meth_KDirSelectDialog_inputMethodEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent * a0;
        sipKDirSelectDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KDirSelectDialog,&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_KDirSelectDialog,sipName_inputMethodEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSelectDialog_resetInputContext(PyObject *, PyObject *);}
static PyObject *meth_KDirSelectDialog_resetInputContext(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKDirSelectDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KDirSelectDialog,&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_KDirSelectDialog,sipName_resetInputContext);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSelectDialog_updateMicroFocus(PyObject *, PyObject *);}
static PyObject *meth_KDirSelectDialog_updateMicroFocus(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKDirSelectDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KDirSelectDialog,&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_KDirSelectDialog,sipName_updateMicroFocus);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSelectDialog_create(PyObject *, PyObject *);}
static PyObject *meth_KDirSelectDialog_create(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        WId a0 = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipKDirSelectDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p|mbb",&sipSelf,sipType_KDirSelectDialog,&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_KDirSelectDialog,sipName_create);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSelectDialog_destroy(PyObject *, PyObject *);}
static PyObject *meth_KDirSelectDialog_destroy(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipKDirSelectDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p|bb",&sipSelf,sipType_KDirSelectDialog,&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_KDirSelectDialog,sipName_destroy);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSelectDialog_focusNextPrevChild(PyObject *, PyObject *);}
static PyObject *meth_KDirSelectDialog_focusNextPrevChild(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipKDirSelectDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_KDirSelectDialog,&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_KDirSelectDialog,sipName_focusNextPrevChild);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSelectDialog_focusNextChild(PyObject *, PyObject *);}
static PyObject *meth_KDirSelectDialog_focusNextChild(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKDirSelectDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KDirSelectDialog,&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_KDirSelectDialog,sipName_focusNextChild);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSelectDialog_focusPreviousChild(PyObject *, PyObject *);}
static PyObject *meth_KDirSelectDialog_focusPreviousChild(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKDirSelectDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KDirSelectDialog,&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_KDirSelectDialog,sipName_focusPreviousChild);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSelectDialog_enabledChange(PyObject *, PyObject *);}
static PyObject *meth_KDirSelectDialog_enabledChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipKDirSelectDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_KDirSelectDialog,&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_KDirSelectDialog,sipName_enabledChange);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSelectDialog_paletteChange(PyObject *, PyObject *);}
static PyObject *meth_KDirSelectDialog_paletteChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QPalette * a0;
        sipKDirSelectDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&sipSelf,sipType_KDirSelectDialog,&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_KDirSelectDialog,sipName_paletteChange);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSelectDialog_fontChange(PyObject *, PyObject *);}
static PyObject *meth_KDirSelectDialog_fontChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QFont * a0;
        sipKDirSelectDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&sipSelf,sipType_KDirSelectDialog,&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_KDirSelectDialog,sipName_fontChange);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSelectDialog_windowActivationChange(PyObject *, PyObject *);}
static PyObject *meth_KDirSelectDialog_windowActivationChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipKDirSelectDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_KDirSelectDialog,&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_KDirSelectDialog,sipName_windowActivationChange);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSelectDialog_languageChange(PyObject *, PyObject *);}
static PyObject *meth_KDirSelectDialog_languageChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipKDirSelectDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KDirSelectDialog,&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_KDirSelectDialog,sipName_languageChange);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSelectDialog_showEvent(PyObject *, PyObject *);}
static PyObject *meth_KDirSelectDialog_showEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent * a0;
        sipKDirSelectDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KDirSelectDialog,&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_KDirSelectDialog,sipName_showEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSelectDialog_resizeEvent(PyObject *, PyObject *);}
static PyObject *meth_KDirSelectDialog_resizeEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent * a0;
        sipKDirSelectDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KDirSelectDialog,&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_KDirSelectDialog,sipName_resizeEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSelectDialog_contextMenuEvent(PyObject *, PyObject *);}
static PyObject *meth_KDirSelectDialog_contextMenuEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent * a0;
        sipKDirSelectDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KDirSelectDialog,&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_KDirSelectDialog,sipName_contextMenuEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSelectDialog_eventFilter(PyObject *, PyObject *);}
static PyObject *meth_KDirSelectDialog_eventFilter(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QObject * a0;
        QEvent * a1;
        sipKDirSelectDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8J8",&sipSelf,sipType_KDirSelectDialog,&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_KDirSelectDialog,sipName_eventFilter);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSelectDialog_closeEvent(PyObject *, PyObject *);}
static PyObject *meth_KDirSelectDialog_closeEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent * a0;
        sipKDirSelectDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KDirSelectDialog,&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_KDirSelectDialog,sipName_closeEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSelectDialog_keyPressEvent(PyObject *, PyObject *);}
static PyObject *meth_KDirSelectDialog_keyPressEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent * a0;
        sipKDirSelectDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KDirSelectDialog,&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_KDirSelectDialog,sipName_keyPressEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSelectDialog_slotButtonClicked(PyObject *, PyObject *);}
static PyObject *meth_KDirSelectDialog_slotButtonClicked(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        sipKDirSelectDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pi",&sipSelf,sipType_KDirSelectDialog,&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_KDirSelectDialog,sipName_slotButtonClicked);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSelectDialog_updateGeometry(PyObject *, PyObject *);}
static PyObject *meth_KDirSelectDialog_updateGeometry(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKDirSelectDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KDirSelectDialog,&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_KDirSelectDialog,sipName_updateGeometry);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSelectDialog_url(PyObject *, PyObject *);}
static PyObject *meth_KDirSelectDialog_url(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KDirSelectDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KDirSelectDialog,&sipCpp))
        {
            KUrl *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl(sipCpp->url());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KUrl,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirSelectDialog,sipName_url);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSelectDialog_view(PyObject *, PyObject *);}
static PyObject *meth_KDirSelectDialog_view(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KDirSelectDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KDirSelectDialog,&sipCpp))
        {
            QAbstractItemView *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->view();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QAbstractItemView,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirSelectDialog,sipName_view);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSelectDialog_localOnly(PyObject *, PyObject *);}
static PyObject *meth_KDirSelectDialog_localOnly(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KDirSelectDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KDirSelectDialog,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->localOnly();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirSelectDialog,sipName_localOnly);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSelectDialog_selectDirectory(PyObject *, PyObject *);}
static PyObject *meth_KDirSelectDialog_selectDirectory(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KUrl& a0def = KUrl();
        const KUrl * a0 = &a0def;
        bool a1 = 0;
        QWidget * a2 = 0;
        const QString& a3def = QString();
        const QString * a3 = &a3def;
        int a3State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"|J9bJ:J1",sipType_KUrl,&a0,&a1,sipType_QWidget,&a2,sipType_QString,&a3,&a3State))
        {
            KUrl *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl(KDirSelectDialog::selectDirectory(*a0,a1,a2,*a3));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);

            return sipConvertFromNewType(sipRes,sipType_KUrl,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirSelectDialog,sipName_selectDirectory);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSelectDialog_startDir(PyObject *, PyObject *);}
static PyObject *meth_KDirSelectDialog_startDir(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KDirSelectDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KDirSelectDialog,&sipCpp))
        {
            KUrl *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl(sipCpp->startDir());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KUrl,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirSelectDialog,sipName_startDir);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSelectDialog_setCurrentUrl(PyObject *, PyObject *);}
static PyObject *meth_KDirSelectDialog_setCurrentUrl(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KUrl * a0;
        KDirSelectDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_KDirSelectDialog,&sipCpp,sipType_KUrl,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCurrentUrl(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirSelectDialog,sipName_setCurrentUrl);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSelectDialog_accept(PyObject *, PyObject *);}
static PyObject *meth_KDirSelectDialog_accept(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipKDirSelectDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KDirSelectDialog,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_accept(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_KDirSelectDialog,sipName_accept);

    return NULL;
}


extern "C" {static PyObject *meth_KDirSelectDialog_hideEvent(PyObject *, PyObject *);}
static PyObject *meth_KDirSelectDialog_hideEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent * a0;
        sipKDirSelectDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KDirSelectDialog,&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_KDirSelectDialog,sipName_hideEvent);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KDirSelectDialog(void *, const sipTypeDef *);}
static void *cast_KDirSelectDialog(void *ptr,const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KDirSelectDialog)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KDialog)->ctd_cast((KDialog *)(KDirSelectDialog *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KDirSelectDialog(void *, int);}
static void release_KDirSelectDialog(void *sipCppV,int state)
{
    Py_BEGIN_ALLOW_THREADS

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKDirSelectDialog *>(sipCppV);
    else
        delete reinterpret_cast<KDirSelectDialog *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KDirSelectDialog(sipSimpleWrapper *);}
static void dealloc_KDirSelectDialog(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKDirSelectDialog *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KDirSelectDialog(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_KDirSelectDialog(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KDirSelectDialog(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **sipOwner, int *sipArgsParsed)
{
    sipKDirSelectDialog *sipCpp = 0;

    if (!sipCpp)
    {
        const KUrl& a0def = KUrl();
        const KUrl * a0 = &a0def;
        bool a1 = 0;
        QWidget * a2 = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"|J9bJH",sipType_KUrl,&a0,&a1,sipType_QWidget,&a2,sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKDirSelectDialog(*a0,a1,a2);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KDirSelectDialog[] = {{72, 6, 1}};


static PyMethodDef methods_KDirSelectDialog[] = {
    {SIP_MLNAME_CAST(sipName_accept), meth_KDirSelectDialog_accept, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_actionEvent), meth_KDirSelectDialog_actionEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_changeEvent), meth_KDirSelectDialog_changeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_KDirSelectDialog_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), meth_KDirSelectDialog_closeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KDirSelectDialog_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), meth_KDirSelectDialog_contextMenuEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_create), meth_KDirSelectDialog_create, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KDirSelectDialog_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), meth_KDirSelectDialog_destroy, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KDirSelectDialog_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), meth_KDirSelectDialog_dragEnterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), meth_KDirSelectDialog_dragLeaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), meth_KDirSelectDialog_dragMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), meth_KDirSelectDialog_dropEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enabledChange), meth_KDirSelectDialog_enabledChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), meth_KDirSelectDialog_enterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_event), meth_KDirSelectDialog_event, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_eventFilter), meth_KDirSelectDialog_eventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), meth_KDirSelectDialog_focusInEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), meth_KDirSelectDialog_focusNextChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), meth_KDirSelectDialog_focusNextPrevChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), meth_KDirSelectDialog_focusOutEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), meth_KDirSelectDialog_focusPreviousChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fontChange), meth_KDirSelectDialog_fontChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), meth_KDirSelectDialog_hideEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), meth_KDirSelectDialog_inputMethodEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), meth_KDirSelectDialog_keyPressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), meth_KDirSelectDialog_keyReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_languageChange), meth_KDirSelectDialog_languageChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), meth_KDirSelectDialog_leaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_localOnly), meth_KDirSelectDialog_localOnly, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_metric), meth_KDirSelectDialog_metric, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), meth_KDirSelectDialog_mouseDoubleClickEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), meth_KDirSelectDialog_mouseMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), meth_KDirSelectDialog_mousePressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), meth_KDirSelectDialog_mouseReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), meth_KDirSelectDialog_moveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), meth_KDirSelectDialog_paintEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paletteChange), meth_KDirSelectDialog_paletteChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_KDirSelectDialog_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resetInputContext), meth_KDirSelectDialog_resetInputContext, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_KDirSelectDialog_resizeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_selectDirectory), meth_KDirSelectDialog_selectDirectory, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCurrentUrl), meth_KDirSelectDialog_setCurrentUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), meth_KDirSelectDialog_showEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotButtonClicked), meth_KDirSelectDialog_slotButtonClicked, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_startDir), meth_KDirSelectDialog_startDir, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_tabletEvent), meth_KDirSelectDialog_tabletEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KDirSelectDialog_timerEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateGeometry), meth_KDirSelectDialog_updateGeometry, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), meth_KDirSelectDialog_updateMicroFocus, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_url), meth_KDirSelectDialog_url, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_view), meth_KDirSelectDialog_view, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), meth_KDirSelectDialog_wheelEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_windowActivationChange), meth_KDirSelectDialog_windowActivationChange, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_kio_KDirSelectDialog = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KDirSelectDialog,
        {0}
    },
    sipNameNr_KDirSelectDialog,
    -1,
    -1,
    {0, 0, 1},
    supers_KDirSelectDialog,
    0,
    56, methods_KDirSelectDialog,
    0, 0,
    0, 0,
    init_KDirSelectDialog,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KDirSelectDialog,
    release_KDirSelectDialog,
    cast_KDirSelectDialog,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KDirSelectDialog::staticMetaObject,
    0,
    0
};

#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kdiroperator.sip"
#include <kdiroperator.h>
#line 20953 "sipkiopart6.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 20957 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 20960 "sipkiopart6.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 20963 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qmenu.sip"
#include <qmenu.h>
#line 20966 "sipkiopart6.cpp"
#line 508 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 20969 "sipkiopart6.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 20972 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 20975 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 20978 "sipkiopart6.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 20981 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 20984 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 20987 "sipkiopart6.cpp"
#line 374 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 20990 "sipkiopart6.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 20993 "sipkiopart6.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kfile.sip"
#include <kfile.h>
#line 20996 "sipkiopart6.cpp"
#line 836 "/usr/local/share/py-sip/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 20999 "sipkiopart6.cpp"
#line 24 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kfilepreviewgenerator.sip"
#include <kfilepreviewgenerator.h>
#line 21002 "sipkiopart6.cpp"
#line 50 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/copyjob.sip"
#include <copyjob.h>
#line 21005 "sipkiopart6.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 21008 "sipkiopart6.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/deletejob.sip"
#include <deletejob.h>
#line 21011 "sipkiopart6.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 21014 "sipkiopart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kactioncollection.sip"
#include <kactioncollection.h>
#line 21017 "sipkiopart6.cpp"
#line 31 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kcompletion.sip"
#include <kcompletion.h>
#line 21020 "sipkiopart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kpreviewwidgetbase.sip"
#include <kpreviewwidgetbase.h>
#line 21023 "sipkiopart6.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kfile.sip"
#include <kfile.h>
#line 21026 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qprogressbar.sip"
#include <qprogressbar.h>
#line 21029 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qdir.sip"
#include <qdir.h>
#line 21032 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 21035 "sipkiopart6.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 21038 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 21041 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 21044 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qregion.sip"
#include <qregion.h>
#line 21047 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 21050 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 21053 "sipkiopart6.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 21056 "sipkiopart6.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 21059 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 21062 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 21065 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 21068 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 21071 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qfont.sip"
#include <qfont.h>
#line 21074 "sipkiopart6.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 21077 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 21080 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 21083 "sipkiopart6.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 21088 "sipkiopart6.cpp"
#line 424 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 21091 "sipkiopart6.cpp"
#line 412 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 21094 "sipkiopart6.cpp"
#line 562 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 21097 "sipkiopart6.cpp"
#line 533 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 21100 "sipkiopart6.cpp"
#line 550 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 21103 "sipkiopart6.cpp"
#line 618 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 21106 "sipkiopart6.cpp"
#line 247 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 21109 "sipkiopart6.cpp"
#line 436 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 21112 "sipkiopart6.cpp"
#line 388 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 21115 "sipkiopart6.cpp"
#line 360 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 21118 "sipkiopart6.cpp"
#line 345 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 21121 "sipkiopart6.cpp"
#line 325 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 21124 "sipkiopart6.cpp"
#line 296 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 21127 "sipkiopart6.cpp"
#line 225 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 21130 "sipkiopart6.cpp"
#line 184 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 21133 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 21136 "sipkiopart6.cpp"
#line 74 "/usr/local/share/py-sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 21139 "sipkiopart6.cpp"
#line 47 "/usr/local/share/py-sip/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 21142 "sipkiopart6.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 21203 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qaction.sip"
#include <qaction.h>
#line 21206 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 21209 "sipkiopart6.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 21212 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qabstractbutton.sip"
#include <qabstractbutton.h>
#line 21215 "sipkiopart6.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 21220 "sipkiopart6.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 21223 "sipkiopart6.cpp"
#line 99 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 21226 "sipkiopart6.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 21229 "sipkiopart6.cpp"
#line 165 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 21232 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qlistwidget.sip"
#include <qlistwidget.h>
#line 21235 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qdockwidget.sip"
#include <qdockwidget.h>
#line 21238 "sipkiopart6.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qmdisubwindow.sip"
#include <qmdisubwindow.h>
#line 21241 "sipkiopart6.cpp"
#line 334 "/usr/local/share/py-sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 21244 "sipkiopart6.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 21249 "sipkiopart6.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qprinterinfo.sip"
#include <qprinterinfo.h>
#line 21252 "sipkiopart6.cpp"
#line 202 "/usr/local/share/py-sip/QtGui/qstandarditemmodel.sip"
#include <qstandarditemmodel.h>
#line 21255 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 21258 "sipkiopart6.cpp"
#line 66 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 21261 "sipkiopart6.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 21266 "sipkiopart6.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 21271 "sipkiopart6.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 21276 "sipkiopart6.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 21281 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtreewidget.sip"
#include <qtreewidget.h>
#line 21284 "sipkiopart6.cpp"
#line 75 "/usr/local/share/py-sip/QtGui/qundostack.sip"
#include <qundostack.h>
#line 21287 "sipkiopart6.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qwizard.sip"
#include <qwizard.h>
#line 21290 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qprinter.sip"
#include <qprinter.h>
#line 21293 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontdatabase.sip"
#include <qfontdatabase.h>
#line 21296 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qlayout.sip"
#include <qlayout.h>
#line 21299 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 21302 "sipkiopart6.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 21305 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 21308 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qicon.sip"
#include <qicon.h>
#line 21311 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 21314 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qstyle.sip"
#include <qstyle.h>
#line 21317 "sipkiopart6.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 21320 "sipkiopart6.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 21323 "sipkiopart6.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 21354 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 21357 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 21360 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 21363 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 21366 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 21369 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 21372 "sipkiopart6.cpp"


class sipKDirOperator : public KDirOperator
{
public:
    sipKDirOperator(const KUrl&,QWidget *);
    virtual ~sipKDirOperator();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a 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_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_paintEvent(bool,QPaintEvent *);
    void sipProtectVirt_moveEvent(bool,QMoveEvent *);
    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);
    void sipProtect_setupMenu();
    QAbstractItemView * sipProtectVirt_createView(bool,QWidget *,KFile::FileView);
    void sipProtectVirt_setDirLister(bool,KDirLister *);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent *);
    void sipProtect_setupActions();
    void sipProtect_updateSortActions();
    void sipProtect_updateViewActions();
    void sipProtect_prepareCompletionObjects();
    bool sipProtect_checkPreviewSupport();
    void sipProtectVirt_activatedMenu(bool,const KFileItem&,const QPoint&);
    void sipProtectVirt_changeEvent(bool,QEvent *);
    bool sipProtectVirt_eventFilter(bool,QObject *,QEvent *);
    void sipProtect_resetCursor();
    void sipProtect_pathChanged();
    void sipProtectVirt_selectDir(bool,const KFileItem&);
    void sipProtect_selectFile(const KFileItem&);
    void sipProtect_highlightFile(const KFileItem&);
    void sipProtect_sortByName();
    void sipProtect_sortBySize();
    void sipProtect_sortByDate();
    void sipProtect_sortByType();
    void sipProtect_sortReversed();
    void sipProtect_toggleDirsFirst();
    void sipProtect_toggleIgnoreCase();
    void sipProtect_slotCompletionMatch(const QString&);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void setShowHiddenFiles(bool);
    void setUrl(const KUrl&,bool);
    void setView(QAbstractItemView *);
    void setView(KFile::FileView);
    void setMode(KFile::Modes);
    void setPreviewWidget(KPreviewWidgetBase *);
    void setViewConfig(KConfigGroup&);
    void readConfig(const KConfigGroup&);
    void writeConfig(KConfigGroup&);
    bool mkdir(const QString&,bool);
    KIO::DeleteJob * del(const KFileItemList&,QWidget *,bool,bool);
    void setEnableDirHighlighting(bool);
    void setAcceptDrops(bool);
    void setDropOptions(int);
    KIO::CopyJob * trash(const KFileItemList&,QWidget *,bool,bool);
    QAbstractItemView * createView(QWidget *,KFile::FileView);
    void setDirLister(KDirLister *);
    void resizeEvent(QResizeEvent *);
    void activatedMenu(const KFileItem&,const QPoint&);
    void changeEvent(QEvent *);
    bool eventFilter(QObject *,QEvent *);
    void back();
    void forward();
    void home();
    void cdUp();
    void rereadDir();
    void mkdir();
    void deleteSelected();
    void trashSelected();
    void selectDir(const KFileItem&);
    int devType() const;
    void setVisible(bool);
    QSize sizeHint() const;
    QSize minimumSizeHint() 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 keyPressEvent(QKeyEvent *);
    void keyReleaseEvent(QKeyEvent *);
    void focusInEvent(QFocusEvent *);
    void focusOutEvent(QFocusEvent *);
    void enterEvent(QEvent *);
    void leaveEvent(QEvent *);
    void paintEvent(QPaintEvent *);
    void moveEvent(QMoveEvent *);
    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();
    void timerEvent(QTimerEvent *);
    void childEvent(QChildEvent *);
    void customEvent(QEvent *);
    void connectNotify(const char *);
    void disconnectNotify(const char *);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKDirOperator(const sipKDirOperator &);
    sipKDirOperator &operator = (const sipKDirOperator &);

    char sipPyMethods[74];
};

sipKDirOperator::sipKDirOperator(const KUrl& a0,QWidget *a1): KDirOperator(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKDirOperator::~sipKDirOperator()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKDirOperator::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KDirOperator);
}

int sipKDirOperator::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KDirOperator::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kio_qt_metacall(sipPySelf,sipType_KDirOperator,_c,_id,_a);

    return _id;
}

void *sipKDirOperator::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast && sip_kio_qt_metacast(sipPySelf,sipType_KDirOperator,_clname)) ? this : KDirOperator::qt_metacast(_clname);
}

void sipKDirOperator::setShowHiddenFiles(bool a0)
{
    typedef void (*sipVH_QtNetwork_2)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_setShowHiddenFiles);

    if (!meth)
    {
        KDirOperator::setShowHiddenFiles(a0);
        return;
    }

    ((sipVH_QtNetwork_2)(sipModuleAPI_kio_QtNetwork->em_virthandlers[2]))(sipGILState,meth,a0);
}

void sipKDirOperator::setUrl(const KUrl& a0,bool a1)
{
    extern void sipVH_kio_5(sip_gilstate_t,PyObject *,const KUrl&,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_setUrl);

    if (!meth)
    {
        KDirOperator::setUrl(a0,a1);
        return;
    }

    sipVH_kio_5(sipGILState,meth,a0,a1);
}

void sipKDirOperator::setView(QAbstractItemView *a0)
{
    extern void sipVH_kio_78(sip_gilstate_t,PyObject *,QAbstractItemView *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_setView);

    if (!meth)
    {
        KDirOperator::setView(a0);
        return;
    }

    sipVH_kio_78(sipGILState,meth,a0);
}

void sipKDirOperator::setView(KFile::FileView a0)
{
    extern void sipVH_kio_77(sip_gilstate_t,PyObject *,KFile::FileView);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_setView);

    if (!meth)
    {
        KDirOperator::setView(a0);
        return;
    }

    sipVH_kio_77(sipGILState,meth,a0);
}

void sipKDirOperator::setMode(KFile::Modes a0)
{
    extern void sipVH_kio_52(sip_gilstate_t,PyObject *,KFile::Modes);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_setMode);

    if (!meth)
    {
        KDirOperator::setMode(a0);
        return;
    }

    sipVH_kio_52(sipGILState,meth,a0);
}

void sipKDirOperator::setPreviewWidget(KPreviewWidgetBase *a0)
{
    extern void sipVH_kio_53(sip_gilstate_t,PyObject *,KPreviewWidgetBase *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_setPreviewWidget);

    if (!meth)
    {
        KDirOperator::setPreviewWidget(a0);
        return;
    }

    sipVH_kio_53(sipGILState,meth,a0);
}

void sipKDirOperator::setViewConfig(KConfigGroup& a0)
{
    typedef void (*sipVH_kdeui_33)(sip_gilstate_t,PyObject *,KConfigGroup&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_setViewConfig);

    if (!meth)
    {
        KDirOperator::setViewConfig(a0);
        return;
    }

    ((sipVH_kdeui_33)(sipModuleAPI_kio_kdeui->em_virthandlers[33]))(sipGILState,meth,a0);
}

void sipKDirOperator::readConfig(const KConfigGroup& a0)
{
    typedef void (*sipVH_kdeui_32)(sip_gilstate_t,PyObject *,const KConfigGroup&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_readConfig);

    if (!meth)
    {
        KDirOperator::readConfig(a0);
        return;
    }

    ((sipVH_kdeui_32)(sipModuleAPI_kio_kdeui->em_virthandlers[32]))(sipGILState,meth,a0);
}

void sipKDirOperator::writeConfig(KConfigGroup& a0)
{
    typedef void (*sipVH_kdeui_33)(sip_gilstate_t,PyObject *,KConfigGroup&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_writeConfig);

    if (!meth)
    {
        KDirOperator::writeConfig(a0);
        return;
    }

    ((sipVH_kdeui_33)(sipModuleAPI_kio_kdeui->em_virthandlers[33]))(sipGILState,meth,a0);
}

bool sipKDirOperator::mkdir(const QString& a0,bool a1)
{
    typedef bool (*sipVH_QtCore_37)(sip_gilstate_t,PyObject *,const QString&,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_mkdir);

    if (!meth)
        return KDirOperator::mkdir(a0,a1);

    return ((sipVH_QtCore_37)(sipModuleAPI_kio_QtCore->em_virthandlers[37]))(sipGILState,meth,a0,a1);
}

KIO::DeleteJob * sipKDirOperator::del(const KFileItemList& a0,QWidget *a1,bool a2,bool a3)
{
    extern KIO::DeleteJob * sipVH_kio_76(sip_gilstate_t,PyObject *,const KFileItemList&,QWidget *,bool,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_del_);

    if (!meth)
        return KDirOperator::del(a0,a1,a2,a3);

    return sipVH_kio_76(sipGILState,meth,a0,a1,a2,a3);
}

void sipKDirOperator::setEnableDirHighlighting(bool a0)
{
    typedef void (*sipVH_QtNetwork_2)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_setEnableDirHighlighting);

    if (!meth)
    {
        KDirOperator::setEnableDirHighlighting(a0);
        return;
    }

    ((sipVH_QtNetwork_2)(sipModuleAPI_kio_QtNetwork->em_virthandlers[2]))(sipGILState,meth,a0);
}

void sipKDirOperator::setAcceptDrops(bool a0)
{
    typedef void (*sipVH_QtNetwork_2)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_setAcceptDrops);

    if (!meth)
    {
        KDirOperator::setAcceptDrops(a0);
        return;
    }

    ((sipVH_QtNetwork_2)(sipModuleAPI_kio_QtNetwork->em_virthandlers[2]))(sipGILState,meth,a0);
}

void sipKDirOperator::setDropOptions(int a0)
{
    typedef void (*sipVH_QtNetwork_1)(sip_gilstate_t,PyObject *,int);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_setDropOptions);

    if (!meth)
    {
        KDirOperator::setDropOptions(a0);
        return;
    }

    ((sipVH_QtNetwork_1)(sipModuleAPI_kio_QtNetwork->em_virthandlers[1]))(sipGILState,meth,a0);
}

KIO::CopyJob * sipKDirOperator::trash(const KFileItemList& a0,QWidget *a1,bool a2,bool a3)
{
    extern KIO::CopyJob * sipVH_kio_75(sip_gilstate_t,PyObject *,const KFileItemList&,QWidget *,bool,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_trash);

    if (!meth)
        return KDirOperator::trash(a0,a1,a2,a3);

    return sipVH_kio_75(sipGILState,meth,a0,a1,a2,a3);
}

QAbstractItemView * sipKDirOperator::createView(QWidget *a0,KFile::FileView a1)
{
    extern QAbstractItemView * sipVH_kio_74(sip_gilstate_t,PyObject *,QWidget *,KFile::FileView);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_createView);

    if (!meth)
        return KDirOperator::createView(a0,a1);

    return sipVH_kio_74(sipGILState,meth,a0,a1);
}

void sipKDirOperator::setDirLister(KDirLister *a0)
{
    extern void sipVH_kio_73(sip_gilstate_t,PyObject *,KDirLister *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_setDirLister);

    if (!meth)
    {
        KDirOperator::setDirLister(a0);
        return;
    }

    sipVH_kio_73(sipGILState,meth,a0);
}

void sipKDirOperator::resizeEvent(QResizeEvent *a0)
{
    typedef void (*sipVH_QtGui_2)(sip_gilstate_t,PyObject *,QResizeEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_resizeEvent);

    if (!meth)
    {
        KDirOperator::resizeEvent(a0);
        return;
    }

    ((sipVH_QtGui_2)(sipModuleAPI_kio_QtGui->em_virthandlers[2]))(sipGILState,meth,a0);
}

void sipKDirOperator::activatedMenu(const KFileItem& a0,const QPoint& a1)
{
    extern void sipVH_kio_72(sip_gilstate_t,PyObject *,const KFileItem&,const QPoint&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_activatedMenu);

    if (!meth)
    {
        KDirOperator::activatedMenu(a0,a1);
        return;
    }

    sipVH_kio_72(sipGILState,meth,a0,a1);
}

void sipKDirOperator::changeEvent(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_changeEvent);

    if (!meth)
    {
        KDirOperator::changeEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_kio_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

bool sipKDirOperator::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[20],sipPySelf,NULL,sipName_eventFilter);

    if (!meth)
        return KDirOperator::eventFilter(a0,a1);

    return ((sipVH_QtCore_21)(sipModuleAPI_kio_QtCore->em_virthandlers[21]))(sipGILState,meth,a0,a1);
}

void sipKDirOperator::back()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_back);

    if (!meth)
    {
        KDirOperator::back();
        return;
    }

    ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

void sipKDirOperator::forward()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_forward);

    if (!meth)
    {
        KDirOperator::forward();
        return;
    }

    ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

void sipKDirOperator::home()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_home);

    if (!meth)
    {
        KDirOperator::home();
        return;
    }

    ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

void sipKDirOperator::cdUp()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_cdUp);

    if (!meth)
    {
        KDirOperator::cdUp();
        return;
    }

    ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

void sipKDirOperator::rereadDir()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_rereadDir);

    if (!meth)
    {
        KDirOperator::rereadDir();
        return;
    }

    ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

void sipKDirOperator::mkdir()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_mkdir);

    if (!meth)
    {
        KDirOperator::mkdir();
        return;
    }

    ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

void sipKDirOperator::deleteSelected()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_deleteSelected);

    if (!meth)
    {
        KDirOperator::deleteSelected();
        return;
    }

    ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

void sipKDirOperator::trashSelected()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_trashSelected);

    if (!meth)
    {
        KDirOperator::trashSelected();
        return;
    }

    ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

void sipKDirOperator::selectDir(const KFileItem& a0)
{
    extern void sipVH_kio_71(sip_gilstate_t,PyObject *,const KFileItem&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_selectDir);

    if (!meth)
    {
        KDirOperator::selectDir(a0);
        return;
    }

    sipVH_kio_71(sipGILState,meth,a0);
}

int sipKDirOperator::devType() const
{
    typedef int (*sipVH_QtCore_8)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[30]),sipPySelf,NULL,sipName_devType);

    if (!meth)
        return QWidget::devType();

    return ((sipVH_QtCore_8)(sipModuleAPI_kio_QtCore->em_virthandlers[8]))(sipGILState,meth);
}

void sipKDirOperator::setVisible(bool a0)
{
    typedef void (*sipVH_QtGui_7)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_setVisible);

    if (!meth)
    {
        QWidget::setVisible(a0);
        return;
    }

    ((sipVH_QtGui_7)(sipModuleAPI_kio_QtGui->em_virthandlers[7]))(sipGILState,meth,a0);
}

QSize sipKDirOperator::sizeHint() const
{
    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[32]),sipPySelf,NULL,sipName_sizeHint);

    if (!meth)
        return QWidget::sizeHint();

    return ((sipVH_QtGui_4)(sipModuleAPI_kio_QtGui->em_virthandlers[4]))(sipGILState,meth);
}

QSize sipKDirOperator::minimumSizeHint() const
{
    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[33]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!meth)
        return QWidget::minimumSizeHint();

    return ((sipVH_QtGui_4)(sipModuleAPI_kio_QtGui->em_virthandlers[4]))(sipGILState,meth);
}

int sipKDirOperator::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[34]),sipPySelf,NULL,sipName_heightForWidth);

    if (!meth)
        return QWidget::heightForWidth(a0);

    return ((sipVH_QtGui_29)(sipModuleAPI_kio_QtGui->em_virthandlers[29]))(sipGILState,meth,a0);
}

QPaintEngine * sipKDirOperator::paintEngine() const
{
    typedef QPaintEngine * (*sipVH_QtGui_28)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[35]),sipPySelf,NULL,sipName_paintEngine);

    if (!meth)
        return QWidget::paintEngine();

    return ((sipVH_QtGui_28)(sipModuleAPI_kio_QtGui->em_virthandlers[28]))(sipGILState,meth);
}

bool sipKDirOperator::event(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_event);

    if (!meth)
        return QWidget::event(a0);

    return ((sipVH_QtCore_13)(sipModuleAPI_kio_QtCore->em_virthandlers[13]))(sipGILState,meth,a0);
}

void sipKDirOperator::mousePressEvent(QMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_27)(sip_gilstate_t,PyObject *,QMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_mousePressEvent);

    if (!meth)
    {
        QWidget::mousePressEvent(a0);
        return;
    }

    ((sipVH_QtGui_27)(sipModuleAPI_kio_QtGui->em_virthandlers[27]))(sipGILState,meth,a0);
}

void sipKDirOperator::mouseReleaseEvent(QMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_27)(sip_gilstate_t,PyObject *,QMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!meth)
    {
        QWidget::mouseReleaseEvent(a0);
        return;
    }

    ((sipVH_QtGui_27)(sipModuleAPI_kio_QtGui->em_virthandlers[27]))(sipGILState,meth,a0);
}

void sipKDirOperator::mouseDoubleClickEvent(QMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_27)(sip_gilstate_t,PyObject *,QMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!meth)
    {
        QWidget::mouseDoubleClickEvent(a0);
        return;
    }

    ((sipVH_QtGui_27)(sipModuleAPI_kio_QtGui->em_virthandlers[27]))(sipGILState,meth,a0);
}

void sipKDirOperator::mouseMoveEvent(QMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_27)(sip_gilstate_t,PyObject *,QMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!meth)
    {
        QWidget::mouseMoveEvent(a0);
        return;
    }

    ((sipVH_QtGui_27)(sipModuleAPI_kio_QtGui->em_virthandlers[27]))(sipGILState,meth,a0);
}

void sipKDirOperator::wheelEvent(QWheelEvent *a0)
{
    typedef void (*sipVH_QtGui_5)(sip_gilstate_t,PyObject *,QWheelEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_wheelEvent);

    if (!meth)
    {
        QWidget::wheelEvent(a0);
        return;
    }

    ((sipVH_QtGui_5)(sipModuleAPI_kio_QtGui->em_virthandlers[5]))(sipGILState,meth,a0);
}

void sipKDirOperator::keyPressEvent(QKeyEvent *a0)
{
    typedef void (*sipVH_QtGui_26)(sip_gilstate_t,PyObject *,QKeyEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_keyPressEvent);

    if (!meth)
    {
        QWidget::keyPressEvent(a0);
        return;
    }

    ((sipVH_QtGui_26)(sipModuleAPI_kio_QtGui->em_virthandlers[26]))(sipGILState,meth,a0);
}

void sipKDirOperator::keyReleaseEvent(QKeyEvent *a0)
{
    typedef void (*sipVH_QtGui_26)(sip_gilstate_t,PyObject *,QKeyEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!meth)
    {
        QWidget::keyReleaseEvent(a0);
        return;
    }

    ((sipVH_QtGui_26)(sipModuleAPI_kio_QtGui->em_virthandlers[26]))(sipGILState,meth,a0);
}

void sipKDirOperator::focusInEvent(QFocusEvent *a0)
{
    typedef void (*sipVH_QtGui_25)(sip_gilstate_t,PyObject *,QFocusEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_focusInEvent);

    if (!meth)
    {
        QWidget::focusInEvent(a0);
        return;
    }

    ((sipVH_QtGui_25)(sipModuleAPI_kio_QtGui->em_virthandlers[25]))(sipGILState,meth,a0);
}

void sipKDirOperator::focusOutEvent(QFocusEvent *a0)
{
    typedef void (*sipVH_QtGui_25)(sip_gilstate_t,PyObject *,QFocusEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_focusOutEvent);

    if (!meth)
    {
        QWidget::focusOutEvent(a0);
        return;
    }

    ((sipVH_QtGui_25)(sipModuleAPI_kio_QtGui->em_virthandlers[25]))(sipGILState,meth,a0);
}

void sipKDirOperator::enterEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_enterEvent);

    if (!meth)
    {
        QWidget::enterEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_kio_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipKDirOperator::leaveEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_leaveEvent);

    if (!meth)
    {
        QWidget::leaveEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_kio_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipKDirOperator::paintEvent(QPaintEvent *a0)
{
    typedef void (*sipVH_QtGui_3)(sip_gilstate_t,PyObject *,QPaintEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_paintEvent);

    if (!meth)
    {
        QWidget::paintEvent(a0);
        return;
    }

    ((sipVH_QtGui_3)(sipModuleAPI_kio_QtGui->em_virthandlers[3]))(sipGILState,meth,a0);
}

void sipKDirOperator::moveEvent(QMoveEvent *a0)
{
    typedef void (*sipVH_QtGui_24)(sip_gilstate_t,PyObject *,QMoveEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_moveEvent);

    if (!meth)
    {
        QWidget::moveEvent(a0);
        return;
    }

    ((sipVH_QtGui_24)(sipModuleAPI_kio_QtGui->em_virthandlers[24]))(sipGILState,meth,a0);
}

void sipKDirOperator::closeEvent(QCloseEvent *a0)
{
    typedef void (*sipVH_QtGui_23)(sip_gilstate_t,PyObject *,QCloseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_closeEvent);

    if (!meth)
    {
        QWidget::closeEvent(a0);
        return;
    }

    ((sipVH_QtGui_23)(sipModuleAPI_kio_QtGui->em_virthandlers[23]))(sipGILState,meth,a0);
}

void sipKDirOperator::contextMenuEvent(QContextMenuEvent *a0)
{
    typedef void (*sipVH_QtGui_22)(sip_gilstate_t,PyObject *,QContextMenuEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!meth)
    {
        QWidget::contextMenuEvent(a0);
        return;
    }

    ((sipVH_QtGui_22)(sipModuleAPI_kio_QtGui->em_virthandlers[22]))(sipGILState,meth,a0);
}

void sipKDirOperator::tabletEvent(QTabletEvent *a0)
{
    typedef void (*sipVH_QtGui_21)(sip_gilstate_t,PyObject *,QTabletEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_tabletEvent);

    if (!meth)
    {
        QWidget::tabletEvent(a0);
        return;
    }

    ((sipVH_QtGui_21)(sipModuleAPI_kio_QtGui->em_virthandlers[21]))(sipGILState,meth,a0);
}

void sipKDirOperator::actionEvent(QActionEvent *a0)
{
    typedef void (*sipVH_QtGui_20)(sip_gilstate_t,PyObject *,QActionEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_actionEvent);

    if (!meth)
    {
        QWidget::actionEvent(a0);
        return;
    }

    ((sipVH_QtGui_20)(sipModuleAPI_kio_QtGui->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipKDirOperator::dragEnterEvent(QDragEnterEvent *a0)
{
    typedef void (*sipVH_QtGui_19)(sip_gilstate_t,PyObject *,QDragEnterEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!meth)
    {
        QWidget::dragEnterEvent(a0);
        return;
    }

    ((sipVH_QtGui_19)(sipModuleAPI_kio_QtGui->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipKDirOperator::dragMoveEvent(QDragMoveEvent *a0)
{
    typedef void (*sipVH_QtGui_18)(sip_gilstate_t,PyObject *,QDragMoveEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[55],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!meth)
    {
        QWidget::dragMoveEvent(a0);
        return;
    }

    ((sipVH_QtGui_18)(sipModuleAPI_kio_QtGui->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipKDirOperator::dragLeaveEvent(QDragLeaveEvent *a0)
{
    typedef void (*sipVH_QtGui_17)(sip_gilstate_t,PyObject *,QDragLeaveEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[56],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!meth)
    {
        QWidget::dragLeaveEvent(a0);
        return;
    }

    ((sipVH_QtGui_17)(sipModuleAPI_kio_QtGui->em_virthandlers[17]))(sipGILState,meth,a0);
}

void sipKDirOperator::dropEvent(QDropEvent *a0)
{
    typedef void (*sipVH_QtGui_16)(sip_gilstate_t,PyObject *,QDropEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[57],sipPySelf,NULL,sipName_dropEvent);

    if (!meth)
    {
        QWidget::dropEvent(a0);
        return;
    }

    ((sipVH_QtGui_16)(sipModuleAPI_kio_QtGui->em_virthandlers[16]))(sipGILState,meth,a0);
}

void sipKDirOperator::showEvent(QShowEvent *a0)
{
    typedef void (*sipVH_QtGui_1)(sip_gilstate_t,PyObject *,QShowEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[58],sipPySelf,NULL,sipName_showEvent);

    if (!meth)
    {
        QWidget::showEvent(a0);
        return;
    }

    ((sipVH_QtGui_1)(sipModuleAPI_kio_QtGui->em_virthandlers[1]))(sipGILState,meth,a0);
}

void sipKDirOperator::hideEvent(QHideEvent *a0)
{
    typedef void (*sipVH_QtGui_0)(sip_gilstate_t,PyObject *,QHideEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[59],sipPySelf,NULL,sipName_hideEvent);

    if (!meth)
    {
        QWidget::hideEvent(a0);
        return;
    }

    ((sipVH_QtGui_0)(sipModuleAPI_kio_QtGui->em_virthandlers[0]))(sipGILState,meth,a0);
}

int sipKDirOperator::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[60]),sipPySelf,NULL,sipName_metric);

    if (!meth)
        return QWidget::metric(a0);

    return ((sipVH_QtGui_15)(sipModuleAPI_kio_QtGui->em_virthandlers[15]))(sipGILState,meth,a0);
}

void sipKDirOperator::inputMethodEvent(QInputMethodEvent *a0)
{
    typedef void (*sipVH_QtGui_14)(sip_gilstate_t,PyObject *,QInputMethodEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[61],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!meth)
    {
        QWidget::inputMethodEvent(a0);
        return;
    }

    ((sipVH_QtGui_14)(sipModuleAPI_kio_QtGui->em_virthandlers[14]))(sipGILState,meth,a0);
}

QVariant sipKDirOperator::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[62]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!meth)
        return QWidget::inputMethodQuery(a0);

    return ((sipVH_QtGui_13)(sipModuleAPI_kio_QtGui->em_virthandlers[13]))(sipGILState,meth,a0);
}

bool sipKDirOperator::focusNextPrevChild(bool a0)
{
    typedef bool (*sipVH_QtGui_12)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[63],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!meth)
        return QWidget::focusNextPrevChild(a0);

    return ((sipVH_QtGui_12)(sipModuleAPI_kio_QtGui->em_virthandlers[12]))(sipGILState,meth,a0);
}

void sipKDirOperator::enabledChange(bool a0)
{
    typedef void (*sipVH_QtGui_7)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[64],sipPySelf,NULL,sipName_enabledChange);

    if (!meth)
    {
        QWidget::enabledChange(a0);
        return;
    }

    ((sipVH_QtGui_7)(sipModuleAPI_kio_QtGui->em_virthandlers[7]))(sipGILState,meth,a0);
}

void sipKDirOperator::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[65],sipPySelf,NULL,sipName_paletteChange);

    if (!meth)
    {
        QWidget::paletteChange(a0);
        return;
    }

    ((sipVH_QtGui_11)(sipModuleAPI_kio_QtGui->em_virthandlers[11]))(sipGILState,meth,a0);
}

void sipKDirOperator::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[66],sipPySelf,NULL,sipName_fontChange);

    if (!meth)
    {
        QWidget::fontChange(a0);
        return;
    }

    ((sipVH_QtGui_10)(sipModuleAPI_kio_QtGui->em_virthandlers[10]))(sipGILState,meth,a0);
}

void sipKDirOperator::windowActivationChange(bool a0)
{
    typedef void (*sipVH_QtGui_7)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[67],sipPySelf,NULL,sipName_windowActivationChange);

    if (!meth)
    {
        QWidget::windowActivationChange(a0);
        return;
    }

    ((sipVH_QtGui_7)(sipModuleAPI_kio_QtGui->em_virthandlers[7]))(sipGILState,meth,a0);
}

void sipKDirOperator::languageChange()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[68],sipPySelf,NULL,sipName_languageChange);

    if (!meth)
    {
        QWidget::languageChange();
        return;
    }

    ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

void sipKDirOperator::timerEvent(QTimerEvent *a0)
{
    typedef void (*sipVH_QtCore_3)(sip_gilstate_t,PyObject *,QTimerEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[69],sipPySelf,NULL,sipName_timerEvent);

    if (!meth)
    {
        QObject::timerEvent(a0);
        return;
    }

    ((sipVH_QtCore_3)(sipModuleAPI_kio_QtCore->em_virthandlers[3]))(sipGILState,meth,a0);
}

void sipKDirOperator::childEvent(QChildEvent *a0)
{
    typedef void (*sipVH_QtCore_20)(sip_gilstate_t,PyObject *,QChildEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[70],sipPySelf,NULL,sipName_childEvent);

    if (!meth)
    {
        QObject::childEvent(a0);
        return;
    }

    ((sipVH_QtCore_20)(sipModuleAPI_kio_QtCore->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipKDirOperator::customEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[71],sipPySelf,NULL,sipName_customEvent);

    if (!meth)
    {
        QObject::customEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_kio_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipKDirOperator::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[72],sipPySelf,NULL,sipName_connectNotify);

    if (!meth)
    {
        QObject::connectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipKDirOperator::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[73],sipPySelf,NULL,sipName_disconnectNotify);

    if (!meth)
    {
        QObject::disconnectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

int sipKDirOperator::sipProtect_receivers(const char *a0) const
{
    return QObject::receivers(a0);
}

void sipKDirOperator::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipKDirOperator::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent *a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipKDirOperator::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipKDirOperator::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipKDirOperator::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

bool sipKDirOperator::sipProtectVirt_event(bool sipSelfWasArg,QEvent *a0)
{
    return (sipSelfWasArg ? QWidget::event(a0) : event(a0));
}

void sipKDirOperator::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? QWidget::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipKDirOperator::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? QWidget::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipKDirOperator::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? QWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipKDirOperator::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? QWidget::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipKDirOperator::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent *a0)
{
    (sipSelfWasArg ? QWidget::wheelEvent(a0) : wheelEvent(a0));
}

void sipKDirOperator::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent *a0)
{
    (sipSelfWasArg ? QWidget::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipKDirOperator::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent *a0)
{
    (sipSelfWasArg ? QWidget::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipKDirOperator::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent *a0)
{
    (sipSelfWasArg ? QWidget::focusInEvent(a0) : focusInEvent(a0));
}

void sipKDirOperator::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent *a0)
{
    (sipSelfWasArg ? QWidget::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipKDirOperator::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipKDirOperator::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipKDirOperator::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent *a0)
{
    (sipSelfWasArg ? QWidget::paintEvent(a0) : paintEvent(a0));
}

void sipKDirOperator::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent *a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipKDirOperator::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent *a0)
{
    (sipSelfWasArg ? QWidget::closeEvent(a0) : closeEvent(a0));
}

void sipKDirOperator::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent *a0)
{
    (sipSelfWasArg ? QWidget::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipKDirOperator::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent *a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipKDirOperator::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent *a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipKDirOperator::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent *a0)
{
    (sipSelfWasArg ? QWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipKDirOperator::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent *a0)
{
    (sipSelfWasArg ? QWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipKDirOperator::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent *a0)
{
    (sipSelfWasArg ? QWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipKDirOperator::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent *a0)
{
    (sipSelfWasArg ? QWidget::dropEvent(a0) : dropEvent(a0));
}

void sipKDirOperator::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent *a0)
{
    (sipSelfWasArg ? QWidget::showEvent(a0) : showEvent(a0));
}

void sipKDirOperator::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent *a0)
{
    (sipSelfWasArg ? QWidget::hideEvent(a0) : hideEvent(a0));
}

int sipKDirOperator::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipKDirOperator::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent *a0)
{
    (sipSelfWasArg ? QWidget::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipKDirOperator::sipProtect_resetInputContext()
{
    QWidget::resetInputContext();
}

void sipKDirOperator::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipKDirOperator::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipKDirOperator::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipKDirOperator::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

bool sipKDirOperator::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipKDirOperator::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

void sipKDirOperator::sipProtectVirt_enabledChange(bool sipSelfWasArg,bool a0)
{
    (sipSelfWasArg ? QWidget::enabledChange(a0) : enabledChange(a0));
}

void sipKDirOperator::sipProtectVirt_paletteChange(bool sipSelfWasArg,const QPalette& a0)
{
    (sipSelfWasArg ? QWidget::paletteChange(a0) : paletteChange(a0));
}

void sipKDirOperator::sipProtectVirt_fontChange(bool sipSelfWasArg,const QFont& a0)
{
    (sipSelfWasArg ? QWidget::fontChange(a0) : fontChange(a0));
}

void sipKDirOperator::sipProtectVirt_windowActivationChange(bool sipSelfWasArg,bool a0)
{
    (sipSelfWasArg ? QWidget::windowActivationChange(a0) : windowActivationChange(a0));
}

void sipKDirOperator::sipProtectVirt_languageChange(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QWidget::languageChange() : languageChange());
}

void sipKDirOperator::sipProtect_setupMenu()
{
    KDirOperator::setupMenu();
}

QAbstractItemView * sipKDirOperator::sipProtectVirt_createView(bool sipSelfWasArg,QWidget *a0,KFile::FileView a1)
{
    return (sipSelfWasArg ? KDirOperator::createView(a0,a1) : createView(a0,a1));
}

void sipKDirOperator::sipProtectVirt_setDirLister(bool sipSelfWasArg,KDirLister *a0)
{
    (sipSelfWasArg ? KDirOperator::setDirLister(a0) : setDirLister(a0));
}

void sipKDirOperator::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent *a0)
{
    (sipSelfWasArg ? KDirOperator::resizeEvent(a0) : resizeEvent(a0));
}

void sipKDirOperator::sipProtect_setupActions()
{
    KDirOperator::setupActions();
}

void sipKDirOperator::sipProtect_updateSortActions()
{
    KDirOperator::updateSortActions();
}

void sipKDirOperator::sipProtect_updateViewActions()
{
    KDirOperator::updateViewActions();
}

void sipKDirOperator::sipProtect_prepareCompletionObjects()
{
    KDirOperator::prepareCompletionObjects();
}

bool sipKDirOperator::sipProtect_checkPreviewSupport()
{
    return KDirOperator::checkPreviewSupport();
}

void sipKDirOperator::sipProtectVirt_activatedMenu(bool sipSelfWasArg,const KFileItem& a0,const QPoint& a1)
{
    (sipSelfWasArg ? KDirOperator::activatedMenu(a0,a1) : activatedMenu(a0,a1));
}

void sipKDirOperator::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? KDirOperator::changeEvent(a0) : changeEvent(a0));
}

bool sipKDirOperator::sipProtectVirt_eventFilter(bool sipSelfWasArg,QObject *a0,QEvent *a1)
{
    return (sipSelfWasArg ? KDirOperator::eventFilter(a0,a1) : eventFilter(a0,a1));
}

void sipKDirOperator::sipProtect_resetCursor()
{
    KDirOperator::resetCursor();
}

void sipKDirOperator::sipProtect_pathChanged()
{
    KDirOperator::pathChanged();
}

void sipKDirOperator::sipProtectVirt_selectDir(bool sipSelfWasArg,const KFileItem& a0)
{
    (sipSelfWasArg ? KDirOperator::selectDir(a0) : selectDir(a0));
}

void sipKDirOperator::sipProtect_selectFile(const KFileItem& a0)
{
    KDirOperator::selectFile(a0);
}

void sipKDirOperator::sipProtect_highlightFile(const KFileItem& a0)
{
    KDirOperator::highlightFile(a0);
}

void sipKDirOperator::sipProtect_sortByName()
{
    KDirOperator::sortByName();
}

void sipKDirOperator::sipProtect_sortBySize()
{
    KDirOperator::sortBySize();
}

void sipKDirOperator::sipProtect_sortByDate()
{
    KDirOperator::sortByDate();
}

void sipKDirOperator::sipProtect_sortByType()
{
    KDirOperator::sortByType();
}

void sipKDirOperator::sipProtect_sortReversed()
{
    KDirOperator::sortReversed();
}

void sipKDirOperator::sipProtect_toggleDirsFirst()
{
    KDirOperator::toggleDirsFirst();
}

void sipKDirOperator::sipProtect_toggleIgnoreCase()
{
    KDirOperator::toggleIgnoreCase();
}

void sipKDirOperator::sipProtect_slotCompletionMatch(const QString& a0)
{
    KDirOperator::slotCompletionMatch(a0);
}


extern "C" {static PyObject *meth_KDirOperator_receivers(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_receivers(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        char * a0;
        sipKDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KDirOperator,&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 23240 "sipkiopart6.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirOperator,sipName_receivers);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_timerEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipKDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KDirOperator,&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_KDirOperator,sipName_timerEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_childEvent(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_childEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipKDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KDirOperator,&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_KDirOperator,sipName_childEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_customEvent(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_customEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KDirOperator,&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_KDirOperator,sipName_customEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_connectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KDirOperator,&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_KDirOperator,sipName_connectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_disconnectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KDirOperator,&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_KDirOperator,sipName_disconnectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_event(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_event(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KDirOperator,&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_KDirOperator,sipName_event);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_mousePressEvent(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_mousePressEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent * a0;
        sipKDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KDirOperator,&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_KDirOperator,sipName_mousePressEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_mouseReleaseEvent(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_mouseReleaseEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent * a0;
        sipKDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KDirOperator,&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_KDirOperator,sipName_mouseReleaseEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_mouseDoubleClickEvent(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_mouseDoubleClickEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent * a0;
        sipKDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KDirOperator,&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_KDirOperator,sipName_mouseDoubleClickEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_mouseMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_mouseMoveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent * a0;
        sipKDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KDirOperator,&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_KDirOperator,sipName_mouseMoveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_wheelEvent(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_wheelEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent * a0;
        sipKDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KDirOperator,&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_KDirOperator,sipName_wheelEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_keyPressEvent(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_keyPressEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent * a0;
        sipKDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KDirOperator,&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_KDirOperator,sipName_keyPressEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_keyReleaseEvent(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_keyReleaseEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent * a0;
        sipKDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KDirOperator,&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_KDirOperator,sipName_keyReleaseEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_focusInEvent(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_focusInEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent * a0;
        sipKDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KDirOperator,&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_KDirOperator,sipName_focusInEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_focusOutEvent(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_focusOutEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent * a0;
        sipKDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KDirOperator,&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_KDirOperator,sipName_focusOutEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_enterEvent(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_enterEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KDirOperator,&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_KDirOperator,sipName_enterEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_leaveEvent(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_leaveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KDirOperator,&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_KDirOperator,sipName_leaveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_paintEvent(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_paintEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent * a0;
        sipKDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KDirOperator,&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_KDirOperator,sipName_paintEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_moveEvent(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_moveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent * a0;
        sipKDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KDirOperator,&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_KDirOperator,sipName_moveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_closeEvent(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_closeEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent * a0;
        sipKDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KDirOperator,&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_KDirOperator,sipName_closeEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_contextMenuEvent(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_contextMenuEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent * a0;
        sipKDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KDirOperator,&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_KDirOperator,sipName_contextMenuEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_tabletEvent(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_tabletEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent * a0;
        sipKDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KDirOperator,&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_KDirOperator,sipName_tabletEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_actionEvent(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_actionEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent * a0;
        sipKDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KDirOperator,&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_KDirOperator,sipName_actionEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_dragEnterEvent(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_dragEnterEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent * a0;
        sipKDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KDirOperator,&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_KDirOperator,sipName_dragEnterEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_dragMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_dragMoveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent * a0;
        sipKDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KDirOperator,&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_KDirOperator,sipName_dragMoveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_dragLeaveEvent(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_dragLeaveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent * a0;
        sipKDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KDirOperator,&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_KDirOperator,sipName_dragLeaveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_dropEvent(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_dropEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent * a0;
        sipKDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KDirOperator,&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_KDirOperator,sipName_dropEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_showEvent(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_showEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent * a0;
        sipKDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KDirOperator,&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_KDirOperator,sipName_showEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_hideEvent(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_hideEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent * a0;
        sipKDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KDirOperator,&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_KDirOperator,sipName_hideEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_metric(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_metric(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        sipKDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pE",&sipSelf,sipType_KDirOperator,&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_KDirOperator,sipName_metric);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_inputMethodEvent(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_inputMethodEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent * a0;
        sipKDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KDirOperator,&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_KDirOperator,sipName_inputMethodEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_resetInputContext(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_resetInputContext(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KDirOperator,&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_KDirOperator,sipName_resetInputContext);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_updateMicroFocus(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_updateMicroFocus(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KDirOperator,&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_KDirOperator,sipName_updateMicroFocus);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_create(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_create(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        WId a0 = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipKDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p|mbb",&sipSelf,sipType_KDirOperator,&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_KDirOperator,sipName_create);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_destroy(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_destroy(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipKDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p|bb",&sipSelf,sipType_KDirOperator,&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_KDirOperator,sipName_destroy);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_focusNextPrevChild(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_focusNextPrevChild(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipKDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_KDirOperator,&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_KDirOperator,sipName_focusNextPrevChild);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_focusNextChild(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_focusNextChild(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KDirOperator,&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_KDirOperator,sipName_focusNextChild);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_focusPreviousChild(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_focusPreviousChild(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KDirOperator,&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_KDirOperator,sipName_focusPreviousChild);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_enabledChange(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_enabledChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipKDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_KDirOperator,&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_KDirOperator,sipName_enabledChange);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_paletteChange(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_paletteChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QPalette * a0;
        sipKDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&sipSelf,sipType_KDirOperator,&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_KDirOperator,sipName_paletteChange);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_fontChange(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_fontChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QFont * a0;
        sipKDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&sipSelf,sipType_KDirOperator,&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_KDirOperator,sipName_fontChange);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_windowActivationChange(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_windowActivationChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipKDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_KDirOperator,&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_KDirOperator,sipName_windowActivationChange);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_languageChange(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_languageChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipKDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KDirOperator,&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_KDirOperator,sipName_languageChange);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_setShowHiddenFiles(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_setShowHiddenFiles(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_KDirOperator,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KDirOperator::setShowHiddenFiles(a0) : sipCpp->setShowHiddenFiles(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirOperator,sipName_setShowHiddenFiles);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_showHiddenFiles(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_showHiddenFiles(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KDirOperator,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->showHiddenFiles();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirOperator,sipName_showHiddenFiles);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_close(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_close(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KDirOperator,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->close();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirOperator,sipName_close);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_setNameFilter(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_setNameFilter(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KDirOperator,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setNameFilter(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirOperator,sipName_setNameFilter);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_nameFilter(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_nameFilter(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KDirOperator,&sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->nameFilter());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirOperator,sipName_nameFilter);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_setMimeFilter(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_setMimeFilter(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QStringList * a0;
        int a0State = 0;
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KDirOperator,&sipCpp,sipType_QStringList,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMimeFilter(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QStringList *>(a0),sipType_QStringList,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirOperator,sipName_setMimeFilter);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_mimeFilter(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_mimeFilter(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KDirOperator,&sipCpp))
        {
            QStringList *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->mimeFilter());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirOperator,sipName_mimeFilter);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_clearFilter(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_clearFilter(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KDirOperator,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->clearFilter();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirOperator,sipName_clearFilter);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_url(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_url(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KDirOperator,&sipCpp))
        {
            KUrl *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl(sipCpp->url());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KUrl,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirOperator,sipName_url);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_setUrl(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_setUrl(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KUrl * a0;
        bool a1;
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9b",&sipSelf,sipType_KDirOperator,&sipCpp,sipType_KUrl,&a0,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KDirOperator::setUrl(*a0,a1) : sipCpp->setUrl(*a0,a1));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirOperator,sipName_setUrl);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_setCurrentItem(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_setCurrentItem(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KDirOperator,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCurrentItem(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const KFileItem * a0;
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_KDirOperator,&sipCpp,sipType_KFileItem,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCurrentItem(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirOperator,sipName_setCurrentItem);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_setCurrentItems(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_setCurrentItems(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QStringList * a0;
        int a0State = 0;
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KDirOperator,&sipCpp,sipType_QStringList,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCurrentItems(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QStringList *>(a0),sipType_QStringList,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const KFileItemList * a0;
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_KDirOperator,&sipCpp,sipType_KFileItemList,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCurrentItems(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirOperator,sipName_setCurrentItems);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_setView(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_setView(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QAbstractItemView * a0;
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8",&sipSelf,sipType_KDirOperator,&sipCpp,sipType_QAbstractItemView,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KDirOperator::setView(a0) : sipCpp->setView(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        KFile::FileView a0;
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BE",&sipSelf,sipType_KDirOperator,&sipCpp,sipType_KFile_FileView,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KDirOperator::setView(a0) : sipCpp->setView(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirOperator,sipName_setView);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_view(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_view(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KDirOperator,&sipCpp))
        {
            QAbstractItemView *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->view();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QAbstractItemView,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirOperator,sipName_view);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_setSorting(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_setSorting(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        QDir::SortFlags * a0;
        int a0State = 0;
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KDirOperator,&sipCpp,sipType_QDir_SortFlags,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSorting(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_QDir_SortFlags,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirOperator,sipName_setSorting);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_sorting(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_sorting(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KDirOperator,&sipCpp))
        {
            QDir::SortFlags *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDir::SortFlags(sipCpp->sorting());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QDir_SortFlags,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirOperator,sipName_sorting);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_isRoot(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_isRoot(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KDirOperator,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isRoot();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirOperator,sipName_isRoot);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_dirLister(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_dirLister(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KDirOperator,&sipCpp))
        {
            KDirLister *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->dirLister();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KDirLister,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirOperator,sipName_dirLister);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_progressBar(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_progressBar(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KDirOperator,&sipCpp))
        {
            QProgressBar *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->progressBar();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QProgressBar,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirOperator,sipName_progressBar);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_setMode(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_setMode(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KFile::Modes * a0;
        int a0State = 0;
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KDirOperator,&sipCpp,sipType_KFile_Modes,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KDirOperator::setMode(*a0) : sipCpp->setMode(*a0));
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_KFile_Modes,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirOperator,sipName_setMode);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_mode(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_mode(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KDirOperator,&sipCpp))
        {
            KFile::Modes *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KFile::Modes(sipCpp->mode());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KFile_Modes,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirOperator,sipName_mode);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_setPreviewWidget(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_setPreviewWidget(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KPreviewWidgetBase * a0;
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8",&sipSelf,sipType_KDirOperator,&sipCpp,sipType_KPreviewWidgetBase,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KDirOperator::setPreviewWidget(a0) : sipCpp->setPreviewWidget(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirOperator,sipName_setPreviewWidget);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_selectedItems(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_selectedItems(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KDirOperator,&sipCpp))
        {
            KFileItemList *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KFileItemList(sipCpp->selectedItems());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KFileItemList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirOperator,sipName_selectedItems);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_isSelected(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_isSelected(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KFileItem * a0;
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_KDirOperator,&sipCpp,sipType_KFileItem,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isSelected(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirOperator,sipName_isSelected);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_numDirs(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_numDirs(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KDirOperator,&sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->numDirs();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirOperator,sipName_numDirs);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_numFiles(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_numFiles(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KDirOperator,&sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->numFiles();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirOperator,sipName_numFiles);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_completionObject(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_completionObject(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KDirOperator,&sipCpp))
        {
            KCompletion *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->completionObject();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KCompletion,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirOperator,sipName_completionObject);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_dirCompletionObject(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_dirCompletionObject(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KDirOperator,&sipCpp))
        {
            KCompletion *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->dirCompletionObject();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KCompletion,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirOperator,sipName_dirCompletionObject);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_actionCollection(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_actionCollection(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KDirOperator,&sipCpp))
        {
            KActionCollection *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->actionCollection();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KActionCollection,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirOperator,sipName_actionCollection);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_setViewConfig(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_setViewConfig(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KConfigGroup * a0;
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_KDirOperator,&sipCpp,sipType_KConfigGroup,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KDirOperator::setViewConfig(*a0) : sipCpp->setViewConfig(*a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirOperator,sipName_setViewConfig);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_viewConfigGroup(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_viewConfigGroup(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KDirOperator,&sipCpp))
        {
            KConfigGroup *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->viewConfigGroup();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KConfigGroup,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirOperator,sipName_viewConfigGroup);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_readConfig(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_readConfig(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KConfigGroup * a0;
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_KDirOperator,&sipCpp,sipType_KConfigGroup,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KDirOperator::readConfig(*a0) : sipCpp->readConfig(*a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirOperator,sipName_readConfig);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_writeConfig(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_writeConfig(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KConfigGroup * a0;
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_KDirOperator,&sipCpp,sipType_KConfigGroup,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KDirOperator::writeConfig(*a0) : sipCpp->writeConfig(*a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirOperator,sipName_writeConfig);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_setOnlyDoubleClickSelectsFiles(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_setOnlyDoubleClickSelectsFiles(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0;
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_KDirOperator,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setOnlyDoubleClickSelectsFiles(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirOperator,sipName_setOnlyDoubleClickSelectsFiles);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_onlyDoubleClickSelectsFiles(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_onlyDoubleClickSelectsFiles(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KDirOperator,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->onlyDoubleClickSelectsFiles();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirOperator,sipName_onlyDoubleClickSelectsFiles);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_mkdir(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_mkdir(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString * a0;
        int a0State = 0;
        bool a1 = 1;
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1|b",&sipSelf,sipType_KDirOperator,&sipCpp,sipType_QString,&a0,&a0State,&a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KDirOperator::mkdir(*a0,a1) : sipCpp->mkdir(*a0,a1));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KDirOperator,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KDirOperator::mkdir() : sipCpp->mkdir());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirOperator,sipName_mkdir);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_del_(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_del_(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KFileItemList * a0;
        QWidget * a1 = 0;
        bool a2 = 1;
        bool a3 = 1;
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9|J:bb",&sipSelf,sipType_KDirOperator,&sipCpp,sipType_KFileItemList,&a0,sipType_QWidget,&a1,&a2,&a3))
        {
            KIO::DeleteJob *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KDirOperator::del(*a0,a1,a2,a3) : sipCpp->del(*a0,a1,a2,a3));
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KIO_DeleteJob,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirOperator,sipName_del_);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_clearHistory(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_clearHistory(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KDirOperator,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->clearHistory();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirOperator,sipName_clearHistory);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_setEnableDirHighlighting(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_setEnableDirHighlighting(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_KDirOperator,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KDirOperator::setEnableDirHighlighting(a0) : sipCpp->setEnableDirHighlighting(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirOperator,sipName_setEnableDirHighlighting);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_dirHighlighting(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_dirHighlighting(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KDirOperator,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->dirHighlighting();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirOperator,sipName_dirHighlighting);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_dirOnlyMode(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_dirOnlyMode(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KDirOperator,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->dirOnlyMode();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    {
        uint a0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"u",&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KDirOperator::dirOnlyMode(a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirOperator,sipName_dirOnlyMode);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_setupMenu(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_setupMenu(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        int a0;
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bi",&sipSelf,sipType_KDirOperator,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setupMenu(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        sipKDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KDirOperator,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setupMenu();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirOperator,sipName_setupMenu);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_setAcceptDrops(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_setAcceptDrops(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_KDirOperator,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KDirOperator::setAcceptDrops(a0) : sipCpp->setAcceptDrops(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirOperator,sipName_setAcceptDrops);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_setDropOptions(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_setDropOptions(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bi",&sipSelf,sipType_KDirOperator,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KDirOperator::setDropOptions(a0) : sipCpp->setDropOptions(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirOperator,sipName_setDropOptions);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_trash(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_trash(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KFileItemList * a0;
        QWidget * a1;
        bool a2 = 1;
        bool a3 = 1;
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9J:|bb",&sipSelf,sipType_KDirOperator,&sipCpp,sipType_KFileItemList,&a0,sipType_QWidget,&a1,&a2,&a3))
        {
            KIO::CopyJob *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KDirOperator::trash(*a0,a1,a2,a3) : sipCpp->trash(*a0,a1,a2,a3));
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KIO_CopyJob,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirOperator,sipName_trash);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_previewGenerator(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_previewGenerator(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KDirOperator,&sipCpp))
        {
            KFilePreviewGenerator *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->previewGenerator();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KFilePreviewGenerator,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirOperator,sipName_previewGenerator);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_setInlinePreviewShown(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_setInlinePreviewShown(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0;
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_KDirOperator,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setInlinePreviewShown(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirOperator,sipName_setInlinePreviewShown);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_decorationPosition(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_decorationPosition(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KDirOperator,&sipCpp))
        {
            QStyleOptionViewItem::Position sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->decorationPosition();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_QStyleOptionViewItem_Position);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirOperator,sipName_decorationPosition);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_setDecorationPosition(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_setDecorationPosition(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        QStyleOptionViewItem::Position a0;
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BE",&sipSelf,sipType_KDirOperator,&sipCpp,sipType_QStyleOptionViewItem_Position,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDecorationPosition(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirOperator,sipName_setDecorationPosition);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_isInlinePreviewShown(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_isInlinePreviewShown(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KDirOperator,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isInlinePreviewShown();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirOperator,sipName_isInlinePreviewShown);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_iconsZoom(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_iconsZoom(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KDirOperator,&sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->iconsZoom();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirOperator,sipName_iconsZoom);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_setIsSaving(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_setIsSaving(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0;
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_KDirOperator,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setIsSaving(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirOperator,sipName_setIsSaving);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_isSaving(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_isSaving(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KDirOperator,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isSaving();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirOperator,sipName_isSaving);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_createView(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_createView(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWidget * a0;
        KFile::FileView a1;
        sipKDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ:E",&sipSelf,sipType_KDirOperator,&sipCpp,sipType_QWidget,&a0,sipType_KFile_FileView,&a1))
        {
            QAbstractItemView *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_createView(sipSelfWasArg,a0,a1);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QAbstractItemView,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirOperator,sipName_createView);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_setDirLister(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_setDirLister(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KDirLister * a0;
        sipKDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KDirOperator,&sipCpp,sipType_KDirLister,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_setDirLister(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_KDirOperator,sipName_setDirLister);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_resizeEvent(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_resizeEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent * a0;
        sipKDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KDirOperator,&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_KDirOperator,sipName_resizeEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_setupActions(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_setupActions(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KDirOperator,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setupActions();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirOperator,sipName_setupActions);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_updateSortActions(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_updateSortActions(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KDirOperator,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_updateSortActions();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirOperator,sipName_updateSortActions);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_updateViewActions(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_updateViewActions(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KDirOperator,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_updateViewActions();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirOperator,sipName_updateViewActions);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_prepareCompletionObjects(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_prepareCompletionObjects(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KDirOperator,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_prepareCompletionObjects();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirOperator,sipName_prepareCompletionObjects);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_checkPreviewSupport(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_checkPreviewSupport(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KDirOperator,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_checkPreviewSupport();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirOperator,sipName_checkPreviewSupport);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_activatedMenu(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_activatedMenu(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KFileItem * a0;
        const QPoint * a1;
        sipKDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9J9",&sipSelf,sipType_KDirOperator,&sipCpp,sipType_KFileItem,&a0,sipType_QPoint,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_activatedMenu(sipSelfWasArg,*a0,*a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirOperator,sipName_activatedMenu);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_changeEvent(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_changeEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KDirOperator,&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_KDirOperator,sipName_changeEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_eventFilter(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_eventFilter(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QObject * a0;
        QEvent * a1;
        sipKDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8J8",&sipSelf,sipType_KDirOperator,&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_KDirOperator,sipName_eventFilter);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_back(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_back(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KDirOperator,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KDirOperator::back() : sipCpp->back());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirOperator,sipName_back);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_forward(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_forward(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KDirOperator,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KDirOperator::forward() : sipCpp->forward());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirOperator,sipName_forward);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_home(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_home(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KDirOperator,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KDirOperator::home() : sipCpp->home());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirOperator,sipName_home);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_cdUp(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_cdUp(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KDirOperator,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KDirOperator::cdUp() : sipCpp->cdUp());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirOperator,sipName_cdUp);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_updateDir(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_updateDir(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KDirOperator,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->updateDir();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirOperator,sipName_updateDir);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_rereadDir(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_rereadDir(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KDirOperator,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KDirOperator::rereadDir() : sipCpp->rereadDir());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirOperator,sipName_rereadDir);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_deleteSelected(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_deleteSelected(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KDirOperator,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KDirOperator::deleteSelected() : sipCpp->deleteSelected());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirOperator,sipName_deleteSelected);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_updateSelectionDependentActions(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_updateSelectionDependentActions(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KDirOperator,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->updateSelectionDependentActions();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirOperator,sipName_updateSelectionDependentActions);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_makeCompletion(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_makeCompletion(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KDirOperator,&sipCpp,sipType_QString,&a0,&a0State))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->makeCompletion(*a0));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirOperator,sipName_makeCompletion);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_makeDirCompletion(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_makeDirCompletion(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KDirOperator,&sipCpp,sipType_QString,&a0,&a0State))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->makeDirCompletion(*a0));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirOperator,sipName_makeDirCompletion);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_trashSelected(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_trashSelected(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KDirOperator,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KDirOperator::trashSelected() : sipCpp->trashSelected());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirOperator,sipName_trashSelected);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_setIconsZoom(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_setIconsZoom(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        int a0;
        KDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bi",&sipSelf,sipType_KDirOperator,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setIconsZoom(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirOperator,sipName_setIconsZoom);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_resetCursor(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_resetCursor(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KDirOperator,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_resetCursor();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirOperator,sipName_resetCursor);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_pathChanged(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_pathChanged(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KDirOperator,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_pathChanged();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirOperator,sipName_pathChanged);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_selectDir(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_selectDir(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KFileItem * a0;
        sipKDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&sipSelf,sipType_KDirOperator,&sipCpp,sipType_KFileItem,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_selectDir(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_KDirOperator,sipName_selectDir);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_selectFile(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_selectFile(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KFileItem * a0;
        sipKDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&sipSelf,sipType_KDirOperator,&sipCpp,sipType_KFileItem,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_selectFile(*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_KDirOperator,sipName_selectFile);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_highlightFile(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_highlightFile(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KFileItem * a0;
        sipKDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&sipSelf,sipType_KDirOperator,&sipCpp,sipType_KFileItem,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_highlightFile(*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_KDirOperator,sipName_highlightFile);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_sortByName(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_sortByName(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KDirOperator,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_sortByName();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirOperator,sipName_sortByName);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_sortBySize(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_sortBySize(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KDirOperator,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_sortBySize();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirOperator,sipName_sortBySize);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_sortByDate(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_sortByDate(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KDirOperator,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_sortByDate();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirOperator,sipName_sortByDate);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_sortByType(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_sortByType(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KDirOperator,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_sortByType();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirOperator,sipName_sortByType);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_sortReversed(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_sortReversed(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KDirOperator,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_sortReversed();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirOperator,sipName_sortReversed);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_toggleDirsFirst(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_toggleDirsFirst(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KDirOperator,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_toggleDirsFirst();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirOperator,sipName_toggleDirsFirst);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_toggleIgnoreCase(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_toggleIgnoreCase(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KDirOperator,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_toggleIgnoreCase();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirOperator,sipName_toggleIgnoreCase);

    return NULL;
}


extern "C" {static PyObject *meth_KDirOperator_slotCompletionMatch(PyObject *, PyObject *);}
static PyObject *meth_KDirOperator_slotCompletionMatch(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        sipKDirOperator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1",&sipSelf,sipType_KDirOperator,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_slotCompletionMatch(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KDirOperator,sipName_slotCompletionMatch);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KDirOperator(void *, const sipTypeDef *);}
static void *cast_KDirOperator(void *ptr,const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KDirOperator)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QWidget)->ctd_cast((QWidget *)(KDirOperator *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KDirOperator(void *, int);}
static void release_KDirOperator(void *sipCppV,int state)
{
    Py_BEGIN_ALLOW_THREADS

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKDirOperator *>(sipCppV);
    else
        delete reinterpret_cast<KDirOperator *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KDirOperator(sipSimpleWrapper *);}
static void dealloc_KDirOperator(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKDirOperator *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KDirOperator(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_KDirOperator(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KDirOperator(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **sipOwner, int *sipArgsParsed)
{
    sipKDirOperator *sipCpp = 0;

    if (!sipCpp)
    {
        const KUrl& a0def = KUrl();
        const KUrl * a0 = &a0def;
        QWidget * a1 = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"|J9JH",sipType_KUrl,&a0,sipType_QWidget,&a1,sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKDirOperator(*a0,a1);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KDirOperator[] = {{683, 2, 1}};


static PyMethodDef methods_KDirOperator[] = {
    {SIP_MLNAME_CAST(sipName_actionCollection), meth_KDirOperator_actionCollection, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_actionEvent), meth_KDirOperator_actionEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_activatedMenu), meth_KDirOperator_activatedMenu, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_back), meth_KDirOperator_back, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_cdUp), meth_KDirOperator_cdUp, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_changeEvent), meth_KDirOperator_changeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_checkPreviewSupport), meth_KDirOperator_checkPreviewSupport, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_KDirOperator_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_clearFilter), meth_KDirOperator_clearFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_clearHistory), meth_KDirOperator_clearHistory, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_close), meth_KDirOperator_close, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), meth_KDirOperator_closeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_completionObject), meth_KDirOperator_completionObject, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KDirOperator_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), meth_KDirOperator_contextMenuEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_create), meth_KDirOperator_create, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_createView), meth_KDirOperator_createView, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KDirOperator_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_decorationPosition), meth_KDirOperator_decorationPosition, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_del_), meth_KDirOperator_del_, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_deleteSelected), meth_KDirOperator_deleteSelected, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), meth_KDirOperator_destroy, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dirCompletionObject), meth_KDirOperator_dirCompletionObject, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dirHighlighting), meth_KDirOperator_dirHighlighting, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dirLister), meth_KDirOperator_dirLister, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dirOnlyMode), meth_KDirOperator_dirOnlyMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KDirOperator_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), meth_KDirOperator_dragEnterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), meth_KDirOperator_dragLeaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), meth_KDirOperator_dragMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), meth_KDirOperator_dropEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enabledChange), meth_KDirOperator_enabledChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), meth_KDirOperator_enterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_event), meth_KDirOperator_event, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_eventFilter), meth_KDirOperator_eventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), meth_KDirOperator_focusInEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), meth_KDirOperator_focusNextChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), meth_KDirOperator_focusNextPrevChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), meth_KDirOperator_focusOutEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), meth_KDirOperator_focusPreviousChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fontChange), meth_KDirOperator_fontChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_forward), meth_KDirOperator_forward, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), meth_KDirOperator_hideEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_highlightFile), meth_KDirOperator_highlightFile, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_home), meth_KDirOperator_home, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_iconsZoom), meth_KDirOperator_iconsZoom, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), meth_KDirOperator_inputMethodEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isInlinePreviewShown), meth_KDirOperator_isInlinePreviewShown, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isRoot), meth_KDirOperator_isRoot, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isSaving), meth_KDirOperator_isSaving, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isSelected), meth_KDirOperator_isSelected, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), meth_KDirOperator_keyPressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), meth_KDirOperator_keyReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_languageChange), meth_KDirOperator_languageChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), meth_KDirOperator_leaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_makeCompletion), meth_KDirOperator_makeCompletion, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_makeDirCompletion), meth_KDirOperator_makeDirCompletion, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_metric), meth_KDirOperator_metric, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mimeFilter), meth_KDirOperator_mimeFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mkdir), meth_KDirOperator_mkdir, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mode), meth_KDirOperator_mode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), meth_KDirOperator_mouseDoubleClickEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), meth_KDirOperator_mouseMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), meth_KDirOperator_mousePressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), meth_KDirOperator_mouseReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), meth_KDirOperator_moveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_nameFilter), meth_KDirOperator_nameFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_numDirs), meth_KDirOperator_numDirs, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_numFiles), meth_KDirOperator_numFiles, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_onlyDoubleClickSelectsFiles), meth_KDirOperator_onlyDoubleClickSelectsFiles, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), meth_KDirOperator_paintEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paletteChange), meth_KDirOperator_paletteChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_pathChanged), meth_KDirOperator_pathChanged, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_prepareCompletionObjects), meth_KDirOperator_prepareCompletionObjects, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_previewGenerator), meth_KDirOperator_previewGenerator, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_progressBar), meth_KDirOperator_progressBar, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readConfig), meth_KDirOperator_readConfig, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_KDirOperator_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_rereadDir), meth_KDirOperator_rereadDir, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resetCursor), meth_KDirOperator_resetCursor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resetInputContext), meth_KDirOperator_resetInputContext, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_KDirOperator_resizeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_selectDir), meth_KDirOperator_selectDir, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_selectFile), meth_KDirOperator_selectFile, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_selectedItems), meth_KDirOperator_selectedItems, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAcceptDrops), meth_KDirOperator_setAcceptDrops, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCurrentItem), meth_KDirOperator_setCurrentItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCurrentItems), meth_KDirOperator_setCurrentItems, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDecorationPosition), meth_KDirOperator_setDecorationPosition, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDirLister), meth_KDirOperator_setDirLister, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDropOptions), meth_KDirOperator_setDropOptions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setEnableDirHighlighting), meth_KDirOperator_setEnableDirHighlighting, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setIconsZoom), meth_KDirOperator_setIconsZoom, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setInlinePreviewShown), meth_KDirOperator_setInlinePreviewShown, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setIsSaving), meth_KDirOperator_setIsSaving, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMimeFilter), meth_KDirOperator_setMimeFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMode), meth_KDirOperator_setMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setNameFilter), meth_KDirOperator_setNameFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setOnlyDoubleClickSelectsFiles), meth_KDirOperator_setOnlyDoubleClickSelectsFiles, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPreviewWidget), meth_KDirOperator_setPreviewWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setShowHiddenFiles), meth_KDirOperator_setShowHiddenFiles, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSorting), meth_KDirOperator_setSorting, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setUrl), meth_KDirOperator_setUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setView), meth_KDirOperator_setView, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setViewConfig), meth_KDirOperator_setViewConfig, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setupActions), meth_KDirOperator_setupActions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setupMenu), meth_KDirOperator_setupMenu, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), meth_KDirOperator_showEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showHiddenFiles), meth_KDirOperator_showHiddenFiles, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotCompletionMatch), meth_KDirOperator_slotCompletionMatch, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sortByDate), meth_KDirOperator_sortByDate, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sortByName), meth_KDirOperator_sortByName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sortBySize), meth_KDirOperator_sortBySize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sortByType), meth_KDirOperator_sortByType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sortReversed), meth_KDirOperator_sortReversed, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sorting), meth_KDirOperator_sorting, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_tabletEvent), meth_KDirOperator_tabletEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KDirOperator_timerEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toggleDirsFirst), meth_KDirOperator_toggleDirsFirst, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toggleIgnoreCase), meth_KDirOperator_toggleIgnoreCase, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_trash), meth_KDirOperator_trash, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_trashSelected), meth_KDirOperator_trashSelected, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateDir), meth_KDirOperator_updateDir, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), meth_KDirOperator_updateMicroFocus, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateSelectionDependentActions), meth_KDirOperator_updateSelectionDependentActions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateSortActions), meth_KDirOperator_updateSortActions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateViewActions), meth_KDirOperator_updateViewActions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_url), meth_KDirOperator_url, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_view), meth_KDirOperator_view, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_viewConfigGroup), meth_KDirOperator_viewConfigGroup, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), meth_KDirOperator_wheelEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_windowActivationChange), meth_KDirOperator_windowActivationChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_writeConfig), meth_KDirOperator_writeConfig, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KDirOperator[] = {
    {sipName_AllActions, KDirOperator::AllActions, 50},
    {sipName_FileActions, KDirOperator::FileActions, 50},
    {sipName_NavActions, KDirOperator::NavActions, 50},
    {sipName_SortActions, KDirOperator::SortActions, 50},
    {sipName_ViewActions, KDirOperator::ViewActions, 50},
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_KDirOperator[] = {
    {"currentIconSizeChanged(int)", 0},
    {"contextMenuAboutToShow(const KFileItem&,QMenu *)", 0},
    {"dropped(const KFileItem&,QDropEvent *,const KUrl::List&)", 0},
    {"fileSelected(const KFileItem&)", 0},
    {"dirActivated(const KFileItem&)", 0},
    {"fileHighlighted(const KFileItem&)", 0},
    {"viewChanged(QAbstractItemView *)", 0},
    {"finishedLoading()", 0},
    {"completion(const QString&)", 0},
    {"updateInformation(int,int)", 0},
    {"urlEntered(const KUrl&)", 0},
    {0, 0}
};


pyqt4ClassTypeDef pyqt4Type_kio_KDirOperator = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KDirOperator,
        {0}
    },
    sipNameNr_KDirOperator,
    -1,
    -1,
    {0, 0, 1},
    supers_KDirOperator,
    0,
    133, methods_KDirOperator,
    5, enummembers_KDirOperator,
    0, 0,
    init_KDirOperator,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KDirOperator,
    release_KDirOperator,
    cast_KDirOperator,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KDirOperator::staticMetaObject,
    0,
    pyqt4_signals_KDirOperator
};

#line 61 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/konqbookmarkmenu.sip"
#include <konqbookmarkmenu.h>
#line 27280 "sipkiopart6.cpp"

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 27284 "sipkiopart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kbookmarkmanager.sip"
#include <kbookmarkmanager.h>
#line 27287 "sipkiopart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/konqbookmarkmenu.sip"
#include <konqbookmarkmenu.h>
#line 27290 "sipkiopart6.cpp"
#line 74 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kbookmarkmanager.sip"
#include <kbookmarkmanager.h>
#line 27293 "sipkiopart6.cpp"
#line 424 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 27296 "sipkiopart6.cpp"
#line 436 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 27299 "sipkiopart6.cpp"
#line 184 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 27302 "sipkiopart6.cpp"
#line 296 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 27305 "sipkiopart6.cpp"
#line 388 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 27308 "sipkiopart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kmenu.sip"
#include <kmenu.h>
#line 27311 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qaction.sip"
#include <qaction.h>
#line 27314 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qmenu.sip"
#include <qmenu.h>
#line 27317 "sipkiopart6.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 27320 "sipkiopart6.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 27323 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 27326 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qicon.sip"
#include <qicon.h>
#line 27329 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 27332 "sipkiopart6.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 27335 "sipkiopart6.cpp"
#line 618 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 27338 "sipkiopart6.cpp"
#line 345 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 27341 "sipkiopart6.cpp"
#line 225 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 27344 "sipkiopart6.cpp"
#line 714 "/usr/local/share/py-sip/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 27347 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 27350 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 27353 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 27356 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 27359 "sipkiopart6.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 27420 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 27423 "sipkiopart6.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 27426 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qabstractbutton.sip"
#include <qabstractbutton.h>
#line 27429 "sipkiopart6.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 27434 "sipkiopart6.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 27437 "sipkiopart6.cpp"
#line 99 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 27440 "sipkiopart6.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 27443 "sipkiopart6.cpp"
#line 165 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 27446 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qlistwidget.sip"
#include <qlistwidget.h>
#line 27449 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qdockwidget.sip"
#include <qdockwidget.h>
#line 27452 "sipkiopart6.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qmdisubwindow.sip"
#include <qmdisubwindow.h>
#line 27455 "sipkiopart6.cpp"
#line 334 "/usr/local/share/py-sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 27458 "sipkiopart6.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 27463 "sipkiopart6.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qprinterinfo.sip"
#include <qprinterinfo.h>
#line 27466 "sipkiopart6.cpp"
#line 202 "/usr/local/share/py-sip/QtGui/qstandarditemmodel.sip"
#include <qstandarditemmodel.h>
#line 27469 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 27472 "sipkiopart6.cpp"
#line 66 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 27475 "sipkiopart6.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 27480 "sipkiopart6.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 27485 "sipkiopart6.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 27490 "sipkiopart6.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 27495 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtreewidget.sip"
#include <qtreewidget.h>
#line 27498 "sipkiopart6.cpp"
#line 75 "/usr/local/share/py-sip/QtGui/qundostack.sip"
#include <qundostack.h>
#line 27501 "sipkiopart6.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qwizard.sip"
#include <qwizard.h>
#line 27504 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qprinter.sip"
#include <qprinter.h>
#line 27507 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontdatabase.sip"
#include <qfontdatabase.h>
#line 27510 "sipkiopart6.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 27513 "sipkiopart6.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 27516 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 27519 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 27522 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qregion.sip"
#include <qregion.h>
#line 27525 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 27528 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 27531 "sipkiopart6.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 27534 "sipkiopart6.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 27537 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 27540 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 27543 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qfont.sip"
#include <qfont.h>
#line 27546 "sipkiopart6.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 27549 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 27552 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 27555 "sipkiopart6.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 27560 "sipkiopart6.cpp"
#line 412 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 27563 "sipkiopart6.cpp"
#line 508 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 27566 "sipkiopart6.cpp"
#line 562 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 27569 "sipkiopart6.cpp"
#line 533 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 27572 "sipkiopart6.cpp"
#line 550 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 27575 "sipkiopart6.cpp"
#line 247 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 27578 "sipkiopart6.cpp"
#line 374 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 27581 "sipkiopart6.cpp"
#line 360 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 27584 "sipkiopart6.cpp"
#line 325 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 27587 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 27590 "sipkiopart6.cpp"
#line 74 "/usr/local/share/py-sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 27593 "sipkiopart6.cpp"
#line 47 "/usr/local/share/py-sip/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 27596 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qlayout.sip"
#include <qlayout.h>
#line 27599 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 27602 "sipkiopart6.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 27605 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 27608 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 27611 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qstyle.sip"
#include <qstyle.h>
#line 27614 "sipkiopart6.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 27617 "sipkiopart6.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 27648 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 27651 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 27654 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 27657 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 27660 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 27663 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 27666 "sipkiopart6.cpp"


class sipKonqBookmarkContextMenu : public KonqBookmarkContextMenu
{
public:
    sipKonqBookmarkContextMenu(const KBookmark&,KBookmarkManager *,KonqBookmarkOwner *);
    virtual ~sipKonqBookmarkContextMenu();

    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_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent *);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent *);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent *);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent *);
    void sipProtectVirt_moveEvent(bool,QMoveEvent *);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent *);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent *);
    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 *);
    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 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);
    int sipProtect_columnCount() const;
    void sipProtect_initStyleOption(QStyleOptionMenuItem *,const QAction *) const;
    void sipProtectVirt_changeEvent(bool,QEvent *);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent *);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent *);
    void sipProtectVirt_enterEvent(bool,QEvent *);
    void sipProtectVirt_leaveEvent(bool,QEvent *);
    void sipProtectVirt_paintEvent(bool,QPaintEvent *);
    void sipProtectVirt_actionEvent(bool,QActionEvent *);
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    bool sipProtectVirt_event(bool,QEvent *);
    void sipProtectVirt_closeEvent(bool,QCloseEvent *);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent *);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent *);
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent *);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent *);
    void sipProtectVirt_hideEvent(bool,QHideEvent *);
    void sipProtect_addBookmark();
    void sipProtect_addFolderActions();
    void sipProtect_addProperties();
    void sipProtect_addBookmarkActions();
    void sipProtect_addOpenFolderInTabs();
    KBookmarkManager * sipProtect_manager() const;
    KBookmarkOwner * sipProtect_owner() const;
    KBookmark sipProtect_bookmark() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void addActions();
    void closeEvent(QCloseEvent *);
    void keyPressEvent(QKeyEvent *);
    void mouseReleaseEvent(QMouseEvent *);
    void mousePressEvent(QMouseEvent *);
    bool focusNextPrevChild(bool);
    void contextMenuEvent(QContextMenuEvent *);
    void hideEvent(QHideEvent *);
    QSize sizeHint() const;
    void changeEvent(QEvent *);
    void mouseMoveEvent(QMouseEvent *);
    void wheelEvent(QWheelEvent *);
    void enterEvent(QEvent *);
    void leaveEvent(QEvent *);
    void paintEvent(QPaintEvent *);
    void actionEvent(QActionEvent *);
    void timerEvent(QTimerEvent *);
    bool event(QEvent *);
    int devType() const;
    void setVisible(bool);
    QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    QPaintEngine * paintEngine() const;
    void mouseDoubleClickEvent(QMouseEvent *);
    void keyReleaseEvent(QKeyEvent *);
    void focusInEvent(QFocusEvent *);
    void focusOutEvent(QFocusEvent *);
    void moveEvent(QMoveEvent *);
    void resizeEvent(QResizeEvent *);
    void tabletEvent(QTabletEvent *);
    void dragEnterEvent(QDragEnterEvent *);
    void dragMoveEvent(QDragMoveEvent *);
    void dragLeaveEvent(QDragLeaveEvent *);
    void dropEvent(QDropEvent *);
    void showEvent(QShowEvent *);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void inputMethodEvent(QInputMethodEvent *);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void enabledChange(bool);
    void paletteChange(const QPalette&);
    void fontChange(const QFont&);
    void windowActivationChange(bool);
    void languageChange();
    bool eventFilter(QObject *,QEvent *);
    void childEvent(QChildEvent *);
    void customEvent(QEvent *);
    void connectNotify(const char *);
    void disconnectNotify(const char *);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKonqBookmarkContextMenu(const sipKonqBookmarkContextMenu &);
    sipKonqBookmarkContextMenu &operator = (const sipKonqBookmarkContextMenu &);

    char sipPyMethods[48];
};

sipKonqBookmarkContextMenu::sipKonqBookmarkContextMenu(const KBookmark& a0,KBookmarkManager *a1,KonqBookmarkOwner *a2): KonqBookmarkContextMenu(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKonqBookmarkContextMenu::~sipKonqBookmarkContextMenu()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKonqBookmarkContextMenu::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KonqBookmarkContextMenu);
}

int sipKonqBookmarkContextMenu::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KonqBookmarkContextMenu::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kio_qt_metacall(sipPySelf,sipType_KonqBookmarkContextMenu,_c,_id,_a);

    return _id;
}

void *sipKonqBookmarkContextMenu::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast && sip_kio_qt_metacast(sipPySelf,sipType_KonqBookmarkContextMenu,_clname)) ? this : KonqBookmarkContextMenu::qt_metacast(_clname);
}

void sipKonqBookmarkContextMenu::addActions()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_addActions);

    if (!meth)
    {
        KonqBookmarkContextMenu::addActions();
        return;
    }

    ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

void sipKonqBookmarkContextMenu::closeEvent(QCloseEvent *a0)
{
    typedef void (*sipVH_QtGui_23)(sip_gilstate_t,PyObject *,QCloseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_closeEvent);

    if (!meth)
    {
        KMenu::closeEvent(a0);
        return;
    }

    ((sipVH_QtGui_23)(sipModuleAPI_kio_QtGui->em_virthandlers[23]))(sipGILState,meth,a0);
}

void sipKonqBookmarkContextMenu::keyPressEvent(QKeyEvent *a0)
{
    typedef void (*sipVH_QtGui_26)(sip_gilstate_t,PyObject *,QKeyEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_keyPressEvent);

    if (!meth)
    {
        KMenu::keyPressEvent(a0);
        return;
    }

    ((sipVH_QtGui_26)(sipModuleAPI_kio_QtGui->em_virthandlers[26]))(sipGILState,meth,a0);
}

void sipKonqBookmarkContextMenu::mouseReleaseEvent(QMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_27)(sip_gilstate_t,PyObject *,QMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!meth)
    {
        KMenu::mouseReleaseEvent(a0);
        return;
    }

    ((sipVH_QtGui_27)(sipModuleAPI_kio_QtGui->em_virthandlers[27]))(sipGILState,meth,a0);
}

void sipKonqBookmarkContextMenu::mousePressEvent(QMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_27)(sip_gilstate_t,PyObject *,QMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_mousePressEvent);

    if (!meth)
    {
        KMenu::mousePressEvent(a0);
        return;
    }

    ((sipVH_QtGui_27)(sipModuleAPI_kio_QtGui->em_virthandlers[27]))(sipGILState,meth,a0);
}

bool sipKonqBookmarkContextMenu::focusNextPrevChild(bool a0)
{
    typedef bool (*sipVH_QtGui_12)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!meth)
        return KMenu::focusNextPrevChild(a0);

    return ((sipVH_QtGui_12)(sipModuleAPI_kio_QtGui->em_virthandlers[12]))(sipGILState,meth,a0);
}

void sipKonqBookmarkContextMenu::contextMenuEvent(QContextMenuEvent *a0)
{
    typedef void (*sipVH_QtGui_22)(sip_gilstate_t,PyObject *,QContextMenuEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!meth)
    {
        KMenu::contextMenuEvent(a0);
        return;
    }

    ((sipVH_QtGui_22)(sipModuleAPI_kio_QtGui->em_virthandlers[22]))(sipGILState,meth,a0);
}

void sipKonqBookmarkContextMenu::hideEvent(QHideEvent *a0)
{
    typedef void (*sipVH_QtGui_0)(sip_gilstate_t,PyObject *,QHideEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_hideEvent);

    if (!meth)
    {
        KMenu::hideEvent(a0);
        return;
    }

    ((sipVH_QtGui_0)(sipModuleAPI_kio_QtGui->em_virthandlers[0]))(sipGILState,meth,a0);
}

QSize sipKonqBookmarkContextMenu::sizeHint() const
{
    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_sizeHint);

    if (!meth)
        return QMenu::sizeHint();

    return ((sipVH_QtGui_4)(sipModuleAPI_kio_QtGui->em_virthandlers[4]))(sipGILState,meth);
}

void sipKonqBookmarkContextMenu::changeEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_changeEvent);

    if (!meth)
    {
        QMenu::changeEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_kio_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipKonqBookmarkContextMenu::mouseMoveEvent(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_mouseMoveEvent);

    if (!meth)
    {
        QMenu::mouseMoveEvent(a0);
        return;
    }

    ((sipVH_QtGui_27)(sipModuleAPI_kio_QtGui->em_virthandlers[27]))(sipGILState,meth,a0);
}

void sipKonqBookmarkContextMenu::wheelEvent(QWheelEvent *a0)
{
    typedef void (*sipVH_QtGui_5)(sip_gilstate_t,PyObject *,QWheelEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_wheelEvent);

    if (!meth)
    {
        QMenu::wheelEvent(a0);
        return;
    }

    ((sipVH_QtGui_5)(sipModuleAPI_kio_QtGui->em_virthandlers[5]))(sipGILState,meth,a0);
}

void sipKonqBookmarkContextMenu::enterEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_enterEvent);

    if (!meth)
    {
        QMenu::enterEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_kio_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipKonqBookmarkContextMenu::leaveEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_leaveEvent);

    if (!meth)
    {
        QMenu::leaveEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_kio_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipKonqBookmarkContextMenu::paintEvent(QPaintEvent *a0)
{
    typedef void (*sipVH_QtGui_3)(sip_gilstate_t,PyObject *,QPaintEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_paintEvent);

    if (!meth)
    {
        QMenu::paintEvent(a0);
        return;
    }

    ((sipVH_QtGui_3)(sipModuleAPI_kio_QtGui->em_virthandlers[3]))(sipGILState,meth,a0);
}

void sipKonqBookmarkContextMenu::actionEvent(QActionEvent *a0)
{
    typedef void (*sipVH_QtGui_20)(sip_gilstate_t,PyObject *,QActionEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_actionEvent);

    if (!meth)
    {
        QMenu::actionEvent(a0);
        return;
    }

    ((sipVH_QtGui_20)(sipModuleAPI_kio_QtGui->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipKonqBookmarkContextMenu::timerEvent(QTimerEvent *a0)
{
    typedef void (*sipVH_QtCore_3)(sip_gilstate_t,PyObject *,QTimerEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_timerEvent);

    if (!meth)
    {
        QMenu::timerEvent(a0);
        return;
    }

    ((sipVH_QtCore_3)(sipModuleAPI_kio_QtCore->em_virthandlers[3]))(sipGILState,meth,a0);
}

bool sipKonqBookmarkContextMenu::event(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_event);

    if (!meth)
        return QMenu::event(a0);

    return ((sipVH_QtCore_13)(sipModuleAPI_kio_QtCore->em_virthandlers[13]))(sipGILState,meth,a0);
}

int sipKonqBookmarkContextMenu::devType() const
{
    typedef int (*sipVH_QtCore_8)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[18]),sipPySelf,NULL,sipName_devType);

    if (!meth)
        return QWidget::devType();

    return ((sipVH_QtCore_8)(sipModuleAPI_kio_QtCore->em_virthandlers[8]))(sipGILState,meth);
}

void sipKonqBookmarkContextMenu::setVisible(bool a0)
{
    typedef void (*sipVH_QtGui_7)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_setVisible);

    if (!meth)
    {
        QWidget::setVisible(a0);
        return;
    }

    ((sipVH_QtGui_7)(sipModuleAPI_kio_QtGui->em_virthandlers[7]))(sipGILState,meth,a0);
}

QSize sipKonqBookmarkContextMenu::minimumSizeHint() const
{
    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[20]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!meth)
        return QWidget::minimumSizeHint();

    return ((sipVH_QtGui_4)(sipModuleAPI_kio_QtGui->em_virthandlers[4]))(sipGILState,meth);
}

int sipKonqBookmarkContextMenu::heightForWidth(int a0) const
{
    typedef int (*sipVH_QtGui_29)(sip_gilstate_t,PyObject *,int);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[21]),sipPySelf,NULL,sipName_heightForWidth);

    if (!meth)
        return QWidget::heightForWidth(a0);

    return ((sipVH_QtGui_29)(sipModuleAPI_kio_QtGui->em_virthandlers[29]))(sipGILState,meth,a0);
}

QPaintEngine * sipKonqBookmarkContextMenu::paintEngine() const
{
    typedef QPaintEngine * (*sipVH_QtGui_28)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[22]),sipPySelf,NULL,sipName_paintEngine);

    if (!meth)
        return QWidget::paintEngine();

    return ((sipVH_QtGui_28)(sipModuleAPI_kio_QtGui->em_virthandlers[28]))(sipGILState,meth);
}

void sipKonqBookmarkContextMenu::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 sipKonqBookmarkContextMenu::keyReleaseEvent(QKeyEvent *a0)
{
    typedef void (*sipVH_QtGui_26)(sip_gilstate_t,PyObject *,QKeyEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!meth)
    {
        QWidget::keyReleaseEvent(a0);
        return;
    }

    ((sipVH_QtGui_26)(sipModuleAPI_kio_QtGui->em_virthandlers[26]))(sipGILState,meth,a0);
}

void sipKonqBookmarkContextMenu::focusInEvent(QFocusEvent *a0)
{
    typedef void (*sipVH_QtGui_25)(sip_gilstate_t,PyObject *,QFocusEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_focusInEvent);

    if (!meth)
    {
        QWidget::focusInEvent(a0);
        return;
    }

    ((sipVH_QtGui_25)(sipModuleAPI_kio_QtGui->em_virthandlers[25]))(sipGILState,meth,a0);
}

void sipKonqBookmarkContextMenu::focusOutEvent(QFocusEvent *a0)
{
    typedef void (*sipVH_QtGui_25)(sip_gilstate_t,PyObject *,QFocusEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_focusOutEvent);

    if (!meth)
    {
        QWidget::focusOutEvent(a0);
        return;
    }

    ((sipVH_QtGui_25)(sipModuleAPI_kio_QtGui->em_virthandlers[25]))(sipGILState,meth,a0);
}

void sipKonqBookmarkContextMenu::moveEvent(QMoveEvent *a0)
{
    typedef void (*sipVH_QtGui_24)(sip_gilstate_t,PyObject *,QMoveEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_moveEvent);

    if (!meth)
    {
        QWidget::moveEvent(a0);
        return;
    }

    ((sipVH_QtGui_24)(sipModuleAPI_kio_QtGui->em_virthandlers[24]))(sipGILState,meth,a0);
}

void sipKonqBookmarkContextMenu::resizeEvent(QResizeEvent *a0)
{
    typedef void (*sipVH_QtGui_2)(sip_gilstate_t,PyObject *,QResizeEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_resizeEvent);

    if (!meth)
    {
        QWidget::resizeEvent(a0);
        return;
    }

    ((sipVH_QtGui_2)(sipModuleAPI_kio_QtGui->em_virthandlers[2]))(sipGILState,meth,a0);
}

void sipKonqBookmarkContextMenu::tabletEvent(QTabletEvent *a0)
{
    typedef void (*sipVH_QtGui_21)(sip_gilstate_t,PyObject *,QTabletEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_tabletEvent);

    if (!meth)
    {
        QWidget::tabletEvent(a0);
        return;
    }

    ((sipVH_QtGui_21)(sipModuleAPI_kio_QtGui->em_virthandlers[21]))(sipGILState,meth,a0);
}

void sipKonqBookmarkContextMenu::dragEnterEvent(QDragEnterEvent *a0)
{
    typedef void (*sipVH_QtGui_19)(sip_gilstate_t,PyObject *,QDragEnterEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!meth)
    {
        QWidget::dragEnterEvent(a0);
        return;
    }

    ((sipVH_QtGui_19)(sipModuleAPI_kio_QtGui->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipKonqBookmarkContextMenu::dragMoveEvent(QDragMoveEvent *a0)
{
    typedef void (*sipVH_QtGui_18)(sip_gilstate_t,PyObject *,QDragMoveEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!meth)
    {
        QWidget::dragMoveEvent(a0);
        return;
    }

    ((sipVH_QtGui_18)(sipModuleAPI_kio_QtGui->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipKonqBookmarkContextMenu::dragLeaveEvent(QDragLeaveEvent *a0)
{
    typedef void (*sipVH_QtGui_17)(sip_gilstate_t,PyObject *,QDragLeaveEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!meth)
    {
        QWidget::dragLeaveEvent(a0);
        return;
    }

    ((sipVH_QtGui_17)(sipModuleAPI_kio_QtGui->em_virthandlers[17]))(sipGILState,meth,a0);
}

void sipKonqBookmarkContextMenu::dropEvent(QDropEvent *a0)
{
    typedef void (*sipVH_QtGui_16)(sip_gilstate_t,PyObject *,QDropEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_dropEvent);

    if (!meth)
    {
        QWidget::dropEvent(a0);
        return;
    }

    ((sipVH_QtGui_16)(sipModuleAPI_kio_QtGui->em_virthandlers[16]))(sipGILState,meth,a0);
}

void sipKonqBookmarkContextMenu::showEvent(QShowEvent *a0)
{
    typedef void (*sipVH_QtGui_1)(sip_gilstate_t,PyObject *,QShowEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_showEvent);

    if (!meth)
    {
        QWidget::showEvent(a0);
        return;
    }

    ((sipVH_QtGui_1)(sipModuleAPI_kio_QtGui->em_virthandlers[1]))(sipGILState,meth,a0);
}

int sipKonqBookmarkContextMenu::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[35]),sipPySelf,NULL,sipName_metric);

    if (!meth)
        return QWidget::metric(a0);

    return ((sipVH_QtGui_15)(sipModuleAPI_kio_QtGui->em_virthandlers[15]))(sipGILState,meth,a0);
}

void sipKonqBookmarkContextMenu::inputMethodEvent(QInputMethodEvent *a0)
{
    typedef void (*sipVH_QtGui_14)(sip_gilstate_t,PyObject *,QInputMethodEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!meth)
    {
        QWidget::inputMethodEvent(a0);
        return;
    }

    ((sipVH_QtGui_14)(sipModuleAPI_kio_QtGui->em_virthandlers[14]))(sipGILState,meth,a0);
}

QVariant sipKonqBookmarkContextMenu::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[37]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!meth)
        return QWidget::inputMethodQuery(a0);

    return ((sipVH_QtGui_13)(sipModuleAPI_kio_QtGui->em_virthandlers[13]))(sipGILState,meth,a0);
}

void sipKonqBookmarkContextMenu::enabledChange(bool a0)
{
    typedef void (*sipVH_QtGui_7)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_enabledChange);

    if (!meth)
    {
        QWidget::enabledChange(a0);
        return;
    }

    ((sipVH_QtGui_7)(sipModuleAPI_kio_QtGui->em_virthandlers[7]))(sipGILState,meth,a0);
}

void sipKonqBookmarkContextMenu::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[39],sipPySelf,NULL,sipName_paletteChange);

    if (!meth)
    {
        QWidget::paletteChange(a0);
        return;
    }

    ((sipVH_QtGui_11)(sipModuleAPI_kio_QtGui->em_virthandlers[11]))(sipGILState,meth,a0);
}

void sipKonqBookmarkContextMenu::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[40],sipPySelf,NULL,sipName_fontChange);

    if (!meth)
    {
        QWidget::fontChange(a0);
        return;
    }

    ((sipVH_QtGui_10)(sipModuleAPI_kio_QtGui->em_virthandlers[10]))(sipGILState,meth,a0);
}

void sipKonqBookmarkContextMenu::windowActivationChange(bool a0)
{
    typedef void (*sipVH_QtGui_7)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_windowActivationChange);

    if (!meth)
    {
        QWidget::windowActivationChange(a0);
        return;
    }

    ((sipVH_QtGui_7)(sipModuleAPI_kio_QtGui->em_virthandlers[7]))(sipGILState,meth,a0);
}

void sipKonqBookmarkContextMenu::languageChange()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_languageChange);

    if (!meth)
    {
        QWidget::languageChange();
        return;
    }

    ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

bool sipKonqBookmarkContextMenu::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[43],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 sipKonqBookmarkContextMenu::childEvent(QChildEvent *a0)
{
    typedef void (*sipVH_QtCore_20)(sip_gilstate_t,PyObject *,QChildEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_childEvent);

    if (!meth)
    {
        QObject::childEvent(a0);
        return;
    }

    ((sipVH_QtCore_20)(sipModuleAPI_kio_QtCore->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipKonqBookmarkContextMenu::customEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_customEvent);

    if (!meth)
    {
        QObject::customEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_kio_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipKonqBookmarkContextMenu::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[46],sipPySelf,NULL,sipName_connectNotify);

    if (!meth)
    {
        QObject::connectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipKonqBookmarkContextMenu::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[47],sipPySelf,NULL,sipName_disconnectNotify);

    if (!meth)
    {
        QObject::disconnectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

int sipKonqBookmarkContextMenu::sipProtect_receivers(const char *a0) const
{
    return QObject::receivers(a0);
}

void sipKonqBookmarkContextMenu::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent *a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipKonqBookmarkContextMenu::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipKonqBookmarkContextMenu::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipKonqBookmarkContextMenu::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

void sipKonqBookmarkContextMenu::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? QWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipKonqBookmarkContextMenu::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent *a0)
{
    (sipSelfWasArg ? QWidget::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipKonqBookmarkContextMenu::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent *a0)
{
    (sipSelfWasArg ? QWidget::focusInEvent(a0) : focusInEvent(a0));
}

void sipKonqBookmarkContextMenu::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent *a0)
{
    (sipSelfWasArg ? QWidget::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipKonqBookmarkContextMenu::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent *a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipKonqBookmarkContextMenu::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent *a0)
{
    (sipSelfWasArg ? QWidget::resizeEvent(a0) : resizeEvent(a0));
}

void sipKonqBookmarkContextMenu::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent *a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipKonqBookmarkContextMenu::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent *a0)
{
    (sipSelfWasArg ? QWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipKonqBookmarkContextMenu::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent *a0)
{
    (sipSelfWasArg ? QWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipKonqBookmarkContextMenu::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent *a0)
{
    (sipSelfWasArg ? QWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipKonqBookmarkContextMenu::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent *a0)
{
    (sipSelfWasArg ? QWidget::dropEvent(a0) : dropEvent(a0));
}

void sipKonqBookmarkContextMenu::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent *a0)
{
    (sipSelfWasArg ? QWidget::showEvent(a0) : showEvent(a0));
}

int sipKonqBookmarkContextMenu::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipKonqBookmarkContextMenu::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent *a0)
{
    (sipSelfWasArg ? QWidget::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipKonqBookmarkContextMenu::sipProtect_resetInputContext()
{
    QWidget::resetInputContext();
}

void sipKonqBookmarkContextMenu::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipKonqBookmarkContextMenu::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipKonqBookmarkContextMenu::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipKonqBookmarkContextMenu::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipKonqBookmarkContextMenu::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

void sipKonqBookmarkContextMenu::sipProtectVirt_enabledChange(bool sipSelfWasArg,bool a0)
{
    (sipSelfWasArg ? QWidget::enabledChange(a0) : enabledChange(a0));
}

void sipKonqBookmarkContextMenu::sipProtectVirt_paletteChange(bool sipSelfWasArg,const QPalette& a0)
{
    (sipSelfWasArg ? QWidget::paletteChange(a0) : paletteChange(a0));
}

void sipKonqBookmarkContextMenu::sipProtectVirt_fontChange(bool sipSelfWasArg,const QFont& a0)
{
    (sipSelfWasArg ? QWidget::fontChange(a0) : fontChange(a0));
}

void sipKonqBookmarkContextMenu::sipProtectVirt_windowActivationChange(bool sipSelfWasArg,bool a0)
{
    (sipSelfWasArg ? QWidget::windowActivationChange(a0) : windowActivationChange(a0));
}

void sipKonqBookmarkContextMenu::sipProtectVirt_languageChange(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QWidget::languageChange() : languageChange());
}

int sipKonqBookmarkContextMenu::sipProtect_columnCount() const
{
    return QMenu::columnCount();
}

void sipKonqBookmarkContextMenu::sipProtect_initStyleOption(QStyleOptionMenuItem *a0,const QAction *a1) const
{
    QMenu::initStyleOption(a0,a1);
}

void sipKonqBookmarkContextMenu::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QMenu::changeEvent(a0) : changeEvent(a0));
}

void sipKonqBookmarkContextMenu::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? QMenu::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipKonqBookmarkContextMenu::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent *a0)
{
    (sipSelfWasArg ? QMenu::wheelEvent(a0) : wheelEvent(a0));
}

void sipKonqBookmarkContextMenu::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QMenu::enterEvent(a0) : enterEvent(a0));
}

void sipKonqBookmarkContextMenu::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QMenu::leaveEvent(a0) : leaveEvent(a0));
}

void sipKonqBookmarkContextMenu::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent *a0)
{
    (sipSelfWasArg ? QMenu::paintEvent(a0) : paintEvent(a0));
}

void sipKonqBookmarkContextMenu::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent *a0)
{
    (sipSelfWasArg ? QMenu::actionEvent(a0) : actionEvent(a0));
}

void sipKonqBookmarkContextMenu::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? QMenu::timerEvent(a0) : timerEvent(a0));
}

bool sipKonqBookmarkContextMenu::sipProtectVirt_event(bool sipSelfWasArg,QEvent *a0)
{
    return (sipSelfWasArg ? QMenu::event(a0) : event(a0));
}

void sipKonqBookmarkContextMenu::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent *a0)
{
    (sipSelfWasArg ? KMenu::closeEvent(a0) : closeEvent(a0));
}

void sipKonqBookmarkContextMenu::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent *a0)
{
    (sipSelfWasArg ? KMenu::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipKonqBookmarkContextMenu::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? KMenu::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipKonqBookmarkContextMenu::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? KMenu::mousePressEvent(a0) : mousePressEvent(a0));
}

bool sipKonqBookmarkContextMenu::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? KMenu::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

void sipKonqBookmarkContextMenu::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent *a0)
{
    (sipSelfWasArg ? KMenu::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipKonqBookmarkContextMenu::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent *a0)
{
    (sipSelfWasArg ? KMenu::hideEvent(a0) : hideEvent(a0));
}

void sipKonqBookmarkContextMenu::sipProtect_addBookmark()
{
    KBookmarkContextMenu::addBookmark();
}

void sipKonqBookmarkContextMenu::sipProtect_addFolderActions()
{
    KBookmarkContextMenu::addFolderActions();
}

void sipKonqBookmarkContextMenu::sipProtect_addProperties()
{
    KBookmarkContextMenu::addProperties();
}

void sipKonqBookmarkContextMenu::sipProtect_addBookmarkActions()
{
    KBookmarkContextMenu::addBookmarkActions();
}

void sipKonqBookmarkContextMenu::sipProtect_addOpenFolderInTabs()
{
    KBookmarkContextMenu::addOpenFolderInTabs();
}

KBookmarkManager * sipKonqBookmarkContextMenu::sipProtect_manager() const
{
    return KBookmarkContextMenu::manager();
}

KBookmarkOwner * sipKonqBookmarkContextMenu::sipProtect_owner() const
{
    return KBookmarkContextMenu::owner();
}

KBookmark sipKonqBookmarkContextMenu::sipProtect_bookmark() const
{
    return KBookmarkContextMenu::bookmark();
}


extern "C" {static PyObject *meth_KonqBookmarkContextMenu_receivers(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkContextMenu_receivers(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        char * a0;
        sipKonqBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KonqBookmarkContextMenu,&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 28974 "sipkiopart6.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KonqBookmarkContextMenu,sipName_receivers);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkContextMenu_childEvent(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkContextMenu_childEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipKonqBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KonqBookmarkContextMenu,&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_KonqBookmarkContextMenu,sipName_childEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkContextMenu_customEvent(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkContextMenu_customEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKonqBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KonqBookmarkContextMenu,&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_KonqBookmarkContextMenu,sipName_customEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkContextMenu_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkContextMenu_connectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKonqBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KonqBookmarkContextMenu,&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_KonqBookmarkContextMenu,sipName_connectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkContextMenu_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkContextMenu_disconnectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKonqBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KonqBookmarkContextMenu,&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_KonqBookmarkContextMenu,sipName_disconnectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkContextMenu_mouseDoubleClickEvent(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkContextMenu_mouseDoubleClickEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent * a0;
        sipKonqBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KonqBookmarkContextMenu,&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_KonqBookmarkContextMenu,sipName_mouseDoubleClickEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkContextMenu_keyReleaseEvent(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkContextMenu_keyReleaseEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent * a0;
        sipKonqBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KonqBookmarkContextMenu,&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_KonqBookmarkContextMenu,sipName_keyReleaseEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkContextMenu_focusInEvent(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkContextMenu_focusInEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent * a0;
        sipKonqBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KonqBookmarkContextMenu,&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_KonqBookmarkContextMenu,sipName_focusInEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkContextMenu_focusOutEvent(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkContextMenu_focusOutEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent * a0;
        sipKonqBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KonqBookmarkContextMenu,&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_KonqBookmarkContextMenu,sipName_focusOutEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkContextMenu_moveEvent(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkContextMenu_moveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent * a0;
        sipKonqBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KonqBookmarkContextMenu,&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_KonqBookmarkContextMenu,sipName_moveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkContextMenu_resizeEvent(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkContextMenu_resizeEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent * a0;
        sipKonqBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KonqBookmarkContextMenu,&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_KonqBookmarkContextMenu,sipName_resizeEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkContextMenu_tabletEvent(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkContextMenu_tabletEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent * a0;
        sipKonqBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KonqBookmarkContextMenu,&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_KonqBookmarkContextMenu,sipName_tabletEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkContextMenu_dragEnterEvent(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkContextMenu_dragEnterEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent * a0;
        sipKonqBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KonqBookmarkContextMenu,&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_KonqBookmarkContextMenu,sipName_dragEnterEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkContextMenu_dragMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkContextMenu_dragMoveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent * a0;
        sipKonqBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KonqBookmarkContextMenu,&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_KonqBookmarkContextMenu,sipName_dragMoveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkContextMenu_dragLeaveEvent(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkContextMenu_dragLeaveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent * a0;
        sipKonqBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KonqBookmarkContextMenu,&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_KonqBookmarkContextMenu,sipName_dragLeaveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkContextMenu_dropEvent(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkContextMenu_dropEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent * a0;
        sipKonqBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KonqBookmarkContextMenu,&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_KonqBookmarkContextMenu,sipName_dropEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkContextMenu_showEvent(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkContextMenu_showEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent * a0;
        sipKonqBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KonqBookmarkContextMenu,&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_KonqBookmarkContextMenu,sipName_showEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkContextMenu_metric(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkContextMenu_metric(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        sipKonqBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pE",&sipSelf,sipType_KonqBookmarkContextMenu,&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_KonqBookmarkContextMenu,sipName_metric);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkContextMenu_inputMethodEvent(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkContextMenu_inputMethodEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent * a0;
        sipKonqBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KonqBookmarkContextMenu,&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_KonqBookmarkContextMenu,sipName_inputMethodEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkContextMenu_resetInputContext(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkContextMenu_resetInputContext(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKonqBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KonqBookmarkContextMenu,&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_KonqBookmarkContextMenu,sipName_resetInputContext);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkContextMenu_updateMicroFocus(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkContextMenu_updateMicroFocus(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKonqBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KonqBookmarkContextMenu,&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_KonqBookmarkContextMenu,sipName_updateMicroFocus);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkContextMenu_create(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkContextMenu_create(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        WId a0 = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipKonqBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p|mbb",&sipSelf,sipType_KonqBookmarkContextMenu,&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_KonqBookmarkContextMenu,sipName_create);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkContextMenu_destroy(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkContextMenu_destroy(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipKonqBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p|bb",&sipSelf,sipType_KonqBookmarkContextMenu,&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_KonqBookmarkContextMenu,sipName_destroy);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkContextMenu_focusNextChild(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkContextMenu_focusNextChild(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKonqBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KonqBookmarkContextMenu,&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_KonqBookmarkContextMenu,sipName_focusNextChild);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkContextMenu_focusPreviousChild(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkContextMenu_focusPreviousChild(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKonqBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KonqBookmarkContextMenu,&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_KonqBookmarkContextMenu,sipName_focusPreviousChild);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkContextMenu_enabledChange(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkContextMenu_enabledChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipKonqBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_KonqBookmarkContextMenu,&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_KonqBookmarkContextMenu,sipName_enabledChange);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkContextMenu_paletteChange(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkContextMenu_paletteChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QPalette * a0;
        sipKonqBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&sipSelf,sipType_KonqBookmarkContextMenu,&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_KonqBookmarkContextMenu,sipName_paletteChange);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkContextMenu_fontChange(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkContextMenu_fontChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QFont * a0;
        sipKonqBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&sipSelf,sipType_KonqBookmarkContextMenu,&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_KonqBookmarkContextMenu,sipName_fontChange);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkContextMenu_windowActivationChange(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkContextMenu_windowActivationChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipKonqBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_KonqBookmarkContextMenu,&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_KonqBookmarkContextMenu,sipName_windowActivationChange);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkContextMenu_languageChange(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkContextMenu_languageChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipKonqBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KonqBookmarkContextMenu,&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_KonqBookmarkContextMenu,sipName_languageChange);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkContextMenu_columnCount(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkContextMenu_columnCount(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKonqBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KonqBookmarkContextMenu,&sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_columnCount();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KonqBookmarkContextMenu,sipName_columnCount);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkContextMenu_initStyleOption(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkContextMenu_initStyleOption(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        QStyleOptionMenuItem * a0;
        const QAction * a1;
        sipKonqBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8J8",&sipSelf,sipType_KonqBookmarkContextMenu,&sipCpp,sipType_QStyleOptionMenuItem,&a0,sipType_QAction,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_initStyleOption(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_KonqBookmarkContextMenu,sipName_initStyleOption);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkContextMenu_changeEvent(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkContextMenu_changeEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKonqBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KonqBookmarkContextMenu,&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_KonqBookmarkContextMenu,sipName_changeEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkContextMenu_mouseMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkContextMenu_mouseMoveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent * a0;
        sipKonqBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KonqBookmarkContextMenu,&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_KonqBookmarkContextMenu,sipName_mouseMoveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkContextMenu_wheelEvent(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkContextMenu_wheelEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent * a0;
        sipKonqBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KonqBookmarkContextMenu,&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_KonqBookmarkContextMenu,sipName_wheelEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkContextMenu_enterEvent(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkContextMenu_enterEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKonqBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KonqBookmarkContextMenu,&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_KonqBookmarkContextMenu,sipName_enterEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkContextMenu_leaveEvent(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkContextMenu_leaveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKonqBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KonqBookmarkContextMenu,&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_KonqBookmarkContextMenu,sipName_leaveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkContextMenu_paintEvent(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkContextMenu_paintEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent * a0;
        sipKonqBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KonqBookmarkContextMenu,&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_KonqBookmarkContextMenu,sipName_paintEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkContextMenu_actionEvent(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkContextMenu_actionEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent * a0;
        sipKonqBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KonqBookmarkContextMenu,&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_KonqBookmarkContextMenu,sipName_actionEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkContextMenu_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkContextMenu_timerEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipKonqBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KonqBookmarkContextMenu,&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_KonqBookmarkContextMenu,sipName_timerEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkContextMenu_event(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkContextMenu_event(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKonqBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KonqBookmarkContextMenu,&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_KonqBookmarkContextMenu,sipName_event);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkContextMenu_closeEvent(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkContextMenu_closeEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent * a0;
        sipKonqBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KonqBookmarkContextMenu,&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_KonqBookmarkContextMenu,sipName_closeEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkContextMenu_keyPressEvent(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkContextMenu_keyPressEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent * a0;
        sipKonqBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KonqBookmarkContextMenu,&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_KonqBookmarkContextMenu,sipName_keyPressEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkContextMenu_mouseReleaseEvent(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkContextMenu_mouseReleaseEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent * a0;
        sipKonqBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KonqBookmarkContextMenu,&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_KonqBookmarkContextMenu,sipName_mouseReleaseEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkContextMenu_mousePressEvent(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkContextMenu_mousePressEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent * a0;
        sipKonqBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KonqBookmarkContextMenu,&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_KonqBookmarkContextMenu,sipName_mousePressEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkContextMenu_focusNextPrevChild(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkContextMenu_focusNextPrevChild(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipKonqBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_KonqBookmarkContextMenu,&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_KonqBookmarkContextMenu,sipName_focusNextPrevChild);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkContextMenu_contextMenuEvent(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkContextMenu_contextMenuEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent * a0;
        sipKonqBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KonqBookmarkContextMenu,&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_KonqBookmarkContextMenu,sipName_contextMenuEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkContextMenu_hideEvent(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkContextMenu_hideEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent * a0;
        sipKonqBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KonqBookmarkContextMenu,&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_KonqBookmarkContextMenu,sipName_hideEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkContextMenu_addBookmark(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkContextMenu_addBookmark(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKonqBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KonqBookmarkContextMenu,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_addBookmark();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KonqBookmarkContextMenu,sipName_addBookmark);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkContextMenu_addFolderActions(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkContextMenu_addFolderActions(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKonqBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KonqBookmarkContextMenu,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_addFolderActions();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KonqBookmarkContextMenu,sipName_addFolderActions);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkContextMenu_addProperties(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkContextMenu_addProperties(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKonqBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KonqBookmarkContextMenu,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_addProperties();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KonqBookmarkContextMenu,sipName_addProperties);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkContextMenu_addBookmarkActions(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkContextMenu_addBookmarkActions(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKonqBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KonqBookmarkContextMenu,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_addBookmarkActions();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KonqBookmarkContextMenu,sipName_addBookmarkActions);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkContextMenu_addOpenFolderInTabs(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkContextMenu_addOpenFolderInTabs(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKonqBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KonqBookmarkContextMenu,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_addOpenFolderInTabs();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KonqBookmarkContextMenu,sipName_addOpenFolderInTabs);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkContextMenu_manager(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkContextMenu_manager(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKonqBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KonqBookmarkContextMenu,&sipCpp))
        {
            KBookmarkManager *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_manager();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KBookmarkManager,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KonqBookmarkContextMenu,sipName_manager);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkContextMenu_owner(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkContextMenu_owner(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKonqBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KonqBookmarkContextMenu,&sipCpp))
        {
            KBookmarkOwner *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_owner();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KBookmarkOwner,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KonqBookmarkContextMenu,sipName_owner);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkContextMenu_bookmark(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkContextMenu_bookmark(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKonqBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KonqBookmarkContextMenu,&sipCpp))
        {
            KBookmark *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KBookmark(sipCpp->sipProtect_bookmark());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KBookmark,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KonqBookmarkContextMenu,sipName_bookmark);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkContextMenu_addActions(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkContextMenu_addActions(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KonqBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KonqBookmarkContextMenu,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KonqBookmarkContextMenu::addActions() : sipCpp->addActions());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KonqBookmarkContextMenu,sipName_addActions);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkContextMenu_openInNewTab(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkContextMenu_openInNewTab(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KonqBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KonqBookmarkContextMenu,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->openInNewTab();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KonqBookmarkContextMenu,sipName_openInNewTab);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkContextMenu_openInNewWindow(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkContextMenu_openInNewWindow(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KonqBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KonqBookmarkContextMenu,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->openInNewWindow();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KonqBookmarkContextMenu,sipName_openInNewWindow);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkContextMenu_toggleShowInToolbar(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkContextMenu_toggleShowInToolbar(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KonqBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KonqBookmarkContextMenu,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->toggleShowInToolbar();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KonqBookmarkContextMenu,sipName_toggleShowInToolbar);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KonqBookmarkContextMenu(void *, const sipTypeDef *);}
static void *cast_KonqBookmarkContextMenu(void *ptr,const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KonqBookmarkContextMenu)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KBookmarkContextMenu)->ctd_cast((KBookmarkContextMenu *)(KonqBookmarkContextMenu *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KonqBookmarkContextMenu(void *, int);}
static void release_KonqBookmarkContextMenu(void *sipCppV,int state)
{
    Py_BEGIN_ALLOW_THREADS

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKonqBookmarkContextMenu *>(sipCppV);
    else
        delete reinterpret_cast<KonqBookmarkContextMenu *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KonqBookmarkContextMenu(sipSimpleWrapper *);}
static void dealloc_KonqBookmarkContextMenu(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKonqBookmarkContextMenu *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KonqBookmarkContextMenu(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_KonqBookmarkContextMenu(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KonqBookmarkContextMenu(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    sipKonqBookmarkContextMenu *sipCpp = 0;

    if (!sipCpp)
    {
        const KBookmark * a0;
        KBookmarkManager * a1;
        KonqBookmarkOwner * a2;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9J8J8",sipType_KBookmark,&a0,sipType_KBookmarkManager,&a1,sipType_KonqBookmarkOwner,&a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKonqBookmarkContextMenu(*a0,a1,a2);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KonqBookmarkContextMenu[] = {{18, 255, 1}};


static PyMethodDef methods_KonqBookmarkContextMenu[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), meth_KonqBookmarkContextMenu_actionEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addActions), meth_KonqBookmarkContextMenu_addActions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addBookmark), meth_KonqBookmarkContextMenu_addBookmark, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addBookmarkActions), meth_KonqBookmarkContextMenu_addBookmarkActions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addFolderActions), meth_KonqBookmarkContextMenu_addFolderActions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addOpenFolderInTabs), meth_KonqBookmarkContextMenu_addOpenFolderInTabs, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addProperties), meth_KonqBookmarkContextMenu_addProperties, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_bookmark), meth_KonqBookmarkContextMenu_bookmark, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_changeEvent), meth_KonqBookmarkContextMenu_changeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_KonqBookmarkContextMenu_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), meth_KonqBookmarkContextMenu_closeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_columnCount), meth_KonqBookmarkContextMenu_columnCount, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KonqBookmarkContextMenu_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), meth_KonqBookmarkContextMenu_contextMenuEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_create), meth_KonqBookmarkContextMenu_create, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KonqBookmarkContextMenu_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), meth_KonqBookmarkContextMenu_destroy, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KonqBookmarkContextMenu_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), meth_KonqBookmarkContextMenu_dragEnterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), meth_KonqBookmarkContextMenu_dragLeaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), meth_KonqBookmarkContextMenu_dragMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), meth_KonqBookmarkContextMenu_dropEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enabledChange), meth_KonqBookmarkContextMenu_enabledChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), meth_KonqBookmarkContextMenu_enterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_event), meth_KonqBookmarkContextMenu_event, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), meth_KonqBookmarkContextMenu_focusInEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), meth_KonqBookmarkContextMenu_focusNextChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), meth_KonqBookmarkContextMenu_focusNextPrevChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), meth_KonqBookmarkContextMenu_focusOutEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), meth_KonqBookmarkContextMenu_focusPreviousChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fontChange), meth_KonqBookmarkContextMenu_fontChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), meth_KonqBookmarkContextMenu_hideEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_initStyleOption), meth_KonqBookmarkContextMenu_initStyleOption, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), meth_KonqBookmarkContextMenu_inputMethodEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), meth_KonqBookmarkContextMenu_keyPressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), meth_KonqBookmarkContextMenu_keyReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_languageChange), meth_KonqBookmarkContextMenu_languageChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), meth_KonqBookmarkContextMenu_leaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_manager), meth_KonqBookmarkContextMenu_manager, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_metric), meth_KonqBookmarkContextMenu_metric, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), meth_KonqBookmarkContextMenu_mouseDoubleClickEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), meth_KonqBookmarkContextMenu_mouseMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), meth_KonqBookmarkContextMenu_mousePressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), meth_KonqBookmarkContextMenu_mouseReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), meth_KonqBookmarkContextMenu_moveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_openInNewTab), meth_KonqBookmarkContextMenu_openInNewTab, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_openInNewWindow), meth_KonqBookmarkContextMenu_openInNewWindow, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_owner), meth_KonqBookmarkContextMenu_owner, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), meth_KonqBookmarkContextMenu_paintEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paletteChange), meth_KonqBookmarkContextMenu_paletteChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_KonqBookmarkContextMenu_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resetInputContext), meth_KonqBookmarkContextMenu_resetInputContext, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_KonqBookmarkContextMenu_resizeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), meth_KonqBookmarkContextMenu_showEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_tabletEvent), meth_KonqBookmarkContextMenu_tabletEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KonqBookmarkContextMenu_timerEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toggleShowInToolbar), meth_KonqBookmarkContextMenu_toggleShowInToolbar, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), meth_KonqBookmarkContextMenu_updateMicroFocus, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), meth_KonqBookmarkContextMenu_wheelEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_windowActivationChange), meth_KonqBookmarkContextMenu_windowActivationChange, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_kio_KonqBookmarkContextMenu = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KonqBookmarkContextMenu,
        {0}
    },
    sipNameNr_KonqBookmarkContextMenu,
    -1,
    -1,
    {0, 0, 1},
    supers_KonqBookmarkContextMenu,
    0,
    60, methods_KonqBookmarkContextMenu,
    0, 0,
    0, 0,
    init_KonqBookmarkContextMenu,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KonqBookmarkContextMenu,
    release_KonqBookmarkContextMenu,
    cast_KonqBookmarkContextMenu,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KonqBookmarkContextMenu::staticMetaObject,
    0,
    0
};

#line 39 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/konqbookmarkmenu.sip"
#include <konqbookmarkmenu.h>
#line 30800 "sipkiopart6.cpp"

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kbookmarkmanager.sip"
#include <kbookmarkmanager.h>
#line 30804 "sipkiopart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/konqbookmarkmenu.sip"
#include <konqbookmarkmenu.h>
#line 30807 "sipkiopart6.cpp"
#line 107 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kbookmarkmenu.sip"
#include <kbookmarkmenu.h>
#line 30810 "sipkiopart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kactioncollection.sip"
#include <kactioncollection.h>
#line 30813 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 30816 "sipkiopart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kmenu.sip"
#include <kmenu.h>
#line 30819 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qaction.sip"
#include <qaction.h>
#line 30822 "sipkiopart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 30825 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 30828 "sipkiopart6.cpp"
#line 74 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kbookmarkmanager.sip"
#include <kbookmarkmanager.h>
#line 30831 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 30834 "sipkiopart6.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 30837 "sipkiopart6.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 30840 "sipkiopart6.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 30843 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 30846 "sipkiopart6.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 30877 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 30880 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 30883 "sipkiopart6.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 30886 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 30889 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 30892 "sipkiopart6.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 30895 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 30898 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 30901 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 30904 "sipkiopart6.cpp"


class sipKonqBookmarkMenu : public KonqBookmarkMenu
{
public:
    sipKonqBookmarkMenu(KBookmarkManager *,KonqBookmarkOwner *,KBookmarkActionMenu *,KActionCollection *);
    sipKonqBookmarkMenu(KBookmarkManager *,KonqBookmarkOwner *,KBookmarkActionMenu *,QString);
    virtual ~sipKonqBookmarkMenu();

    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_slotAboutToShow();
    void sipProtect_slotAddBookmarksList();
    void sipProtect_slotAddBookmark();
    void sipProtect_slotNewFolder();
    void sipProtect_slotOpenFolderInTabs();
    void sipProtectVirt_clear(bool);
    void sipProtect_addActions();
    void sipProtect_fillBookmarks();
    void sipProtect_addAddBookmark();
    void sipProtect_addAddBookmarksList();
    void sipProtect_addEditBookmarks();
    void sipProtect_addNewFolder();
    void sipProtect_addOpenInTabs();
    bool sipProtect_isRoot() const;
    bool sipProtect_isDirty() const;
    QString sipProtect_parentAddress() const;
    KBookmarkManager * sipProtect_manager() const;
    KBookmarkOwner * sipProtect_owner() const;
    KMenu * sipProtect_parentMenu() const;
    static QStringList sipProtect_dynamicBookmarksList();
    void sipProtectVirt_refill(bool);
    QAction * sipProtectVirt_actionForBookmark(bool,const KBookmark&);
    KMenu * sipProtectVirt_contextMenu(bool,QAction *);
    void sipProtect_fillDynamicBookmarks();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void refill();
    QAction * actionForBookmark(const KBookmark&);
    KMenu * contextMenu(QAction *);
    void clear();
    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:
    sipKonqBookmarkMenu(const sipKonqBookmarkMenu &);
    sipKonqBookmarkMenu &operator = (const sipKonqBookmarkMenu &);

    char sipPyMethods[11];
};

sipKonqBookmarkMenu::sipKonqBookmarkMenu(KBookmarkManager *a0,KonqBookmarkOwner *a1,KBookmarkActionMenu *a2,KActionCollection *a3): KonqBookmarkMenu(a0,a1,a2,a3), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKonqBookmarkMenu::sipKonqBookmarkMenu(KBookmarkManager *a0,KonqBookmarkOwner *a1,KBookmarkActionMenu *a2,QString a3): KonqBookmarkMenu(a0,a1,a2,a3), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKonqBookmarkMenu::~sipKonqBookmarkMenu()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKonqBookmarkMenu::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KonqBookmarkMenu);
}

int sipKonqBookmarkMenu::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KonqBookmarkMenu::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kio_qt_metacall(sipPySelf,sipType_KonqBookmarkMenu,_c,_id,_a);

    return _id;
}

void *sipKonqBookmarkMenu::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast && sip_kio_qt_metacast(sipPySelf,sipType_KonqBookmarkMenu,_clname)) ? this : KonqBookmarkMenu::qt_metacast(_clname);
}

void sipKonqBookmarkMenu::refill()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_refill);

    if (!meth)
    {
        KonqBookmarkMenu::refill();
        return;
    }

    ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

QAction * sipKonqBookmarkMenu::actionForBookmark(const KBookmark& a0)
{
    extern QAction * sipVH_kio_80(sip_gilstate_t,PyObject *,const KBookmark&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_actionForBookmark);

    if (!meth)
        return KonqBookmarkMenu::actionForBookmark(a0);

    return sipVH_kio_80(sipGILState,meth,a0);
}

KMenu * sipKonqBookmarkMenu::contextMenu(QAction *a0)
{
    extern KMenu * sipVH_kio_79(sip_gilstate_t,PyObject *,QAction *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_contextMenu);

    if (!meth)
        return KonqBookmarkMenu::contextMenu(a0);

    return sipVH_kio_79(sipGILState,meth,a0);
}

void sipKonqBookmarkMenu::clear()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_clear);

    if (!meth)
    {
        KBookmarkMenu::clear();
        return;
    }

    ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

bool sipKonqBookmarkMenu::event(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_event);

    if (!meth)
        return QObject::event(a0);

    return ((sipVH_QtCore_13)(sipModuleAPI_kio_QtCore->em_virthandlers[13]))(sipGILState,meth,a0);
}

bool sipKonqBookmarkMenu::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[5],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 sipKonqBookmarkMenu::timerEvent(QTimerEvent *a0)
{
    typedef void (*sipVH_QtCore_3)(sip_gilstate_t,PyObject *,QTimerEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_timerEvent);

    if (!meth)
    {
        QObject::timerEvent(a0);
        return;
    }

    ((sipVH_QtCore_3)(sipModuleAPI_kio_QtCore->em_virthandlers[3]))(sipGILState,meth,a0);
}

void sipKonqBookmarkMenu::childEvent(QChildEvent *a0)
{
    typedef void (*sipVH_QtCore_20)(sip_gilstate_t,PyObject *,QChildEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_childEvent);

    if (!meth)
    {
        QObject::childEvent(a0);
        return;
    }

    ((sipVH_QtCore_20)(sipModuleAPI_kio_QtCore->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipKonqBookmarkMenu::customEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_customEvent);

    if (!meth)
    {
        QObject::customEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_kio_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipKonqBookmarkMenu::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[9],sipPySelf,NULL,sipName_connectNotify);

    if (!meth)
    {
        QObject::connectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipKonqBookmarkMenu::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[10],sipPySelf,NULL,sipName_disconnectNotify);

    if (!meth)
    {
        QObject::disconnectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

int sipKonqBookmarkMenu::sipProtect_receivers(const char *a0) const
{
    return QObject::receivers(a0);
}

void sipKonqBookmarkMenu::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipKonqBookmarkMenu::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent *a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipKonqBookmarkMenu::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipKonqBookmarkMenu::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipKonqBookmarkMenu::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

void sipKonqBookmarkMenu::sipProtect_slotAboutToShow()
{
    KBookmarkMenu::slotAboutToShow();
}

void sipKonqBookmarkMenu::sipProtect_slotAddBookmarksList()
{
    KBookmarkMenu::slotAddBookmarksList();
}

void sipKonqBookmarkMenu::sipProtect_slotAddBookmark()
{
    KBookmarkMenu::slotAddBookmark();
}

void sipKonqBookmarkMenu::sipProtect_slotNewFolder()
{
    KBookmarkMenu::slotNewFolder();
}

void sipKonqBookmarkMenu::sipProtect_slotOpenFolderInTabs()
{
    KBookmarkMenu::slotOpenFolderInTabs();
}

void sipKonqBookmarkMenu::sipProtectVirt_clear(bool sipSelfWasArg)
{
    (sipSelfWasArg ? KBookmarkMenu::clear() : clear());
}

void sipKonqBookmarkMenu::sipProtect_addActions()
{
    KBookmarkMenu::addActions();
}

void sipKonqBookmarkMenu::sipProtect_fillBookmarks()
{
    KBookmarkMenu::fillBookmarks();
}

void sipKonqBookmarkMenu::sipProtect_addAddBookmark()
{
    KBookmarkMenu::addAddBookmark();
}

void sipKonqBookmarkMenu::sipProtect_addAddBookmarksList()
{
    KBookmarkMenu::addAddBookmarksList();
}

void sipKonqBookmarkMenu::sipProtect_addEditBookmarks()
{
    KBookmarkMenu::addEditBookmarks();
}

void sipKonqBookmarkMenu::sipProtect_addNewFolder()
{
    KBookmarkMenu::addNewFolder();
}

void sipKonqBookmarkMenu::sipProtect_addOpenInTabs()
{
    KBookmarkMenu::addOpenInTabs();
}

bool sipKonqBookmarkMenu::sipProtect_isRoot() const
{
    return KBookmarkMenu::isRoot();
}

bool sipKonqBookmarkMenu::sipProtect_isDirty() const
{
    return KBookmarkMenu::isDirty();
}

QString sipKonqBookmarkMenu::sipProtect_parentAddress() const
{
    return KBookmarkMenu::parentAddress();
}

KBookmarkManager * sipKonqBookmarkMenu::sipProtect_manager() const
{
    return KBookmarkMenu::manager();
}

KBookmarkOwner * sipKonqBookmarkMenu::sipProtect_owner() const
{
    return KBookmarkMenu::owner();
}

KMenu * sipKonqBookmarkMenu::sipProtect_parentMenu() const
{
    return KBookmarkMenu::parentMenu();
}

QStringList sipKonqBookmarkMenu::sipProtect_dynamicBookmarksList()
{
    return KonqBookmarkMenu::dynamicBookmarksList();
}

void sipKonqBookmarkMenu::sipProtectVirt_refill(bool sipSelfWasArg)
{
    (sipSelfWasArg ? KonqBookmarkMenu::refill() : refill());
}

QAction * sipKonqBookmarkMenu::sipProtectVirt_actionForBookmark(bool sipSelfWasArg,const KBookmark& a0)
{
    return (sipSelfWasArg ? KonqBookmarkMenu::actionForBookmark(a0) : actionForBookmark(a0));
}

KMenu * sipKonqBookmarkMenu::sipProtectVirt_contextMenu(bool sipSelfWasArg,QAction *a0)
{
    return (sipSelfWasArg ? KonqBookmarkMenu::contextMenu(a0) : contextMenu(a0));
}

void sipKonqBookmarkMenu::sipProtect_fillDynamicBookmarks()
{
    KonqBookmarkMenu::fillDynamicBookmarks();
}


extern "C" {static PyObject *meth_KonqBookmarkMenu_receivers(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkMenu_receivers(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        char * a0;
        sipKonqBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KonqBookmarkMenu,&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 31377 "sipkiopart6.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KonqBookmarkMenu,sipName_receivers);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkMenu_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkMenu_timerEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipKonqBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KonqBookmarkMenu,&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_KonqBookmarkMenu,sipName_timerEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkMenu_childEvent(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkMenu_childEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipKonqBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KonqBookmarkMenu,&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_KonqBookmarkMenu,sipName_childEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkMenu_customEvent(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkMenu_customEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKonqBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KonqBookmarkMenu,&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_KonqBookmarkMenu,sipName_customEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkMenu_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkMenu_connectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKonqBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KonqBookmarkMenu,&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_KonqBookmarkMenu,sipName_connectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkMenu_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkMenu_disconnectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKonqBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KonqBookmarkMenu,&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_KonqBookmarkMenu,sipName_disconnectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkMenu_slotAboutToShow(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkMenu_slotAboutToShow(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKonqBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KonqBookmarkMenu,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_slotAboutToShow();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KonqBookmarkMenu,sipName_slotAboutToShow);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkMenu_slotAddBookmarksList(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkMenu_slotAddBookmarksList(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKonqBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KonqBookmarkMenu,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_slotAddBookmarksList();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KonqBookmarkMenu,sipName_slotAddBookmarksList);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkMenu_slotAddBookmark(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkMenu_slotAddBookmark(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKonqBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KonqBookmarkMenu,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_slotAddBookmark();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KonqBookmarkMenu,sipName_slotAddBookmark);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkMenu_slotNewFolder(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkMenu_slotNewFolder(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKonqBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KonqBookmarkMenu,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_slotNewFolder();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KonqBookmarkMenu,sipName_slotNewFolder);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkMenu_slotOpenFolderInTabs(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkMenu_slotOpenFolderInTabs(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKonqBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KonqBookmarkMenu,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_slotOpenFolderInTabs();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KonqBookmarkMenu,sipName_slotOpenFolderInTabs);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkMenu_clear(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkMenu_clear(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipKonqBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KonqBookmarkMenu,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_clear(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_KonqBookmarkMenu,sipName_clear);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkMenu_addActions(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkMenu_addActions(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKonqBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KonqBookmarkMenu,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_addActions();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KonqBookmarkMenu,sipName_addActions);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkMenu_fillBookmarks(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkMenu_fillBookmarks(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKonqBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KonqBookmarkMenu,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_fillBookmarks();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KonqBookmarkMenu,sipName_fillBookmarks);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkMenu_addAddBookmark(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkMenu_addAddBookmark(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKonqBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KonqBookmarkMenu,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_addAddBookmark();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KonqBookmarkMenu,sipName_addAddBookmark);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkMenu_addAddBookmarksList(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkMenu_addAddBookmarksList(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKonqBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KonqBookmarkMenu,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_addAddBookmarksList();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KonqBookmarkMenu,sipName_addAddBookmarksList);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkMenu_addEditBookmarks(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkMenu_addEditBookmarks(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKonqBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KonqBookmarkMenu,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_addEditBookmarks();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KonqBookmarkMenu,sipName_addEditBookmarks);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkMenu_addNewFolder(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkMenu_addNewFolder(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKonqBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KonqBookmarkMenu,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_addNewFolder();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KonqBookmarkMenu,sipName_addNewFolder);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkMenu_addOpenInTabs(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkMenu_addOpenInTabs(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKonqBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KonqBookmarkMenu,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_addOpenInTabs();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KonqBookmarkMenu,sipName_addOpenInTabs);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkMenu_isRoot(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkMenu_isRoot(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKonqBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KonqBookmarkMenu,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_isRoot();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KonqBookmarkMenu,sipName_isRoot);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkMenu_isDirty(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkMenu_isDirty(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKonqBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KonqBookmarkMenu,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_isDirty();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KonqBookmarkMenu,sipName_isDirty);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkMenu_parentAddress(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkMenu_parentAddress(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKonqBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KonqBookmarkMenu,&sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->sipProtect_parentAddress());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KonqBookmarkMenu,sipName_parentAddress);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkMenu_manager(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkMenu_manager(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKonqBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KonqBookmarkMenu,&sipCpp))
        {
            KBookmarkManager *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_manager();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KBookmarkManager,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KonqBookmarkMenu,sipName_manager);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkMenu_owner(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkMenu_owner(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKonqBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KonqBookmarkMenu,&sipCpp))
        {
            KBookmarkOwner *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_owner();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KBookmarkOwner,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KonqBookmarkMenu,sipName_owner);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkMenu_parentMenu(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkMenu_parentMenu(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKonqBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KonqBookmarkMenu,&sipCpp))
        {
            KMenu *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_parentMenu();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KMenu,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KonqBookmarkMenu,sipName_parentMenu);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkMenu_dynamicBookmarksList(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkMenu_dynamicBookmarksList(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            QStringList *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipKonqBookmarkMenu::sipProtect_dynamicBookmarksList());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KonqBookmarkMenu,sipName_dynamicBookmarksList);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkMenu_refill(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkMenu_refill(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipKonqBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KonqBookmarkMenu,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_refill(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_KonqBookmarkMenu,sipName_refill);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkMenu_actionForBookmark(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkMenu_actionForBookmark(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KBookmark * a0;
        sipKonqBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&sipSelf,sipType_KonqBookmarkMenu,&sipCpp,sipType_KBookmark,&a0))
        {
            QAction *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_actionForBookmark(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KonqBookmarkMenu,sipName_actionForBookmark);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkMenu_contextMenu(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkMenu_contextMenu(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QAction * a0;
        sipKonqBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KonqBookmarkMenu,&sipCpp,sipType_QAction,&a0))
        {
            KMenu *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_contextMenu(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KMenu,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KonqBookmarkMenu,sipName_contextMenu);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkMenu_fillDynamicBookmarks(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkMenu_fillDynamicBookmarks(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKonqBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KonqBookmarkMenu,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_fillDynamicBookmarks();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KonqBookmarkMenu,sipName_fillDynamicBookmarks);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KonqBookmarkMenu(void *, const sipTypeDef *);}
static void *cast_KonqBookmarkMenu(void *ptr,const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KonqBookmarkMenu)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KBookmarkMenu)->ctd_cast((KBookmarkMenu *)(KonqBookmarkMenu *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KonqBookmarkMenu(void *, int);}
static void release_KonqBookmarkMenu(void *sipCppV,int state)
{
    Py_BEGIN_ALLOW_THREADS

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKonqBookmarkMenu *>(sipCppV);
    else
        delete reinterpret_cast<KonqBookmarkMenu *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KonqBookmarkMenu(sipSimpleWrapper *);}
static void dealloc_KonqBookmarkMenu(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKonqBookmarkMenu *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KonqBookmarkMenu(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_KonqBookmarkMenu(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KonqBookmarkMenu(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    sipKonqBookmarkMenu *sipCpp = 0;

    if (!sipCpp)
    {
        KBookmarkManager * a0;
        KonqBookmarkOwner * a1;
        KBookmarkActionMenu * a2;
        KActionCollection * a3;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J8J8J8J8",sipType_KBookmarkManager,&a0,sipType_KonqBookmarkOwner,&a1,sipType_KBookmarkActionMenu,&a2,sipType_KActionCollection,&a3))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKonqBookmarkMenu(a0,a1,a2,a3);
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        KBookmarkManager * a0;
        KonqBookmarkOwner * a1;
        KBookmarkActionMenu * a2;
        QString * a3;
        int a3State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J8J8J8J1",sipType_KBookmarkManager,&a0,sipType_KonqBookmarkOwner,&a1,sipType_KBookmarkActionMenu,&a2,sipType_QString,&a3,&a3State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKonqBookmarkMenu(a0,a1,a2,*a3);
            Py_END_ALLOW_THREADS

            sipReleaseType(a3,sipType_QString,a3State);
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KonqBookmarkMenu[] = {{27, 255, 1}};


static PyMethodDef methods_KonqBookmarkMenu[] = {
    {SIP_MLNAME_CAST(sipName_actionForBookmark), meth_KonqBookmarkMenu_actionForBookmark, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addActions), meth_KonqBookmarkMenu_addActions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addAddBookmark), meth_KonqBookmarkMenu_addAddBookmark, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addAddBookmarksList), meth_KonqBookmarkMenu_addAddBookmarksList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addEditBookmarks), meth_KonqBookmarkMenu_addEditBookmarks, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addNewFolder), meth_KonqBookmarkMenu_addNewFolder, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addOpenInTabs), meth_KonqBookmarkMenu_addOpenInTabs, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_KonqBookmarkMenu_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_clear), meth_KonqBookmarkMenu_clear, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KonqBookmarkMenu_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenu), meth_KonqBookmarkMenu_contextMenu, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KonqBookmarkMenu_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KonqBookmarkMenu_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dynamicBookmarksList), meth_KonqBookmarkMenu_dynamicBookmarksList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fillBookmarks), meth_KonqBookmarkMenu_fillBookmarks, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fillDynamicBookmarks), meth_KonqBookmarkMenu_fillDynamicBookmarks, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isDirty), meth_KonqBookmarkMenu_isDirty, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isRoot), meth_KonqBookmarkMenu_isRoot, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_manager), meth_KonqBookmarkMenu_manager, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_owner), meth_KonqBookmarkMenu_owner, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_parentAddress), meth_KonqBookmarkMenu_parentAddress, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_parentMenu), meth_KonqBookmarkMenu_parentMenu, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_KonqBookmarkMenu_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_refill), meth_KonqBookmarkMenu_refill, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotAboutToShow), meth_KonqBookmarkMenu_slotAboutToShow, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotAddBookmark), meth_KonqBookmarkMenu_slotAddBookmark, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotAddBookmarksList), meth_KonqBookmarkMenu_slotAddBookmarksList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotNewFolder), meth_KonqBookmarkMenu_slotNewFolder, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotOpenFolderInTabs), meth_KonqBookmarkMenu_slotOpenFolderInTabs, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KonqBookmarkMenu_timerEvent, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_kio_KonqBookmarkMenu = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KonqBookmarkMenu,
        {0}
    },
    sipNameNr_KonqBookmarkMenu,
    -1,
    -1,
    {0, 0, 1},
    supers_KonqBookmarkMenu,
    0,
    30, methods_KonqBookmarkMenu,
    0, 0,
    0, 0,
    init_KonqBookmarkMenu,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KonqBookmarkMenu,
    release_KonqBookmarkMenu,
    cast_KonqBookmarkMenu,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KonqBookmarkMenu::staticMetaObject,
    0,
    0
};

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/konqbookmarkmenu.sip"
#include <konqbookmarkmenu.h>
#line 32341 "sipkiopart6.cpp"

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 32345 "sipkiopart6.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kbookmarkdialog.sip"
#include <kbookmarkdialog.h>
#line 32348 "sipkiopart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kbookmarkmanager.sip"
#include <kbookmarkmanager.h>
#line 32351 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 32354 "sipkiopart6.cpp"
#line 96 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 32357 "sipkiopart6.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 32360 "sipkiopart6.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 32363 "sipkiopart6.cpp"
#line 74 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kbookmarkmanager.sip"
#include <kbookmarkmanager.h>
#line 32366 "sipkiopart6.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 32397 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 32400 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 32403 "sipkiopart6.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 32406 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 32409 "sipkiopart6.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 32412 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 32415 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 32418 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 32421 "sipkiopart6.cpp"


class sipKonqBookmarkOwner : public KonqBookmarkOwner
{
public:
    sipKonqBookmarkOwner();
    sipKonqBookmarkOwner(const KonqBookmarkOwner&);
    virtual ~sipKonqBookmarkOwner();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void openInNewTab(const KBookmark&);
    void openInNewWindow(const KBookmark&);
    QString currentTitle() const;
    QString currentUrl() const;
    bool supportsTabs() const;
    QList<QPair<QString,QString> > currentBookmarkList() const;
    bool enableOption(KBookmarkOwner::BookmarkOption) const;
    void openBookmark(const KBookmark&,Qt::MouseButtons,Qt::KeyboardModifiers);
    void openFolderinTabs(const KBookmarkGroup&);
    KBookmarkDialog * bookmarkDialog(KBookmarkManager *,QWidget *);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKonqBookmarkOwner(const sipKonqBookmarkOwner &);
    sipKonqBookmarkOwner &operator = (const sipKonqBookmarkOwner &);

    char sipPyMethods[10];
};

sipKonqBookmarkOwner::sipKonqBookmarkOwner(): KonqBookmarkOwner(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKonqBookmarkOwner::sipKonqBookmarkOwner(const KonqBookmarkOwner& a0): KonqBookmarkOwner(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKonqBookmarkOwner::~sipKonqBookmarkOwner()
{
    sipCommonDtor(sipPySelf);
}

void sipKonqBookmarkOwner::openInNewTab(const KBookmark& a0)
{
    extern void sipVH_kio_81(sip_gilstate_t,PyObject *,const KBookmark&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,sipName_KonqBookmarkOwner,sipName_openInNewTab);

    if (!meth)
        return;

    sipVH_kio_81(sipGILState,meth,a0);
}

void sipKonqBookmarkOwner::openInNewWindow(const KBookmark& a0)
{
    extern void sipVH_kio_81(sip_gilstate_t,PyObject *,const KBookmark&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,sipName_KonqBookmarkOwner,sipName_openInNewWindow);

    if (!meth)
        return;

    sipVH_kio_81(sipGILState,meth,a0);
}

QString sipKonqBookmarkOwner::currentTitle() const
{
    typedef QString (*sipVH_QtCore_58)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName_currentTitle);

    if (!meth)
        return KBookmarkOwner::currentTitle();

    return ((sipVH_QtCore_58)(sipModuleAPI_kio_QtCore->em_virthandlers[58]))(sipGILState,meth);
}

QString sipKonqBookmarkOwner::currentUrl() const
{
    typedef QString (*sipVH_QtCore_58)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_currentUrl);

    if (!meth)
        return KBookmarkOwner::currentUrl();

    return ((sipVH_QtCore_58)(sipModuleAPI_kio_QtCore->em_virthandlers[58]))(sipGILState,meth);
}

bool sipKonqBookmarkOwner::supportsTabs() const
{
    typedef bool (*sipVH_QtCore_1)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,NULL,sipName_supportsTabs);

    if (!meth)
        return KBookmarkOwner::supportsTabs();

    return ((sipVH_QtCore_1)(sipModuleAPI_kio_QtCore->em_virthandlers[1]))(sipGILState,meth);
}

QList<QPair<QString,QString> > sipKonqBookmarkOwner::currentBookmarkList() const
{
    extern QList<QPair<QString,QString> > sipVH_kio_86(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_currentBookmarkList);

    if (!meth)
        return KBookmarkOwner::currentBookmarkList();

    return sipVH_kio_86(sipGILState,meth);
}

bool sipKonqBookmarkOwner::enableOption(KBookmarkOwner::BookmarkOption a0) const
{
    extern bool sipVH_kio_85(sip_gilstate_t,PyObject *,KBookmarkOwner::BookmarkOption);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_enableOption);

    if (!meth)
        return KBookmarkOwner::enableOption(a0);

    return sipVH_kio_85(sipGILState,meth,a0);
}

void sipKonqBookmarkOwner::openBookmark(const KBookmark& a0,Qt::MouseButtons a1,Qt::KeyboardModifiers a2)
{
    extern void sipVH_kio_84(sip_gilstate_t,PyObject *,const KBookmark&,Qt::MouseButtons,Qt::KeyboardModifiers);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,sipName_KonqBookmarkOwner,sipName_openBookmark);

    if (!meth)
        return;

    sipVH_kio_84(sipGILState,meth,a0,a1,a2);
}

void sipKonqBookmarkOwner::openFolderinTabs(const KBookmarkGroup& a0)
{
    extern void sipVH_kio_83(sip_gilstate_t,PyObject *,const KBookmarkGroup&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_openFolderinTabs);

    if (!meth)
    {
        KBookmarkOwner::openFolderinTabs(a0);
        return;
    }

    sipVH_kio_83(sipGILState,meth,a0);
}

KBookmarkDialog * sipKonqBookmarkOwner::bookmarkDialog(KBookmarkManager *a0,QWidget *a1)
{
    extern KBookmarkDialog * sipVH_kio_82(sip_gilstate_t,PyObject *,KBookmarkManager *,QWidget *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_bookmarkDialog);

    if (!meth)
        return KBookmarkOwner::bookmarkDialog(a0,a1);

    return sipVH_kio_82(sipGILState,meth,a0,a1);
}


extern "C" {static PyObject *meth_KonqBookmarkOwner_openInNewTab(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkOwner_openInNewTab(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KBookmark * a0;
        KonqBookmarkOwner *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_KonqBookmarkOwner,&sipCpp,sipType_KBookmark,&a0))
        {
            if (sipSelfWasArg)
            {
                sipAbstractMethod(sipName_KonqBookmarkOwner, sipName_openInNewTab);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->openInNewTab(*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_KonqBookmarkOwner,sipName_openInNewTab);

    return NULL;
}


extern "C" {static PyObject *meth_KonqBookmarkOwner_openInNewWindow(PyObject *, PyObject *);}
static PyObject *meth_KonqBookmarkOwner_openInNewWindow(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KBookmark * a0;
        KonqBookmarkOwner *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_KonqBookmarkOwner,&sipCpp,sipType_KBookmark,&a0))
        {
            if (sipSelfWasArg)
            {
                sipAbstractMethod(sipName_KonqBookmarkOwner, sipName_openInNewWindow);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->openInNewWindow(*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_KonqBookmarkOwner,sipName_openInNewWindow);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KonqBookmarkOwner(void *, const sipTypeDef *);}
static void *cast_KonqBookmarkOwner(void *ptr,const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KonqBookmarkOwner)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KBookmarkOwner)->ctd_cast((KBookmarkOwner *)(KonqBookmarkOwner *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KonqBookmarkOwner(void *, int);}
static void release_KonqBookmarkOwner(void *sipCppV,int state)
{
    Py_BEGIN_ALLOW_THREADS

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKonqBookmarkOwner *>(sipCppV);
    else
        delete reinterpret_cast<KonqBookmarkOwner *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KonqBookmarkOwner(sipSimpleWrapper *);}
static void dealloc_KonqBookmarkOwner(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKonqBookmarkOwner *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KonqBookmarkOwner(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_KonqBookmarkOwner(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KonqBookmarkOwner(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    sipKonqBookmarkOwner *sipCpp = 0;

    if (!sipCpp)
    {
        if (sipParseArgs(sipArgsParsed,sipArgs,""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKonqBookmarkOwner();
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        const KonqBookmarkOwner * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_KonqBookmarkOwner,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKonqBookmarkOwner(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KonqBookmarkOwner[] = {{28, 255, 1}};


static PyMethodDef methods_KonqBookmarkOwner[] = {
    {SIP_MLNAME_CAST(sipName_openInNewTab), meth_KonqBookmarkOwner_openInNewTab, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_openInNewWindow), meth_KonqBookmarkOwner_openInNewWindow, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_kio_KonqBookmarkOwner = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_CLASS,
        sipNameNr_KonqBookmarkOwner,
        {0}
    },
    sipNameNr_KonqBookmarkOwner,
    -1,
    -1,
    {0, 0, 1},
    supers_KonqBookmarkOwner,
    0,
    2, methods_KonqBookmarkOwner,
    0, 0,
    0, 0,
    init_KonqBookmarkOwner,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KonqBookmarkOwner,
    release_KonqBookmarkOwner,
    cast_KonqBookmarkOwner,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 120 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kbookmarkmenu.sip"
#include <kbookmarkmenu.h>
#line 32829 "sipkiopart6.cpp"

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 32833 "sipkiopart6.cpp"
#line 74 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kbookmarkmanager.sip"
#include <kbookmarkmanager.h>
#line 32836 "sipkiopart6.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 32839 "sipkiopart6.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 32842 "sipkiopart6.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 32845 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 32848 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 32851 "sipkiopart6.cpp"
#line 53 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kgesture.sip"
#include <kgesture.h>
#line 32854 "sipkiopart6.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 32857 "sipkiopart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kgesture.sip"
#include <kgesture.h>
#line 32860 "sipkiopart6.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 32863 "sipkiopart6.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kshortcut.sip"
#include <kshortcut.h>
#line 32866 "sipkiopart6.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 32927 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 32930 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 32933 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qaction.sip"
#include <qaction.h>
#line 32936 "sipkiopart6.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 32939 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qabstractbutton.sip"
#include <qabstractbutton.h>
#line 32942 "sipkiopart6.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 32947 "sipkiopart6.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 32950 "sipkiopart6.cpp"
#line 99 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 32953 "sipkiopart6.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 32956 "sipkiopart6.cpp"
#line 165 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 32959 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qlistwidget.sip"
#include <qlistwidget.h>
#line 32962 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qdockwidget.sip"
#include <qdockwidget.h>
#line 32965 "sipkiopart6.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qmdisubwindow.sip"
#include <qmdisubwindow.h>
#line 32968 "sipkiopart6.cpp"
#line 334 "/usr/local/share/py-sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 32971 "sipkiopart6.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 32976 "sipkiopart6.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qprinterinfo.sip"
#include <qprinterinfo.h>
#line 32979 "sipkiopart6.cpp"
#line 202 "/usr/local/share/py-sip/QtGui/qstandarditemmodel.sip"
#include <qstandarditemmodel.h>
#line 32982 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 32985 "sipkiopart6.cpp"
#line 66 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 32988 "sipkiopart6.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 32993 "sipkiopart6.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 32998 "sipkiopart6.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 33003 "sipkiopart6.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 33008 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtreewidget.sip"
#include <qtreewidget.h>
#line 33011 "sipkiopart6.cpp"
#line 75 "/usr/local/share/py-sip/QtGui/qundostack.sip"
#include <qundostack.h>
#line 33014 "sipkiopart6.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qwizard.sip"
#include <qwizard.h>
#line 33017 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qprinter.sip"
#include <qprinter.h>
#line 33020 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontdatabase.sip"
#include <qfontdatabase.h>
#line 33023 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 33026 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 33029 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qfont.sip"
#include <qfont.h>
#line 33032 "sipkiopart6.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 33035 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qmenu.sip"
#include <qmenu.h>
#line 33038 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qicon.sip"
#include <qicon.h>
#line 33041 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qactiongroup.sip"
#include <qactiongroup.h>
#line 33044 "sipkiopart6.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 33047 "sipkiopart6.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 33050 "sipkiopart6.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 33081 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 33084 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 33087 "sipkiopart6.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 33090 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 33093 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 33096 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 33099 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 33102 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 33105 "sipkiopart6.cpp"


class sipKBookmarkAction : public KBookmarkAction
{
public:
    sipKBookmarkAction(const KBookmark&,KBookmarkOwner *,QObject *);
    virtual ~sipKBookmarkAction();

    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_eventFilter(bool,QObject *,QEvent *);
    QWidget * sipProtectVirt_createWidget(bool,QWidget *);
    void sipProtectVirt_deleteWidget(bool,QWidget *);
    QList<QWidget *> sipProtect_createdWidgets() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    bool event(QEvent *);
    bool eventFilter(QObject *,QEvent *);
    QWidget * createWidget(QWidget *);
    void deleteWidget(QWidget *);
    void timerEvent(QTimerEvent *);
    void childEvent(QChildEvent *);
    void customEvent(QEvent *);
    void connectNotify(const char *);
    void disconnectNotify(const char *);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKBookmarkAction(const sipKBookmarkAction &);
    sipKBookmarkAction &operator = (const sipKBookmarkAction &);

    char sipPyMethods[9];
};

sipKBookmarkAction::sipKBookmarkAction(const KBookmark& a0,KBookmarkOwner *a1,QObject *a2): KBookmarkAction(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKBookmarkAction::~sipKBookmarkAction()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKBookmarkAction::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KBookmarkAction);
}

int sipKBookmarkAction::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KBookmarkAction::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kio_qt_metacall(sipPySelf,sipType_KBookmarkAction,_c,_id,_a);

    return _id;
}

void *sipKBookmarkAction::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast && sip_kio_qt_metacast(sipPySelf,sipType_KBookmarkAction,_clname)) ? this : KBookmarkAction::qt_metacast(_clname);
}

bool sipKBookmarkAction::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 KAction::event(a0);

    return ((sipVH_QtCore_13)(sipModuleAPI_kio_QtCore->em_virthandlers[13]))(sipGILState,meth,a0);
}

bool sipKBookmarkAction::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 QWidgetAction::eventFilter(a0,a1);

    return ((sipVH_QtCore_21)(sipModuleAPI_kio_QtCore->em_virthandlers[21]))(sipGILState,meth,a0,a1);
}

QWidget * sipKBookmarkAction::createWidget(QWidget *a0)
{
    typedef QWidget * (*sipVH_QtGui_9)(sip_gilstate_t,PyObject *,QWidget *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_createWidget);

    if (!meth)
        return QWidgetAction::createWidget(a0);

    return ((sipVH_QtGui_9)(sipModuleAPI_kio_QtGui->em_virthandlers[9]))(sipGILState,meth,a0);
}

void sipKBookmarkAction::deleteWidget(QWidget *a0)
{
    typedef void (*sipVH_QtGui_8)(sip_gilstate_t,PyObject *,QWidget *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_deleteWidget);

    if (!meth)
    {
        QWidgetAction::deleteWidget(a0);
        return;
    }

    ((sipVH_QtGui_8)(sipModuleAPI_kio_QtGui->em_virthandlers[8]))(sipGILState,meth,a0);
}

void sipKBookmarkAction::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 sipKBookmarkAction::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 sipKBookmarkAction::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 sipKBookmarkAction::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 sipKBookmarkAction::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 sipKBookmarkAction::sipProtect_receivers(const char *a0) const
{
    return QObject::receivers(a0);
}

void sipKBookmarkAction::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipKBookmarkAction::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent *a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipKBookmarkAction::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipKBookmarkAction::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipKBookmarkAction::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

bool sipKBookmarkAction::sipProtectVirt_eventFilter(bool sipSelfWasArg,QObject *a0,QEvent *a1)
{
    return (sipSelfWasArg ? QWidgetAction::eventFilter(a0,a1) : eventFilter(a0,a1));
}

QWidget * sipKBookmarkAction::sipProtectVirt_createWidget(bool sipSelfWasArg,QWidget *a0)
{
    return (sipSelfWasArg ? QWidgetAction::createWidget(a0) : createWidget(a0));
}

void sipKBookmarkAction::sipProtectVirt_deleteWidget(bool sipSelfWasArg,QWidget *a0)
{
    (sipSelfWasArg ? QWidgetAction::deleteWidget(a0) : deleteWidget(a0));
}

QList<QWidget *> sipKBookmarkAction::sipProtect_createdWidgets() const
{
    return QWidgetAction::createdWidgets();
}


extern "C" {static PyObject *meth_KBookmarkAction_receivers(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkAction_receivers(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        char * a0;
        sipKBookmarkAction *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KBookmarkAction,&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 33417 "sipkiopart6.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KBookmarkAction,sipName_receivers);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkAction_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkAction_timerEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipKBookmarkAction *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KBookmarkAction,&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_KBookmarkAction,sipName_timerEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkAction_childEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkAction_childEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipKBookmarkAction *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KBookmarkAction,&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_KBookmarkAction,sipName_childEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkAction_customEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkAction_customEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKBookmarkAction *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KBookmarkAction,&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_KBookmarkAction,sipName_customEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkAction_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkAction_connectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKBookmarkAction *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KBookmarkAction,&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_KBookmarkAction,sipName_connectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkAction_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkAction_disconnectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKBookmarkAction *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KBookmarkAction,&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_KBookmarkAction,sipName_disconnectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkAction_eventFilter(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkAction_eventFilter(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QObject * a0;
        QEvent * a1;
        sipKBookmarkAction *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8J8",&sipSelf,sipType_KBookmarkAction,&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_KBookmarkAction,sipName_eventFilter);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkAction_createWidget(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkAction_createWidget(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWidget * a0;
        sipWrapper *sipOwner = 0;
        sipKBookmarkAction *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJH",&sipSelf,sipType_KBookmarkAction,&sipCpp,sipType_QWidget,&a0,&sipOwner))
        {
            QWidget *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_createWidget(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QWidget,(PyObject *)sipOwner);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KBookmarkAction,sipName_createWidget);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkAction_deleteWidget(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkAction_deleteWidget(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWidget * a0;
        sipKBookmarkAction *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ:",&sipSelf,sipType_KBookmarkAction,&sipCpp,sipType_QWidget,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_deleteWidget(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_KBookmarkAction,sipName_deleteWidget);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkAction_createdWidgets(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkAction_createdWidgets(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKBookmarkAction *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KBookmarkAction,&sipCpp))
        {
            QList<QWidget *> *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<QWidget *>(sipCpp->sipProtect_createdWidgets());
            Py_END_ALLOW_THREADS

            PyObject *sipResObj = sipConvertFromType(sipRes,sipType_QList_0201QWidget,NULL);
            delete sipRes;

            return sipResObj;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KBookmarkAction,sipName_createdWidgets);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkAction_slotSelected(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkAction_slotSelected(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Qt::MouseButtons * a0;
        int a0State = 0;
        Qt::KeyboardModifiers * a1;
        int a1State = 0;
        KBookmarkAction *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1J1",&sipSelf,sipType_KBookmarkAction,&sipCpp,sipType_Qt_MouseButtons,&a0,&a0State,sipType_Qt_KeyboardModifiers,&a1,&a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->slotSelected(*a0,*a1);
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_Qt_MouseButtons,a0State);
            sipReleaseType(a1,sipType_Qt_KeyboardModifiers,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KBookmarkAction,sipName_slotSelected);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KBookmarkAction(void *, const sipTypeDef *);}
static void *cast_KBookmarkAction(void *ptr,const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KBookmarkAction)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KAction)->ctd_cast((KAction *)(KBookmarkAction *)ptr,targetType)) != NULL)
        return res;

    if ((res = ((const sipClassTypeDef *)sipType_KBookmarkActionInterface)->ctd_cast((KBookmarkActionInterface *)(KBookmarkAction *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KBookmarkAction(void *, int);}
static void release_KBookmarkAction(void *sipCppV,int state)
{
    Py_BEGIN_ALLOW_THREADS

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKBookmarkAction *>(sipCppV);
    else
        delete reinterpret_cast<KBookmarkAction *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KBookmarkAction(sipSimpleWrapper *);}
static void dealloc_KBookmarkAction(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKBookmarkAction *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KBookmarkAction(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_KBookmarkAction(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KBookmarkAction(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **sipOwner, int *sipArgsParsed)
{
    sipKBookmarkAction *sipCpp = 0;

    if (!sipCpp)
    {
        const KBookmark * a0;
        KBookmarkOwner * a1;
        QObject * a2;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9J8JH",sipType_KBookmark,&a0,sipType_KBookmarkOwner,&a1,sipType_QObject,&a2,sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKBookmarkAction(*a0,a1,a2);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KBookmarkAction[] = {{5, 6, 0}, {16, 255, 1}};


static PyMethodDef methods_KBookmarkAction[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), meth_KBookmarkAction_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KBookmarkAction_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_createWidget), meth_KBookmarkAction_createWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_createdWidgets), meth_KBookmarkAction_createdWidgets, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KBookmarkAction_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_deleteWidget), meth_KBookmarkAction_deleteWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KBookmarkAction_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_eventFilter), meth_KBookmarkAction_eventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_KBookmarkAction_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotSelected), meth_KBookmarkAction_slotSelected, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KBookmarkAction_timerEvent, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_kio_KBookmarkAction = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KBookmarkAction,
        {0}
    },
    sipNameNr_KBookmarkAction,
    -1,
    -1,
    {0, 0, 1},
    supers_KBookmarkAction,
    0,
    11, methods_KBookmarkAction,
    0, 0,
    0, 0,
    init_KBookmarkAction,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KBookmarkAction,
    release_KBookmarkAction,
    cast_KBookmarkAction,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KBookmarkAction::staticMetaObject,
    0,
    0
};

#line 107 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kbookmarkmenu.sip"
#include <kbookmarkmenu.h>
#line 33860 "sipkiopart6.cpp"

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 33864 "sipkiopart6.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 33867 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 33870 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 33873 "sipkiopart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kmenu.sip"
#include <kmenu.h>
#line 33876 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qaction.sip"
#include <qaction.h>
#line 33879 "sipkiopart6.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 33882 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 33885 "sipkiopart6.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 33888 "sipkiopart6.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 33891 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 33894 "sipkiopart6.cpp"
#line 53 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kgesture.sip"
#include <kgesture.h>
#line 33897 "sipkiopart6.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 33900 "sipkiopart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kgesture.sip"
#include <kgesture.h>
#line 33903 "sipkiopart6.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kshortcut.sip"
#include <kshortcut.h>
#line 33906 "sipkiopart6.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 33967 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 33970 "sipkiopart6.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 33973 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qabstractbutton.sip"
#include <qabstractbutton.h>
#line 33976 "sipkiopart6.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 33981 "sipkiopart6.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 33984 "sipkiopart6.cpp"
#line 99 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 33987 "sipkiopart6.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 33990 "sipkiopart6.cpp"
#line 165 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 33993 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qlistwidget.sip"
#include <qlistwidget.h>
#line 33996 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qdockwidget.sip"
#include <qdockwidget.h>
#line 33999 "sipkiopart6.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qmdisubwindow.sip"
#include <qmdisubwindow.h>
#line 34002 "sipkiopart6.cpp"
#line 334 "/usr/local/share/py-sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 34005 "sipkiopart6.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 34010 "sipkiopart6.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qprinterinfo.sip"
#include <qprinterinfo.h>
#line 34013 "sipkiopart6.cpp"
#line 202 "/usr/local/share/py-sip/QtGui/qstandarditemmodel.sip"
#include <qstandarditemmodel.h>
#line 34016 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 34019 "sipkiopart6.cpp"
#line 66 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 34022 "sipkiopart6.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 34027 "sipkiopart6.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 34032 "sipkiopart6.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 34037 "sipkiopart6.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 34042 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtreewidget.sip"
#include <qtreewidget.h>
#line 34045 "sipkiopart6.cpp"
#line 75 "/usr/local/share/py-sip/QtGui/qundostack.sip"
#include <qundostack.h>
#line 34048 "sipkiopart6.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qwizard.sip"
#include <qwizard.h>
#line 34051 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qprinter.sip"
#include <qprinter.h>
#line 34054 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontdatabase.sip"
#include <qfontdatabase.h>
#line 34057 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 34060 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qfont.sip"
#include <qfont.h>
#line 34063 "sipkiopart6.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 34066 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qicon.sip"
#include <qicon.h>
#line 34069 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qactiongroup.sip"
#include <qactiongroup.h>
#line 34072 "sipkiopart6.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 34075 "sipkiopart6.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 34078 "sipkiopart6.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 34109 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 34112 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 34115 "sipkiopart6.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 34118 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 34121 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 34124 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 34127 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 34130 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 34133 "sipkiopart6.cpp"


class sipKBookmarkActionMenu : public KBookmarkActionMenu
{
public:
    sipKBookmarkActionMenu(const KBookmark&,QObject *);
    sipKBookmarkActionMenu(const KBookmark&,const QString&,QObject *);
    virtual ~sipKBookmarkActionMenu();

    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_eventFilter(bool,QObject *,QEvent *);
    void sipProtectVirt_deleteWidget(bool,QWidget *);
    QList<QWidget *> sipProtect_createdWidgets() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    QWidget * createWidget(QWidget *);
    bool event(QEvent *);
    bool eventFilter(QObject *,QEvent *);
    void deleteWidget(QWidget *);
    void timerEvent(QTimerEvent *);
    void childEvent(QChildEvent *);
    void customEvent(QEvent *);
    void connectNotify(const char *);
    void disconnectNotify(const char *);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKBookmarkActionMenu(const sipKBookmarkActionMenu &);
    sipKBookmarkActionMenu &operator = (const sipKBookmarkActionMenu &);

    char sipPyMethods[9];
};

sipKBookmarkActionMenu::sipKBookmarkActionMenu(const KBookmark& a0,QObject *a1): KBookmarkActionMenu(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKBookmarkActionMenu::sipKBookmarkActionMenu(const KBookmark& a0,const QString& a1,QObject *a2): KBookmarkActionMenu(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKBookmarkActionMenu::~sipKBookmarkActionMenu()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKBookmarkActionMenu::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KBookmarkActionMenu);
}

int sipKBookmarkActionMenu::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KBookmarkActionMenu::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kio_qt_metacall(sipPySelf,sipType_KBookmarkActionMenu,_c,_id,_a);

    return _id;
}

void *sipKBookmarkActionMenu::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast && sip_kio_qt_metacast(sipPySelf,sipType_KBookmarkActionMenu,_clname)) ? this : KBookmarkActionMenu::qt_metacast(_clname);
}

QWidget * sipKBookmarkActionMenu::createWidget(QWidget *a0)
{
    typedef QWidget * (*sipVH_kdeui_82)(sip_gilstate_t,PyObject *,QWidget *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_createWidget);

    if (!meth)
        return KActionMenu::createWidget(a0);

    return ((sipVH_kdeui_82)(sipModuleAPI_kio_kdeui->em_virthandlers[82]))(sipGILState,meth,a0);
}

bool sipKBookmarkActionMenu::event(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_event);

    if (!meth)
        return KAction::event(a0);

    return ((sipVH_QtCore_13)(sipModuleAPI_kio_QtCore->em_virthandlers[13]))(sipGILState,meth,a0);
}

bool sipKBookmarkActionMenu::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[2],sipPySelf,NULL,sipName_eventFilter);

    if (!meth)
        return QWidgetAction::eventFilter(a0,a1);

    return ((sipVH_QtCore_21)(sipModuleAPI_kio_QtCore->em_virthandlers[21]))(sipGILState,meth,a0,a1);
}

void sipKBookmarkActionMenu::deleteWidget(QWidget *a0)
{
    typedef void (*sipVH_QtGui_8)(sip_gilstate_t,PyObject *,QWidget *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_deleteWidget);

    if (!meth)
    {
        QWidgetAction::deleteWidget(a0);
        return;
    }

    ((sipVH_QtGui_8)(sipModuleAPI_kio_QtGui->em_virthandlers[8]))(sipGILState,meth,a0);
}

void sipKBookmarkActionMenu::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 sipKBookmarkActionMenu::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 sipKBookmarkActionMenu::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 sipKBookmarkActionMenu::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 sipKBookmarkActionMenu::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 sipKBookmarkActionMenu::sipProtect_receivers(const char *a0) const
{
    return QObject::receivers(a0);
}

void sipKBookmarkActionMenu::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipKBookmarkActionMenu::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent *a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipKBookmarkActionMenu::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipKBookmarkActionMenu::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipKBookmarkActionMenu::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

bool sipKBookmarkActionMenu::sipProtectVirt_eventFilter(bool sipSelfWasArg,QObject *a0,QEvent *a1)
{
    return (sipSelfWasArg ? QWidgetAction::eventFilter(a0,a1) : eventFilter(a0,a1));
}

void sipKBookmarkActionMenu::sipProtectVirt_deleteWidget(bool sipSelfWasArg,QWidget *a0)
{
    (sipSelfWasArg ? QWidgetAction::deleteWidget(a0) : deleteWidget(a0));
}

QList<QWidget *> sipKBookmarkActionMenu::sipProtect_createdWidgets() const
{
    return QWidgetAction::createdWidgets();
}


extern "C" {static PyObject *meth_KBookmarkActionMenu_receivers(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkActionMenu_receivers(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        char * a0;
        sipKBookmarkActionMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KBookmarkActionMenu,&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 34445 "sipkiopart6.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KBookmarkActionMenu,sipName_receivers);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkActionMenu_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkActionMenu_timerEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipKBookmarkActionMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KBookmarkActionMenu,&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_KBookmarkActionMenu,sipName_timerEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkActionMenu_childEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkActionMenu_childEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipKBookmarkActionMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KBookmarkActionMenu,&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_KBookmarkActionMenu,sipName_childEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkActionMenu_customEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkActionMenu_customEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKBookmarkActionMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KBookmarkActionMenu,&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_KBookmarkActionMenu,sipName_customEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkActionMenu_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkActionMenu_connectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKBookmarkActionMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KBookmarkActionMenu,&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_KBookmarkActionMenu,sipName_connectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkActionMenu_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkActionMenu_disconnectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKBookmarkActionMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KBookmarkActionMenu,&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_KBookmarkActionMenu,sipName_disconnectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkActionMenu_eventFilter(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkActionMenu_eventFilter(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QObject * a0;
        QEvent * a1;
        sipKBookmarkActionMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8J8",&sipSelf,sipType_KBookmarkActionMenu,&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_KBookmarkActionMenu,sipName_eventFilter);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkActionMenu_deleteWidget(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkActionMenu_deleteWidget(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWidget * a0;
        sipKBookmarkActionMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ:",&sipSelf,sipType_KBookmarkActionMenu,&sipCpp,sipType_QWidget,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_deleteWidget(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_KBookmarkActionMenu,sipName_deleteWidget);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkActionMenu_createdWidgets(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkActionMenu_createdWidgets(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKBookmarkActionMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KBookmarkActionMenu,&sipCpp))
        {
            QList<QWidget *> *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<QWidget *>(sipCpp->sipProtect_createdWidgets());
            Py_END_ALLOW_THREADS

            PyObject *sipResObj = sipConvertFromType(sipRes,sipType_QList_0201QWidget,NULL);
            delete sipRes;

            return sipResObj;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KBookmarkActionMenu,sipName_createdWidgets);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KBookmarkActionMenu(void *, const sipTypeDef *);}
static void *cast_KBookmarkActionMenu(void *ptr,const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KBookmarkActionMenu)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KActionMenu)->ctd_cast((KActionMenu *)(KBookmarkActionMenu *)ptr,targetType)) != NULL)
        return res;

    if ((res = ((const sipClassTypeDef *)sipType_KBookmarkActionInterface)->ctd_cast((KBookmarkActionInterface *)(KBookmarkActionMenu *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KBookmarkActionMenu(void *, int);}
static void release_KBookmarkActionMenu(void *sipCppV,int state)
{
    Py_BEGIN_ALLOW_THREADS

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKBookmarkActionMenu *>(sipCppV);
    else
        delete reinterpret_cast<KBookmarkActionMenu *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KBookmarkActionMenu(sipSimpleWrapper *);}
static void dealloc_KBookmarkActionMenu(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKBookmarkActionMenu *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KBookmarkActionMenu(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_KBookmarkActionMenu(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KBookmarkActionMenu(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **sipOwner, int *sipArgsParsed)
{
    sipKBookmarkActionMenu *sipCpp = 0;

    if (!sipCpp)
    {
        const KBookmark * a0;
        QObject * a1;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9JH",sipType_KBookmark,&a0,sipType_QObject,&a1,sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKBookmarkActionMenu(*a0,a1);
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        const KBookmark * a0;
        const QString * a1;
        int a1State = 0;
        QObject * a2;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9J1JH",sipType_KBookmark,&a0,sipType_QString,&a1,&a1State,sipType_QObject,&a2,sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKBookmarkActionMenu(*a0,*a1,a2);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KBookmarkActionMenu[] = {{11, 6, 0}, {16, 255, 1}};


static PyMethodDef methods_KBookmarkActionMenu[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), meth_KBookmarkActionMenu_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KBookmarkActionMenu_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_createdWidgets), meth_KBookmarkActionMenu_createdWidgets, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KBookmarkActionMenu_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_deleteWidget), meth_KBookmarkActionMenu_deleteWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KBookmarkActionMenu_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_eventFilter), meth_KBookmarkActionMenu_eventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_KBookmarkActionMenu_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KBookmarkActionMenu_timerEvent, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_kio_KBookmarkActionMenu = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KBookmarkActionMenu,
        {0}
    },
    sipNameNr_KBookmarkActionMenu,
    -1,
    -1,
    {0, 0, 1},
    supers_KBookmarkActionMenu,
    0,
    9, methods_KBookmarkActionMenu,
    0, 0,
    0, 0,
    init_KBookmarkActionMenu,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KBookmarkActionMenu,
    release_KBookmarkActionMenu,
    cast_KBookmarkActionMenu,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KBookmarkActionMenu::staticMetaObject,
    0,
    0
};

#line 94 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kbookmarkmenu.sip"
#include <kbookmarkmenu.h>
#line 34839 "sipkiopart6.cpp"

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 34843 "sipkiopart6.cpp"


extern "C" {static PyObject *meth_KBookmarkActionInterface_bookmark(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkActionInterface_bookmark(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KBookmarkActionInterface *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KBookmarkActionInterface,&sipCpp))
        {
            KBookmark *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KBookmark(sipCpp->bookmark());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KBookmark,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KBookmarkActionInterface,sipName_bookmark);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KBookmarkActionInterface(void *, const sipTypeDef *);}
static void *cast_KBookmarkActionInterface(void *ptr,const sipTypeDef *targetType)
{
    if (targetType == sipType_KBookmarkActionInterface)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KBookmarkActionInterface(void *, int);}
static void release_KBookmarkActionInterface(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<KBookmarkActionInterface *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KBookmarkActionInterface(sipSimpleWrapper *);}
static void dealloc_KBookmarkActionInterface(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KBookmarkActionInterface(sipSelf->u.cppPtr,0);
    }
}


extern "C" {static void *init_KBookmarkActionInterface(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KBookmarkActionInterface(sipSimpleWrapper *, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    KBookmarkActionInterface *sipCpp = 0;

    if (!sipCpp)
    {
        const KBookmark * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_KBookmark,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KBookmarkActionInterface(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        const KBookmarkActionInterface * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_KBookmarkActionInterface,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KBookmarkActionInterface(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    return sipCpp;
}


static PyMethodDef methods_KBookmarkActionInterface[] = {
    {SIP_MLNAME_CAST(sipName_bookmark), meth_KBookmarkActionInterface_bookmark, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_kio_KBookmarkActionInterface = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KBookmarkActionInterface,
        {0}
    },
    sipNameNr_KBookmarkActionInterface,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {0, 0, 1},
    0,
    0,
    1, methods_KBookmarkActionInterface,
    0, 0,
    0, 0,
    init_KBookmarkActionInterface,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KBookmarkActionInterface,
    release_KBookmarkActionInterface,
    cast_KBookmarkActionInterface,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 65 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kbookmarkmenu.sip"
#include <kbookmarkmenu.h>
#line 34991 "sipkiopart6.cpp"

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 34995 "sipkiopart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kbookmarkmanager.sip"
#include <kbookmarkmanager.h>
#line 34998 "sipkiopart6.cpp"
#line 74 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kbookmarkmanager.sip"
#include <kbookmarkmanager.h>
#line 35001 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 35004 "sipkiopart6.cpp"
#line 424 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 35007 "sipkiopart6.cpp"
#line 436 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 35010 "sipkiopart6.cpp"
#line 184 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 35013 "sipkiopart6.cpp"
#line 296 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 35016 "sipkiopart6.cpp"
#line 388 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 35019 "sipkiopart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kmenu.sip"
#include <kmenu.h>
#line 35022 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qaction.sip"
#include <qaction.h>
#line 35025 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qmenu.sip"
#include <qmenu.h>
#line 35028 "sipkiopart6.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 35031 "sipkiopart6.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 35034 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 35037 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qicon.sip"
#include <qicon.h>
#line 35040 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 35043 "sipkiopart6.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 35046 "sipkiopart6.cpp"
#line 618 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 35049 "sipkiopart6.cpp"
#line 345 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 35052 "sipkiopart6.cpp"
#line 225 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 35055 "sipkiopart6.cpp"
#line 714 "/usr/local/share/py-sip/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 35058 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 35061 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 35064 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 35067 "sipkiopart6.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 35128 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 35131 "sipkiopart6.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 35134 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qabstractbutton.sip"
#include <qabstractbutton.h>
#line 35137 "sipkiopart6.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 35142 "sipkiopart6.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 35145 "sipkiopart6.cpp"
#line 99 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 35148 "sipkiopart6.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 35151 "sipkiopart6.cpp"
#line 165 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 35154 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qlistwidget.sip"
#include <qlistwidget.h>
#line 35157 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qdockwidget.sip"
#include <qdockwidget.h>
#line 35160 "sipkiopart6.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qmdisubwindow.sip"
#include <qmdisubwindow.h>
#line 35163 "sipkiopart6.cpp"
#line 334 "/usr/local/share/py-sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 35166 "sipkiopart6.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 35171 "sipkiopart6.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qprinterinfo.sip"
#include <qprinterinfo.h>
#line 35174 "sipkiopart6.cpp"
#line 202 "/usr/local/share/py-sip/QtGui/qstandarditemmodel.sip"
#include <qstandarditemmodel.h>
#line 35177 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 35180 "sipkiopart6.cpp"
#line 66 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 35183 "sipkiopart6.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 35188 "sipkiopart6.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 35193 "sipkiopart6.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 35198 "sipkiopart6.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 35203 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtreewidget.sip"
#include <qtreewidget.h>
#line 35206 "sipkiopart6.cpp"
#line 75 "/usr/local/share/py-sip/QtGui/qundostack.sip"
#include <qundostack.h>
#line 35209 "sipkiopart6.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qwizard.sip"
#include <qwizard.h>
#line 35212 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qprinter.sip"
#include <qprinter.h>
#line 35215 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontdatabase.sip"
#include <qfontdatabase.h>
#line 35218 "sipkiopart6.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 35221 "sipkiopart6.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 35224 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 35227 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 35230 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qregion.sip"
#include <qregion.h>
#line 35233 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 35236 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 35239 "sipkiopart6.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 35242 "sipkiopart6.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 35245 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 35248 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 35251 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qfont.sip"
#include <qfont.h>
#line 35254 "sipkiopart6.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 35257 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 35260 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 35263 "sipkiopart6.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 35268 "sipkiopart6.cpp"
#line 412 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 35271 "sipkiopart6.cpp"
#line 508 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 35274 "sipkiopart6.cpp"
#line 562 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 35277 "sipkiopart6.cpp"
#line 533 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 35280 "sipkiopart6.cpp"
#line 550 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 35283 "sipkiopart6.cpp"
#line 247 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 35286 "sipkiopart6.cpp"
#line 374 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 35289 "sipkiopart6.cpp"
#line 360 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 35292 "sipkiopart6.cpp"
#line 325 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 35295 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 35298 "sipkiopart6.cpp"
#line 74 "/usr/local/share/py-sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 35301 "sipkiopart6.cpp"
#line 47 "/usr/local/share/py-sip/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 35304 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qlayout.sip"
#include <qlayout.h>
#line 35307 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 35310 "sipkiopart6.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 35313 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 35316 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 35319 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qstyle.sip"
#include <qstyle.h>
#line 35322 "sipkiopart6.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 35325 "sipkiopart6.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 35356 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 35359 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 35362 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 35365 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 35368 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 35371 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 35374 "sipkiopart6.cpp"


class sipKBookmarkContextMenu : public KBookmarkContextMenu
{
public:
    sipKBookmarkContextMenu(const KBookmark&,KBookmarkManager *,KBookmarkOwner *,QWidget *);
    virtual ~sipKBookmarkContextMenu();

    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_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent *);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent *);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent *);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent *);
    void sipProtectVirt_moveEvent(bool,QMoveEvent *);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent *);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent *);
    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 *);
    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 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);
    int sipProtect_columnCount() const;
    void sipProtect_initStyleOption(QStyleOptionMenuItem *,const QAction *) const;
    void sipProtectVirt_changeEvent(bool,QEvent *);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent *);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent *);
    void sipProtectVirt_enterEvent(bool,QEvent *);
    void sipProtectVirt_leaveEvent(bool,QEvent *);
    void sipProtectVirt_paintEvent(bool,QPaintEvent *);
    void sipProtectVirt_actionEvent(bool,QActionEvent *);
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    bool sipProtectVirt_event(bool,QEvent *);
    void sipProtectVirt_closeEvent(bool,QCloseEvent *);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent *);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent *);
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent *);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent *);
    void sipProtectVirt_hideEvent(bool,QHideEvent *);
    void sipProtect_addBookmark();
    void sipProtect_addFolderActions();
    void sipProtect_addProperties();
    void sipProtect_addBookmarkActions();
    void sipProtect_addOpenFolderInTabs();
    KBookmarkManager * sipProtect_manager() const;
    KBookmarkOwner * sipProtect_owner() const;
    KBookmark sipProtect_bookmark() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void addActions();
    void closeEvent(QCloseEvent *);
    void keyPressEvent(QKeyEvent *);
    void mouseReleaseEvent(QMouseEvent *);
    void mousePressEvent(QMouseEvent *);
    bool focusNextPrevChild(bool);
    void contextMenuEvent(QContextMenuEvent *);
    void hideEvent(QHideEvent *);
    QSize sizeHint() const;
    void changeEvent(QEvent *);
    void mouseMoveEvent(QMouseEvent *);
    void wheelEvent(QWheelEvent *);
    void enterEvent(QEvent *);
    void leaveEvent(QEvent *);
    void paintEvent(QPaintEvent *);
    void actionEvent(QActionEvent *);
    void timerEvent(QTimerEvent *);
    bool event(QEvent *);
    int devType() const;
    void setVisible(bool);
    QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    QPaintEngine * paintEngine() const;
    void mouseDoubleClickEvent(QMouseEvent *);
    void keyReleaseEvent(QKeyEvent *);
    void focusInEvent(QFocusEvent *);
    void focusOutEvent(QFocusEvent *);
    void moveEvent(QMoveEvent *);
    void resizeEvent(QResizeEvent *);
    void tabletEvent(QTabletEvent *);
    void dragEnterEvent(QDragEnterEvent *);
    void dragMoveEvent(QDragMoveEvent *);
    void dragLeaveEvent(QDragLeaveEvent *);
    void dropEvent(QDropEvent *);
    void showEvent(QShowEvent *);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void inputMethodEvent(QInputMethodEvent *);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void enabledChange(bool);
    void paletteChange(const QPalette&);
    void fontChange(const QFont&);
    void windowActivationChange(bool);
    void languageChange();
    bool eventFilter(QObject *,QEvent *);
    void childEvent(QChildEvent *);
    void customEvent(QEvent *);
    void connectNotify(const char *);
    void disconnectNotify(const char *);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKBookmarkContextMenu(const sipKBookmarkContextMenu &);
    sipKBookmarkContextMenu &operator = (const sipKBookmarkContextMenu &);

    char sipPyMethods[48];
};

sipKBookmarkContextMenu::sipKBookmarkContextMenu(const KBookmark& a0,KBookmarkManager *a1,KBookmarkOwner *a2,QWidget *a3): KBookmarkContextMenu(a0,a1,a2,a3), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKBookmarkContextMenu::~sipKBookmarkContextMenu()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKBookmarkContextMenu::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KBookmarkContextMenu);
}

int sipKBookmarkContextMenu::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KBookmarkContextMenu::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kio_qt_metacall(sipPySelf,sipType_KBookmarkContextMenu,_c,_id,_a);

    return _id;
}

void *sipKBookmarkContextMenu::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast && sip_kio_qt_metacast(sipPySelf,sipType_KBookmarkContextMenu,_clname)) ? this : KBookmarkContextMenu::qt_metacast(_clname);
}

void sipKBookmarkContextMenu::addActions()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_addActions);

    if (!meth)
    {
        KBookmarkContextMenu::addActions();
        return;
    }

    ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

void sipKBookmarkContextMenu::closeEvent(QCloseEvent *a0)
{
    typedef void (*sipVH_QtGui_23)(sip_gilstate_t,PyObject *,QCloseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_closeEvent);

    if (!meth)
    {
        KMenu::closeEvent(a0);
        return;
    }

    ((sipVH_QtGui_23)(sipModuleAPI_kio_QtGui->em_virthandlers[23]))(sipGILState,meth,a0);
}

void sipKBookmarkContextMenu::keyPressEvent(QKeyEvent *a0)
{
    typedef void (*sipVH_QtGui_26)(sip_gilstate_t,PyObject *,QKeyEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_keyPressEvent);

    if (!meth)
    {
        KMenu::keyPressEvent(a0);
        return;
    }

    ((sipVH_QtGui_26)(sipModuleAPI_kio_QtGui->em_virthandlers[26]))(sipGILState,meth,a0);
}

void sipKBookmarkContextMenu::mouseReleaseEvent(QMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_27)(sip_gilstate_t,PyObject *,QMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!meth)
    {
        KMenu::mouseReleaseEvent(a0);
        return;
    }

    ((sipVH_QtGui_27)(sipModuleAPI_kio_QtGui->em_virthandlers[27]))(sipGILState,meth,a0);
}

void sipKBookmarkContextMenu::mousePressEvent(QMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_27)(sip_gilstate_t,PyObject *,QMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_mousePressEvent);

    if (!meth)
    {
        KMenu::mousePressEvent(a0);
        return;
    }

    ((sipVH_QtGui_27)(sipModuleAPI_kio_QtGui->em_virthandlers[27]))(sipGILState,meth,a0);
}

bool sipKBookmarkContextMenu::focusNextPrevChild(bool a0)
{
    typedef bool (*sipVH_QtGui_12)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!meth)
        return KMenu::focusNextPrevChild(a0);

    return ((sipVH_QtGui_12)(sipModuleAPI_kio_QtGui->em_virthandlers[12]))(sipGILState,meth,a0);
}

void sipKBookmarkContextMenu::contextMenuEvent(QContextMenuEvent *a0)
{
    typedef void (*sipVH_QtGui_22)(sip_gilstate_t,PyObject *,QContextMenuEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!meth)
    {
        KMenu::contextMenuEvent(a0);
        return;
    }

    ((sipVH_QtGui_22)(sipModuleAPI_kio_QtGui->em_virthandlers[22]))(sipGILState,meth,a0);
}

void sipKBookmarkContextMenu::hideEvent(QHideEvent *a0)
{
    typedef void (*sipVH_QtGui_0)(sip_gilstate_t,PyObject *,QHideEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_hideEvent);

    if (!meth)
    {
        KMenu::hideEvent(a0);
        return;
    }

    ((sipVH_QtGui_0)(sipModuleAPI_kio_QtGui->em_virthandlers[0]))(sipGILState,meth,a0);
}

QSize sipKBookmarkContextMenu::sizeHint() const
{
    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_sizeHint);

    if (!meth)
        return QMenu::sizeHint();

    return ((sipVH_QtGui_4)(sipModuleAPI_kio_QtGui->em_virthandlers[4]))(sipGILState,meth);
}

void sipKBookmarkContextMenu::changeEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_changeEvent);

    if (!meth)
    {
        QMenu::changeEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_kio_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipKBookmarkContextMenu::mouseMoveEvent(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_mouseMoveEvent);

    if (!meth)
    {
        QMenu::mouseMoveEvent(a0);
        return;
    }

    ((sipVH_QtGui_27)(sipModuleAPI_kio_QtGui->em_virthandlers[27]))(sipGILState,meth,a0);
}

void sipKBookmarkContextMenu::wheelEvent(QWheelEvent *a0)
{
    typedef void (*sipVH_QtGui_5)(sip_gilstate_t,PyObject *,QWheelEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_wheelEvent);

    if (!meth)
    {
        QMenu::wheelEvent(a0);
        return;
    }

    ((sipVH_QtGui_5)(sipModuleAPI_kio_QtGui->em_virthandlers[5]))(sipGILState,meth,a0);
}

void sipKBookmarkContextMenu::enterEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_enterEvent);

    if (!meth)
    {
        QMenu::enterEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_kio_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipKBookmarkContextMenu::leaveEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_leaveEvent);

    if (!meth)
    {
        QMenu::leaveEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_kio_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipKBookmarkContextMenu::paintEvent(QPaintEvent *a0)
{
    typedef void (*sipVH_QtGui_3)(sip_gilstate_t,PyObject *,QPaintEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_paintEvent);

    if (!meth)
    {
        QMenu::paintEvent(a0);
        return;
    }

    ((sipVH_QtGui_3)(sipModuleAPI_kio_QtGui->em_virthandlers[3]))(sipGILState,meth,a0);
}

void sipKBookmarkContextMenu::actionEvent(QActionEvent *a0)
{
    typedef void (*sipVH_QtGui_20)(sip_gilstate_t,PyObject *,QActionEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_actionEvent);

    if (!meth)
    {
        QMenu::actionEvent(a0);
        return;
    }

    ((sipVH_QtGui_20)(sipModuleAPI_kio_QtGui->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipKBookmarkContextMenu::timerEvent(QTimerEvent *a0)
{
    typedef void (*sipVH_QtCore_3)(sip_gilstate_t,PyObject *,QTimerEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_timerEvent);

    if (!meth)
    {
        QMenu::timerEvent(a0);
        return;
    }

    ((sipVH_QtCore_3)(sipModuleAPI_kio_QtCore->em_virthandlers[3]))(sipGILState,meth,a0);
}

bool sipKBookmarkContextMenu::event(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_event);

    if (!meth)
        return QMenu::event(a0);

    return ((sipVH_QtCore_13)(sipModuleAPI_kio_QtCore->em_virthandlers[13]))(sipGILState,meth,a0);
}

int sipKBookmarkContextMenu::devType() const
{
    typedef int (*sipVH_QtCore_8)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[18]),sipPySelf,NULL,sipName_devType);

    if (!meth)
        return QWidget::devType();

    return ((sipVH_QtCore_8)(sipModuleAPI_kio_QtCore->em_virthandlers[8]))(sipGILState,meth);
}

void sipKBookmarkContextMenu::setVisible(bool a0)
{
    typedef void (*sipVH_QtGui_7)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_setVisible);

    if (!meth)
    {
        QWidget::setVisible(a0);
        return;
    }

    ((sipVH_QtGui_7)(sipModuleAPI_kio_QtGui->em_virthandlers[7]))(sipGILState,meth,a0);
}

QSize sipKBookmarkContextMenu::minimumSizeHint() const
{
    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[20]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!meth)
        return QWidget::minimumSizeHint();

    return ((sipVH_QtGui_4)(sipModuleAPI_kio_QtGui->em_virthandlers[4]))(sipGILState,meth);
}

int sipKBookmarkContextMenu::heightForWidth(int a0) const
{
    typedef int (*sipVH_QtGui_29)(sip_gilstate_t,PyObject *,int);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[21]),sipPySelf,NULL,sipName_heightForWidth);

    if (!meth)
        return QWidget::heightForWidth(a0);

    return ((sipVH_QtGui_29)(sipModuleAPI_kio_QtGui->em_virthandlers[29]))(sipGILState,meth,a0);
}

QPaintEngine * sipKBookmarkContextMenu::paintEngine() const
{
    typedef QPaintEngine * (*sipVH_QtGui_28)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[22]),sipPySelf,NULL,sipName_paintEngine);

    if (!meth)
        return QWidget::paintEngine();

    return ((sipVH_QtGui_28)(sipModuleAPI_kio_QtGui->em_virthandlers[28]))(sipGILState,meth);
}

void sipKBookmarkContextMenu::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 sipKBookmarkContextMenu::keyReleaseEvent(QKeyEvent *a0)
{
    typedef void (*sipVH_QtGui_26)(sip_gilstate_t,PyObject *,QKeyEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!meth)
    {
        QWidget::keyReleaseEvent(a0);
        return;
    }

    ((sipVH_QtGui_26)(sipModuleAPI_kio_QtGui->em_virthandlers[26]))(sipGILState,meth,a0);
}

void sipKBookmarkContextMenu::focusInEvent(QFocusEvent *a0)
{
    typedef void (*sipVH_QtGui_25)(sip_gilstate_t,PyObject *,QFocusEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_focusInEvent);

    if (!meth)
    {
        QWidget::focusInEvent(a0);
        return;
    }

    ((sipVH_QtGui_25)(sipModuleAPI_kio_QtGui->em_virthandlers[25]))(sipGILState,meth,a0);
}

void sipKBookmarkContextMenu::focusOutEvent(QFocusEvent *a0)
{
    typedef void (*sipVH_QtGui_25)(sip_gilstate_t,PyObject *,QFocusEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_focusOutEvent);

    if (!meth)
    {
        QWidget::focusOutEvent(a0);
        return;
    }

    ((sipVH_QtGui_25)(sipModuleAPI_kio_QtGui->em_virthandlers[25]))(sipGILState,meth,a0);
}

void sipKBookmarkContextMenu::moveEvent(QMoveEvent *a0)
{
    typedef void (*sipVH_QtGui_24)(sip_gilstate_t,PyObject *,QMoveEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_moveEvent);

    if (!meth)
    {
        QWidget::moveEvent(a0);
        return;
    }

    ((sipVH_QtGui_24)(sipModuleAPI_kio_QtGui->em_virthandlers[24]))(sipGILState,meth,a0);
}

void sipKBookmarkContextMenu::resizeEvent(QResizeEvent *a0)
{
    typedef void (*sipVH_QtGui_2)(sip_gilstate_t,PyObject *,QResizeEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_resizeEvent);

    if (!meth)
    {
        QWidget::resizeEvent(a0);
        return;
    }

    ((sipVH_QtGui_2)(sipModuleAPI_kio_QtGui->em_virthandlers[2]))(sipGILState,meth,a0);
}

void sipKBookmarkContextMenu::tabletEvent(QTabletEvent *a0)
{
    typedef void (*sipVH_QtGui_21)(sip_gilstate_t,PyObject *,QTabletEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_tabletEvent);

    if (!meth)
    {
        QWidget::tabletEvent(a0);
        return;
    }

    ((sipVH_QtGui_21)(sipModuleAPI_kio_QtGui->em_virthandlers[21]))(sipGILState,meth,a0);
}

void sipKBookmarkContextMenu::dragEnterEvent(QDragEnterEvent *a0)
{
    typedef void (*sipVH_QtGui_19)(sip_gilstate_t,PyObject *,QDragEnterEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!meth)
    {
        QWidget::dragEnterEvent(a0);
        return;
    }

    ((sipVH_QtGui_19)(sipModuleAPI_kio_QtGui->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipKBookmarkContextMenu::dragMoveEvent(QDragMoveEvent *a0)
{
    typedef void (*sipVH_QtGui_18)(sip_gilstate_t,PyObject *,QDragMoveEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!meth)
    {
        QWidget::dragMoveEvent(a0);
        return;
    }

    ((sipVH_QtGui_18)(sipModuleAPI_kio_QtGui->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipKBookmarkContextMenu::dragLeaveEvent(QDragLeaveEvent *a0)
{
    typedef void (*sipVH_QtGui_17)(sip_gilstate_t,PyObject *,QDragLeaveEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!meth)
    {
        QWidget::dragLeaveEvent(a0);
        return;
    }

    ((sipVH_QtGui_17)(sipModuleAPI_kio_QtGui->em_virthandlers[17]))(sipGILState,meth,a0);
}

void sipKBookmarkContextMenu::dropEvent(QDropEvent *a0)
{
    typedef void (*sipVH_QtGui_16)(sip_gilstate_t,PyObject *,QDropEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_dropEvent);

    if (!meth)
    {
        QWidget::dropEvent(a0);
        return;
    }

    ((sipVH_QtGui_16)(sipModuleAPI_kio_QtGui->em_virthandlers[16]))(sipGILState,meth,a0);
}

void sipKBookmarkContextMenu::showEvent(QShowEvent *a0)
{
    typedef void (*sipVH_QtGui_1)(sip_gilstate_t,PyObject *,QShowEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_showEvent);

    if (!meth)
    {
        QWidget::showEvent(a0);
        return;
    }

    ((sipVH_QtGui_1)(sipModuleAPI_kio_QtGui->em_virthandlers[1]))(sipGILState,meth,a0);
}

int sipKBookmarkContextMenu::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[35]),sipPySelf,NULL,sipName_metric);

    if (!meth)
        return QWidget::metric(a0);

    return ((sipVH_QtGui_15)(sipModuleAPI_kio_QtGui->em_virthandlers[15]))(sipGILState,meth,a0);
}

void sipKBookmarkContextMenu::inputMethodEvent(QInputMethodEvent *a0)
{
    typedef void (*sipVH_QtGui_14)(sip_gilstate_t,PyObject *,QInputMethodEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!meth)
    {
        QWidget::inputMethodEvent(a0);
        return;
    }

    ((sipVH_QtGui_14)(sipModuleAPI_kio_QtGui->em_virthandlers[14]))(sipGILState,meth,a0);
}

QVariant sipKBookmarkContextMenu::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[37]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!meth)
        return QWidget::inputMethodQuery(a0);

    return ((sipVH_QtGui_13)(sipModuleAPI_kio_QtGui->em_virthandlers[13]))(sipGILState,meth,a0);
}

void sipKBookmarkContextMenu::enabledChange(bool a0)
{
    typedef void (*sipVH_QtGui_7)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_enabledChange);

    if (!meth)
    {
        QWidget::enabledChange(a0);
        return;
    }

    ((sipVH_QtGui_7)(sipModuleAPI_kio_QtGui->em_virthandlers[7]))(sipGILState,meth,a0);
}

void sipKBookmarkContextMenu::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[39],sipPySelf,NULL,sipName_paletteChange);

    if (!meth)
    {
        QWidget::paletteChange(a0);
        return;
    }

    ((sipVH_QtGui_11)(sipModuleAPI_kio_QtGui->em_virthandlers[11]))(sipGILState,meth,a0);
}

void sipKBookmarkContextMenu::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[40],sipPySelf,NULL,sipName_fontChange);

    if (!meth)
    {
        QWidget::fontChange(a0);
        return;
    }

    ((sipVH_QtGui_10)(sipModuleAPI_kio_QtGui->em_virthandlers[10]))(sipGILState,meth,a0);
}

void sipKBookmarkContextMenu::windowActivationChange(bool a0)
{
    typedef void (*sipVH_QtGui_7)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_windowActivationChange);

    if (!meth)
    {
        QWidget::windowActivationChange(a0);
        return;
    }

    ((sipVH_QtGui_7)(sipModuleAPI_kio_QtGui->em_virthandlers[7]))(sipGILState,meth,a0);
}

void sipKBookmarkContextMenu::languageChange()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_languageChange);

    if (!meth)
    {
        QWidget::languageChange();
        return;
    }

    ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

bool sipKBookmarkContextMenu::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[43],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 sipKBookmarkContextMenu::childEvent(QChildEvent *a0)
{
    typedef void (*sipVH_QtCore_20)(sip_gilstate_t,PyObject *,QChildEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_childEvent);

    if (!meth)
    {
        QObject::childEvent(a0);
        return;
    }

    ((sipVH_QtCore_20)(sipModuleAPI_kio_QtCore->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipKBookmarkContextMenu::customEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_customEvent);

    if (!meth)
    {
        QObject::customEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_kio_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipKBookmarkContextMenu::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[46],sipPySelf,NULL,sipName_connectNotify);

    if (!meth)
    {
        QObject::connectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipKBookmarkContextMenu::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[47],sipPySelf,NULL,sipName_disconnectNotify);

    if (!meth)
    {
        QObject::disconnectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

int sipKBookmarkContextMenu::sipProtect_receivers(const char *a0) const
{
    return QObject::receivers(a0);
}

void sipKBookmarkContextMenu::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent *a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipKBookmarkContextMenu::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipKBookmarkContextMenu::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipKBookmarkContextMenu::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

void sipKBookmarkContextMenu::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? QWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipKBookmarkContextMenu::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent *a0)
{
    (sipSelfWasArg ? QWidget::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipKBookmarkContextMenu::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent *a0)
{
    (sipSelfWasArg ? QWidget::focusInEvent(a0) : focusInEvent(a0));
}

void sipKBookmarkContextMenu::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent *a0)
{
    (sipSelfWasArg ? QWidget::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipKBookmarkContextMenu::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent *a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipKBookmarkContextMenu::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent *a0)
{
    (sipSelfWasArg ? QWidget::resizeEvent(a0) : resizeEvent(a0));
}

void sipKBookmarkContextMenu::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent *a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipKBookmarkContextMenu::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent *a0)
{
    (sipSelfWasArg ? QWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipKBookmarkContextMenu::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent *a0)
{
    (sipSelfWasArg ? QWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipKBookmarkContextMenu::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent *a0)
{
    (sipSelfWasArg ? QWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipKBookmarkContextMenu::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent *a0)
{
    (sipSelfWasArg ? QWidget::dropEvent(a0) : dropEvent(a0));
}

void sipKBookmarkContextMenu::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent *a0)
{
    (sipSelfWasArg ? QWidget::showEvent(a0) : showEvent(a0));
}

int sipKBookmarkContextMenu::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipKBookmarkContextMenu::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent *a0)
{
    (sipSelfWasArg ? QWidget::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipKBookmarkContextMenu::sipProtect_resetInputContext()
{
    QWidget::resetInputContext();
}

void sipKBookmarkContextMenu::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipKBookmarkContextMenu::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipKBookmarkContextMenu::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipKBookmarkContextMenu::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipKBookmarkContextMenu::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

void sipKBookmarkContextMenu::sipProtectVirt_enabledChange(bool sipSelfWasArg,bool a0)
{
    (sipSelfWasArg ? QWidget::enabledChange(a0) : enabledChange(a0));
}

void sipKBookmarkContextMenu::sipProtectVirt_paletteChange(bool sipSelfWasArg,const QPalette& a0)
{
    (sipSelfWasArg ? QWidget::paletteChange(a0) : paletteChange(a0));
}

void sipKBookmarkContextMenu::sipProtectVirt_fontChange(bool sipSelfWasArg,const QFont& a0)
{
    (sipSelfWasArg ? QWidget::fontChange(a0) : fontChange(a0));
}

void sipKBookmarkContextMenu::sipProtectVirt_windowActivationChange(bool sipSelfWasArg,bool a0)
{
    (sipSelfWasArg ? QWidget::windowActivationChange(a0) : windowActivationChange(a0));
}

void sipKBookmarkContextMenu::sipProtectVirt_languageChange(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QWidget::languageChange() : languageChange());
}

int sipKBookmarkContextMenu::sipProtect_columnCount() const
{
    return QMenu::columnCount();
}

void sipKBookmarkContextMenu::sipProtect_initStyleOption(QStyleOptionMenuItem *a0,const QAction *a1) const
{
    QMenu::initStyleOption(a0,a1);
}

void sipKBookmarkContextMenu::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QMenu::changeEvent(a0) : changeEvent(a0));
}

void sipKBookmarkContextMenu::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? QMenu::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipKBookmarkContextMenu::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent *a0)
{
    (sipSelfWasArg ? QMenu::wheelEvent(a0) : wheelEvent(a0));
}

void sipKBookmarkContextMenu::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QMenu::enterEvent(a0) : enterEvent(a0));
}

void sipKBookmarkContextMenu::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QMenu::leaveEvent(a0) : leaveEvent(a0));
}

void sipKBookmarkContextMenu::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent *a0)
{
    (sipSelfWasArg ? QMenu::paintEvent(a0) : paintEvent(a0));
}

void sipKBookmarkContextMenu::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent *a0)
{
    (sipSelfWasArg ? QMenu::actionEvent(a0) : actionEvent(a0));
}

void sipKBookmarkContextMenu::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? QMenu::timerEvent(a0) : timerEvent(a0));
}

bool sipKBookmarkContextMenu::sipProtectVirt_event(bool sipSelfWasArg,QEvent *a0)
{
    return (sipSelfWasArg ? QMenu::event(a0) : event(a0));
}

void sipKBookmarkContextMenu::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent *a0)
{
    (sipSelfWasArg ? KMenu::closeEvent(a0) : closeEvent(a0));
}

void sipKBookmarkContextMenu::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent *a0)
{
    (sipSelfWasArg ? KMenu::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipKBookmarkContextMenu::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? KMenu::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipKBookmarkContextMenu::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? KMenu::mousePressEvent(a0) : mousePressEvent(a0));
}

bool sipKBookmarkContextMenu::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? KMenu::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

void sipKBookmarkContextMenu::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent *a0)
{
    (sipSelfWasArg ? KMenu::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipKBookmarkContextMenu::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent *a0)
{
    (sipSelfWasArg ? KMenu::hideEvent(a0) : hideEvent(a0));
}

void sipKBookmarkContextMenu::sipProtect_addBookmark()
{
    KBookmarkContextMenu::addBookmark();
}

void sipKBookmarkContextMenu::sipProtect_addFolderActions()
{
    KBookmarkContextMenu::addFolderActions();
}

void sipKBookmarkContextMenu::sipProtect_addProperties()
{
    KBookmarkContextMenu::addProperties();
}

void sipKBookmarkContextMenu::sipProtect_addBookmarkActions()
{
    KBookmarkContextMenu::addBookmarkActions();
}

void sipKBookmarkContextMenu::sipProtect_addOpenFolderInTabs()
{
    KBookmarkContextMenu::addOpenFolderInTabs();
}

KBookmarkManager * sipKBookmarkContextMenu::sipProtect_manager() const
{
    return KBookmarkContextMenu::manager();
}

KBookmarkOwner * sipKBookmarkContextMenu::sipProtect_owner() const
{
    return KBookmarkContextMenu::owner();
}

KBookmark sipKBookmarkContextMenu::sipProtect_bookmark() const
{
    return KBookmarkContextMenu::bookmark();
}


extern "C" {static PyObject *meth_KBookmarkContextMenu_receivers(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkContextMenu_receivers(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        char * a0;
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KBookmarkContextMenu,&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 36682 "sipkiopart6.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KBookmarkContextMenu,sipName_receivers);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkContextMenu_childEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkContextMenu_childEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KBookmarkContextMenu,&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_KBookmarkContextMenu,sipName_childEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkContextMenu_customEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkContextMenu_customEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KBookmarkContextMenu,&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_KBookmarkContextMenu,sipName_customEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkContextMenu_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkContextMenu_connectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KBookmarkContextMenu,&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_KBookmarkContextMenu,sipName_connectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkContextMenu_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkContextMenu_disconnectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KBookmarkContextMenu,&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_KBookmarkContextMenu,sipName_disconnectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkContextMenu_mouseDoubleClickEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkContextMenu_mouseDoubleClickEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent * a0;
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KBookmarkContextMenu,&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_KBookmarkContextMenu,sipName_mouseDoubleClickEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkContextMenu_keyReleaseEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkContextMenu_keyReleaseEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent * a0;
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KBookmarkContextMenu,&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_KBookmarkContextMenu,sipName_keyReleaseEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkContextMenu_focusInEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkContextMenu_focusInEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent * a0;
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KBookmarkContextMenu,&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_KBookmarkContextMenu,sipName_focusInEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkContextMenu_focusOutEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkContextMenu_focusOutEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent * a0;
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KBookmarkContextMenu,&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_KBookmarkContextMenu,sipName_focusOutEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkContextMenu_moveEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkContextMenu_moveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent * a0;
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KBookmarkContextMenu,&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_KBookmarkContextMenu,sipName_moveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkContextMenu_resizeEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkContextMenu_resizeEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent * a0;
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KBookmarkContextMenu,&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_KBookmarkContextMenu,sipName_resizeEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkContextMenu_tabletEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkContextMenu_tabletEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent * a0;
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KBookmarkContextMenu,&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_KBookmarkContextMenu,sipName_tabletEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkContextMenu_dragEnterEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkContextMenu_dragEnterEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent * a0;
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KBookmarkContextMenu,&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_KBookmarkContextMenu,sipName_dragEnterEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkContextMenu_dragMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkContextMenu_dragMoveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent * a0;
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KBookmarkContextMenu,&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_KBookmarkContextMenu,sipName_dragMoveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkContextMenu_dragLeaveEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkContextMenu_dragLeaveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent * a0;
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KBookmarkContextMenu,&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_KBookmarkContextMenu,sipName_dragLeaveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkContextMenu_dropEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkContextMenu_dropEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent * a0;
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KBookmarkContextMenu,&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_KBookmarkContextMenu,sipName_dropEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkContextMenu_showEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkContextMenu_showEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent * a0;
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KBookmarkContextMenu,&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_KBookmarkContextMenu,sipName_showEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkContextMenu_metric(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkContextMenu_metric(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pE",&sipSelf,sipType_KBookmarkContextMenu,&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_KBookmarkContextMenu,sipName_metric);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkContextMenu_inputMethodEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkContextMenu_inputMethodEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent * a0;
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KBookmarkContextMenu,&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_KBookmarkContextMenu,sipName_inputMethodEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkContextMenu_resetInputContext(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkContextMenu_resetInputContext(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KBookmarkContextMenu,&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_KBookmarkContextMenu,sipName_resetInputContext);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkContextMenu_updateMicroFocus(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkContextMenu_updateMicroFocus(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KBookmarkContextMenu,&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_KBookmarkContextMenu,sipName_updateMicroFocus);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkContextMenu_create(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkContextMenu_create(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        WId a0 = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p|mbb",&sipSelf,sipType_KBookmarkContextMenu,&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_KBookmarkContextMenu,sipName_create);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkContextMenu_destroy(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkContextMenu_destroy(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p|bb",&sipSelf,sipType_KBookmarkContextMenu,&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_KBookmarkContextMenu,sipName_destroy);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkContextMenu_focusNextChild(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkContextMenu_focusNextChild(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KBookmarkContextMenu,&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_KBookmarkContextMenu,sipName_focusNextChild);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkContextMenu_focusPreviousChild(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkContextMenu_focusPreviousChild(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KBookmarkContextMenu,&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_KBookmarkContextMenu,sipName_focusPreviousChild);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkContextMenu_enabledChange(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkContextMenu_enabledChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_KBookmarkContextMenu,&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_KBookmarkContextMenu,sipName_enabledChange);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkContextMenu_paletteChange(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkContextMenu_paletteChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QPalette * a0;
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&sipSelf,sipType_KBookmarkContextMenu,&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_KBookmarkContextMenu,sipName_paletteChange);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkContextMenu_fontChange(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkContextMenu_fontChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QFont * a0;
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&sipSelf,sipType_KBookmarkContextMenu,&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_KBookmarkContextMenu,sipName_fontChange);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkContextMenu_windowActivationChange(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkContextMenu_windowActivationChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_KBookmarkContextMenu,&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_KBookmarkContextMenu,sipName_windowActivationChange);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkContextMenu_languageChange(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkContextMenu_languageChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KBookmarkContextMenu,&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_KBookmarkContextMenu,sipName_languageChange);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkContextMenu_columnCount(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkContextMenu_columnCount(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KBookmarkContextMenu,&sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_columnCount();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KBookmarkContextMenu,sipName_columnCount);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkContextMenu_initStyleOption(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkContextMenu_initStyleOption(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        QStyleOptionMenuItem * a0;
        const QAction * a1;
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8J8",&sipSelf,sipType_KBookmarkContextMenu,&sipCpp,sipType_QStyleOptionMenuItem,&a0,sipType_QAction,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_initStyleOption(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_KBookmarkContextMenu,sipName_initStyleOption);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkContextMenu_changeEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkContextMenu_changeEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KBookmarkContextMenu,&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_KBookmarkContextMenu,sipName_changeEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkContextMenu_mouseMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkContextMenu_mouseMoveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent * a0;
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KBookmarkContextMenu,&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_KBookmarkContextMenu,sipName_mouseMoveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkContextMenu_wheelEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkContextMenu_wheelEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent * a0;
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KBookmarkContextMenu,&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_KBookmarkContextMenu,sipName_wheelEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkContextMenu_enterEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkContextMenu_enterEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KBookmarkContextMenu,&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_KBookmarkContextMenu,sipName_enterEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkContextMenu_leaveEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkContextMenu_leaveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KBookmarkContextMenu,&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_KBookmarkContextMenu,sipName_leaveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkContextMenu_paintEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkContextMenu_paintEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent * a0;
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KBookmarkContextMenu,&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_KBookmarkContextMenu,sipName_paintEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkContextMenu_actionEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkContextMenu_actionEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent * a0;
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KBookmarkContextMenu,&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_KBookmarkContextMenu,sipName_actionEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkContextMenu_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkContextMenu_timerEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KBookmarkContextMenu,&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_KBookmarkContextMenu,sipName_timerEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkContextMenu_event(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkContextMenu_event(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KBookmarkContextMenu,&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_KBookmarkContextMenu,sipName_event);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkContextMenu_closeEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkContextMenu_closeEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent * a0;
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KBookmarkContextMenu,&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_KBookmarkContextMenu,sipName_closeEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkContextMenu_keyPressEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkContextMenu_keyPressEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent * a0;
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KBookmarkContextMenu,&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_KBookmarkContextMenu,sipName_keyPressEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkContextMenu_mouseReleaseEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkContextMenu_mouseReleaseEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent * a0;
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KBookmarkContextMenu,&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_KBookmarkContextMenu,sipName_mouseReleaseEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkContextMenu_mousePressEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkContextMenu_mousePressEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent * a0;
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KBookmarkContextMenu,&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_KBookmarkContextMenu,sipName_mousePressEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkContextMenu_focusNextPrevChild(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkContextMenu_focusNextPrevChild(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_KBookmarkContextMenu,&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_KBookmarkContextMenu,sipName_focusNextPrevChild);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkContextMenu_contextMenuEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkContextMenu_contextMenuEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent * a0;
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KBookmarkContextMenu,&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_KBookmarkContextMenu,sipName_contextMenuEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkContextMenu_hideEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkContextMenu_hideEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent * a0;
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KBookmarkContextMenu,&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_KBookmarkContextMenu,sipName_hideEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkContextMenu_addActions(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkContextMenu_addActions(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KBookmarkContextMenu,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KBookmarkContextMenu::addActions() : sipCpp->addActions());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KBookmarkContextMenu,sipName_addActions);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkContextMenu_slotEditAt(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkContextMenu_slotEditAt(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KBookmarkContextMenu,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->slotEditAt();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KBookmarkContextMenu,sipName_slotEditAt);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkContextMenu_slotProperties(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkContextMenu_slotProperties(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KBookmarkContextMenu,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->slotProperties();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KBookmarkContextMenu,sipName_slotProperties);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkContextMenu_slotInsert(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkContextMenu_slotInsert(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KBookmarkContextMenu,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->slotInsert();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KBookmarkContextMenu,sipName_slotInsert);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkContextMenu_slotRemove(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkContextMenu_slotRemove(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KBookmarkContextMenu,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->slotRemove();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KBookmarkContextMenu,sipName_slotRemove);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkContextMenu_slotCopyLocation(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkContextMenu_slotCopyLocation(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KBookmarkContextMenu,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->slotCopyLocation();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KBookmarkContextMenu,sipName_slotCopyLocation);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkContextMenu_slotOpenFolderInTabs(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkContextMenu_slotOpenFolderInTabs(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KBookmarkContextMenu,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->slotOpenFolderInTabs();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KBookmarkContextMenu,sipName_slotOpenFolderInTabs);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkContextMenu_addBookmark(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkContextMenu_addBookmark(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KBookmarkContextMenu,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_addBookmark();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KBookmarkContextMenu,sipName_addBookmark);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkContextMenu_addFolderActions(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkContextMenu_addFolderActions(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KBookmarkContextMenu,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_addFolderActions();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KBookmarkContextMenu,sipName_addFolderActions);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkContextMenu_addProperties(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkContextMenu_addProperties(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KBookmarkContextMenu,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_addProperties();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KBookmarkContextMenu,sipName_addProperties);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkContextMenu_addBookmarkActions(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkContextMenu_addBookmarkActions(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KBookmarkContextMenu,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_addBookmarkActions();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KBookmarkContextMenu,sipName_addBookmarkActions);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkContextMenu_addOpenFolderInTabs(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkContextMenu_addOpenFolderInTabs(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KBookmarkContextMenu,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_addOpenFolderInTabs();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KBookmarkContextMenu,sipName_addOpenFolderInTabs);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkContextMenu_manager(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkContextMenu_manager(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KBookmarkContextMenu,&sipCpp))
        {
            KBookmarkManager *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_manager();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KBookmarkManager,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KBookmarkContextMenu,sipName_manager);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkContextMenu_owner(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkContextMenu_owner(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KBookmarkContextMenu,&sipCpp))
        {
            KBookmarkOwner *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_owner();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KBookmarkOwner,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KBookmarkContextMenu,sipName_owner);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkContextMenu_bookmark(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkContextMenu_bookmark(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKBookmarkContextMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KBookmarkContextMenu,&sipCpp))
        {
            KBookmark *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KBookmark(sipCpp->sipProtect_bookmark());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KBookmark,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KBookmarkContextMenu,sipName_bookmark);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KBookmarkContextMenu(void *, const sipTypeDef *);}
static void *cast_KBookmarkContextMenu(void *ptr,const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KBookmarkContextMenu)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KMenu)->ctd_cast((KMenu *)(KBookmarkContextMenu *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KBookmarkContextMenu(void *, int);}
static void release_KBookmarkContextMenu(void *sipCppV,int state)
{
    Py_BEGIN_ALLOW_THREADS

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKBookmarkContextMenu *>(sipCppV);
    else
        delete reinterpret_cast<KBookmarkContextMenu *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KBookmarkContextMenu(sipSimpleWrapper *);}
static void dealloc_KBookmarkContextMenu(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKBookmarkContextMenu *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KBookmarkContextMenu(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_KBookmarkContextMenu(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KBookmarkContextMenu(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **sipOwner, int *sipArgsParsed)
{
    sipKBookmarkContextMenu *sipCpp = 0;

    if (!sipCpp)
    {
        const KBookmark * a0;
        KBookmarkManager * a1;
        KBookmarkOwner * a2;
        QWidget * a3 = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9J8J8|JH",sipType_KBookmark,&a0,sipType_KBookmarkManager,&a1,sipType_KBookmarkOwner,&a2,sipType_QWidget,&a3,sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKBookmarkContextMenu(*a0,a1,a2,a3);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KBookmarkContextMenu[] = {{158, 6, 1}};


static PyMethodDef methods_KBookmarkContextMenu[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), meth_KBookmarkContextMenu_actionEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addActions), meth_KBookmarkContextMenu_addActions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addBookmark), meth_KBookmarkContextMenu_addBookmark, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addBookmarkActions), meth_KBookmarkContextMenu_addBookmarkActions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addFolderActions), meth_KBookmarkContextMenu_addFolderActions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addOpenFolderInTabs), meth_KBookmarkContextMenu_addOpenFolderInTabs, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addProperties), meth_KBookmarkContextMenu_addProperties, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_bookmark), meth_KBookmarkContextMenu_bookmark, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_changeEvent), meth_KBookmarkContextMenu_changeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_KBookmarkContextMenu_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), meth_KBookmarkContextMenu_closeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_columnCount), meth_KBookmarkContextMenu_columnCount, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KBookmarkContextMenu_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), meth_KBookmarkContextMenu_contextMenuEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_create), meth_KBookmarkContextMenu_create, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KBookmarkContextMenu_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), meth_KBookmarkContextMenu_destroy, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KBookmarkContextMenu_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), meth_KBookmarkContextMenu_dragEnterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), meth_KBookmarkContextMenu_dragLeaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), meth_KBookmarkContextMenu_dragMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), meth_KBookmarkContextMenu_dropEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enabledChange), meth_KBookmarkContextMenu_enabledChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), meth_KBookmarkContextMenu_enterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_event), meth_KBookmarkContextMenu_event, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), meth_KBookmarkContextMenu_focusInEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), meth_KBookmarkContextMenu_focusNextChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), meth_KBookmarkContextMenu_focusNextPrevChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), meth_KBookmarkContextMenu_focusOutEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), meth_KBookmarkContextMenu_focusPreviousChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fontChange), meth_KBookmarkContextMenu_fontChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), meth_KBookmarkContextMenu_hideEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_initStyleOption), meth_KBookmarkContextMenu_initStyleOption, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), meth_KBookmarkContextMenu_inputMethodEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), meth_KBookmarkContextMenu_keyPressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), meth_KBookmarkContextMenu_keyReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_languageChange), meth_KBookmarkContextMenu_languageChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), meth_KBookmarkContextMenu_leaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_manager), meth_KBookmarkContextMenu_manager, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_metric), meth_KBookmarkContextMenu_metric, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), meth_KBookmarkContextMenu_mouseDoubleClickEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), meth_KBookmarkContextMenu_mouseMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), meth_KBookmarkContextMenu_mousePressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), meth_KBookmarkContextMenu_mouseReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), meth_KBookmarkContextMenu_moveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_owner), meth_KBookmarkContextMenu_owner, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), meth_KBookmarkContextMenu_paintEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paletteChange), meth_KBookmarkContextMenu_paletteChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_KBookmarkContextMenu_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resetInputContext), meth_KBookmarkContextMenu_resetInputContext, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_KBookmarkContextMenu_resizeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), meth_KBookmarkContextMenu_showEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotCopyLocation), meth_KBookmarkContextMenu_slotCopyLocation, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotEditAt), meth_KBookmarkContextMenu_slotEditAt, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotInsert), meth_KBookmarkContextMenu_slotInsert, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotOpenFolderInTabs), meth_KBookmarkContextMenu_slotOpenFolderInTabs, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotProperties), meth_KBookmarkContextMenu_slotProperties, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotRemove), meth_KBookmarkContextMenu_slotRemove, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_tabletEvent), meth_KBookmarkContextMenu_tabletEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KBookmarkContextMenu_timerEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), meth_KBookmarkContextMenu_updateMicroFocus, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), meth_KBookmarkContextMenu_wheelEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_windowActivationChange), meth_KBookmarkContextMenu_windowActivationChange, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_kio_KBookmarkContextMenu = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KBookmarkContextMenu,
        {0}
    },
    sipNameNr_KBookmarkContextMenu,
    -1,
    -1,
    {0, 0, 1},
    supers_KBookmarkContextMenu,
    0,
    63, methods_KBookmarkContextMenu,
    0, 0,
    0, 0,
    init_KBookmarkContextMenu,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KBookmarkContextMenu,
    release_KBookmarkContextMenu,
    cast_KBookmarkContextMenu,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KBookmarkContextMenu::staticMetaObject,
    0,
    0
};

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kbookmarkmenu.sip"
#include <kbookmarkmenu.h>
#line 38590 "sipkiopart6.cpp"

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kbookmarkmanager.sip"
#include <kbookmarkmanager.h>
#line 38594 "sipkiopart6.cpp"
#line 74 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kbookmarkmanager.sip"
#include <kbookmarkmanager.h>
#line 38597 "sipkiopart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kmenu.sip"
#include <kmenu.h>
#line 38600 "sipkiopart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kactioncollection.sip"
#include <kactioncollection.h>
#line 38603 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 38606 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qaction.sip"
#include <qaction.h>
#line 38609 "sipkiopart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 38612 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 38615 "sipkiopart6.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 38618 "sipkiopart6.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 38621 "sipkiopart6.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 38624 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 38627 "sipkiopart6.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 38658 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 38661 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 38664 "sipkiopart6.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 38667 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 38670 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 38673 "sipkiopart6.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 38676 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 38679 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 38682 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 38685 "sipkiopart6.cpp"


class sipKBookmarkMenu : public KBookmarkMenu
{
public:
    sipKBookmarkMenu(KBookmarkManager *,KBookmarkOwner *,KMenu *,KActionCollection *);
    sipKBookmarkMenu(KBookmarkManager *,KBookmarkOwner *,KMenu *,const QString&);
    virtual ~sipKBookmarkMenu();

    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_slotAboutToShow();
    void sipProtect_slotAddBookmarksList();
    void sipProtect_slotAddBookmark();
    void sipProtect_slotNewFolder();
    void sipProtect_slotOpenFolderInTabs();
    void sipProtectVirt_clear(bool);
    void sipProtectVirt_refill(bool);
    QAction * sipProtectVirt_actionForBookmark(bool,const KBookmark&);
    KMenu * sipProtectVirt_contextMenu(bool,QAction *);
    void sipProtect_addActions();
    void sipProtect_fillBookmarks();
    void sipProtect_addAddBookmark();
    void sipProtect_addAddBookmarksList();
    void sipProtect_addEditBookmarks();
    void sipProtect_addNewFolder();
    void sipProtect_addOpenInTabs();
    bool sipProtect_isRoot() const;
    bool sipProtect_isDirty() const;
    QString sipProtect_parentAddress() const;
    KBookmarkManager * sipProtect_manager() const;
    KBookmarkOwner * sipProtect_owner() const;
    KMenu * sipProtect_parentMenu() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void clear();
    void refill();
    QAction * actionForBookmark(const KBookmark&);
    KMenu * contextMenu(QAction *);
    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:
    sipKBookmarkMenu(const sipKBookmarkMenu &);
    sipKBookmarkMenu &operator = (const sipKBookmarkMenu &);

    char sipPyMethods[11];
};

sipKBookmarkMenu::sipKBookmarkMenu(KBookmarkManager *a0,KBookmarkOwner *a1,KMenu *a2,KActionCollection *a3): KBookmarkMenu(a0,a1,a2,a3), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKBookmarkMenu::sipKBookmarkMenu(KBookmarkManager *a0,KBookmarkOwner *a1,KMenu *a2,const QString& a3): KBookmarkMenu(a0,a1,a2,a3), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKBookmarkMenu::~sipKBookmarkMenu()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKBookmarkMenu::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KBookmarkMenu);
}

int sipKBookmarkMenu::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KBookmarkMenu::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kio_qt_metacall(sipPySelf,sipType_KBookmarkMenu,_c,_id,_a);

    return _id;
}

void *sipKBookmarkMenu::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast && sip_kio_qt_metacast(sipPySelf,sipType_KBookmarkMenu,_clname)) ? this : KBookmarkMenu::qt_metacast(_clname);
}

void sipKBookmarkMenu::clear()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_clear);

    if (!meth)
    {
        KBookmarkMenu::clear();
        return;
    }

    ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

void sipKBookmarkMenu::refill()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_refill);

    if (!meth)
    {
        KBookmarkMenu::refill();
        return;
    }

    ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

QAction * sipKBookmarkMenu::actionForBookmark(const KBookmark& a0)
{
    extern QAction * sipVH_kio_80(sip_gilstate_t,PyObject *,const KBookmark&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_actionForBookmark);

    if (!meth)
        return KBookmarkMenu::actionForBookmark(a0);

    return sipVH_kio_80(sipGILState,meth,a0);
}

KMenu * sipKBookmarkMenu::contextMenu(QAction *a0)
{
    extern KMenu * sipVH_kio_79(sip_gilstate_t,PyObject *,QAction *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_contextMenu);

    if (!meth)
        return KBookmarkMenu::contextMenu(a0);

    return sipVH_kio_79(sipGILState,meth,a0);
}

bool sipKBookmarkMenu::event(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_event);

    if (!meth)
        return QObject::event(a0);

    return ((sipVH_QtCore_13)(sipModuleAPI_kio_QtCore->em_virthandlers[13]))(sipGILState,meth,a0);
}

bool sipKBookmarkMenu::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[5],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 sipKBookmarkMenu::timerEvent(QTimerEvent *a0)
{
    typedef void (*sipVH_QtCore_3)(sip_gilstate_t,PyObject *,QTimerEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_timerEvent);

    if (!meth)
    {
        QObject::timerEvent(a0);
        return;
    }

    ((sipVH_QtCore_3)(sipModuleAPI_kio_QtCore->em_virthandlers[3]))(sipGILState,meth,a0);
}

void sipKBookmarkMenu::childEvent(QChildEvent *a0)
{
    typedef void (*sipVH_QtCore_20)(sip_gilstate_t,PyObject *,QChildEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_childEvent);

    if (!meth)
    {
        QObject::childEvent(a0);
        return;
    }

    ((sipVH_QtCore_20)(sipModuleAPI_kio_QtCore->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipKBookmarkMenu::customEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_customEvent);

    if (!meth)
    {
        QObject::customEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_kio_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipKBookmarkMenu::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[9],sipPySelf,NULL,sipName_connectNotify);

    if (!meth)
    {
        QObject::connectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipKBookmarkMenu::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[10],sipPySelf,NULL,sipName_disconnectNotify);

    if (!meth)
    {
        QObject::disconnectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

int sipKBookmarkMenu::sipProtect_receivers(const char *a0) const
{
    return QObject::receivers(a0);
}

void sipKBookmarkMenu::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipKBookmarkMenu::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent *a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipKBookmarkMenu::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipKBookmarkMenu::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipKBookmarkMenu::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

void sipKBookmarkMenu::sipProtect_slotAboutToShow()
{
    KBookmarkMenu::slotAboutToShow();
}

void sipKBookmarkMenu::sipProtect_slotAddBookmarksList()
{
    KBookmarkMenu::slotAddBookmarksList();
}

void sipKBookmarkMenu::sipProtect_slotAddBookmark()
{
    KBookmarkMenu::slotAddBookmark();
}

void sipKBookmarkMenu::sipProtect_slotNewFolder()
{
    KBookmarkMenu::slotNewFolder();
}

void sipKBookmarkMenu::sipProtect_slotOpenFolderInTabs()
{
    KBookmarkMenu::slotOpenFolderInTabs();
}

void sipKBookmarkMenu::sipProtectVirt_clear(bool sipSelfWasArg)
{
    (sipSelfWasArg ? KBookmarkMenu::clear() : clear());
}

void sipKBookmarkMenu::sipProtectVirt_refill(bool sipSelfWasArg)
{
    (sipSelfWasArg ? KBookmarkMenu::refill() : refill());
}

QAction * sipKBookmarkMenu::sipProtectVirt_actionForBookmark(bool sipSelfWasArg,const KBookmark& a0)
{
    return (sipSelfWasArg ? KBookmarkMenu::actionForBookmark(a0) : actionForBookmark(a0));
}

KMenu * sipKBookmarkMenu::sipProtectVirt_contextMenu(bool sipSelfWasArg,QAction *a0)
{
    return (sipSelfWasArg ? KBookmarkMenu::contextMenu(a0) : contextMenu(a0));
}

void sipKBookmarkMenu::sipProtect_addActions()
{
    KBookmarkMenu::addActions();
}

void sipKBookmarkMenu::sipProtect_fillBookmarks()
{
    KBookmarkMenu::fillBookmarks();
}

void sipKBookmarkMenu::sipProtect_addAddBookmark()
{
    KBookmarkMenu::addAddBookmark();
}

void sipKBookmarkMenu::sipProtect_addAddBookmarksList()
{
    KBookmarkMenu::addAddBookmarksList();
}

void sipKBookmarkMenu::sipProtect_addEditBookmarks()
{
    KBookmarkMenu::addEditBookmarks();
}

void sipKBookmarkMenu::sipProtect_addNewFolder()
{
    KBookmarkMenu::addNewFolder();
}

void sipKBookmarkMenu::sipProtect_addOpenInTabs()
{
    KBookmarkMenu::addOpenInTabs();
}

bool sipKBookmarkMenu::sipProtect_isRoot() const
{
    return KBookmarkMenu::isRoot();
}

bool sipKBookmarkMenu::sipProtect_isDirty() const
{
    return KBookmarkMenu::isDirty();
}

QString sipKBookmarkMenu::sipProtect_parentAddress() const
{
    return KBookmarkMenu::parentAddress();
}

KBookmarkManager * sipKBookmarkMenu::sipProtect_manager() const
{
    return KBookmarkMenu::manager();
}

KBookmarkOwner * sipKBookmarkMenu::sipProtect_owner() const
{
    return KBookmarkMenu::owner();
}

KMenu * sipKBookmarkMenu::sipProtect_parentMenu() const
{
    return KBookmarkMenu::parentMenu();
}


extern "C" {static PyObject *meth_KBookmarkMenu_receivers(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkMenu_receivers(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        char * a0;
        sipKBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KBookmarkMenu,&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 39146 "sipkiopart6.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KBookmarkMenu,sipName_receivers);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkMenu_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkMenu_timerEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipKBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KBookmarkMenu,&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_KBookmarkMenu,sipName_timerEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkMenu_childEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkMenu_childEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipKBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KBookmarkMenu,&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_KBookmarkMenu,sipName_childEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkMenu_customEvent(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkMenu_customEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KBookmarkMenu,&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_KBookmarkMenu,sipName_customEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkMenu_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkMenu_connectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KBookmarkMenu,&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_KBookmarkMenu,sipName_connectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkMenu_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkMenu_disconnectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KBookmarkMenu,&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_KBookmarkMenu,sipName_disconnectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkMenu_ensureUpToDate(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkMenu_ensureUpToDate(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KBookmarkMenu,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->ensureUpToDate();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KBookmarkMenu,sipName_ensureUpToDate);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkMenu_slotBookmarksChanged(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkMenu_slotBookmarksChanged(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        KBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KBookmarkMenu,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->slotBookmarksChanged(*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_KBookmarkMenu,sipName_slotBookmarksChanged);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkMenu_slotAboutToShow(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkMenu_slotAboutToShow(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KBookmarkMenu,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_slotAboutToShow();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KBookmarkMenu,sipName_slotAboutToShow);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkMenu_slotAddBookmarksList(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkMenu_slotAddBookmarksList(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KBookmarkMenu,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_slotAddBookmarksList();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KBookmarkMenu,sipName_slotAddBookmarksList);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkMenu_slotAddBookmark(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkMenu_slotAddBookmark(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KBookmarkMenu,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_slotAddBookmark();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KBookmarkMenu,sipName_slotAddBookmark);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkMenu_slotNewFolder(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkMenu_slotNewFolder(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KBookmarkMenu,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_slotNewFolder();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KBookmarkMenu,sipName_slotNewFolder);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkMenu_slotOpenFolderInTabs(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkMenu_slotOpenFolderInTabs(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KBookmarkMenu,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_slotOpenFolderInTabs();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KBookmarkMenu,sipName_slotOpenFolderInTabs);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkMenu_clear(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkMenu_clear(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipKBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KBookmarkMenu,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_clear(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_KBookmarkMenu,sipName_clear);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkMenu_refill(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkMenu_refill(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipKBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KBookmarkMenu,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_refill(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_KBookmarkMenu,sipName_refill);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkMenu_actionForBookmark(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkMenu_actionForBookmark(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KBookmark * a0;
        sipKBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&sipSelf,sipType_KBookmarkMenu,&sipCpp,sipType_KBookmark,&a0))
        {
            QAction *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_actionForBookmark(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KBookmarkMenu,sipName_actionForBookmark);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkMenu_contextMenu(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkMenu_contextMenu(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QAction * a0;
        sipKBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KBookmarkMenu,&sipCpp,sipType_QAction,&a0))
        {
            KMenu *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_contextMenu(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KMenu,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KBookmarkMenu,sipName_contextMenu);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkMenu_addActions(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkMenu_addActions(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KBookmarkMenu,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_addActions();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KBookmarkMenu,sipName_addActions);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkMenu_fillBookmarks(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkMenu_fillBookmarks(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KBookmarkMenu,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_fillBookmarks();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KBookmarkMenu,sipName_fillBookmarks);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkMenu_addAddBookmark(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkMenu_addAddBookmark(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KBookmarkMenu,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_addAddBookmark();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KBookmarkMenu,sipName_addAddBookmark);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkMenu_addAddBookmarksList(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkMenu_addAddBookmarksList(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KBookmarkMenu,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_addAddBookmarksList();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KBookmarkMenu,sipName_addAddBookmarksList);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkMenu_addEditBookmarks(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkMenu_addEditBookmarks(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KBookmarkMenu,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_addEditBookmarks();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KBookmarkMenu,sipName_addEditBookmarks);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkMenu_addNewFolder(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkMenu_addNewFolder(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KBookmarkMenu,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_addNewFolder();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KBookmarkMenu,sipName_addNewFolder);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkMenu_addOpenInTabs(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkMenu_addOpenInTabs(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KBookmarkMenu,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_addOpenInTabs();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KBookmarkMenu,sipName_addOpenInTabs);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkMenu_isRoot(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkMenu_isRoot(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KBookmarkMenu,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_isRoot();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KBookmarkMenu,sipName_isRoot);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkMenu_isDirty(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkMenu_isDirty(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KBookmarkMenu,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_isDirty();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KBookmarkMenu,sipName_isDirty);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkMenu_parentAddress(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkMenu_parentAddress(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KBookmarkMenu,&sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->sipProtect_parentAddress());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KBookmarkMenu,sipName_parentAddress);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkMenu_manager(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkMenu_manager(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KBookmarkMenu,&sipCpp))
        {
            KBookmarkManager *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_manager();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KBookmarkManager,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KBookmarkMenu,sipName_manager);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkMenu_owner(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkMenu_owner(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KBookmarkMenu,&sipCpp))
        {
            KBookmarkOwner *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_owner();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KBookmarkOwner,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KBookmarkMenu,sipName_owner);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkMenu_parentMenu(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkMenu_parentMenu(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKBookmarkMenu *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KBookmarkMenu,&sipCpp))
        {
            KMenu *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_parentMenu();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KMenu,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KBookmarkMenu,sipName_parentMenu);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KBookmarkMenu(void *, const sipTypeDef *);}
static void *cast_KBookmarkMenu(void *ptr,const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KBookmarkMenu)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(KBookmarkMenu *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KBookmarkMenu(void *, int);}
static void release_KBookmarkMenu(void *sipCppV,int state)
{
    Py_BEGIN_ALLOW_THREADS

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKBookmarkMenu *>(sipCppV);
    else
        delete reinterpret_cast<KBookmarkMenu *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KBookmarkMenu(sipSimpleWrapper *);}
static void dealloc_KBookmarkMenu(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKBookmarkMenu *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KBookmarkMenu(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_KBookmarkMenu(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KBookmarkMenu(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    sipKBookmarkMenu *sipCpp = 0;

    if (!sipCpp)
    {
        KBookmarkManager * a0;
        KBookmarkOwner * a1;
        KMenu * a2;
        KActionCollection * a3;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J8J8J8J8",sipType_KBookmarkManager,&a0,sipType_KBookmarkOwner,&a1,sipType_KMenu,&a2,sipType_KActionCollection,&a3))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKBookmarkMenu(a0,a1,a2,a3);
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        KBookmarkManager * a0;
        KBookmarkOwner * a1;
        KMenu * a2;
        const QString * a3;
        int a3State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J8J8J8J1",sipType_KBookmarkManager,&a0,sipType_KBookmarkOwner,&a1,sipType_KMenu,&a2,sipType_QString,&a3,&a3State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKBookmarkMenu(a0,a1,a2,*a3);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KBookmarkMenu[] = {{111, 0, 1}};


static PyMethodDef methods_KBookmarkMenu[] = {
    {SIP_MLNAME_CAST(sipName_actionForBookmark), meth_KBookmarkMenu_actionForBookmark, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addActions), meth_KBookmarkMenu_addActions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addAddBookmark), meth_KBookmarkMenu_addAddBookmark, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addAddBookmarksList), meth_KBookmarkMenu_addAddBookmarksList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addEditBookmarks), meth_KBookmarkMenu_addEditBookmarks, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addNewFolder), meth_KBookmarkMenu_addNewFolder, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addOpenInTabs), meth_KBookmarkMenu_addOpenInTabs, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_KBookmarkMenu_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_clear), meth_KBookmarkMenu_clear, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KBookmarkMenu_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenu), meth_KBookmarkMenu_contextMenu, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KBookmarkMenu_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KBookmarkMenu_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_ensureUpToDate), meth_KBookmarkMenu_ensureUpToDate, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fillBookmarks), meth_KBookmarkMenu_fillBookmarks, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isDirty), meth_KBookmarkMenu_isDirty, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isRoot), meth_KBookmarkMenu_isRoot, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_manager), meth_KBookmarkMenu_manager, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_owner), meth_KBookmarkMenu_owner, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_parentAddress), meth_KBookmarkMenu_parentAddress, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_parentMenu), meth_KBookmarkMenu_parentMenu, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_KBookmarkMenu_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_refill), meth_KBookmarkMenu_refill, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotAboutToShow), meth_KBookmarkMenu_slotAboutToShow, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotAddBookmark), meth_KBookmarkMenu_slotAddBookmark, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotAddBookmarksList), meth_KBookmarkMenu_slotAddBookmarksList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotBookmarksChanged), meth_KBookmarkMenu_slotBookmarksChanged, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotNewFolder), meth_KBookmarkMenu_slotNewFolder, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotOpenFolderInTabs), meth_KBookmarkMenu_slotOpenFolderInTabs, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KBookmarkMenu_timerEvent, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_kio_KBookmarkMenu = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KBookmarkMenu,
        {0}
    },
    sipNameNr_KBookmarkMenu,
    -1,
    -1,
    {0, 0, 1},
    supers_KBookmarkMenu,
    0,
    30, methods_KBookmarkMenu,
    0, 0,
    0, 0,
    init_KBookmarkMenu,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KBookmarkMenu,
    release_KBookmarkMenu,
    cast_KBookmarkMenu,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KBookmarkMenu::staticMetaObject,
    0,
    0
};

#line 74 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kbookmarkmanager.sip"
#include <kbookmarkmanager.h>
#line 40115 "sipkiopart6.cpp"

#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kbookmarkdialog.sip"
#include <kbookmarkdialog.h>
#line 40119 "sipkiopart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kbookmarkmanager.sip"
#include <kbookmarkmanager.h>
#line 40122 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 40125 "sipkiopart6.cpp"
#line 96 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 40128 "sipkiopart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 40131 "sipkiopart6.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 40134 "sipkiopart6.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 40137 "sipkiopart6.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 40168 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 40171 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 40174 "sipkiopart6.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 40177 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 40180 "sipkiopart6.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 40183 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 40186 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 40189 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 40192 "sipkiopart6.cpp"


class sipKBookmarkOwner : public KBookmarkOwner
{
public:
    sipKBookmarkOwner();
    sipKBookmarkOwner(const KBookmarkOwner&);
    virtual ~sipKBookmarkOwner();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    QString currentTitle() const;
    QString currentUrl() const;
    bool supportsTabs() const;
    QList<QPair<QString,QString> > currentBookmarkList() const;
    bool enableOption(KBookmarkOwner::BookmarkOption) const;
    void openBookmark(const KBookmark&,Qt::MouseButtons,Qt::KeyboardModifiers);
    void openFolderinTabs(const KBookmarkGroup&);
    KBookmarkDialog * bookmarkDialog(KBookmarkManager *,QWidget *);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKBookmarkOwner(const sipKBookmarkOwner &);
    sipKBookmarkOwner &operator = (const sipKBookmarkOwner &);

    char sipPyMethods[8];
};

sipKBookmarkOwner::sipKBookmarkOwner(): KBookmarkOwner(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKBookmarkOwner::sipKBookmarkOwner(const KBookmarkOwner& a0): KBookmarkOwner(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKBookmarkOwner::~sipKBookmarkOwner()
{
    sipCommonDtor(sipPySelf);
}

QString sipKBookmarkOwner::currentTitle() const
{
    typedef QString (*sipVH_QtCore_58)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_currentTitle);

    if (!meth)
        return KBookmarkOwner::currentTitle();

    return ((sipVH_QtCore_58)(sipModuleAPI_kio_QtCore->em_virthandlers[58]))(sipGILState,meth);
}

QString sipKBookmarkOwner::currentUrl() const
{
    typedef QString (*sipVH_QtCore_58)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_currentUrl);

    if (!meth)
        return KBookmarkOwner::currentUrl();

    return ((sipVH_QtCore_58)(sipModuleAPI_kio_QtCore->em_virthandlers[58]))(sipGILState,meth);
}

bool sipKBookmarkOwner::supportsTabs() const
{
    typedef bool (*sipVH_QtCore_1)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName_supportsTabs);

    if (!meth)
        return KBookmarkOwner::supportsTabs();

    return ((sipVH_QtCore_1)(sipModuleAPI_kio_QtCore->em_virthandlers[1]))(sipGILState,meth);
}

QList<QPair<QString,QString> > sipKBookmarkOwner::currentBookmarkList() const
{
    extern QList<QPair<QString,QString> > sipVH_kio_86(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_currentBookmarkList);

    if (!meth)
        return KBookmarkOwner::currentBookmarkList();

    return sipVH_kio_86(sipGILState,meth);
}

bool sipKBookmarkOwner::enableOption(KBookmarkOwner::BookmarkOption a0) const
{
    extern bool sipVH_kio_85(sip_gilstate_t,PyObject *,KBookmarkOwner::BookmarkOption);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,NULL,sipName_enableOption);

    if (!meth)
        return KBookmarkOwner::enableOption(a0);

    return sipVH_kio_85(sipGILState,meth,a0);
}

void sipKBookmarkOwner::openBookmark(const KBookmark& a0,Qt::MouseButtons a1,Qt::KeyboardModifiers a2)
{
    extern void sipVH_kio_84(sip_gilstate_t,PyObject *,const KBookmark&,Qt::MouseButtons,Qt::KeyboardModifiers);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,sipName_KBookmarkOwner,sipName_openBookmark);

    if (!meth)
        return;

    sipVH_kio_84(sipGILState,meth,a0,a1,a2);
}

void sipKBookmarkOwner::openFolderinTabs(const KBookmarkGroup& a0)
{
    extern void sipVH_kio_83(sip_gilstate_t,PyObject *,const KBookmarkGroup&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_openFolderinTabs);

    if (!meth)
    {
        KBookmarkOwner::openFolderinTabs(a0);
        return;
    }

    sipVH_kio_83(sipGILState,meth,a0);
}

KBookmarkDialog * sipKBookmarkOwner::bookmarkDialog(KBookmarkManager *a0,QWidget *a1)
{
    extern KBookmarkDialog * sipVH_kio_82(sip_gilstate_t,PyObject *,KBookmarkManager *,QWidget *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_bookmarkDialog);

    if (!meth)
        return KBookmarkOwner::bookmarkDialog(a0,a1);

    return sipVH_kio_82(sipGILState,meth,a0,a1);
}


extern "C" {static PyObject *meth_KBookmarkOwner_currentTitle(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkOwner_currentTitle(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KBookmarkOwner *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KBookmarkOwner,&sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString((sipSelfWasArg ? sipCpp->KBookmarkOwner::currentTitle() : sipCpp->currentTitle()));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KBookmarkOwner,sipName_currentTitle);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkOwner_currentUrl(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkOwner_currentUrl(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KBookmarkOwner *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KBookmarkOwner,&sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString((sipSelfWasArg ? sipCpp->KBookmarkOwner::currentUrl() : sipCpp->currentUrl()));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KBookmarkOwner,sipName_currentUrl);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkOwner_supportsTabs(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkOwner_supportsTabs(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KBookmarkOwner *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KBookmarkOwner,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KBookmarkOwner::supportsTabs() : sipCpp->supportsTabs());
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KBookmarkOwner,sipName_supportsTabs);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkOwner_currentBookmarkList(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkOwner_currentBookmarkList(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KBookmarkOwner *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KBookmarkOwner,&sipCpp))
        {
            QList<QPair<QString,QString> > *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<QPair<QString,QString> >((sipSelfWasArg ? sipCpp->KBookmarkOwner::currentBookmarkList() : sipCpp->currentBookmarkList()));
            Py_END_ALLOW_THREADS

            PyObject *sipResObj = sipConvertFromType(sipRes,sipType_QList_0600QPair_0100QString_0100QString,NULL);
            delete sipRes;

            return sipResObj;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KBookmarkOwner,sipName_currentBookmarkList);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkOwner_enableOption(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkOwner_enableOption(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KBookmarkOwner::BookmarkOption a0;
        KBookmarkOwner *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BE",&sipSelf,sipType_KBookmarkOwner,&sipCpp,sipType_KBookmarkOwner_BookmarkOption,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KBookmarkOwner::enableOption(a0) : sipCpp->enableOption(a0));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KBookmarkOwner,sipName_enableOption);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkOwner_openBookmark(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkOwner_openBookmark(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KBookmark * a0;
        Qt::MouseButtons * a1;
        int a1State = 0;
        Qt::KeyboardModifiers * a2;
        int a2State = 0;
        KBookmarkOwner *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9J1J1",&sipSelf,sipType_KBookmarkOwner,&sipCpp,sipType_KBookmark,&a0,sipType_Qt_MouseButtons,&a1,&a1State,sipType_Qt_KeyboardModifiers,&a2,&a2State))
        {
            if (sipSelfWasArg)
            {
                sipAbstractMethod(sipName_KBookmarkOwner, sipName_openBookmark);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->openBookmark(*a0,*a1,*a2);
            Py_END_ALLOW_THREADS

            sipReleaseType(a1,sipType_Qt_MouseButtons,a1State);
            sipReleaseType(a2,sipType_Qt_KeyboardModifiers,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KBookmarkOwner,sipName_openBookmark);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkOwner_openFolderinTabs(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkOwner_openFolderinTabs(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KBookmarkGroup * a0;
        KBookmarkOwner *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_KBookmarkOwner,&sipCpp,sipType_KBookmarkGroup,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KBookmarkOwner::openFolderinTabs(*a0) : sipCpp->openFolderinTabs(*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_KBookmarkOwner,sipName_openFolderinTabs);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkOwner_bookmarkDialog(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkOwner_bookmarkDialog(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KBookmarkManager * a0;
        QWidget * a1;
        KBookmarkOwner *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8J:",&sipSelf,sipType_KBookmarkOwner,&sipCpp,sipType_KBookmarkManager,&a0,sipType_QWidget,&a1))
        {
            KBookmarkDialog *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KBookmarkOwner::bookmarkDialog(a0,a1) : sipCpp->bookmarkDialog(a0,a1));
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KBookmarkDialog,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KBookmarkOwner,sipName_bookmarkDialog);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KBookmarkOwner(void *, const sipTypeDef *);}
static void *cast_KBookmarkOwner(void *ptr,const sipTypeDef *targetType)
{
    if (targetType == sipType_KBookmarkOwner)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KBookmarkOwner(void *, int);}
static void release_KBookmarkOwner(void *sipCppV,int state)
{
    Py_BEGIN_ALLOW_THREADS

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKBookmarkOwner *>(sipCppV);
    else
        delete reinterpret_cast<KBookmarkOwner *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KBookmarkOwner(sipSimpleWrapper *);}
static void dealloc_KBookmarkOwner(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKBookmarkOwner *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KBookmarkOwner(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_KBookmarkOwner(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KBookmarkOwner(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    sipKBookmarkOwner *sipCpp = 0;

    if (!sipCpp)
    {
        if (sipParseArgs(sipArgsParsed,sipArgs,""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKBookmarkOwner();
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        const KBookmarkOwner * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_KBookmarkOwner,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKBookmarkOwner(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


static PyMethodDef methods_KBookmarkOwner[] = {
    {SIP_MLNAME_CAST(sipName_bookmarkDialog), meth_KBookmarkOwner_bookmarkDialog, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_currentBookmarkList), meth_KBookmarkOwner_currentBookmarkList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_currentTitle), meth_KBookmarkOwner_currentTitle, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_currentUrl), meth_KBookmarkOwner_currentUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enableOption), meth_KBookmarkOwner_enableOption, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_openBookmark), meth_KBookmarkOwner_openBookmark, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_openFolderinTabs), meth_KBookmarkOwner_openFolderinTabs, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_supportsTabs), meth_KBookmarkOwner_supportsTabs, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KBookmarkOwner[] = {
    {sipName_ShowAddBookmark, KBookmarkOwner::ShowAddBookmark, 29},
    {sipName_ShowEditBookmark, KBookmarkOwner::ShowEditBookmark, 29},
};


pyqt4ClassTypeDef pyqt4Type_kio_KBookmarkOwner = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_CLASS,
        sipNameNr_KBookmarkOwner,
        {0}
    },
    sipNameNr_KBookmarkOwner,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {0, 0, 1},
    0,
    0,
    8, methods_KBookmarkOwner,
    2, enummembers_KBookmarkOwner,
    0, 0,
    init_KBookmarkOwner,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KBookmarkOwner,
    release_KBookmarkOwner,
    cast_KBookmarkOwner,
    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/kbookmarkmanager.sip"
#include <kbookmarkmanager.h>
#line 40745 "sipkiopart6.cpp"

#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 40749 "sipkiopart6.cpp"
#line 221 "/usr/local/share/py-sip/QtXml/qdom.sip"
#include <qdom.h>
#line 40752 "sipkiopart6.cpp"
#line 96 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 40755 "sipkiopart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kbookmark.sip"
#include <kbookmark.h>
#line 40758 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 40761 "sipkiopart6.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 40764 "sipkiopart6.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 40767 "sipkiopart6.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 40770 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 40773 "sipkiopart6.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 40804 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 40807 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 40810 "sipkiopart6.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 40813 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 40816 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 40819 "sipkiopart6.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 40822 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 40825 "sipkiopart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 40828 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 40831 "sipkiopart6.cpp"


extern "C" {static PyObject *meth_KBookmarkManager_setUpdate(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkManager_setUpdate(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0;
        KBookmarkManager *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_KBookmarkManager,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setUpdate(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_KBookmarkManager,sipName_setUpdate);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkManager_saveAs(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkManager_saveAs(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        bool a1 = 1;
        KBookmarkManager *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1|b",&sipSelf,sipType_KBookmarkManager,&sipCpp,sipType_QString,&a0,&a0State,&a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->saveAs(*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. */
    sipNoMethod(sipArgsParsed,sipName_KBookmarkManager,sipName_saveAs);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkManager_updateAccessMetadata(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkManager_updateAccessMetadata(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        KBookmarkManager *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KBookmarkManager,&sipCpp,sipType_QString,&a0,&a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->updateAccessMetadata(*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_KBookmarkManager,sipName_updateAccessMetadata);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkManager_updateFavicon(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkManager_updateFavicon(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        const QString * a1;
        int a1State = 0;
        KBookmarkManager *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1J1",&sipSelf,sipType_KBookmarkManager,&sipCpp,sipType_QString,&a0,&a0State,sipType_QString,&a1,&a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->updateFavicon(*a0,*a1);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KBookmarkManager,sipName_updateFavicon);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkManager_path(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkManager_path(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KBookmarkManager *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KBookmarkManager,&sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->path());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KBookmarkManager,sipName_path);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkManager_root(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkManager_root(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KBookmarkManager *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KBookmarkManager,&sipCpp))
        {
            KBookmarkGroup *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KBookmarkGroup(sipCpp->root());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KBookmarkGroup,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KBookmarkManager,sipName_root);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkManager_toolbar(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkManager_toolbar(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KBookmarkManager *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KBookmarkManager,&sipCpp))
        {
            KBookmarkGroup *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KBookmarkGroup(sipCpp->toolbar());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KBookmarkGroup,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KBookmarkManager,sipName_toolbar);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkManager_findByAddress(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkManager_findByAddress(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        KBookmarkManager *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KBookmarkManager,&sipCpp,sipType_QString,&a0,&a0State))
        {
            KBookmark *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KBookmark(sipCpp->findByAddress(*a0));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_KBookmark,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KBookmarkManager,sipName_findByAddress);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkManager_emitChanged(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkManager_emitChanged(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KBookmarkManager *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KBookmarkManager,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->emitChanged();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const KBookmarkGroup * a0;
        KBookmarkManager *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_KBookmarkManager,&sipCpp,sipType_KBookmarkGroup,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->emitChanged(*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_KBookmarkManager,sipName_emitChanged);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkManager_save(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkManager_save(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0 = 1;
        KBookmarkManager *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B|b",&sipSelf,sipType_KBookmarkManager,&sipCpp,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->save(a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KBookmarkManager,sipName_save);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkManager_emitConfigChanged(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkManager_emitConfigChanged(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KBookmarkManager *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KBookmarkManager,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->emitConfigChanged();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KBookmarkManager,sipName_emitConfigChanged);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkManager_setEditorOptions(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkManager_setEditorOptions(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        bool a1;
        KBookmarkManager *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1b",&sipSelf,sipType_KBookmarkManager,&sipCpp,sipType_QString,&a0,&a0State,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setEditorOptions(*a0,a1);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KBookmarkManager,sipName_setEditorOptions);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkManager_managerForFile(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkManager_managerForFile(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        const QString * a1;
        int a1State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J1J1",sipType_QString,&a0,&a0State,sipType_QString,&a1,&a1State))
        {
            KBookmarkManager *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KBookmarkManager::managerForFile(*a0,*a1);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return sipConvertFromType(sipRes,sipType_KBookmarkManager,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KBookmarkManager,sipName_managerForFile);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkManager_managerForExternalFile(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkManager_managerForExternalFile(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J1",sipType_QString,&a0,&a0State))
        {
            KBookmarkManager *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KBookmarkManager::managerForExternalFile(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromType(sipRes,sipType_KBookmarkManager,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KBookmarkManager,sipName_managerForExternalFile);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkManager_createTempManager(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkManager_createTempManager(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            KBookmarkManager *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KBookmarkManager::createTempManager();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KBookmarkManager,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KBookmarkManager,sipName_createTempManager);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkManager_userBookmarksManager(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkManager_userBookmarksManager(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            KBookmarkManager *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KBookmarkManager::userBookmarksManager();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KBookmarkManager,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KBookmarkManager,sipName_userBookmarksManager);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkManager_internalDocument(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkManager_internalDocument(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KBookmarkManager *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KBookmarkManager,&sipCpp))
        {
            QDomDocument *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDomDocument(sipCpp->internalDocument());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QDomDocument,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KBookmarkManager,sipName_internalDocument);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkManager_slotEditBookmarks(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkManager_slotEditBookmarks(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KBookmarkManager *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KBookmarkManager,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->slotEditBookmarks();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KBookmarkManager,sipName_slotEditBookmarks);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkManager_slotEditBookmarksAtAddress(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkManager_slotEditBookmarksAtAddress(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        KBookmarkManager *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KBookmarkManager,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->slotEditBookmarksAtAddress(*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_KBookmarkManager,sipName_slotEditBookmarksAtAddress);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkManager_notifyCompleteChange(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkManager_notifyCompleteChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        KBookmarkManager *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KBookmarkManager,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->notifyCompleteChange(*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_KBookmarkManager,sipName_notifyCompleteChange);

    return NULL;
}


extern "C" {static PyObject *meth_KBookmarkManager_notifyConfigChanged(PyObject *, PyObject *);}
static PyObject *meth_KBookmarkManager_notifyConfigChanged(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KBookmarkManager *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KBookmarkManager,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->notifyConfigChanged();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KBookmarkManager,sipName_notifyConfigChanged);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KBookmarkManager(void *, const sipTypeDef *);}
static void *cast_KBookmarkManager(void *ptr,const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KBookmarkManager)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(KBookmarkManager *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KBookmarkManager(void *, int);}
static void release_KBookmarkManager(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<KBookmarkManager *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KBookmarkManager(sipSimpleWrapper *);}
static void dealloc_KBookmarkManager(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KBookmarkManager(sipSelf->u.cppPtr,0);
    }
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KBookmarkManager[] = {{111, 0, 1}};


static PyMethodDef methods_KBookmarkManager[] = {
    {SIP_MLNAME_CAST(sipName_createTempManager), meth_KBookmarkManager_createTempManager, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_emitChanged), meth_KBookmarkManager_emitChanged, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_emitConfigChanged), meth_KBookmarkManager_emitConfigChanged, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_findByAddress), meth_KBookmarkManager_findByAddress, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_internalDocument), meth_KBookmarkManager_internalDocument, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_managerForExternalFile), meth_KBookmarkManager_managerForExternalFile, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_managerForFile), meth_KBookmarkManager_managerForFile, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_notifyCompleteChange), meth_KBookmarkManager_notifyCompleteChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_notifyConfigChanged), meth_KBookmarkManager_notifyConfigChanged, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_path), meth_KBookmarkManager_path, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_root), meth_KBookmarkManager_root, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_save), meth_KBookmarkManager_save, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_saveAs), meth_KBookmarkManager_saveAs, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setEditorOptions), meth_KBookmarkManager_setEditorOptions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setUpdate), meth_KBookmarkManager_setUpdate, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotEditBookmarks), meth_KBookmarkManager_slotEditBookmarks, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotEditBookmarksAtAddress), meth_KBookmarkManager_slotEditBookmarksAtAddress, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toolbar), meth_KBookmarkManager_toolbar, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateAccessMetadata), meth_KBookmarkManager_updateAccessMetadata, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateFavicon), meth_KBookmarkManager_updateFavicon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_userBookmarksManager), meth_KBookmarkManager_userBookmarksManager, METH_VARARGS, NULL}
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_KBookmarkManager[] = {
    {"configChanged()", 0},
    {"changed(const QString&,const QString&)", 0},
    {"bookmarkConfigChanged()", 0},
    {"bookmarksChanged(QString)", 0},
    {"bookmarkCompleteChange(QString)", 0},
    {0, 0}
};


pyqt4ClassTypeDef pyqt4Type_kio_KBookmarkManager = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KBookmarkManager,
        {0}
    },
    sipNameNr_KBookmarkManager,
    -1,
    -1,
    {0, 0, 1},
    supers_KBookmarkManager,
    0,
    21, methods_KBookmarkManager,
    0, 0,
    0, 0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KBookmarkManager,
    release_KBookmarkManager,
    cast_KBookmarkManager,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KBookmarkManager::staticMetaObject,
    0,
    pyqt4_signals_KBookmarkManager
};
