/*
 * Module code.
 *
 * Generated by SIP 4.16.4 on Thu Nov 20 23:29:22 2014
 */

#include "sipAPIkdeui.h"

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kcolorcollection.sip"
#include <kcolorcollection.h>
#line 12 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"

#line 36 "/usr/share/python-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 16 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qcolor.sip"
#include <qcolor.h>
#line 19 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 36 "/usr/share/python-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 22 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"


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

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            QStringList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(KColorCollection::installedCollections());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KColorCollection *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->save();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KColorCollection *sipCpp;

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

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

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KColorCollection, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDescription(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KColorCollection *sipCpp;

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

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

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

    {
        int a0;
        const KColorCollection *sipCpp;

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

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

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

    {
        const QColor* a0;
        int a0State = 0;
        const KColorCollection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KColorCollection, &sipCpp, sipType_QColor, &a0, &a0State))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->name(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QColor *>(a0),sipType_QColor,a0State);

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KColorCollection, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setName(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KColorCollection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KColorCollection, &sipCpp))
        {
            KColorCollection::Editable sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->editable();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KColorCollection_Editable);
        }
    }

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

    return NULL;
}


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

    {
        KColorCollection::Editable a0;
        KColorCollection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KColorCollection, &sipCpp, sipType_KColorCollection_Editable, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setEditable(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KColorCollection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KColorCollection, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->count();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        const KColorCollection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KColorCollection, &sipCpp, &a0))
        {
            QColor*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QColor(sipCpp->color(a0));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const QColor* a0;
        int a0State = 0;
        const KColorCollection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KColorCollection, &sipCpp, sipType_QColor, &a0, &a0State))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->findColor(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QColor *>(a0),sipType_QColor,a0State);

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|J1", &sipSelf, sipType_KColorCollection, &sipCpp, sipType_QColor, &a0, &a0State, sipType_QString,&a1, &a1State))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->addColor(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QColor *>(a0),sipType_QColor,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        const QColor* a1;
        int a1State = 0;
        const QString& a2def = QString();
        const QString* a2 = &a2def;
        int a2State = 0;
        KColorCollection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ1|J1", &sipSelf, sipType_KColorCollection, &sipCpp, &a0, sipType_QColor, &a1, &a1State, sipType_QString,&a2, &a2State))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->changeColor(a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QColor *>(a1),sipType_QColor,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

            return SIPLong_FromLong(sipRes);
        }
    }

    {
        const QColor* a0;
        int a0State = 0;
        const QColor* a1;
        int a1State = 0;
        const QString& a2def = QString();
        const QString* a2 = &a2def;
        int a2State = 0;
        KColorCollection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1|J1", &sipSelf, sipType_KColorCollection, &sipCpp, sipType_QColor, &a0, &a0State, sipType_QColor, &a1, &a1State, sipType_QString,&a2, &a2State))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->changeColor(*a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QColor *>(a0),sipType_QColor,a0State);
            sipReleaseType(const_cast<QColor *>(a1),sipType_QColor,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    return NULL;
}


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

    delete reinterpret_cast<KColorCollection *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


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


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


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


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

    {
        const QString& a0def = QString();
        const QString* a0 = &a0def;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|J1", sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KColorCollection(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipCpp;
        }
    }

    {
        const KColorCollection* a0;

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

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_KColorCollection[] = {
    {SIP_MLNAME_CAST(sipName_addColor), meth_KColorCollection_addColor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_changeColor), meth_KColorCollection_changeColor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_color), meth_KColorCollection_color, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_count), meth_KColorCollection_count, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_description), meth_KColorCollection_description, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_editable), meth_KColorCollection_editable, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_findColor), meth_KColorCollection_findColor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_installedCollections), meth_KColorCollection_installedCollections, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_name), meth_KColorCollection_name, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_save), meth_KColorCollection_save, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDescription), meth_KColorCollection_setDescription, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setEditable), meth_KColorCollection_setEditable, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setName), meth_KColorCollection_setName, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KColorCollection[] = {
    {sipName_Ask, static_cast<int>(KColorCollection::Ask), 45},
    {sipName_No, static_cast<int>(KColorCollection::No), 45},
    {sipName_Yes, static_cast<int>(KColorCollection::Yes), 45},
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KColorCollection = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KColorCollection,
        {0}
    },
    {
        sipNameNr_KColorCollection,
        {0, 0, 1},
        13, methods_KColorCollection,
        3, enummembers_KColorCollection,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_type_KColorCollection,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KColorCollection,
    assign_KColorCollection,
    array_KColorCollection,
    copy_KColorCollection,
    release_KColorCollection,
    cast_KColorCollection,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kcolorbutton.sip"
#include <kcolorbutton.h>
#line 626 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"

#line 35 "/usr/share/python-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 630 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qcolor.sip"
#include <qcolor.h>
#line 633 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 483 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 636 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 261 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 639 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 748 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 642 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 790 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 645 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 533 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 648 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 651 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 514 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 654 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 657 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 705 "/usr/share/python-sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 660 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qmenu.sip"
#include <qmenu.h>
#line 663 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 338 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 666 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 669 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qbuttongroup.sip"
#include <qbuttongroup.h>
#line 672 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 675 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 678 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 36 "/usr/share/python-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 681 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 684 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 39 "/usr/share/python-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 687 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 690 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 693 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 39 "/usr/share/python-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 696 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 699 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 702 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 705 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 708 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 711 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 714 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 37 "/usr/share/python-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 717 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 720 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 723 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 726 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 729 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 732 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 735 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 274 "/usr/share/python-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 738 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 656 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 741 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 616 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 744 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 605 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 747 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 801 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 750 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 774 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 753 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 863 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 756 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 412 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 759 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 627 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 762 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 583 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 765 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 570 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 768 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 557 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 771 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 356 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 774 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 777 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 61 "/usr/share/python-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 780 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 39 "/usr/share/python-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 783 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 786 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 789 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 792 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 795 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 798 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 801 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 804 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 807 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 355 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 810 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 34 "/usr/share/python-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 813 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 816 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 819 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 822 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 825 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 828 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"


class sipKColorButton : public KColorButton
{
public:
    sipKColorButton(QWidget*);
    sipKColorButton(const QColor&,QWidget*);
    sipKColorButton(const QColor&,const QColor&,QWidget*);
    virtual ~sipKColorButton();

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

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[52];
};

sipKColorButton::sipKColorButton(QWidget*a0): KColorButton(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKColorButton::sipKColorButton(const QColor& a0,QWidget*a1): KColorButton(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKColorButton::sipKColorButton(const QColor& a0,const QColor& a1,QWidget*a2): KColorButton(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipKColorButton::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KColorButton);
}

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

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KColorButton,_c,_id,_a);

    return _id;
}

void *sipKColorButton::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KColorButton, _clname)) ? this : KColorButton::qt_metacast(_clname);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

void sipKColorButton::nextCheckState()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

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

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

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

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

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

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

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

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

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

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

    typedef bool (*sipVH_QtGui_57)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPoint&);

    return ((sipVH_QtGui_57)(sipModuleAPI_kdeui_QtGui->em_virthandlers[57]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

    {
        const KColorButton *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QColor(sipCpp->color());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const QColor* a0;
        int a0State = 0;
        KColorButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KColorButton, &sipCpp, sipType_QColor, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setColor(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QColor *>(a0),sipType_QColor,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KColorButton *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QColor(sipCpp->defaultColor());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const QColor* a0;
        int a0State = 0;
        KColorButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KColorButton, &sipCpp, sipType_QColor, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDefaultColor(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QColor *>(a0),sipType_QColor,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KColorButton *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        const KColorButton *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSize((sipSelfWasArg ? sipCpp->KColorButton::minimumSizeHint() : sipCpp->minimumSizeHint()));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        QPaintEvent* a0;
        KColorButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KColorButton, &sipCpp, sipType_QPaintEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KColorButton::paintEvent(a0) : sipCpp->paintEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QDragEnterEvent* a0;
        KColorButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KColorButton, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KColorButton::dragEnterEvent(a0) : sipCpp->dragEnterEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QDropEvent* a0;
        KColorButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KColorButton, &sipCpp, sipType_QDropEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KColorButton::dropEvent(a0) : sipCpp->dropEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QMouseEvent* a0;
        KColorButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KColorButton, &sipCpp, sipType_QMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KColorButton::mousePressEvent(a0) : sipCpp->mousePressEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QMouseEvent* a0;
        KColorButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KColorButton, &sipCpp, sipType_QMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KColorButton::mouseMoveEvent(a0) : sipCpp->mouseMoveEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QKeyEvent* a0;
        KColorButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KColorButton, &sipCpp, sipType_QKeyEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KColorButton::keyPressEvent(a0) : sipCpp->keyPressEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        KColorButton *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KColorButton *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isAlphaChannelEnabled();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_KColorButton)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QPushButton)->ctd_cast((QPushButton *)(KColorButton *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    Py_BEGIN_ALLOW_THREADS

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

    Py_END_ALLOW_THREADS
}


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

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


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

    {
        QWidget* a0 = 0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QColor* a0;
        int a0State = 0;
        QWidget* a1 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1|JH", sipType_QColor, &a0, &a0State, sipType_QWidget, &a1, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKColorButton(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QColor *>(a0),sipType_QColor,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QColor* a0;
        int a0State = 0;
        const QColor* a1;
        int a1State = 0;
        QWidget* a2 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1J1|JH", sipType_QColor, &a0, &a0State, sipType_QColor, &a1, &a1State, sipType_QWidget, &a2, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKColorButton(*a0,*a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QColor *>(a0),sipType_QColor,a0State);
            sipReleaseType(const_cast<QColor *>(a1),sipType_QColor,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_KColorButton[] = {
    {SIP_MLNAME_CAST(sipName_color), meth_KColorButton_color, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_defaultColor), meth_KColorButton_defaultColor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), meth_KColorButton_dragEnterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), meth_KColorButton_dropEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isAlphaChannelEnabled), meth_KColorButton_isAlphaChannelEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), meth_KColorButton_keyPressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_minimumSizeHint), meth_KColorButton_minimumSizeHint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), meth_KColorButton_mouseMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), meth_KColorButton_mousePressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), meth_KColorButton_paintEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAlphaChannelEnabled), meth_KColorButton_setAlphaChannelEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setColor), meth_KColorButton_setColor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDefaultColor), meth_KColorButton_setDefaultColor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_KColorButton_sizeHint, METH_VARARGS, NULL}
};


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


pyqt4ClassTypeDef sipTypeDef_kdeui_KColorButton = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KColorButton,
        {0}
    },
    {
        sipNameNr_KColorButton,
        {0, 0, 1},
        14, methods_KColorButton,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KColorButton,
    0,
    init_type_KColorButton,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KColorButton,
    0,
    0,
    0,
    release_KColorButton,
    cast_KColorButton,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KColorButton::staticMetaObject,
    0,
    signals_KColorButton,
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kcodecaction.sip"
#include <kcodecaction.h>
#line 2400 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"

#line 34 "/usr/share/python-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 2404 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 36 "/usr/share/python-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 2407 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 33 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kicon.sip"
#include <kicon.h>
#line 2410 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 2413 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qtextcodec.sip"
#include <qtextcodec.h>
#line 2416 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdecore/kencodingdetector.sip"
#include <kencodingdetector.h>
#line 2419 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2422 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 2425 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 36 "/usr/share/python-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 2428 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kaction.sip"
#include <kaction.h>
#line 2431 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2434 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 2437 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qactiongroup.sip"
#include <qactiongroup.h>
#line 2440 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qtoolbutton.sip"
#include <qtoolbutton.h>
#line 2443 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kselectaction.sip"
#include <kselectaction.h>
#line 2446 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 25 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdecore/kauthaction.sip"
#include <kauthaction.h>
#line 2449 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 2452 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 55 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kgesture.sip"
#include <kgesture.h>
#line 2455 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kaction.sip"
#include <kaction.h>
#line 2458 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kgesture.sip"
#include <kgesture.h>
#line 2461 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kshortcut.sip"
#include <kshortcut.h>
#line 2464 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 2467 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 2470 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 2473 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 187 "/usr/share/python-sip/PyQt4/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 2476 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 274 "/usr/share/python-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 2479 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 2482 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qmenu.sip"
#include <qmenu.h>
#line 2485 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 2488 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 355 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2491 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 338 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2494 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 2497 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 37 "/usr/share/python-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 2500 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 2503 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 2506 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 2509 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 2512 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"


class sipKCodecAction : public KCodecAction
{
public:
    sipKCodecAction(QObject*,bool);
    sipKCodecAction(const QString&,QObject*,bool);
    sipKCodecAction(const KIcon&,const QString&,QObject*,bool);
    virtual ~sipKCodecAction();

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

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool event(QEvent*);
    bool eventFilter(QObject*,QEvent*);
    void deleteWidget(QWidget*);
    QWidget* createWidget(QWidget*);
    QAction* removeAction(QAction*);
    void addAction(QAction*);
    void actionTriggered(QAction*);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[12];
};

sipKCodecAction::sipKCodecAction(QObject*a0,bool a1): KCodecAction(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKCodecAction::sipKCodecAction(const QString& a0,QObject*a1,bool a2): KCodecAction(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKCodecAction::sipKCodecAction(const KIcon& a0,const QString& a1,QObject*a2,bool a3): KCodecAction(a0,a1,a2,a3), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipKCodecAction::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KCodecAction);
}

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

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KCodecAction,_c,_id,_a);

    return _id;
}

void *sipKCodecAction::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KCodecAction, _clname)) ? this : KCodecAction::qt_metacast(_clname);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

void sipKCodecAction::deleteWidget(QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCodecAction::deleteWidget(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*);

    ((sipVH_QtGui_7)(sipModuleAPI_kdeui_QtGui->em_virthandlers[7]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QWidget* sipKCodecAction::createWidget(QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KCodecAction::createWidget(a0);

    extern QWidget* sipVH_kdeui_42(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*);

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

QAction* sipKCodecAction::removeAction(QAction*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KCodecAction::removeAction(a0);

    extern QAction* sipVH_kdeui_49(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QAction*);

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

void sipKCodecAction::addAction(QAction*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCodecAction::addAction(a0);
        return;
    }

    extern void sipVH_kdeui_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QAction*);

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

void sipKCodecAction::actionTriggered(QAction*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCodecAction::actionTriggered(a0);
        return;
    }

    extern void sipVH_kdeui_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QAction*);

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


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

    {
        const QString* a0;
        int a0State = 0;
        bool a1;
        const KCodecAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KCodecAction, &sipCpp, sipType_QString,&a0, &a0State))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->mibForName(*a0,&a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipBuildResult(0,"(ib)",sipRes,a1);
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        const KCodecAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KCodecAction, &sipCpp, &a0))
        {
            QTextCodec*sipRes;

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

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

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

    return NULL;
}


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

    {
        const KCodecAction *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->currentCodec();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        QTextCodec* a0;
        KCodecAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KCodecAction, &sipCpp, sipType_QTextCodec, &a0))
        {
            bool sipRes;

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

            return PyBool_FromLong(sipRes);
        }
    }

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KCodecAction, &sipCpp, sipType_QString,&a0, &a0State))
        {
            bool sipRes;

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

            return PyBool_FromLong(sipRes);
        }
    }

    {
        int a0;
        KCodecAction *sipCpp;

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

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KCodecAction *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        const KCodecAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCodecAction, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->currentCodecMib();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KCodecAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCodecAction, &sipCpp))
        {
            KEncodingDetector::AutoDetectScript sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->currentAutoDetectScript();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KEncodingDetector_AutoDetectScript);
        }
    }

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

    return NULL;
}


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

    {
        KEncodingDetector::AutoDetectScript a0;
        KCodecAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KCodecAction, &sipCpp, sipType_KEncodingDetector_AutoDetectScript, &a0))
        {
            bool sipRes;

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QAction* a0;
        KCodecAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KCodecAction, &sipCpp, sipType_QAction, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCodecAction::actionTriggered(a0) : sipCpp->actionTriggered(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_KCodecAction)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KSelectAction)->ctd_cast((KSelectAction *)(KCodecAction *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    Py_BEGIN_ALLOW_THREADS

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

    Py_END_ALLOW_THREADS
}


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

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


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

    {
        QObject* a0;
        bool a1 = 0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        QObject* a1;
        bool a2 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1JH|b", sipType_QString,&a0, &a0State, sipType_QObject, &a1, sipOwner, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKCodecAction(*a0,a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const KIcon* a0;
        const QString* a1;
        int a1State = 0;
        QObject* a2;
        bool a3 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9J1JH|b", sipType_KIcon, &a0, sipType_QString,&a1, &a1State, sipType_QObject, &a2, sipOwner, &a3))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKCodecAction(*a0,*a1,a2,a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_KCodecAction[] = {
    {SIP_MLNAME_CAST(sipName_actionTriggered), meth_KCodecAction_actionTriggered, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_codecForMib), meth_KCodecAction_codecForMib, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_currentAutoDetectScript), meth_KCodecAction_currentAutoDetectScript, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_currentCodec), meth_KCodecAction_currentCodec, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_currentCodecMib), meth_KCodecAction_currentCodecMib, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_currentCodecName), meth_KCodecAction_currentCodecName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mibForName), meth_KCodecAction_mibForName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCurrentAutoDetectScript), meth_KCodecAction_setCurrentAutoDetectScript, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCurrentCodec), meth_KCodecAction_setCurrentCodec, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KCodecAction[] = {
    {"defaultItemTriggered()", 0, 0, 0},
    {"triggered(QTextCodec*)", 0, 0, 0},
    {"triggered(KEncodingDetector::AutoDetectScript)", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KCodecAction = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KCodecAction,
        {0}
    },
    {
        sipNameNr_KCodecAction,
        {0, 0, 1},
        9, methods_KCodecAction,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KCodecAction,
    0,
    init_type_KCodecAction,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KCodecAction,
    0,
    0,
    0,
    release_KCodecAction,
    cast_KCodecAction,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KCodecAction::staticMetaObject,
    0,
    signals_KCodecAction,
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kselectaction.sip"
#include <kselectaction.h>
#line 3276 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"

#line 34 "/usr/share/python-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 3280 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 36 "/usr/share/python-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 3283 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 33 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kicon.sip"
#include <kicon.h>
#line 3286 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 3289 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 3292 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 3295 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 36 "/usr/share/python-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 3298 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kaction.sip"
#include <kaction.h>
#line 3301 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 3304 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 3307 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qactiongroup.sip"
#include <qactiongroup.h>
#line 3310 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qtoolbutton.sip"
#include <qtoolbutton.h>
#line 3313 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 25 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdecore/kauthaction.sip"
#include <kauthaction.h>
#line 3316 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 3319 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 55 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kgesture.sip"
#include <kgesture.h>
#line 3322 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kaction.sip"
#include <kaction.h>
#line 3325 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kgesture.sip"
#include <kgesture.h>
#line 3328 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kshortcut.sip"
#include <kshortcut.h>
#line 3331 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 3334 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 3337 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 3340 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 187 "/usr/share/python-sip/PyQt4/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 3343 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 274 "/usr/share/python-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 3346 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 3349 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qmenu.sip"
#include <qmenu.h>
#line 3352 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 3355 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 355 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 3358 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 338 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 3361 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 3364 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 37 "/usr/share/python-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 3367 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 3370 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 3373 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 3376 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 3379 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"


class sipKSelectAction : public KSelectAction
{
public:
    sipKSelectAction(QObject*);
    sipKSelectAction(const QString&,QObject*);
    sipKSelectAction(const KIcon&,const QString&,QObject*);
    virtual ~sipKSelectAction();

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

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool event(QEvent*);
    bool eventFilter(QObject*,QEvent*);
    void deleteWidget(QWidget*);
    QWidget* createWidget(QWidget*);
    void actionTriggered(QAction*);
    QAction* removeAction(QAction*);
    void addAction(QAction*);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[12];
};

sipKSelectAction::sipKSelectAction(QObject*a0): KSelectAction(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKSelectAction::sipKSelectAction(const QString& a0,QObject*a1): KSelectAction(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKSelectAction::sipKSelectAction(const KIcon& a0,const QString& a1,QObject*a2): KSelectAction(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipKSelectAction::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KSelectAction);
}

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

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KSelectAction,_c,_id,_a);

    return _id;
}

void *sipKSelectAction::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KSelectAction, _clname)) ? this : KSelectAction::qt_metacast(_clname);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

void sipKSelectAction::deleteWidget(QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KSelectAction::deleteWidget(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*);

    ((sipVH_QtGui_7)(sipModuleAPI_kdeui_QtGui->em_virthandlers[7]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QWidget* sipKSelectAction::createWidget(QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KSelectAction::createWidget(a0);

    extern QWidget* sipVH_kdeui_42(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*);

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

void sipKSelectAction::actionTriggered(QAction*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KSelectAction::actionTriggered(a0);
        return;
    }

    extern void sipVH_kdeui_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QAction*);

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

QAction* sipKSelectAction::removeAction(QAction*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KSelectAction::removeAction(a0);

    extern QAction* sipVH_kdeui_49(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QAction*);

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

void sipKSelectAction::addAction(QAction*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KSelectAction::addAction(a0);
        return;
    }

    extern void sipVH_kdeui_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QAction*);

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


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

    {
        const KSelectAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KSelectAction, &sipCpp))
        {
            KSelectAction::ToolBarMode sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->toolBarMode();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KSelectAction_ToolBarMode);
        }
    }

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

    return NULL;
}


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

    {
        KSelectAction::ToolBarMode a0;
        KSelectAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KSelectAction, &sipCpp, sipType_KSelectAction_ToolBarMode, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setToolBarMode(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KSelectAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KSelectAction, &sipCpp))
        {
            QToolButton::ToolButtonPopupMode sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->toolButtonPopupMode();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_QToolButton_ToolButtonPopupMode);
        }
    }

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

    return NULL;
}


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

    {
        QToolButton::ToolButtonPopupMode a0;
        KSelectAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KSelectAction, &sipCpp, sipType_QToolButton_ToolButtonPopupMode, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setToolButtonPopupMode(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KSelectAction *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->selectableActionGroup();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KSelectAction *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->currentAction();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KSelectAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KSelectAction, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->currentItem();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KSelectAction *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        const KSelectAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KSelectAction, &sipCpp))
        {
            QList<QAction*>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<QAction*>(sipCpp->actions());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        int a0;
        const KSelectAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KSelectAction, &sipCpp, &a0))
        {
            QAction*sipRes;

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

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

    {
        const QString* a0;
        int a0State = 0;
        Qt::CaseSensitivity a1 = Qt::CaseSensitive;
        const KSelectAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|E", &sipSelf, sipType_KSelectAction, &sipCpp, sipType_QString,&a0, &a0State, sipType_Qt_CaseSensitivity, &a1))
        {
            QAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->action(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

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

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

    return NULL;
}


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

    {
        QAction* a0;
        KSelectAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KSelectAction, &sipCpp, sipType_QAction, &a0))
        {
            bool sipRes;

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

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        Qt::CaseSensitivity a1 = Qt::CaseSensitive;
        KSelectAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|E", &sipSelf, sipType_KSelectAction, &sipCpp, sipType_QString,&a0, &a0State, sipType_Qt_CaseSensitivity, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->setCurrentAction(*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(sipParseErr, sipName_KSelectAction, sipName_setCurrentAction, NULL);

    return NULL;
}


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

    {
        int a0;
        KSelectAction *sipCpp;

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

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QAction* a0;
        KSelectAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KSelectAction, &sipCpp, sipType_QAction, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KSelectAction::addAction(a0) : sipCpp->addAction(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

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

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

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

    {
        const KIcon* a0;
        const QString* a1;
        int a1State = 0;
        KSelectAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J1", &sipSelf, sipType_KSelectAction, &sipCpp, sipType_KIcon, &a0, sipType_QString,&a1, &a1State))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->addAction(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

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

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

    return NULL;
}


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

    {
        QAction* a0;
        KSelectAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KSelectAction, &sipCpp, sipType_QAction, &a0))
        {
            QAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KSelectAction::removeAction(a0) : sipCpp->removeAction(a0));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KSelectAction *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        const KSelectAction *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isEditable();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        KSelectAction *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KSelectAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KSelectAction, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->comboWidth();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        KSelectAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KSelectAction, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setComboWidth(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        KSelectAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KSelectAction, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMaxComboViewCount(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KSelectAction *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KSelectAction *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        KSelectAction *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KSelectAction *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->menuAccelsEnabled();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        const QString* a1;
        int a1State = 0;
        KSelectAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ1", &sipSelf, sipType_KSelectAction, &sipCpp, &a0, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->changeItem(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QAction* a0;
        KSelectAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KSelectAction, &sipCpp, sipType_QAction, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KSelectAction::actionTriggered(a0) : sipCpp->actionTriggered(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        KSelectAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pb", &sipSelf, sipType_KSelectAction, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->slotToggled(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QWidget* a0;
        KSelectAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ:", &sipSelf, sipType_KSelectAction, &sipCpp, sipType_QWidget, &a0))
        {
            QWidget*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KSelectAction::createWidget(a0) : sipCpp->createWidget(a0));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        QWidget* a0;
        KSelectAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KSelectAction, &sipCpp, sipType_QWidget, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KSelectAction::deleteWidget(a0) : sipCpp->deleteWidget(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KSelectAction::eventFilter(a0,a1) : sipCpp->eventFilter(a0,a1));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QEvent* a0;
        KSelectAction *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KSelectAction::event(a0) : sipCpp->event(a0));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_KSelectAction)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KAction)->ctd_cast((KAction *)(KSelectAction *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    Py_BEGIN_ALLOW_THREADS

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

    Py_END_ALLOW_THREADS
}


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

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


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

    {
        QObject* a0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        QObject* a1;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1JH", sipType_QString,&a0, &a0State, sipType_QObject, &a1, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKSelectAction(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const KIcon* a0;
        const QString* a1;
        int a1State = 0;
        QObject* a2;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9J1JH", sipType_KIcon, &a0, sipType_QString,&a1, &a1State, sipType_QObject, &a2, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKSelectAction(*a0,*a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_KSelectAction[] = {
    {SIP_MLNAME_CAST(sipName_action), meth_KSelectAction_action, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_actionTriggered), meth_KSelectAction_actionTriggered, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_actions), meth_KSelectAction_actions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addAction), meth_KSelectAction_addAction, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_changeItem), meth_KSelectAction_changeItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_clear), meth_KSelectAction_clear, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_comboWidth), meth_KSelectAction_comboWidth, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_createWidget), meth_KSelectAction_createWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_currentAction), meth_KSelectAction_currentAction, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_currentItem), meth_KSelectAction_currentItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_currentText), meth_KSelectAction_currentText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_deleteWidget), meth_KSelectAction_deleteWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_event), meth_KSelectAction_event, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_eventFilter), meth_KSelectAction_eventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isEditable), meth_KSelectAction_isEditable, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_items), meth_KSelectAction_items, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_menuAccelsEnabled), meth_KSelectAction_menuAccelsEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_removeAction), meth_KSelectAction_removeAction, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_removeAllActions), meth_KSelectAction_removeAllActions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_selectableActionGroup), meth_KSelectAction_selectableActionGroup, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setComboWidth), meth_KSelectAction_setComboWidth, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCurrentAction), meth_KSelectAction_setCurrentAction, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCurrentItem), meth_KSelectAction_setCurrentItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setEditable), meth_KSelectAction_setEditable, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setItems), meth_KSelectAction_setItems, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMaxComboViewCount), meth_KSelectAction_setMaxComboViewCount, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMenuAccelsEnabled), meth_KSelectAction_setMenuAccelsEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setToolBarMode), meth_KSelectAction_setToolBarMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setToolButtonPopupMode), meth_KSelectAction_setToolButtonPopupMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotToggled), meth_KSelectAction_slotToggled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toolBarMode), meth_KSelectAction_toolBarMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toolButtonPopupMode), meth_KSelectAction_toolButtonPopupMode, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KSelectAction[] = {
    {sipName_ComboBoxMode, static_cast<int>(KSelectAction::ComboBoxMode), 266},
    {sipName_MenuMode, static_cast<int>(KSelectAction::MenuMode), 266},
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KSelectAction[] = {
    {"triggered(QAction*)", 0, 0, 0},
    {"triggered(int)", 0, 0, 0},
    {"triggered(QString)", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KSelectAction = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KSelectAction,
        {0}
    },
    {
        sipNameNr_KSelectAction,
        {0, 0, 1},
        32, methods_KSelectAction,
        2, enummembers_KSelectAction,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KSelectAction,
    0,
    init_type_KSelectAction,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KSelectAction,
    0,
    0,
    0,
    release_KSelectAction,
    cast_KSelectAction,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KSelectAction::staticMetaObject,
    0,
    signals_KSelectAction,
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kcmodule.sip"
#include <kcmodule.h>
#line 4840 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kcmodule.sip"
#include <kcmodule.h>
#line 4844 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"


extern "C" {static int slot_KCModule_Buttons___bool__(PyObject *);}
static int slot_KCModule_Buttons___bool__(PyObject *sipSelf)
{
    KCModule::Buttons *sipCpp = reinterpret_cast<KCModule::Buttons *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KCModule_Buttons));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 370 "/usr/share/python-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KCModule::Buttons::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 4866 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KCModule_Buttons___ne__(PyObject *,PyObject *);}
static PyObject *slot_KCModule_Buttons___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    KCModule::Buttons *sipCpp = reinterpret_cast<KCModule::Buttons *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KCModule_Buttons));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KCModule::Buttons* a0;
        int a0State = 0;

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

#line 361 "/usr/share/python-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KCModule::Buttons::Int() != a0->operator KCModule::Buttons::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 4900 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
            sipReleaseType(const_cast<KCModule::Buttons *>(a0),sipType_KCModule_Buttons,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui,ne_slot,sipType_KCModule_Buttons,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KCModule_Buttons___eq__(PyObject *,PyObject *);}
static PyObject *slot_KCModule_Buttons___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    KCModule::Buttons *sipCpp = reinterpret_cast<KCModule::Buttons *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KCModule_Buttons));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KCModule::Buttons* a0;
        int a0State = 0;

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

#line 352 "/usr/share/python-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KCModule::Buttons::Int() == a0->operator KCModule::Buttons::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 4940 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
            sipReleaseType(const_cast<KCModule::Buttons *>(a0),sipType_KCModule_Buttons,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui,eq_slot,sipType_KCModule_Buttons,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KCModule_Buttons___invert__(PyObject *);}
static PyObject *slot_KCModule_Buttons___invert__(PyObject *sipSelf)
{
    KCModule::Buttons *sipCpp = reinterpret_cast<KCModule::Buttons *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KCModule_Buttons));

    if (!sipCpp)
        return 0;


    {
        {
            KCModule::Buttons*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KCModule::Buttons(~(*sipCpp));
            Py_END_ALLOW_THREADS

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

    return 0;
}


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

    {
        KCModule::Buttons* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KCModule_Buttons, &a0, &a0State, &a1))
        {
            KCModule::Buttons*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KCModule::Buttons((*a0 & a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KCModule_Buttons,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


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

    {
        KCModule::Buttons* a0;
        int a0State = 0;
        KCModule::Buttons* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_KCModule_Buttons, &a0, &a0State, sipType_KCModule_Buttons, &a1, &a1State))
        {
            KCModule::Buttons*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KCModule::Buttons((*a0 ^ *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KCModule_Buttons,a0State);
            sipReleaseType(a1,sipType_KCModule_Buttons,a1State);

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

    {
        KCModule::Buttons* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KCModule_Buttons, &a0, &a0State, &a1))
        {
            KCModule::Buttons*sipRes = 0;

#line 346 "/usr/share/python-sip/PyQt4/QtCore/qglobal.sip"
        sipRes = new KCModule::Buttons(*a0 ^ a1);
#line 5049 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
            sipReleaseType(a0,sipType_KCModule_Buttons,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


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

    {
        KCModule::Buttons* a0;
        int a0State = 0;
        KCModule::Buttons* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_KCModule_Buttons, &a0, &a0State, sipType_KCModule_Buttons, &a1, &a1State))
        {
            KCModule::Buttons*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KCModule::Buttons((*a0 | *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KCModule_Buttons,a0State);
            sipReleaseType(a1,sipType_KCModule_Buttons,a1State);

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

    {
        KCModule::Buttons* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KCModule_Buttons, &a0, &a0State, &a1))
        {
            KCModule::Buttons*sipRes = 0;

#line 341 "/usr/share/python-sip/PyQt4/QtCore/qglobal.sip"
        sipRes = new KCModule::Buttons(*a0 | a1);
#line 5101 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
            sipReleaseType(a0,sipType_KCModule_Buttons,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


extern "C" {static PyObject *slot_KCModule_Buttons___int__(PyObject *);}
static PyObject *slot_KCModule_Buttons___int__(PyObject *sipSelf)
{
    KCModule::Buttons *sipCpp = reinterpret_cast<KCModule::Buttons *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KCModule_Buttons));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


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

    KCModule::Buttons *sipCpp = reinterpret_cast<KCModule::Buttons *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KCModule_Buttons));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        KCModule::Buttons* a0;
        int a0State = 0;

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

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    KCModule::Buttons *sipCpp = reinterpret_cast<KCModule::Buttons *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KCModule_Buttons));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        KCModule::Buttons* a0;
        int a0State = 0;

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

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    KCModule::Buttons *sipCpp = reinterpret_cast<KCModule::Buttons *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KCModule_Buttons));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KCModule::Buttons::operator&=(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    return NULL;
}


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

    delete reinterpret_cast<KCModule::Buttons *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


extern "C" {static void *array_KCModule_Buttons(SIP_SSIZE_T);}
static void *array_KCModule_Buttons(SIP_SSIZE_T sipNrElem)
{
    return new KCModule::Buttons[sipNrElem];
}


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


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


extern "C" {static void *init_type_KCModule_Buttons(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KCModule_Buttons(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    KCModule::Buttons *sipCpp = 0;

    {
        const KCModule::Buttons* a0;
        int a0State = 0;

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

            return sipCpp;
        }
    }

    {
        int a0;

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

            return sipCpp;
        }
    }

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

            return sipCpp;
        }
    }

    return NULL;
}


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

#line 379 "/usr/share/python-sip/PyQt4/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a KCModule::Buttons is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KCModule_Button)) ||
            sipCanConvertToType(sipPy, sipType_KCModule_Buttons, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KCModule_Button)))
{
    *sipCppPtr = new KCModule::Buttons(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<KCModule::Buttons *>(sipConvertToType(sipPy, sipType_KCModule_Buttons, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 5396 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_KCModule_Buttons[] = {
    {(void *)slot_KCModule_Buttons___bool__, bool_slot},
    {(void *)slot_KCModule_Buttons___ne__, ne_slot},
    {(void *)slot_KCModule_Buttons___eq__, eq_slot},
    {(void *)slot_KCModule_Buttons___invert__, invert_slot},
    {(void *)slot_KCModule_Buttons___and__, and_slot},
    {(void *)slot_KCModule_Buttons___xor__, xor_slot},
    {(void *)slot_KCModule_Buttons___or__, or_slot},
    {(void *)slot_KCModule_Buttons___int__, int_slot},
    {(void *)slot_KCModule_Buttons___ixor__, ixor_slot},
    {(void *)slot_KCModule_Buttons___ior__, ior_slot},
    {(void *)slot_KCModule_Buttons___iand__, iand_slot},
    {0, (sipPySlotType)0}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KCModule_Buttons = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KCModule__Buttons,
        {0}
    },
    {
        sipNameNr_Buttons,
        {25, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    slots_KCModule_Buttons,
    init_type_KCModule_Buttons,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KCModule_Buttons,
    assign_KCModule_Buttons,
    array_KCModule_Buttons,
    copy_KCModule_Buttons,
    release_KCModule_Buttons,
    cast_KCModule_Buttons,
    convertTo_KCModule_Buttons,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kcmodule.sip"
#include <kcmodule.h>
#line 5472 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdecore/kcomponentdata.sip"
#include <kcomponentdata.h>
#line 5476 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 5479 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 5482 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 5485 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 274 "/usr/share/python-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 5488 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 36 "/usr/share/python-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 5491 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 25 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdecore/kauthaction.sip"
#include <kauthaction.h>
#line 5494 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kcmodule.sip"
#include <kcmodule.h>
#line 5497 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 605 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5500 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kconfigdialogmanager.sip"
#include <kconfigdialogmanager.h>
#line 5503 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 33 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kconfigskeleton.sip"
#include <kconfigskeleton.h>
#line 5506 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 188 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 5509 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 5512 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 56 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdecore/kaboutdata.sip"
#include <kaboutdata.h>
#line 5515 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 5518 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 39 "/usr/share/python-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 5521 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 5524 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 5527 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 39 "/usr/share/python-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 5530 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 5533 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 5536 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 5539 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 5542 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 5545 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 5548 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 5551 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 37 "/usr/share/python-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 5554 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 5557 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 5560 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 5563 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 5566 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 5569 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 5572 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 5575 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 656 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5578 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 5581 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 616 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5584 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 748 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5587 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 801 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5590 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 774 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5593 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 790 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5596 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 863 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5599 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 412 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5602 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 627 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5605 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 583 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5608 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 570 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5611 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 557 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5614 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 533 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5617 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 514 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5620 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 483 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5623 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 356 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5626 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 261 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5629 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 5632 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 61 "/usr/share/python-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 5635 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 39 "/usr/share/python-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 5638 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 5641 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 5644 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 5647 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 5650 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 5653 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 5656 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 5659 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 5662 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 5665 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 5668 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 355 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 5671 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 338 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 5674 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 34 "/usr/share/python-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 5677 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 5680 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 5683 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 5686 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 5689 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 5692 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"


class sipKCModule : public KCModule
{
public:
    sipKCModule(const KComponentData&,QWidget*,const QVariantList&);
    virtual ~sipKCModule();

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

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[52];
};

sipKCModule::sipKCModule(const KComponentData& a0,QWidget*a1,const QVariantList& a2): KCModule(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipKCModule::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KCModule);
}

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

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KCModule,_c,_id,_a);

    return _id;
}

void *sipKCModule::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KCModule, _clname)) ? this : KCModule::qt_metacast(_clname);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        KCModule::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCModule::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        KCModule::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCModule::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        KCModule::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCModule::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        KCModule::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKCModule::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KCModule::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QPaintEngine* sipKCModule::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[40]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return KCModule::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_27)(sipModuleAPI_kdeui_QtGui->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKCModule::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[41]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return KCModule::heightForWidth(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtGui_28)(sipModuleAPI_kdeui_QtGui->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QSize sipKCModule::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[42]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return KCModule::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

QSize sipKCModule::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[43]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return KCModule::sizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKCModule::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        KCModule::setVisible(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKCModule::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[45]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return KCModule::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_kdeui_QtCore->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKCModule::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        KCModule::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_1)(sipModuleAPI_kdeui_QtGui->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCModule::defaults()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_defaults);

    if (!sipMeth)
    {
        KCModule::defaults();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKCModule::save()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_save);

    if (!sipMeth)
    {
        KCModule::save();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKCModule::load()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_load);

    if (!sipMeth)
    {
        KCModule::load();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

const KAboutData* sipKCModule::aboutData() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[50]),sipPySelf,NULL,sipName_aboutData);

    if (!sipMeth)
        return KCModule::aboutData();

    extern const KAboutData* sipVH_kdeui_87(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_87(sipGILState, 0, sipPySelf, sipMeth);
}

QString sipKCModule::quickHelp() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[51]),sipPySelf,NULL,sipName_quickHelp);

    if (!sipMeth)
        return KCModule::quickHelp();

    typedef QString (*sipVH_QtCore_62)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_62)(sipModuleAPI_kdeui_QtCore->em_virthandlers[62]))(sipGILState, 0, sipPySelf, sipMeth);
}


extern "C" {static PyObject *meth_KCModule_quickHelp(PyObject *, PyObject *);}
static PyObject *meth_KCModule_quickHelp(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KCModule *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCModule, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString((sipSelfWasArg ? sipCpp->KCModule::quickHelp() : sipCpp->quickHelp()));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCModule, sipName_quickHelp, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCModule_aboutData(PyObject *, PyObject *);}
static PyObject *meth_KCModule_aboutData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KCModule *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCModule, &sipCpp))
        {
            const KAboutData*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KCModule::aboutData() : sipCpp->aboutData());
            Py_END_ALLOW_THREADS

            return sipConvertFromType(const_cast<KAboutData *>(sipRes),sipType_KAboutData,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCModule, sipName_aboutData, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCModule_setAboutData(PyObject *, PyObject *);}
static PyObject *meth_KCModule_setAboutData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KAboutData* a0;
        KCModule *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KCModule, &sipCpp, sipType_KAboutData, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAboutData(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCModule, sipName_setAboutData, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCModule_buttons(PyObject *, PyObject *);}
static PyObject *meth_KCModule_buttons(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KCModule *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCModule, &sipCpp))
        {
            KCModule::Buttons*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KCModule::Buttons(sipCpp->buttons());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KCModule_Buttons,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCModule, sipName_buttons, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCModule_rootOnlyMessage(PyObject *, PyObject *);}
static PyObject *meth_KCModule_rootOnlyMessage(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KCModule *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCModule, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->rootOnlyMessage());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCModule, sipName_rootOnlyMessage, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCModule_useRootOnlyMessage(PyObject *, PyObject *);}
static PyObject *meth_KCModule_useRootOnlyMessage(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KCModule *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCModule, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->useRootOnlyMessage();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCModule, sipName_useRootOnlyMessage, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCModule_componentData(PyObject *, PyObject *);}
static PyObject *meth_KCModule_componentData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KCModule *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCModule, &sipCpp))
        {
            KComponentData*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KComponentData(sipCpp->componentData());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KComponentData,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCModule, sipName_componentData, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCModule_configs(PyObject *, PyObject *);}
static PyObject *meth_KCModule_configs(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KCModule *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCModule, &sipCpp))
        {
            QList<KConfigDialogManager*>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<KConfigDialogManager*>(sipCpp->configs());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QList_0101KConfigDialogManager,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCModule, sipName_configs, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCModule_load(PyObject *, PyObject *);}
static PyObject *meth_KCModule_load(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KCModule *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCModule, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCModule::load() : sipCpp->load());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCModule, sipName_load, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCModule_save(PyObject *, PyObject *);}
static PyObject *meth_KCModule_save(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KCModule *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCModule, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCModule::save() : sipCpp->save());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCModule, sipName_save, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCModule_defaults(PyObject *, PyObject *);}
static PyObject *meth_KCModule_defaults(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KCModule *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCModule, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCModule::defaults() : sipCpp->defaults());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCModule, sipName_defaults, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCModule_addConfig(PyObject *, PyObject *);}
static PyObject *meth_KCModule_addConfig(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KConfigSkeleton* a0;
        QWidget* a1;
        KCModule *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8J8", &sipSelf, sipType_KCModule, &sipCpp, sipType_KConfigSkeleton, &a0, sipType_QWidget, &a1))
        {
            KConfigDialogManager*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->addConfig(a0,a1);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KConfigDialogManager,NULL);
        }
    }

    {
        KCoreConfigSkeleton* a0;
        QWidget* a1;
        KCModule *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8J8", &sipSelf, sipType_KCModule, &sipCpp, sipType_KCoreConfigSkeleton, &a0, sipType_QWidget, &a1))
        {
            KConfigDialogManager*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->addConfig(a0,a1);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KConfigDialogManager,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCModule, sipName_addConfig, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCModule_setQuickHelp(PyObject *, PyObject *);}
static PyObject *meth_KCModule_setQuickHelp(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KCModule *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1", &sipSelf, sipType_KCModule, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setQuickHelp(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCModule, sipName_setQuickHelp, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCModule_showEvent(PyObject *, PyObject *);}
static PyObject *meth_KCModule_showEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent* a0;
        KCModule *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KCModule, &sipCpp, sipType_QShowEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCModule::showEvent(a0) : sipCpp->showEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCModule, sipName_showEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCModule_changed(PyObject *, PyObject *);}
static PyObject *meth_KCModule_changed(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KCModule *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KCModule, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->changed();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCModule, sipName_changed, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCModule_widgetChanged(PyObject *, PyObject *);}
static PyObject *meth_KCModule_widgetChanged(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KCModule *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KCModule, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->widgetChanged();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCModule, sipName_widgetChanged, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCModule_setButtons(PyObject *, PyObject *);}
static PyObject *meth_KCModule_setButtons(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KCModule::Buttons* a0;
        int a0State = 0;
        KCModule *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1", &sipSelf, sipType_KCModule, &sipCpp, sipType_KCModule_Buttons, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setButtons(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KCModule_Buttons,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCModule, sipName_setButtons, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCModule_setRootOnlyMessage(PyObject *, PyObject *);}
static PyObject *meth_KCModule_setRootOnlyMessage(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KCModule *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1", &sipSelf, sipType_KCModule, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setRootOnlyMessage(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCModule, sipName_setRootOnlyMessage, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCModule_setUseRootOnlyMessage(PyObject *, PyObject *);}
static PyObject *meth_KCModule_setUseRootOnlyMessage(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KCModule *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pb", &sipSelf, sipType_KCModule, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setUseRootOnlyMessage(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCModule, sipName_setUseRootOnlyMessage, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCModule_managedWidgetChangeState(PyObject *, PyObject *);}
static PyObject *meth_KCModule_managedWidgetChangeState(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KCModule *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KCModule, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->managedWidgetChangeState();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCModule, sipName_managedWidgetChangeState, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCModule_unmanagedWidgetChangeState(PyObject *, PyObject *);}
static PyObject *meth_KCModule_unmanagedWidgetChangeState(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KCModule *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pb", &sipSelf, sipType_KCModule, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->unmanagedWidgetChangeState(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCModule, sipName_unmanagedWidgetChangeState, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCModule_setNeedsAuthorization(PyObject *, PyObject *);}
static PyObject *meth_KCModule_setNeedsAuthorization(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KCModule *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KCModule, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setNeedsAuthorization(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCModule, sipName_setNeedsAuthorization, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCModule_needsAuthorization(PyObject *, PyObject *);}
static PyObject *meth_KCModule_needsAuthorization(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KCModule *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCModule, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->needsAuthorization();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCModule, sipName_needsAuthorization, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCModule_authAction(PyObject *, PyObject *);}
static PyObject *meth_KCModule_authAction(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KCModule *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCModule, &sipCpp))
        {
            KAuth::Action*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->authAction();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAuth_Action,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCModule, sipName_authAction, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCModule_authStatusChanged(PyObject *, PyObject *);}
static PyObject *meth_KCModule_authStatusChanged(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        KCModule *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pi", &sipSelf, sipType_KCModule, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->authStatusChanged(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCModule, sipName_authStatusChanged, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCModule_exportText(PyObject *, PyObject *);}
static PyObject *meth_KCModule_exportText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KCModule *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCModule, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->exportText());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCModule, sipName_exportText, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCModule_setExportText(PyObject *, PyObject *);}
static PyObject *meth_KCModule_setExportText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KCModule *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KCModule, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setExportText(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCModule, sipName_setExportText, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KCModule(void *, const sipTypeDef *);}
static void *cast_KCModule(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KCModule)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QWidget)->ctd_cast((QWidget *)(KCModule *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KCModule(void *, int);}
static void release_KCModule(void *sipCppV,int)
{
    KCModule *sipCpp = reinterpret_cast<KCModule *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KCModule(sipSimpleWrapper *);}
static void dealloc_KCModule(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKCModule *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KCModule(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KCModule(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KCModule(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKCModule *sipCpp = 0;

    {
        const KComponentData* a0;
        QWidget* a1 = 0;
        const QVariantList& a2def = QVariantList();
        const QVariantList* a2 = &a2def;
        int a2State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9|JHJ1", sipType_KComponentData, &a0, sipType_QWidget, &a1, sipOwner, sipType_QList_0100QVariant,&a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKCModule(*a0,a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QVariantList *>(a2),sipType_QList_0100QVariant,a2State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KCModule[] = {{755, 2, 1}};


static PyMethodDef methods_KCModule[] = {
    {SIP_MLNAME_CAST(sipName_aboutData), meth_KCModule_aboutData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addConfig), meth_KCModule_addConfig, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_authAction), meth_KCModule_authAction, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_authStatusChanged), meth_KCModule_authStatusChanged, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_buttons), meth_KCModule_buttons, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_changed), meth_KCModule_changed, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_componentData), meth_KCModule_componentData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_configs), meth_KCModule_configs, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_defaults), meth_KCModule_defaults, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_exportText), meth_KCModule_exportText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_load), meth_KCModule_load, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_managedWidgetChangeState), meth_KCModule_managedWidgetChangeState, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_needsAuthorization), meth_KCModule_needsAuthorization, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_quickHelp), meth_KCModule_quickHelp, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_rootOnlyMessage), meth_KCModule_rootOnlyMessage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_save), meth_KCModule_save, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAboutData), meth_KCModule_setAboutData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setButtons), meth_KCModule_setButtons, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setExportText), meth_KCModule_setExportText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setNeedsAuthorization), meth_KCModule_setNeedsAuthorization, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setQuickHelp), meth_KCModule_setQuickHelp, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setRootOnlyMessage), meth_KCModule_setRootOnlyMessage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setUseRootOnlyMessage), meth_KCModule_setUseRootOnlyMessage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), meth_KCModule_showEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_unmanagedWidgetChangeState), meth_KCModule_unmanagedWidgetChangeState, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_useRootOnlyMessage), meth_KCModule_useRootOnlyMessage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_widgetChanged), meth_KCModule_widgetChanged, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KCModule[] = {
    {sipName_Apply, static_cast<int>(KCModule::Apply), 26},
    {sipName_Default, static_cast<int>(KCModule::Default), 26},
    {sipName_Export, static_cast<int>(KCModule::Export), 26},
    {sipName_Help, static_cast<int>(KCModule::Help), 26},
    {sipName_NoAdditionalButton, static_cast<int>(KCModule::NoAdditionalButton), 26},
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KCModule[] = {
    {"rootOnlyMessageChanged(bool,QString)", 0, 0, 0},
    {"quickHelpChanged()", 0, 0, 0},
    {"changed(bool)", 0, &methods_KCModule[5], 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KCModule = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KCModule,
        {0}
    },
    {
        sipNameNr_KCModule,
        {0, 0, 1},
        27, methods_KCModule,
        5, enummembers_KCModule,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KCModule,
    0,
    init_type_KCModule,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KCModule,
    0,
    0,
    0,
    release_KCModule,
    cast_KCModule,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KCModule::staticMetaObject,
    0,
    signals_KCModule,
};

#line 23 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kcheckableproxymodel.sip"
#include <kcheckableproxymodel.h>
#line 7643 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"

#line 34 "/usr/share/python-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 7647 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 174 "/usr/share/python-sip/PyQt4/QtGui/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 7650 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 94 "/usr/share/python-sip/PyQt4/QtGui/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 7653 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 127 "/usr/share/python-sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 7656 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 7659 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 274 "/usr/share/python-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 7662 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7665 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 94 "/usr/share/python-sip/PyQt4/QtGui/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 7668 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7671 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 7674 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 7677 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 36 "/usr/share/python-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 7680 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7683 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7686 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 7689 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 144 "/usr/share/python-sip/PyQt4/QtCore/qmap.sip"
#include <qmap.h>
#line 7692 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 7695 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 144 "/usr/share/python-sip/PyQt4/QtCore/qhash.sip"
#include <qhash.h>
#line 7698 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 37 "/usr/share/python-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 7701 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qdatastream.sip"
#include <qdatastream.h>
#line 7704 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7707 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 355 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7710 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 338 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7713 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 7716 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 7719 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 7722 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 36 "/usr/share/python-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 7725 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 7728 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 7731 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"


class sipKCheckableProxyModel : public KCheckableProxyModel
{
public:
    sipKCheckableProxyModel(QObject*);
    virtual ~sipKCheckableProxyModel();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    QModelIndexList match(const QModelIndex&,int,const QVariant&,int,Qt::MatchFlags) const;
    Qt::ItemFlags flags(const QModelIndex&) const;
    bool removeColumns(int,int,const QModelIndex&);
    bool removeRows(int,int,const QModelIndex&);
    bool insertColumns(int,int,const QModelIndex&);
    bool insertRows(int,int,const QModelIndex&);
    bool dropMimeData(const QMimeData*,Qt::DropAction,int,int,const QModelIndex&);
    bool setData(const QModelIndex&,const QVariant&,int);
    QVariant data(const QModelIndex&,int) const;
    int columnCount(const QModelIndex&) const;
    int rowCount(const QModelIndex&) const;
    QModelIndex parent(const QModelIndex&) const;
    QModelIndex index(int,int,const QModelIndex&) const;
    bool hasChildren(const QModelIndex&) const;
    QSize span(const QModelIndex&) const;
    void sort(int,Qt::SortOrder);
    QModelIndex buddy(const QModelIndex&) const;
    bool setItemData(const QModelIndex&,const QMap<int,QVariant>&);
    QMap<int,QVariant> itemData(const QModelIndex&) const;
    bool setHeaderData(int,Qt::Orientation,const QVariant&,int);
    QVariant headerData(int,Qt::Orientation,int) const;
    void revert();
    bool submit();
    QItemSelection mapSelectionFromSource(const QItemSelection&) const;
    QItemSelection mapSelectionToSource(const QItemSelection&) const;
    QModelIndex mapFromSource(const QModelIndex&) const;
    QModelIndex mapToSource(const QModelIndex&) const;
    void setSourceModel(QAbstractItemModel*);
    Qt::DropActions supportedDropActions() const;
    QMimeData* mimeData(const QModelIndexList&) const;
    QStringList mimeTypes() const;
    void fetchMore(const QModelIndex&);
    bool canFetchMore(const QModelIndex&) const;
    void resetInternalData();
    bool select(const QItemSelection&,QItemSelectionModel::SelectionFlags);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKCheckableProxyModel(const sipKCheckableProxyModel &);
    sipKCheckableProxyModel &operator = (const sipKCheckableProxyModel &);

    char sipPyMethods[45];
};

sipKCheckableProxyModel::sipKCheckableProxyModel(QObject*a0): KCheckableProxyModel(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKCheckableProxyModel::~sipKCheckableProxyModel()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKCheckableProxyModel::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KCheckableProxyModel);
}

int sipKCheckableProxyModel::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KCheckableProxyModel::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KCheckableProxyModel,_c,_id,_a);

    return _id;
}

void *sipKCheckableProxyModel::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KCheckableProxyModel, _clname)) ? this : KCheckableProxyModel::qt_metacast(_clname);
}

void sipKCheckableProxyModel::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KCheckableProxyModel::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCheckableProxyModel::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KCheckableProxyModel::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCheckableProxyModel::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KCheckableProxyModel::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCheckableProxyModel::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KCheckableProxyModel::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kdeui_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCheckableProxyModel::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KCheckableProxyModel::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kdeui_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKCheckableProxyModel::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KCheckableProxyModel::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKCheckableProxyModel::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KCheckableProxyModel::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QModelIndexList sipKCheckableProxyModel::match(const QModelIndex& a0,int a1,const QVariant& a2,int a3,Qt::MatchFlags a4) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_match);

    if (!sipMeth)
        return KCheckableProxyModel::match(a0,a1,a2,a3,a4);

    typedef QList<QModelIndex> (*sipVH_QtCore_48)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int,const QVariant&,int,Qt::MatchFlags);

    return ((sipVH_QtCore_48)(sipModuleAPI_kdeui_QtCore->em_virthandlers[48]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

Qt::ItemFlags sipKCheckableProxyModel::flags(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_flags);

    if (!sipMeth)
        return KCheckableProxyModel::flags(a0);

    typedef Qt::ItemFlags (*sipVH_QtCore_50)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_50)(sipModuleAPI_kdeui_QtCore->em_virthandlers[50]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKCheckableProxyModel::removeColumns(int a0,int a1,const QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_removeColumns);

    if (!sipMeth)
        return KCheckableProxyModel::removeColumns(a0,a1,a2);

    typedef bool (*sipVH_QtCore_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);

    return ((sipVH_QtCore_52)(sipModuleAPI_kdeui_QtCore->em_virthandlers[52]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipKCheckableProxyModel::removeRows(int a0,int a1,const QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_removeRows);

    if (!sipMeth)
        return KCheckableProxyModel::removeRows(a0,a1,a2);

    typedef bool (*sipVH_QtCore_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);

    return ((sipVH_QtCore_52)(sipModuleAPI_kdeui_QtCore->em_virthandlers[52]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipKCheckableProxyModel::insertColumns(int a0,int a1,const QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_insertColumns);

    if (!sipMeth)
        return KCheckableProxyModel::insertColumns(a0,a1,a2);

    typedef bool (*sipVH_QtCore_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);

    return ((sipVH_QtCore_52)(sipModuleAPI_kdeui_QtCore->em_virthandlers[52]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipKCheckableProxyModel::insertRows(int a0,int a1,const QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_insertRows);

    if (!sipMeth)
        return KCheckableProxyModel::insertRows(a0,a1,a2);

    typedef bool (*sipVH_QtCore_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);

    return ((sipVH_QtCore_52)(sipModuleAPI_kdeui_QtCore->em_virthandlers[52]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipKCheckableProxyModel::dropMimeData(const QMimeData*a0,Qt::DropAction a1,int a2,int a3,const QModelIndex& a4)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_dropMimeData);

    if (!sipMeth)
        return KCheckableProxyModel::dropMimeData(a0,a1,a2,a3,a4);

    typedef bool (*sipVH_QtCore_45)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMimeData*,Qt::DropAction,int,int,const QModelIndex&);

    return ((sipVH_QtCore_45)(sipModuleAPI_kdeui_QtCore->em_virthandlers[45]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

bool sipKCheckableProxyModel::setData(const QModelIndex& a0,const QVariant& a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_setData);

    if (!sipMeth)
        return KCheckableProxyModel::setData(a0,a1,a2);

    typedef bool (*sipVH_QtCore_59)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QVariant&,int);

    return ((sipVH_QtCore_59)(sipModuleAPI_kdeui_QtCore->em_virthandlers[59]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

QVariant sipKCheckableProxyModel::data(const QModelIndex& a0,int a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[15]),sipPySelf,NULL,sipName_data);

    if (!sipMeth)
        return KCheckableProxyModel::data(a0,a1);

    typedef QVariant (*sipVH_QtCore_60)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int);

    return ((sipVH_QtCore_60)(sipModuleAPI_kdeui_QtCore->em_virthandlers[60]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

int sipKCheckableProxyModel::columnCount(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[16]),sipPySelf,NULL,sipName_columnCount);

    if (!sipMeth)
        return KCheckableProxyModel::columnCount(a0);

    typedef int (*sipVH_QtCore_43)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_43)(sipModuleAPI_kdeui_QtCore->em_virthandlers[43]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKCheckableProxyModel::rowCount(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[17]),sipPySelf,NULL,sipName_rowCount);

    if (!sipMeth)
        return KCheckableProxyModel::rowCount(a0);

    typedef int (*sipVH_QtCore_43)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_43)(sipModuleAPI_kdeui_QtCore->em_virthandlers[43]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QModelIndex sipKCheckableProxyModel::parent(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[18]),sipPySelf,NULL,sipName_parent);

    if (!sipMeth)
        return KCheckableProxyModel::parent(a0);

    typedef QModelIndex (*sipVH_QtCore_44)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_44)(sipModuleAPI_kdeui_QtCore->em_virthandlers[44]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QModelIndex sipKCheckableProxyModel::index(int a0,int a1,const QModelIndex& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[19]),sipPySelf,NULL,sipName_index);

    if (!sipMeth)
        return KCheckableProxyModel::index(a0,a1,a2);

    typedef QModelIndex (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);

    return ((sipVH_QtCore_46)(sipModuleAPI_kdeui_QtCore->em_virthandlers[46]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipKCheckableProxyModel::hasChildren(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[20]),sipPySelf,NULL,sipName_hasChildren);

    if (!sipMeth)
        return KCheckableProxyModel::hasChildren(a0);

    typedef bool (*sipVH_QtCore_42)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_42)(sipModuleAPI_kdeui_QtCore->em_virthandlers[42]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QSize sipKCheckableProxyModel::span(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[21]),sipPySelf,NULL,sipName_span);

    if (!sipMeth)
        return KCheckableProxyModel::span(a0);

    typedef QSize (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_47)(sipModuleAPI_kdeui_QtCore->em_virthandlers[47]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCheckableProxyModel::sort(int a0,Qt::SortOrder a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_sort);

    if (!sipMeth)
    {
        KCheckableProxyModel::sort(a0,a1);
        return;
    }

    typedef void (*sipVH_QtCore_49)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,Qt::SortOrder);

    ((sipVH_QtCore_49)(sipModuleAPI_kdeui_QtCore->em_virthandlers[49]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

QModelIndex sipKCheckableProxyModel::buddy(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[23]),sipPySelf,NULL,sipName_buddy);

    if (!sipMeth)
        return KCheckableProxyModel::buddy(a0);

    typedef QModelIndex (*sipVH_QtCore_44)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_44)(sipModuleAPI_kdeui_QtCore->em_virthandlers[44]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKCheckableProxyModel::setItemData(const QModelIndex& a0,const QMap<int,QVariant>& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_setItemData);

    if (!sipMeth)
        return KCheckableProxyModel::setItemData(a0,a1);

    typedef bool (*sipVH_QtCore_55)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QMap<int,QVariant>&);

    return ((sipVH_QtCore_55)(sipModuleAPI_kdeui_QtCore->em_virthandlers[55]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

QMap<int,QVariant> sipKCheckableProxyModel::itemData(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[25]),sipPySelf,NULL,sipName_itemData);

    if (!sipMeth)
        return KCheckableProxyModel::itemData(a0);

    typedef QMap<int,QVariant> (*sipVH_QtCore_56)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_56)(sipModuleAPI_kdeui_QtCore->em_virthandlers[56]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKCheckableProxyModel::setHeaderData(int a0,Qt::Orientation a1,const QVariant& a2,int a3)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_setHeaderData);

    if (!sipMeth)
        return KCheckableProxyModel::setHeaderData(a0,a1,a2,a3);

    typedef bool (*sipVH_QtCore_57)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,Qt::Orientation,const QVariant&,int);

    return ((sipVH_QtCore_57)(sipModuleAPI_kdeui_QtCore->em_virthandlers[57]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}

QVariant sipKCheckableProxyModel::headerData(int a0,Qt::Orientation a1,int a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[27]),sipPySelf,NULL,sipName_headerData);

    if (!sipMeth)
        return KCheckableProxyModel::headerData(a0,a1,a2);

    typedef QVariant (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,Qt::Orientation,int);

    return ((sipVH_QtCore_58)(sipModuleAPI_kdeui_QtCore->em_virthandlers[58]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipKCheckableProxyModel::revert()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_revert);

    if (!sipMeth)
    {
        KCheckableProxyModel::revert();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipKCheckableProxyModel::submit()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_submit);

    if (!sipMeth)
        return KCheckableProxyModel::submit();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_kdeui_QtCore->em_virthandlers[7]))(sipGILState, 0, sipPySelf, sipMeth);
}

QItemSelection sipKCheckableProxyModel::mapSelectionFromSource(const QItemSelection& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[30]),sipPySelf,NULL,sipName_mapSelectionFromSource);

    if (!sipMeth)
        return KCheckableProxyModel::mapSelectionFromSource(a0);

    typedef QItemSelection (*sipVH_QtGui_115)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QItemSelection&);

    return ((sipVH_QtGui_115)(sipModuleAPI_kdeui_QtGui->em_virthandlers[115]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QItemSelection sipKCheckableProxyModel::mapSelectionToSource(const QItemSelection& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[31]),sipPySelf,NULL,sipName_mapSelectionToSource);

    if (!sipMeth)
        return KCheckableProxyModel::mapSelectionToSource(a0);

    typedef QItemSelection (*sipVH_QtGui_115)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QItemSelection&);

    return ((sipVH_QtGui_115)(sipModuleAPI_kdeui_QtGui->em_virthandlers[115]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QModelIndex sipKCheckableProxyModel::mapFromSource(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[32]),sipPySelf,NULL,sipName_mapFromSource);

    if (!sipMeth)
        return KCheckableProxyModel::mapFromSource(a0);

    typedef QModelIndex (*sipVH_QtCore_44)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_44)(sipModuleAPI_kdeui_QtCore->em_virthandlers[44]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QModelIndex sipKCheckableProxyModel::mapToSource(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[33]),sipPySelf,NULL,sipName_mapToSource);

    if (!sipMeth)
        return KCheckableProxyModel::mapToSource(a0);

    typedef QModelIndex (*sipVH_QtCore_44)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_44)(sipModuleAPI_kdeui_QtCore->em_virthandlers[44]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCheckableProxyModel::setSourceModel(QAbstractItemModel*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_setSourceModel);

    if (!sipMeth)
    {
        KCheckableProxyModel::setSourceModel(a0);
        return;
    }

    typedef void (*sipVH_QtGui_36)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QAbstractItemModel*);

    ((sipVH_QtGui_36)(sipModuleAPI_kdeui_QtGui->em_virthandlers[36]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

Qt::DropActions sipKCheckableProxyModel::supportedDropActions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[35]),sipPySelf,NULL,sipName_supportedDropActions);

    if (!sipMeth)
        return KCheckableProxyModel::supportedDropActions();

    typedef Qt::DropActions (*sipVH_QtCore_53)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_53)(sipModuleAPI_kdeui_QtCore->em_virthandlers[53]))(sipGILState, 0, sipPySelf, sipMeth);
}

QMimeData* sipKCheckableProxyModel::mimeData(const QModelIndexList& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[36]),sipPySelf,NULL,sipName_mimeData);

    if (!sipMeth)
        return KCheckableProxyModel::mimeData(a0);

    typedef QMimeData* (*sipVH_QtGui_216)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QList<QModelIndex>&);

    return ((sipVH_QtGui_216)(sipModuleAPI_kdeui_QtGui->em_virthandlers[216]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QStringList sipKCheckableProxyModel::mimeTypes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_mimeTypes);

    if (!sipMeth)
        return KCheckableProxyModel::mimeTypes();

    typedef QStringList (*sipVH_QtCore_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_27)(sipModuleAPI_kdeui_QtCore->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKCheckableProxyModel::fetchMore(const QModelIndex& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_fetchMore);

    if (!sipMeth)
    {
        KCheckableProxyModel::fetchMore(a0);
        return;
    }

    typedef void (*sipVH_QtCore_51)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    ((sipVH_QtCore_51)(sipModuleAPI_kdeui_QtCore->em_virthandlers[51]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKCheckableProxyModel::canFetchMore(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[39]),sipPySelf,NULL,sipName_canFetchMore);

    if (!sipMeth)
        return KCheckableProxyModel::canFetchMore(a0);

    typedef bool (*sipVH_QtCore_42)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_42)(sipModuleAPI_kdeui_QtCore->em_virthandlers[42]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCheckableProxyModel::resetInternalData()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_resetInternalData);

    if (!sipMeth)
    {
        KCheckableProxyModel::resetInternalData();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipKCheckableProxyModel::select(const QItemSelection& a0,QItemSelectionModel::SelectionFlags a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_select);

    if (!sipMeth)
        return KCheckableProxyModel::select(a0,a1);

    extern bool sipVH_kdeui_88(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QItemSelection&,QItemSelectionModel::SelectionFlags);

    return sipVH_kdeui_88(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}


extern "C" {static PyObject *meth_KCheckableProxyModel_setSelectionModel(PyObject *, PyObject *);}
static PyObject *meth_KCheckableProxyModel_setSelectionModel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QItemSelectionModel* a0;
        KCheckableProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KCheckableProxyModel, &sipCpp, sipType_QItemSelectionModel, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSelectionModel(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCheckableProxyModel, sipName_setSelectionModel, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCheckableProxyModel_selectionModel(PyObject *, PyObject *);}
static PyObject *meth_KCheckableProxyModel_selectionModel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KCheckableProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCheckableProxyModel, &sipCpp))
        {
            QItemSelectionModel*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->selectionModel();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QItemSelectionModel,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCheckableProxyModel, sipName_selectionModel, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCheckableProxyModel_flags(PyObject *, PyObject *);}
static PyObject *meth_KCheckableProxyModel_flags(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        const KCheckableProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KCheckableProxyModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            Qt::ItemFlags*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::ItemFlags((sipSelfWasArg ? sipCpp->KCheckableProxyModel::flags(*a0) : sipCpp->flags(*a0)));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_Qt_ItemFlags,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCheckableProxyModel, sipName_flags, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCheckableProxyModel_data(PyObject *, PyObject *);}
static PyObject *meth_KCheckableProxyModel_data(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        int a1 = Qt::DisplayRole;
        const KCheckableProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9|i", &sipSelf, sipType_KCheckableProxyModel, &sipCpp, sipType_QModelIndex, &a0, &a1))
        {
            QVariant*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant((sipSelfWasArg ? sipCpp->KCheckableProxyModel::data(*a0,a1) : sipCpp->data(*a0,a1)));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCheckableProxyModel, sipName_data, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCheckableProxyModel_setData(PyObject *, PyObject *);}
static PyObject *meth_KCheckableProxyModel_setData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        const QVariant* a1;
        int a1State = 0;
        int a2 = Qt::EditRole;
        KCheckableProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J1|i", &sipSelf, sipType_KCheckableProxyModel, &sipCpp, sipType_QModelIndex, &a0, sipType_QVariant,&a1, &a1State, &a2))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KCheckableProxyModel::setData(*a0,*a1,a2) : sipCpp->setData(*a0,*a1,a2));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QVariant *>(a1),sipType_QVariant,a1State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCheckableProxyModel, sipName_setData, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCheckableProxyModel_setSourceModel(PyObject *, PyObject *);}
static PyObject *meth_KCheckableProxyModel_setSourceModel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QAbstractItemModel* a0;
        KCheckableProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KCheckableProxyModel, &sipCpp, sipType_QAbstractItemModel, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCheckableProxyModel::setSourceModel(a0) : sipCpp->setSourceModel(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCheckableProxyModel, sipName_setSourceModel, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCheckableProxyModel_select(PyObject *, PyObject *);}
static PyObject *meth_KCheckableProxyModel_select(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QItemSelection* a0;
        QItemSelectionModel::SelectionFlags* a1;
        int a1State = 0;
        KCheckableProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9J1", &sipSelf, sipType_KCheckableProxyModel, &sipCpp, sipType_QItemSelection, &a0, sipType_QItemSelectionModel_SelectionFlags, &a1, &a1State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KCheckableProxyModel::select(*a0,*a1) : sipCpp->select(*a0,*a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a1,sipType_QItemSelectionModel_SelectionFlags,a1State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCheckableProxyModel, sipName_select, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KCheckableProxyModel(void *, const sipTypeDef *);}
static void *cast_KCheckableProxyModel(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KCheckableProxyModel)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KIdentityProxyModel)->ctd_cast((KIdentityProxyModel *)(KCheckableProxyModel *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KCheckableProxyModel(void *, int);}
static void release_KCheckableProxyModel(void *sipCppV,int)
{
    KCheckableProxyModel *sipCpp = reinterpret_cast<KCheckableProxyModel *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KCheckableProxyModel(sipSimpleWrapper *);}
static void dealloc_KCheckableProxyModel(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKCheckableProxyModel *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KCheckableProxyModel(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KCheckableProxyModel(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KCheckableProxyModel(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKCheckableProxyModel *sipCpp = 0;

    {
        QObject* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKCheckableProxyModel(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KCheckableProxyModel[] = {{165, 255, 1}};


static PyMethodDef methods_KCheckableProxyModel[] = {
    {SIP_MLNAME_CAST(sipName_data), meth_KCheckableProxyModel_data, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_flags), meth_KCheckableProxyModel_flags, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_select), meth_KCheckableProxyModel_select, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_selectionModel), meth_KCheckableProxyModel_selectionModel, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setData), meth_KCheckableProxyModel_setData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSelectionModel), meth_KCheckableProxyModel_setSelectionModel, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSourceModel), meth_KCheckableProxyModel_setSourceModel, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KCheckableProxyModel = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KCheckableProxyModel,
        {0}
    },
    {
        sipNameNr_KCheckableProxyModel,
        {0, 0, 1},
        7, methods_KCheckableProxyModel,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KCheckableProxyModel,
    0,
    init_type_KCheckableProxyModel,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KCheckableProxyModel,
    0,
    0,
    0,
    release_KCheckableProxyModel,
    cast_KCheckableProxyModel,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KCheckableProxyModel::staticMetaObject,
    0,
    0
};

#line 23 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kidentityproxymodel.sip"
#include <kidentityproxymodel.h>
#line 8839 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"

#line 34 "/usr/share/python-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 8843 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 8846 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 8849 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 8852 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 8855 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 36 "/usr/share/python-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 8858 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 127 "/usr/share/python-sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 8861 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 274 "/usr/share/python-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 8864 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 8867 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 174 "/usr/share/python-sip/PyQt4/QtGui/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 8870 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 8873 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 8876 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 144 "/usr/share/python-sip/PyQt4/QtCore/qmap.sip"
#include <qmap.h>
#line 8879 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 8882 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 8885 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 144 "/usr/share/python-sip/PyQt4/QtCore/qhash.sip"
#include <qhash.h>
#line 8888 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 37 "/usr/share/python-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 8891 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qdatastream.sip"
#include <qdatastream.h>
#line 8894 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8897 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 355 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8900 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 338 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8903 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 8906 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 8909 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 8912 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 36 "/usr/share/python-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 8915 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 8918 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 8921 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"


class sipKIdentityProxyModel : public KIdentityProxyModel
{
public:
    sipKIdentityProxyModel(QObject*);
    virtual ~sipKIdentityProxyModel();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    QModelIndexList match(const QModelIndex&,int,const QVariant&,int,Qt::MatchFlags) const;
    bool removeColumns(int,int,const QModelIndex&);
    bool removeRows(int,int,const QModelIndex&);
    bool insertColumns(int,int,const QModelIndex&);
    bool insertRows(int,int,const QModelIndex&);
    bool dropMimeData(const QMimeData*,Qt::DropAction,int,int,const QModelIndex&);
    int columnCount(const QModelIndex&) const;
    int rowCount(const QModelIndex&) const;
    QModelIndex parent(const QModelIndex&) const;
    QModelIndex index(int,int,const QModelIndex&) const;
    bool hasChildren(const QModelIndex&) const;
    QSize span(const QModelIndex&) const;
    void sort(int,Qt::SortOrder);
    QModelIndex buddy(const QModelIndex&) const;
    bool setItemData(const QModelIndex&,const QMap<int,QVariant>&);
    Qt::ItemFlags flags(const QModelIndex&) const;
    QMap<int,QVariant> itemData(const QModelIndex&) const;
    bool setHeaderData(int,Qt::Orientation,const QVariant&,int);
    QVariant headerData(int,Qt::Orientation,int) const;
    bool setData(const QModelIndex&,const QVariant&,int);
    QVariant data(const QModelIndex&,int) const;
    void revert();
    bool submit();
    QItemSelection mapSelectionFromSource(const QItemSelection&) const;
    QItemSelection mapSelectionToSource(const QItemSelection&) const;
    QModelIndex mapFromSource(const QModelIndex&) const;
    QModelIndex mapToSource(const QModelIndex&) const;
    void setSourceModel(QAbstractItemModel*);
    Qt::DropActions supportedDropActions() const;
    QMimeData* mimeData(const QModelIndexList&) const;
    QStringList mimeTypes() const;
    void fetchMore(const QModelIndex&);
    bool canFetchMore(const QModelIndex&) const;
    void resetInternalData();

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKIdentityProxyModel(const sipKIdentityProxyModel &);
    sipKIdentityProxyModel &operator = (const sipKIdentityProxyModel &);

    char sipPyMethods[41];
};

sipKIdentityProxyModel::sipKIdentityProxyModel(QObject*a0): KIdentityProxyModel(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKIdentityProxyModel::~sipKIdentityProxyModel()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKIdentityProxyModel::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KIdentityProxyModel);
}

int sipKIdentityProxyModel::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KIdentityProxyModel::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KIdentityProxyModel,_c,_id,_a);

    return _id;
}

void *sipKIdentityProxyModel::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KIdentityProxyModel, _clname)) ? this : KIdentityProxyModel::qt_metacast(_clname);
}

void sipKIdentityProxyModel::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KIdentityProxyModel::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIdentityProxyModel::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KIdentityProxyModel::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIdentityProxyModel::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KIdentityProxyModel::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIdentityProxyModel::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KIdentityProxyModel::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kdeui_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIdentityProxyModel::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KIdentityProxyModel::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kdeui_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKIdentityProxyModel::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KIdentityProxyModel::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKIdentityProxyModel::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KIdentityProxyModel::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QModelIndexList sipKIdentityProxyModel::match(const QModelIndex& a0,int a1,const QVariant& a2,int a3,Qt::MatchFlags a4) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_match);

    if (!sipMeth)
        return KIdentityProxyModel::match(a0,a1,a2,a3,a4);

    typedef QList<QModelIndex> (*sipVH_QtCore_48)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int,const QVariant&,int,Qt::MatchFlags);

    return ((sipVH_QtCore_48)(sipModuleAPI_kdeui_QtCore->em_virthandlers[48]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

bool sipKIdentityProxyModel::removeColumns(int a0,int a1,const QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_removeColumns);

    if (!sipMeth)
        return KIdentityProxyModel::removeColumns(a0,a1,a2);

    typedef bool (*sipVH_QtCore_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);

    return ((sipVH_QtCore_52)(sipModuleAPI_kdeui_QtCore->em_virthandlers[52]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipKIdentityProxyModel::removeRows(int a0,int a1,const QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_removeRows);

    if (!sipMeth)
        return KIdentityProxyModel::removeRows(a0,a1,a2);

    typedef bool (*sipVH_QtCore_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);

    return ((sipVH_QtCore_52)(sipModuleAPI_kdeui_QtCore->em_virthandlers[52]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipKIdentityProxyModel::insertColumns(int a0,int a1,const QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_insertColumns);

    if (!sipMeth)
        return KIdentityProxyModel::insertColumns(a0,a1,a2);

    typedef bool (*sipVH_QtCore_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);

    return ((sipVH_QtCore_52)(sipModuleAPI_kdeui_QtCore->em_virthandlers[52]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipKIdentityProxyModel::insertRows(int a0,int a1,const QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_insertRows);

    if (!sipMeth)
        return KIdentityProxyModel::insertRows(a0,a1,a2);

    typedef bool (*sipVH_QtCore_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);

    return ((sipVH_QtCore_52)(sipModuleAPI_kdeui_QtCore->em_virthandlers[52]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipKIdentityProxyModel::dropMimeData(const QMimeData*a0,Qt::DropAction a1,int a2,int a3,const QModelIndex& a4)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_dropMimeData);

    if (!sipMeth)
        return KIdentityProxyModel::dropMimeData(a0,a1,a2,a3,a4);

    typedef bool (*sipVH_QtCore_45)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMimeData*,Qt::DropAction,int,int,const QModelIndex&);

    return ((sipVH_QtCore_45)(sipModuleAPI_kdeui_QtCore->em_virthandlers[45]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

int sipKIdentityProxyModel::columnCount(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_columnCount);

    if (!sipMeth)
        return KIdentityProxyModel::columnCount(a0);

    typedef int (*sipVH_QtCore_43)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_43)(sipModuleAPI_kdeui_QtCore->em_virthandlers[43]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKIdentityProxyModel::rowCount(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_rowCount);

    if (!sipMeth)
        return KIdentityProxyModel::rowCount(a0);

    typedef int (*sipVH_QtCore_43)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_43)(sipModuleAPI_kdeui_QtCore->em_virthandlers[43]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QModelIndex sipKIdentityProxyModel::parent(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[15]),sipPySelf,NULL,sipName_parent);

    if (!sipMeth)
        return KIdentityProxyModel::parent(a0);

    typedef QModelIndex (*sipVH_QtCore_44)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_44)(sipModuleAPI_kdeui_QtCore->em_virthandlers[44]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QModelIndex sipKIdentityProxyModel::index(int a0,int a1,const QModelIndex& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[16]),sipPySelf,NULL,sipName_index);

    if (!sipMeth)
        return KIdentityProxyModel::index(a0,a1,a2);

    typedef QModelIndex (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);

    return ((sipVH_QtCore_46)(sipModuleAPI_kdeui_QtCore->em_virthandlers[46]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipKIdentityProxyModel::hasChildren(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[17]),sipPySelf,NULL,sipName_hasChildren);

    if (!sipMeth)
        return KIdentityProxyModel::hasChildren(a0);

    typedef bool (*sipVH_QtCore_42)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_42)(sipModuleAPI_kdeui_QtCore->em_virthandlers[42]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QSize sipKIdentityProxyModel::span(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[18]),sipPySelf,NULL,sipName_span);

    if (!sipMeth)
        return KIdentityProxyModel::span(a0);

    typedef QSize (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_47)(sipModuleAPI_kdeui_QtCore->em_virthandlers[47]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIdentityProxyModel::sort(int a0,Qt::SortOrder a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_sort);

    if (!sipMeth)
    {
        KIdentityProxyModel::sort(a0,a1);
        return;
    }

    typedef void (*sipVH_QtCore_49)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,Qt::SortOrder);

    ((sipVH_QtCore_49)(sipModuleAPI_kdeui_QtCore->em_virthandlers[49]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

QModelIndex sipKIdentityProxyModel::buddy(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[20]),sipPySelf,NULL,sipName_buddy);

    if (!sipMeth)
        return KIdentityProxyModel::buddy(a0);

    typedef QModelIndex (*sipVH_QtCore_44)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_44)(sipModuleAPI_kdeui_QtCore->em_virthandlers[44]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKIdentityProxyModel::setItemData(const QModelIndex& a0,const QMap<int,QVariant>& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_setItemData);

    if (!sipMeth)
        return KIdentityProxyModel::setItemData(a0,a1);

    typedef bool (*sipVH_QtCore_55)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QMap<int,QVariant>&);

    return ((sipVH_QtCore_55)(sipModuleAPI_kdeui_QtCore->em_virthandlers[55]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

Qt::ItemFlags sipKIdentityProxyModel::flags(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[22]),sipPySelf,NULL,sipName_flags);

    if (!sipMeth)
        return KIdentityProxyModel::flags(a0);

    typedef Qt::ItemFlags (*sipVH_QtCore_50)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_50)(sipModuleAPI_kdeui_QtCore->em_virthandlers[50]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QMap<int,QVariant> sipKIdentityProxyModel::itemData(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[23]),sipPySelf,NULL,sipName_itemData);

    if (!sipMeth)
        return KIdentityProxyModel::itemData(a0);

    typedef QMap<int,QVariant> (*sipVH_QtCore_56)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_56)(sipModuleAPI_kdeui_QtCore->em_virthandlers[56]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKIdentityProxyModel::setHeaderData(int a0,Qt::Orientation a1,const QVariant& a2,int a3)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_setHeaderData);

    if (!sipMeth)
        return KIdentityProxyModel::setHeaderData(a0,a1,a2,a3);

    typedef bool (*sipVH_QtCore_57)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,Qt::Orientation,const QVariant&,int);

    return ((sipVH_QtCore_57)(sipModuleAPI_kdeui_QtCore->em_virthandlers[57]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}

QVariant sipKIdentityProxyModel::headerData(int a0,Qt::Orientation a1,int a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[25]),sipPySelf,NULL,sipName_headerData);

    if (!sipMeth)
        return KIdentityProxyModel::headerData(a0,a1,a2);

    typedef QVariant (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,Qt::Orientation,int);

    return ((sipVH_QtCore_58)(sipModuleAPI_kdeui_QtCore->em_virthandlers[58]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipKIdentityProxyModel::setData(const QModelIndex& a0,const QVariant& a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_setData);

    if (!sipMeth)
        return KIdentityProxyModel::setData(a0,a1,a2);

    typedef bool (*sipVH_QtCore_59)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QVariant&,int);

    return ((sipVH_QtCore_59)(sipModuleAPI_kdeui_QtCore->em_virthandlers[59]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

QVariant sipKIdentityProxyModel::data(const QModelIndex& a0,int a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[27]),sipPySelf,NULL,sipName_data);

    if (!sipMeth)
        return KIdentityProxyModel::data(a0,a1);

    typedef QVariant (*sipVH_QtCore_60)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int);

    return ((sipVH_QtCore_60)(sipModuleAPI_kdeui_QtCore->em_virthandlers[60]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKIdentityProxyModel::revert()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_revert);

    if (!sipMeth)
    {
        KIdentityProxyModel::revert();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipKIdentityProxyModel::submit()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_submit);

    if (!sipMeth)
        return KIdentityProxyModel::submit();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_kdeui_QtCore->em_virthandlers[7]))(sipGILState, 0, sipPySelf, sipMeth);
}

QItemSelection sipKIdentityProxyModel::mapSelectionFromSource(const QItemSelection& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[30]),sipPySelf,NULL,sipName_mapSelectionFromSource);

    if (!sipMeth)
        return KIdentityProxyModel::mapSelectionFromSource(a0);

    typedef QItemSelection (*sipVH_QtGui_115)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QItemSelection&);

    return ((sipVH_QtGui_115)(sipModuleAPI_kdeui_QtGui->em_virthandlers[115]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QItemSelection sipKIdentityProxyModel::mapSelectionToSource(const QItemSelection& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[31]),sipPySelf,NULL,sipName_mapSelectionToSource);

    if (!sipMeth)
        return KIdentityProxyModel::mapSelectionToSource(a0);

    typedef QItemSelection (*sipVH_QtGui_115)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QItemSelection&);

    return ((sipVH_QtGui_115)(sipModuleAPI_kdeui_QtGui->em_virthandlers[115]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QModelIndex sipKIdentityProxyModel::mapFromSource(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[32]),sipPySelf,NULL,sipName_mapFromSource);

    if (!sipMeth)
        return KIdentityProxyModel::mapFromSource(a0);

    typedef QModelIndex (*sipVH_QtCore_44)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_44)(sipModuleAPI_kdeui_QtCore->em_virthandlers[44]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QModelIndex sipKIdentityProxyModel::mapToSource(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[33]),sipPySelf,NULL,sipName_mapToSource);

    if (!sipMeth)
        return KIdentityProxyModel::mapToSource(a0);

    typedef QModelIndex (*sipVH_QtCore_44)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_44)(sipModuleAPI_kdeui_QtCore->em_virthandlers[44]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIdentityProxyModel::setSourceModel(QAbstractItemModel*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_setSourceModel);

    if (!sipMeth)
    {
        KIdentityProxyModel::setSourceModel(a0);
        return;
    }

    typedef void (*sipVH_QtGui_36)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QAbstractItemModel*);

    ((sipVH_QtGui_36)(sipModuleAPI_kdeui_QtGui->em_virthandlers[36]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

Qt::DropActions sipKIdentityProxyModel::supportedDropActions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[35]),sipPySelf,NULL,sipName_supportedDropActions);

    if (!sipMeth)
        return KIdentityProxyModel::supportedDropActions();

    typedef Qt::DropActions (*sipVH_QtCore_53)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_53)(sipModuleAPI_kdeui_QtCore->em_virthandlers[53]))(sipGILState, 0, sipPySelf, sipMeth);
}

QMimeData* sipKIdentityProxyModel::mimeData(const QModelIndexList& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[36]),sipPySelf,NULL,sipName_mimeData);

    if (!sipMeth)
        return KIdentityProxyModel::mimeData(a0);

    typedef QMimeData* (*sipVH_QtGui_216)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QList<QModelIndex>&);

    return ((sipVH_QtGui_216)(sipModuleAPI_kdeui_QtGui->em_virthandlers[216]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QStringList sipKIdentityProxyModel::mimeTypes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_mimeTypes);

    if (!sipMeth)
        return KIdentityProxyModel::mimeTypes();

    typedef QStringList (*sipVH_QtCore_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_27)(sipModuleAPI_kdeui_QtCore->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKIdentityProxyModel::fetchMore(const QModelIndex& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_fetchMore);

    if (!sipMeth)
    {
        KIdentityProxyModel::fetchMore(a0);
        return;
    }

    typedef void (*sipVH_QtCore_51)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    ((sipVH_QtCore_51)(sipModuleAPI_kdeui_QtCore->em_virthandlers[51]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKIdentityProxyModel::canFetchMore(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[39]),sipPySelf,NULL,sipName_canFetchMore);

    if (!sipMeth)
        return KIdentityProxyModel::canFetchMore(a0);

    typedef bool (*sipVH_QtCore_42)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_42)(sipModuleAPI_kdeui_QtCore->em_virthandlers[42]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIdentityProxyModel::resetInternalData()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_resetInternalData);

    if (!sipMeth)
    {
        KIdentityProxyModel::resetInternalData();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}


extern "C" {static PyObject *meth_KIdentityProxyModel_columnCount(PyObject *, PyObject *);}
static PyObject *meth_KIdentityProxyModel_columnCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex& a0def = QModelIndex();
        const QModelIndex* a0 = &a0def;
        const KIdentityProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|J9", &sipSelf, sipType_KIdentityProxyModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KIdentityProxyModel::columnCount(*a0) : sipCpp->columnCount(*a0));
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIdentityProxyModel, sipName_columnCount, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIdentityProxyModel_index(PyObject *, PyObject *);}
static PyObject *meth_KIdentityProxyModel_index(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        int a1;
        const QModelIndex& a2def = QModelIndex();
        const QModelIndex* a2 = &a2def;
        const KIdentityProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii|J9", &sipSelf, sipType_KIdentityProxyModel, &sipCpp, &a0, &a1, sipType_QModelIndex, &a2))
        {
            QModelIndex*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QModelIndex((sipSelfWasArg ? sipCpp->KIdentityProxyModel::index(a0,a1,*a2) : sipCpp->index(a0,a1,*a2)));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIdentityProxyModel, sipName_index, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIdentityProxyModel_mapFromSource(PyObject *, PyObject *);}
static PyObject *meth_KIdentityProxyModel_mapFromSource(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        const KIdentityProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KIdentityProxyModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            QModelIndex*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QModelIndex((sipSelfWasArg ? sipCpp->KIdentityProxyModel::mapFromSource(*a0) : sipCpp->mapFromSource(*a0)));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIdentityProxyModel, sipName_mapFromSource, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIdentityProxyModel_mapToSource(PyObject *, PyObject *);}
static PyObject *meth_KIdentityProxyModel_mapToSource(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        const KIdentityProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KIdentityProxyModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            QModelIndex*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QModelIndex((sipSelfWasArg ? sipCpp->KIdentityProxyModel::mapToSource(*a0) : sipCpp->mapToSource(*a0)));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIdentityProxyModel, sipName_mapToSource, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIdentityProxyModel_parent(PyObject *, PyObject *);}
static PyObject *meth_KIdentityProxyModel_parent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        const KIdentityProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KIdentityProxyModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            QModelIndex*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QModelIndex((sipSelfWasArg ? sipCpp->KIdentityProxyModel::parent(*a0) : sipCpp->parent(*a0)));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIdentityProxyModel, sipName_parent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIdentityProxyModel_rowCount(PyObject *, PyObject *);}
static PyObject *meth_KIdentityProxyModel_rowCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex& a0def = QModelIndex();
        const QModelIndex* a0 = &a0def;
        const KIdentityProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|J9", &sipSelf, sipType_KIdentityProxyModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KIdentityProxyModel::rowCount(*a0) : sipCpp->rowCount(*a0));
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIdentityProxyModel, sipName_rowCount, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIdentityProxyModel_dropMimeData(PyObject *, PyObject *);}
static PyObject *meth_KIdentityProxyModel_dropMimeData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMimeData* a0;
        Qt::DropAction a1;
        int a2;
        int a3;
        const QModelIndex* a4;
        KIdentityProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8EiiJ9", &sipSelf, sipType_KIdentityProxyModel, &sipCpp, sipType_QMimeData, &a0, sipType_Qt_DropAction, &a1, &a2, &a3, sipType_QModelIndex, &a4))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KIdentityProxyModel::dropMimeData(a0,a1,a2,a3,*a4) : sipCpp->dropMimeData(a0,a1,a2,a3,*a4));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIdentityProxyModel, sipName_dropMimeData, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIdentityProxyModel_mapSelectionFromSource(PyObject *, PyObject *);}
static PyObject *meth_KIdentityProxyModel_mapSelectionFromSource(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QItemSelection* a0;
        const KIdentityProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KIdentityProxyModel, &sipCpp, sipType_QItemSelection, &a0))
        {
            QItemSelection*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QItemSelection((sipSelfWasArg ? sipCpp->KIdentityProxyModel::mapSelectionFromSource(*a0) : sipCpp->mapSelectionFromSource(*a0)));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QItemSelection,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIdentityProxyModel, sipName_mapSelectionFromSource, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIdentityProxyModel_mapSelectionToSource(PyObject *, PyObject *);}
static PyObject *meth_KIdentityProxyModel_mapSelectionToSource(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QItemSelection* a0;
        const KIdentityProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KIdentityProxyModel, &sipCpp, sipType_QItemSelection, &a0))
        {
            QItemSelection*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QItemSelection((sipSelfWasArg ? sipCpp->KIdentityProxyModel::mapSelectionToSource(*a0) : sipCpp->mapSelectionToSource(*a0)));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QItemSelection,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIdentityProxyModel, sipName_mapSelectionToSource, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIdentityProxyModel_match(PyObject *, PyObject *);}
static PyObject *meth_KIdentityProxyModel_match(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        int a1;
        const QVariant* a2;
        int a2State = 0;
        int a3 = 1;
        Qt::MatchFlags a4def = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap);
        Qt::MatchFlags* a4 = &a4def;
        int a4State = 0;
        const KIdentityProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9iJ1|iJ1", &sipSelf, sipType_KIdentityProxyModel, &sipCpp, sipType_QModelIndex, &a0, &a1, sipType_QVariant,&a2, &a2State, &a3, sipType_Qt_MatchFlags, &a4, &a4State))
        {
            QModelIndexList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QModelIndexList((sipSelfWasArg ? sipCpp->KIdentityProxyModel::match(*a0,a1,*a2,a3,*a4) : sipCpp->match(*a0,a1,*a2,a3,*a4)));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QVariant *>(a2),sipType_QVariant,a2State);
            sipReleaseType(a4,sipType_Qt_MatchFlags,a4State);

            return sipConvertFromNewType(sipRes,sipType_QList_0100QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIdentityProxyModel, sipName_match, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIdentityProxyModel_setSourceModel(PyObject *, PyObject *);}
static PyObject *meth_KIdentityProxyModel_setSourceModel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QAbstractItemModel* a0;
        KIdentityProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KIdentityProxyModel, &sipCpp, sipType_QAbstractItemModel, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIdentityProxyModel::setSourceModel(a0) : sipCpp->setSourceModel(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIdentityProxyModel, sipName_setSourceModel, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIdentityProxyModel_insertColumns(PyObject *, PyObject *);}
static PyObject *meth_KIdentityProxyModel_insertColumns(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        int a1;
        const QModelIndex& a2def = QModelIndex();
        const QModelIndex* a2 = &a2def;
        KIdentityProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii|J9", &sipSelf, sipType_KIdentityProxyModel, &sipCpp, &a0, &a1, sipType_QModelIndex, &a2))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KIdentityProxyModel::insertColumns(a0,a1,*a2) : sipCpp->insertColumns(a0,a1,*a2));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIdentityProxyModel, sipName_insertColumns, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIdentityProxyModel_insertRows(PyObject *, PyObject *);}
static PyObject *meth_KIdentityProxyModel_insertRows(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        int a1;
        const QModelIndex& a2def = QModelIndex();
        const QModelIndex* a2 = &a2def;
        KIdentityProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii|J9", &sipSelf, sipType_KIdentityProxyModel, &sipCpp, &a0, &a1, sipType_QModelIndex, &a2))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KIdentityProxyModel::insertRows(a0,a1,*a2) : sipCpp->insertRows(a0,a1,*a2));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIdentityProxyModel, sipName_insertRows, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIdentityProxyModel_removeColumns(PyObject *, PyObject *);}
static PyObject *meth_KIdentityProxyModel_removeColumns(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        int a1;
        const QModelIndex& a2def = QModelIndex();
        const QModelIndex* a2 = &a2def;
        KIdentityProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii|J9", &sipSelf, sipType_KIdentityProxyModel, &sipCpp, &a0, &a1, sipType_QModelIndex, &a2))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KIdentityProxyModel::removeColumns(a0,a1,*a2) : sipCpp->removeColumns(a0,a1,*a2));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIdentityProxyModel, sipName_removeColumns, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIdentityProxyModel_removeRows(PyObject *, PyObject *);}
static PyObject *meth_KIdentityProxyModel_removeRows(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        int a1;
        const QModelIndex& a2def = QModelIndex();
        const QModelIndex* a2 = &a2def;
        KIdentityProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii|J9", &sipSelf, sipType_KIdentityProxyModel, &sipCpp, &a0, &a1, sipType_QModelIndex, &a2))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KIdentityProxyModel::removeRows(a0,a1,*a2) : sipCpp->removeRows(a0,a1,*a2));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIdentityProxyModel, sipName_removeRows, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIdentityProxyModel_resetInternalData(PyObject *, PyObject *);}
static PyObject *meth_KIdentityProxyModel_resetInternalData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KIdentityProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KIdentityProxyModel, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIdentityProxyModel::resetInternalData() : sipCpp->resetInternalData());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIdentityProxyModel, sipName_resetInternalData, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIdentityProxyModel_canFetchMore(PyObject *, PyObject *);}
static PyObject *meth_KIdentityProxyModel_canFetchMore(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        const KIdentityProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KIdentityProxyModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KIdentityProxyModel::canFetchMore(*a0) : sipCpp->canFetchMore(*a0));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIdentityProxyModel, sipName_canFetchMore, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIdentityProxyModel_fetchMore(PyObject *, PyObject *);}
static PyObject *meth_KIdentityProxyModel_fetchMore(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        KIdentityProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KIdentityProxyModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIdentityProxyModel::fetchMore(*a0) : sipCpp->fetchMore(*a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIdentityProxyModel, sipName_fetchMore, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIdentityProxyModel_mimeTypes(PyObject *, PyObject *);}
static PyObject *meth_KIdentityProxyModel_mimeTypes(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KIdentityProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIdentityProxyModel, &sipCpp))
        {
            QStringList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList((sipSelfWasArg ? sipCpp->KIdentityProxyModel::mimeTypes() : sipCpp->mimeTypes()));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIdentityProxyModel, sipName_mimeTypes, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIdentityProxyModel_mimeData(PyObject *, PyObject *);}
static PyObject *meth_KIdentityProxyModel_mimeData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndexList* a0;
        int a0State = 0;
        const KIdentityProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KIdentityProxyModel, &sipCpp, sipType_QList_0100QModelIndex,&a0, &a0State))
        {
            QMimeData*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KIdentityProxyModel::mimeData(*a0) : sipCpp->mimeData(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QModelIndexList *>(a0),sipType_QList_0100QModelIndex,a0State);

            return sipConvertFromType(sipRes,sipType_QMimeData,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIdentityProxyModel, sipName_mimeData, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIdentityProxyModel_supportedDropActions(PyObject *, PyObject *);}
static PyObject *meth_KIdentityProxyModel_supportedDropActions(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KIdentityProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIdentityProxyModel, &sipCpp))
        {
            Qt::DropActions*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::DropActions((sipSelfWasArg ? sipCpp->KIdentityProxyModel::supportedDropActions() : sipCpp->supportedDropActions()));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_Qt_DropActions,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIdentityProxyModel, sipName_supportedDropActions, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KIdentityProxyModel(void *, const sipTypeDef *);}
static void *cast_KIdentityProxyModel(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KIdentityProxyModel)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QAbstractProxyModel)->ctd_cast((QAbstractProxyModel *)(KIdentityProxyModel *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KIdentityProxyModel(void *, int);}
static void release_KIdentityProxyModel(void *sipCppV,int)
{
    KIdentityProxyModel *sipCpp = reinterpret_cast<KIdentityProxyModel *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KIdentityProxyModel(sipSimpleWrapper *);}
static void dealloc_KIdentityProxyModel(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKIdentityProxyModel *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KIdentityProxyModel(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KIdentityProxyModel(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KIdentityProxyModel(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKIdentityProxyModel *sipCpp = 0;

    {
        QObject* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKIdentityProxyModel(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KIdentityProxyModel[] = {{20, 2, 1}};


static PyMethodDef methods_KIdentityProxyModel[] = {
    {SIP_MLNAME_CAST(sipName_canFetchMore), meth_KIdentityProxyModel_canFetchMore, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_columnCount), meth_KIdentityProxyModel_columnCount, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dropMimeData), meth_KIdentityProxyModel_dropMimeData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fetchMore), meth_KIdentityProxyModel_fetchMore, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_index), meth_KIdentityProxyModel_index, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_insertColumns), meth_KIdentityProxyModel_insertColumns, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_insertRows), meth_KIdentityProxyModel_insertRows, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mapFromSource), meth_KIdentityProxyModel_mapFromSource, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mapSelectionFromSource), meth_KIdentityProxyModel_mapSelectionFromSource, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mapSelectionToSource), meth_KIdentityProxyModel_mapSelectionToSource, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mapToSource), meth_KIdentityProxyModel_mapToSource, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_match), meth_KIdentityProxyModel_match, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mimeData), meth_KIdentityProxyModel_mimeData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mimeTypes), meth_KIdentityProxyModel_mimeTypes, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_parent), meth_KIdentityProxyModel_parent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_removeColumns), meth_KIdentityProxyModel_removeColumns, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_removeRows), meth_KIdentityProxyModel_removeRows, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resetInternalData), meth_KIdentityProxyModel_resetInternalData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_rowCount), meth_KIdentityProxyModel_rowCount, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSourceModel), meth_KIdentityProxyModel_setSourceModel, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_supportedDropActions), meth_KIdentityProxyModel_supportedDropActions, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KIdentityProxyModel = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KIdentityProxyModel,
        {0}
    },
    {
        sipNameNr_KIdentityProxyModel,
        {0, 0, 1},
        21, methods_KIdentityProxyModel,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KIdentityProxyModel,
    0,
    init_type_KIdentityProxyModel,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KIdentityProxyModel,
    0,
    0,
    0,
    release_KIdentityProxyModel,
    cast_KIdentityProxyModel,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KIdentityProxyModel::staticMetaObject,
    0,
    0
};

#line 28 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kcharselect.sip"
#include <kcharselect.h>
#line 10456 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"

#line 28 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kcharselect.sip"
#include <kcharselect.h>
#line 10460 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"


extern "C" {static int slot_KCharSelect_Controls___bool__(PyObject *);}
static int slot_KCharSelect_Controls___bool__(PyObject *sipSelf)
{
    KCharSelect::Controls *sipCpp = reinterpret_cast<KCharSelect::Controls *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KCharSelect_Controls));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 370 "/usr/share/python-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KCharSelect::Controls::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 10482 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KCharSelect_Controls___ne__(PyObject *,PyObject *);}
static PyObject *slot_KCharSelect_Controls___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    KCharSelect::Controls *sipCpp = reinterpret_cast<KCharSelect::Controls *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KCharSelect_Controls));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KCharSelect::Controls* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KCharSelect_Controls, &a0, &a0State))
        {
            bool sipRes = 0;

#line 361 "/usr/share/python-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KCharSelect::Controls::Int() != a0->operator KCharSelect::Controls::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 10516 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
            sipReleaseType(const_cast<KCharSelect::Controls *>(a0),sipType_KCharSelect_Controls,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui,ne_slot,sipType_KCharSelect_Controls,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KCharSelect_Controls___eq__(PyObject *,PyObject *);}
static PyObject *slot_KCharSelect_Controls___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    KCharSelect::Controls *sipCpp = reinterpret_cast<KCharSelect::Controls *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KCharSelect_Controls));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KCharSelect::Controls* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KCharSelect_Controls, &a0, &a0State))
        {
            bool sipRes = 0;

#line 352 "/usr/share/python-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KCharSelect::Controls::Int() == a0->operator KCharSelect::Controls::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 10556 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
            sipReleaseType(const_cast<KCharSelect::Controls *>(a0),sipType_KCharSelect_Controls,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui,eq_slot,sipType_KCharSelect_Controls,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KCharSelect_Controls___invert__(PyObject *);}
static PyObject *slot_KCharSelect_Controls___invert__(PyObject *sipSelf)
{
    KCharSelect::Controls *sipCpp = reinterpret_cast<KCharSelect::Controls *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KCharSelect_Controls));

    if (!sipCpp)
        return 0;


    {
        {
            KCharSelect::Controls*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KCharSelect::Controls(~(*sipCpp));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KCharSelect_Controls,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KCharSelect_Controls___and__(PyObject *,PyObject *);}
static PyObject *slot_KCharSelect_Controls___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KCharSelect::Controls* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KCharSelect_Controls, &a0, &a0State, &a1))
        {
            KCharSelect::Controls*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KCharSelect::Controls((*a0 & a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KCharSelect_Controls,a0State);

            return sipConvertFromNewType(sipRes,sipType_KCharSelect_Controls,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui,and_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KCharSelect_Controls___xor__(PyObject *,PyObject *);}
static PyObject *slot_KCharSelect_Controls___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KCharSelect::Controls* a0;
        int a0State = 0;
        KCharSelect::Controls* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_KCharSelect_Controls, &a0, &a0State, sipType_KCharSelect_Controls, &a1, &a1State))
        {
            KCharSelect::Controls*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KCharSelect::Controls((*a0 ^ *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KCharSelect_Controls,a0State);
            sipReleaseType(a1,sipType_KCharSelect_Controls,a1State);

            return sipConvertFromNewType(sipRes,sipType_KCharSelect_Controls,NULL);
        }
    }

    {
        KCharSelect::Controls* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KCharSelect_Controls, &a0, &a0State, &a1))
        {
            KCharSelect::Controls*sipRes = 0;

#line 346 "/usr/share/python-sip/PyQt4/QtCore/qglobal.sip"
        sipRes = new KCharSelect::Controls(*a0 ^ a1);
#line 10665 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
            sipReleaseType(a0,sipType_KCharSelect_Controls,a0State);

            return sipConvertFromNewType(sipRes,sipType_KCharSelect_Controls,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui,xor_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KCharSelect_Controls___or__(PyObject *,PyObject *);}
static PyObject *slot_KCharSelect_Controls___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KCharSelect::Controls* a0;
        int a0State = 0;
        KCharSelect::Controls* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_KCharSelect_Controls, &a0, &a0State, sipType_KCharSelect_Controls, &a1, &a1State))
        {
            KCharSelect::Controls*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KCharSelect::Controls((*a0 | *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KCharSelect_Controls,a0State);
            sipReleaseType(a1,sipType_KCharSelect_Controls,a1State);

            return sipConvertFromNewType(sipRes,sipType_KCharSelect_Controls,NULL);
        }
    }

    {
        KCharSelect::Controls* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KCharSelect_Controls, &a0, &a0State, &a1))
        {
            KCharSelect::Controls*sipRes = 0;

#line 341 "/usr/share/python-sip/PyQt4/QtCore/qglobal.sip"
        sipRes = new KCharSelect::Controls(*a0 | a1);
#line 10717 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
            sipReleaseType(a0,sipType_KCharSelect_Controls,a0State);

            return sipConvertFromNewType(sipRes,sipType_KCharSelect_Controls,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui,or_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KCharSelect_Controls___int__(PyObject *);}
static PyObject *slot_KCharSelect_Controls___int__(PyObject *sipSelf)
{
    KCharSelect::Controls *sipCpp = reinterpret_cast<KCharSelect::Controls *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KCharSelect_Controls));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KCharSelect_Controls___ixor__(PyObject *,PyObject *);}
static PyObject *slot_KCharSelect_Controls___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KCharSelect_Controls)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KCharSelect::Controls *sipCpp = reinterpret_cast<KCharSelect::Controls *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KCharSelect_Controls));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        KCharSelect::Controls* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KCharSelect_Controls, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KCharSelect::Controls::operator^=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KCharSelect_Controls,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_KCharSelect_Controls___ior__(PyObject *,PyObject *);}
static PyObject *slot_KCharSelect_Controls___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KCharSelect_Controls)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KCharSelect::Controls *sipCpp = reinterpret_cast<KCharSelect::Controls *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KCharSelect_Controls));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        KCharSelect::Controls* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KCharSelect_Controls, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KCharSelect::Controls::operator|=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KCharSelect_Controls,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_KCharSelect_Controls___iand__(PyObject *,PyObject *);}
static PyObject *slot_KCharSelect_Controls___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KCharSelect_Controls)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KCharSelect::Controls *sipCpp = reinterpret_cast<KCharSelect::Controls *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KCharSelect_Controls));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KCharSelect::Controls::operator&=(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KCharSelect_Controls(void *, const sipTypeDef *);}
static void *cast_KCharSelect_Controls(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_KCharSelect_Controls)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KCharSelect_Controls(void *, int);}
static void release_KCharSelect_Controls(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<KCharSelect::Controls *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KCharSelect_Controls(void *, SIP_SSIZE_T, const void *);}
static void assign_KCharSelect_Controls(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<KCharSelect::Controls *>(sipDst)[sipDstIdx] = *reinterpret_cast<const KCharSelect::Controls *>(sipSrc);
}


extern "C" {static void *array_KCharSelect_Controls(SIP_SSIZE_T);}
static void *array_KCharSelect_Controls(SIP_SSIZE_T sipNrElem)
{
    return new KCharSelect::Controls[sipNrElem];
}


extern "C" {static void *copy_KCharSelect_Controls(const void *, SIP_SSIZE_T);}
static void *copy_KCharSelect_Controls(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new KCharSelect::Controls(reinterpret_cast<const KCharSelect::Controls *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_KCharSelect_Controls(sipSimpleWrapper *);}
static void dealloc_KCharSelect_Controls(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KCharSelect_Controls(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_KCharSelect_Controls(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KCharSelect_Controls(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    KCharSelect::Controls *sipCpp = 0;

    {
        const KCharSelect::Controls* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_KCharSelect_Controls, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KCharSelect::Controls(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<KCharSelect::Controls *>(a0),sipType_KCharSelect_Controls,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KCharSelect::Controls(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KCharSelect::Controls();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_KCharSelect_Controls(PyObject *, void **, int *, PyObject *);}
static int convertTo_KCharSelect_Controls(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    KCharSelect::Controls **sipCppPtr = reinterpret_cast<KCharSelect::Controls **>(sipCppPtrV);

#line 379 "/usr/share/python-sip/PyQt4/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a KCharSelect::Controls is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KCharSelect_Control)) ||
            sipCanConvertToType(sipPy, sipType_KCharSelect_Controls, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KCharSelect_Control)))
{
    *sipCppPtr = new KCharSelect::Controls(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<KCharSelect::Controls *>(sipConvertToType(sipPy, sipType_KCharSelect_Controls, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 11012 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_KCharSelect_Controls[] = {
    {(void *)slot_KCharSelect_Controls___bool__, bool_slot},
    {(void *)slot_KCharSelect_Controls___ne__, ne_slot},
    {(void *)slot_KCharSelect_Controls___eq__, eq_slot},
    {(void *)slot_KCharSelect_Controls___invert__, invert_slot},
    {(void *)slot_KCharSelect_Controls___and__, and_slot},
    {(void *)slot_KCharSelect_Controls___xor__, xor_slot},
    {(void *)slot_KCharSelect_Controls___or__, or_slot},
    {(void *)slot_KCharSelect_Controls___int__, int_slot},
    {(void *)slot_KCharSelect_Controls___ixor__, ixor_slot},
    {(void *)slot_KCharSelect_Controls___ior__, ior_slot},
    {(void *)slot_KCharSelect_Controls___iand__, iand_slot},
    {0, (sipPySlotType)0}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KCharSelect_Controls = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KCharSelect__Controls,
        {0}
    },
    {
        sipNameNr_Controls,
        {36, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    slots_KCharSelect_Controls,
    init_type_KCharSelect_Controls,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KCharSelect_Controls,
    assign_KCharSelect_Controls,
    array_KCharSelect_Controls,
    copy_KCharSelect_Controls,
    release_KCharSelect_Controls,
    cast_KCharSelect_Controls,
    convertTo_KCharSelect_Controls,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0
};

#line 28 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kcharselect.sip"
#include <kcharselect.h>
#line 11088 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"

#line 35 "/usr/share/python-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 11092 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 28 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kcharselect.sip"
#include <kcharselect.h>
#line 11095 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kactioncollection.sip"
#include <kactioncollection.h>
#line 11098 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 72 "/usr/share/python-sip/PyQt4/QtCore/qchar.sip"
#include <qchar.h>
#line 11101 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 11104 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 11107 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 121 "/usr/share/python-sip/PyQt4/QtCore/qchar.sip"
#include <qchar.h>
#line 11110 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 11113 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 11116 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 39 "/usr/share/python-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 11119 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 11122 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 11125 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 39 "/usr/share/python-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 11128 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 11131 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 36 "/usr/share/python-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 11134 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 11137 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 11140 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 11143 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 11146 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 11149 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 11152 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 37 "/usr/share/python-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 11155 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 11158 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 11161 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 11164 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 11167 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 11170 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 274 "/usr/share/python-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 11173 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 656 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11176 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11179 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 616 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11182 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 605 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11185 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 748 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11188 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 801 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11191 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 774 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11194 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 790 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11197 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 863 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11200 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 412 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11203 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 627 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11206 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 583 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11209 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 570 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11212 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 557 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11215 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 533 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11218 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 514 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11221 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 483 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11224 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 356 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11227 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 261 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11230 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 11233 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 61 "/usr/share/python-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 11236 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 39 "/usr/share/python-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 11239 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 11242 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 11245 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 11248 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 11251 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 11254 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 11257 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 11260 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 11263 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 11266 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 11269 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 355 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11272 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 338 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11275 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 34 "/usr/share/python-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 11278 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 11281 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 11284 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 11287 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 11290 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 11293 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"


class sipKCharSelect : public KCharSelect
{
public:
    sipKCharSelect(QWidget*,const KCharSelect::Controls);
    sipKCharSelect(QWidget*,KActionCollection*,const KCharSelect::Controls);
    virtual ~sipKCharSelect();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    void languageChange();
    void windowActivationChange(bool);
    void fontChange(const QFont&);
    void paletteChange(const QPalette&);
    void enabledChange(bool);
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void changeEvent(QEvent*);
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void closeEvent(QCloseEvent*);
    void resizeEvent(QResizeEvent*);
    void moveEvent(QMoveEvent*);
    void paintEvent(QPaintEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    bool event(QEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    QSize minimumSizeHint() const;
    void setVisible(bool);
    int devType() const;
    QSize sizeHint() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKCharSelect(const sipKCharSelect &);
    sipKCharSelect &operator = (const sipKCharSelect &);

    char sipPyMethods[47];
};

sipKCharSelect::sipKCharSelect(QWidget*a0,const KCharSelect::Controls a1): KCharSelect(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKCharSelect::sipKCharSelect(QWidget*a0,KActionCollection*a1,const KCharSelect::Controls a2): KCharSelect(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKCharSelect::~sipKCharSelect()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKCharSelect::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KCharSelect);
}

int sipKCharSelect::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KCharSelect::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KCharSelect,_c,_id,_a);

    return _id;
}

void *sipKCharSelect::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KCharSelect, _clname)) ? this : KCharSelect::qt_metacast(_clname);
}

void sipKCharSelect::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KCharSelect::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCharSelect::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KCharSelect::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCharSelect::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KCharSelect::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCharSelect::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KCharSelect::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kdeui_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCharSelect::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KCharSelect::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kdeui_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKCharSelect::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KCharSelect::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKCharSelect::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
        KCharSelect::languageChange();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKCharSelect::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
        KCharSelect::windowActivationChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCharSelect::fontChange(const QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
        KCharSelect::fontChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QFont&);

    ((sipVH_QtGui_9)(sipModuleAPI_kdeui_QtGui->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCharSelect::paletteChange(const QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
        KCharSelect::paletteChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_10)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPalette&);

    ((sipVH_QtGui_10)(sipModuleAPI_kdeui_QtGui->em_virthandlers[10]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCharSelect::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
        KCharSelect::enabledChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKCharSelect::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return KCharSelect::focusNextPrevChild(a0);

    typedef bool (*sipVH_QtGui_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return ((sipVH_QtGui_11)(sipModuleAPI_kdeui_QtGui->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QVariant sipKCharSelect::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return KCharSelect::inputMethodQuery(a0);

    typedef QVariant (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return ((sipVH_QtGui_12)(sipModuleAPI_kdeui_QtGui->em_virthandlers[12]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCharSelect::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        KCharSelect::inputMethodEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_13)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    ((sipVH_QtGui_13)(sipModuleAPI_kdeui_QtGui->em_virthandlers[13]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKCharSelect::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return KCharSelect::metric(a0);

    typedef int (*sipVH_QtGui_14)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_14)(sipModuleAPI_kdeui_QtGui->em_virthandlers[14]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCharSelect::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        KCharSelect::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCharSelect::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        KCharSelect::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_kdeui_QtGui->em_virthandlers[0]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCharSelect::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        KCharSelect::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_1)(sipModuleAPI_kdeui_QtGui->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCharSelect::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        KCharSelect::dropEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_15)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    ((sipVH_QtGui_15)(sipModuleAPI_kdeui_QtGui->em_virthandlers[15]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCharSelect::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        KCharSelect::dragLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_16)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    ((sipVH_QtGui_16)(sipModuleAPI_kdeui_QtGui->em_virthandlers[16]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCharSelect::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        KCharSelect::dragMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    ((sipVH_QtGui_17)(sipModuleAPI_kdeui_QtGui->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCharSelect::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        KCharSelect::dragEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    ((sipVH_QtGui_18)(sipModuleAPI_kdeui_QtGui->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCharSelect::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        KCharSelect::actionEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_19)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    ((sipVH_QtGui_19)(sipModuleAPI_kdeui_QtGui->em_virthandlers[19]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCharSelect::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        KCharSelect::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_20)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_20)(sipModuleAPI_kdeui_QtGui->em_virthandlers[20]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCharSelect::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        KCharSelect::contextMenuEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_21)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    ((sipVH_QtGui_21)(sipModuleAPI_kdeui_QtGui->em_virthandlers[21]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCharSelect::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        KCharSelect::closeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_22)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    ((sipVH_QtGui_22)(sipModuleAPI_kdeui_QtGui->em_virthandlers[22]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCharSelect::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        KCharSelect::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_kdeui_QtGui->em_virthandlers[2]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCharSelect::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        KCharSelect::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_23)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_23)(sipModuleAPI_kdeui_QtGui->em_virthandlers[23]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCharSelect::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        KCharSelect::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_kdeui_QtGui->em_virthandlers[3]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCharSelect::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        KCharSelect::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCharSelect::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        KCharSelect::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCharSelect::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        KCharSelect::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kdeui_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCharSelect::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        KCharSelect::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kdeui_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCharSelect::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        KCharSelect::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCharSelect::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        KCharSelect::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCharSelect::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        KCharSelect::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_kdeui_QtGui->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCharSelect::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        KCharSelect::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCharSelect::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        KCharSelect::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCharSelect::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        KCharSelect::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCharSelect::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        KCharSelect::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKCharSelect::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KCharSelect::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QPaintEngine* sipKCharSelect::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[41]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return KCharSelect::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_27)(sipModuleAPI_kdeui_QtGui->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKCharSelect::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[42]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return KCharSelect::heightForWidth(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtGui_28)(sipModuleAPI_kdeui_QtGui->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QSize sipKCharSelect::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[43]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return KCharSelect::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKCharSelect::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        KCharSelect::setVisible(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKCharSelect::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[45]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return KCharSelect::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_kdeui_QtCore->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth);
}

QSize sipKCharSelect::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[46]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return KCharSelect::sizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}


extern "C" {static PyObject *meth_KCharSelect_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_KCharSelect_sizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KCharSelect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCharSelect, &sipCpp))
        {
            QSize*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSize((sipSelfWasArg ? sipCpp->KCharSelect::sizeHint() : sipCpp->sizeHint()));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCharSelect, sipName_sizeHint, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCharSelect_currentChar(PyObject *, PyObject *);}
static PyObject *meth_KCharSelect_currentChar(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KCharSelect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCharSelect, &sipCpp))
        {
            QChar*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QChar(sipCpp->currentChar());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QChar,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCharSelect, sipName_currentChar, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCharSelect_currentFont(PyObject *, PyObject *);}
static PyObject *meth_KCharSelect_currentFont(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KCharSelect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCharSelect, &sipCpp))
        {
            QFont*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QFont(sipCpp->currentFont());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QFont,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCharSelect, sipName_currentFont, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCharSelect_displayedChars(PyObject *, PyObject *);}
static PyObject *meth_KCharSelect_displayedChars(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KCharSelect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCharSelect, &sipCpp))
        {
            QList<QChar>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<QChar>(sipCpp->displayedChars());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QList_0100QChar,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCharSelect, sipName_displayedChars, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCharSelect_setCurrentChar(PyObject *, PyObject *);}
static PyObject *meth_KCharSelect_setCurrentChar(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QChar* a0;
        int a0State = 0;
        KCharSelect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KCharSelect, &sipCpp, sipType_QChar,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCurrentChar(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QChar *>(a0),sipType_QChar,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCharSelect, sipName_setCurrentChar, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCharSelect_setCurrentFont(PyObject *, PyObject *);}
static PyObject *meth_KCharSelect_setCurrentFont(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QFont* a0;
        KCharSelect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KCharSelect, &sipCpp, sipType_QFont, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCurrentFont(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCharSelect, sipName_setCurrentFont, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KCharSelect(void *, const sipTypeDef *);}
static void *cast_KCharSelect(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KCharSelect)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QWidget)->ctd_cast((QWidget *)(KCharSelect *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KCharSelect(void *, int);}
static void release_KCharSelect(void *sipCppV,int)
{
    KCharSelect *sipCpp = reinterpret_cast<KCharSelect *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KCharSelect(sipSimpleWrapper *);}
static void dealloc_KCharSelect(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKCharSelect *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KCharSelect(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KCharSelect(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KCharSelect(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKCharSelect *sipCpp = 0;

    {
        QWidget* a0;
        const KCharSelect::Controls a1def = KCharSelect::AllGuiElements;
        const KCharSelect::Controls* a1 = &a1def;
        int a1State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "JH|J1", sipType_QWidget, &a0, sipOwner, sipType_KCharSelect_Controls, &a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKCharSelect(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<KCharSelect::Controls *>(a1),sipType_KCharSelect_Controls,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        QWidget* a0;
        KActionCollection* a1;
        const KCharSelect::Controls a2def = KCharSelect::AllGuiElements;
        const KCharSelect::Controls* a2 = &a2def;
        int a2State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "JHJ8|J1", sipType_QWidget, &a0, sipOwner, sipType_KActionCollection, &a1, sipType_KCharSelect_Controls, &a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKCharSelect(a0,a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<KCharSelect::Controls *>(a2),sipType_KCharSelect_Controls,a2State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KCharSelect[] = {{755, 2, 1}};


static PyMethodDef methods_KCharSelect[] = {
    {SIP_MLNAME_CAST(sipName_currentChar), meth_KCharSelect_currentChar, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_currentFont), meth_KCharSelect_currentFont, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_displayedChars), meth_KCharSelect_displayedChars, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCurrentChar), meth_KCharSelect_setCurrentChar, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCurrentFont), meth_KCharSelect_setCurrentFont, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_KCharSelect_sizeHint, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KCharSelect[] = {
    {sipName_AllGuiElements, static_cast<int>(KCharSelect::AllGuiElements), 37},
    {sipName_BlockCombos, static_cast<int>(KCharSelect::BlockCombos), 37},
    {sipName_CharacterTable, static_cast<int>(KCharSelect::CharacterTable), 37},
    {sipName_DetailBrowser, static_cast<int>(KCharSelect::DetailBrowser), 37},
    {sipName_FontCombo, static_cast<int>(KCharSelect::FontCombo), 37},
    {sipName_FontSize, static_cast<int>(KCharSelect::FontSize), 37},
    {sipName_HistoryButtons, static_cast<int>(KCharSelect::HistoryButtons), 37},
    {sipName_SearchLine, static_cast<int>(KCharSelect::SearchLine), 37},
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KCharSelect[] = {
    {"charSelected(QChar)", 0, 0, 0},
    {"displayedCharsChanged()", 0, 0, 0},
    {"currentCharChanged(QChar)", 0, 0, 0},
    {"currentFontChanged(QFont)", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KCharSelect = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KCharSelect,
        {0}
    },
    {
        sipNameNr_KCharSelect,
        {0, 0, 1},
        6, methods_KCharSelect,
        8, enummembers_KCharSelect,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KCharSelect,
    0,
    init_type_KCharSelect,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KCharSelect,
    0,
    0,
    0,
    release_KCharSelect,
    cast_KCharSelect,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KCharSelect::staticMetaObject,
    0,
    signals_KCharSelect,
};

#line 61 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kcategorydrawer.sip"
#include <kcategorydrawer.h>
#line 12571 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"

#line 25 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kcategorizedview.sip"
#include <kcategorizedview.h>
#line 12575 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 12578 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 12581 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 261 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12584 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 12587 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 355 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 12590 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 338 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 12593 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 34 "/usr/share/python-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 12596 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 274 "/usr/share/python-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 12599 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 12602 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 37 "/usr/share/python-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 12605 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 12608 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 12611 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 12614 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 36 "/usr/share/python-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 12617 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 12620 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 12623 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 12626 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 12629 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"


class sipKCategoryDrawerV3 : public KCategoryDrawerV3
{
public:
    sipKCategoryDrawerV3(KCategorizedView*);
    virtual ~sipKCategoryDrawerV3();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    int categoryHeight(const QModelIndex&,const QStyleOption&) const;
    void drawCategory(const QModelIndex&,int,const QStyleOption&,QPainter*) const;
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    void mouseButtonMoved(const QModelIndex&,QMouseEvent*);
    void mouseLeft(const QModelIndex&,const QRect&);
    void mouseButtonDoubleClicked(const QModelIndex&,const QRect&,QMouseEvent*);
    void mouseMoved(const QModelIndex&,const QRect&,QMouseEvent*);
    void mouseButtonReleased(const QModelIndex&,const QRect&,QMouseEvent*);
    void mouseButtonPressed(const QModelIndex&,const QRect&,QMouseEvent*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKCategoryDrawerV3(const sipKCategoryDrawerV3 &);
    sipKCategoryDrawerV3 &operator = (const sipKCategoryDrawerV3 &);

    char sipPyMethods[15];
};

sipKCategoryDrawerV3::sipKCategoryDrawerV3(KCategorizedView*a0): KCategoryDrawerV3(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKCategoryDrawerV3::~sipKCategoryDrawerV3()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKCategoryDrawerV3::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KCategoryDrawerV3);
}

int sipKCategoryDrawerV3::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KCategoryDrawerV3::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KCategoryDrawerV3,_c,_id,_a);

    return _id;
}

void *sipKCategoryDrawerV3::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KCategoryDrawerV3, _clname)) ? this : KCategoryDrawerV3::qt_metacast(_clname);
}

int sipKCategoryDrawerV3::categoryHeight(const QModelIndex& a0,const QStyleOption& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_categoryHeight);

    if (!sipMeth)
        return KCategoryDrawerV3::categoryHeight(a0,a1);

    extern int sipVH_kdeui_92(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QStyleOption&);

    return sipVH_kdeui_92(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKCategoryDrawerV3::drawCategory(const QModelIndex& a0,int a1,const QStyleOption& a2,QPainter*a3) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_drawCategory);

    if (!sipMeth)
    {
        KCategoryDrawerV3::drawCategory(a0,a1,a2,a3);
        return;
    }

    extern void sipVH_kdeui_93(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int,const QStyleOption&,QPainter*);

    sipVH_kdeui_93(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}

void sipKCategoryDrawerV3::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KCategoryDrawerV3::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCategoryDrawerV3::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KCategoryDrawerV3::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCategoryDrawerV3::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KCategoryDrawerV3::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCategoryDrawerV3::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KCategoryDrawerV3::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kdeui_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCategoryDrawerV3::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KCategoryDrawerV3::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kdeui_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKCategoryDrawerV3::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KCategoryDrawerV3::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKCategoryDrawerV3::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KCategoryDrawerV3::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCategoryDrawerV3::mouseButtonMoved(const QModelIndex& a0,QMouseEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_mouseButtonMoved);

    if (!sipMeth)
    {
        KCategoryDrawerV3::mouseButtonMoved(a0,a1);
        return;
    }

    extern void sipVH_kdeui_91(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,QMouseEvent*);

    sipVH_kdeui_91(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKCategoryDrawerV3::mouseLeft(const QModelIndex& a0,const QRect& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_mouseLeft);

    if (!sipMeth)
    {
        KCategoryDrawerV3::mouseLeft(a0,a1);
        return;
    }

    extern void sipVH_kdeui_89(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QRect&);

    sipVH_kdeui_89(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKCategoryDrawerV3::mouseButtonDoubleClicked(const QModelIndex& a0,const QRect& a1,QMouseEvent*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_mouseButtonDoubleClicked);

    if (!sipMeth)
    {
        KCategoryDrawerV3::mouseButtonDoubleClicked(a0,a1,a2);
        return;
    }

    extern void sipVH_kdeui_90(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QRect&,QMouseEvent*);

    sipVH_kdeui_90(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipKCategoryDrawerV3::mouseMoved(const QModelIndex& a0,const QRect& a1,QMouseEvent*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_mouseMoved);

    if (!sipMeth)
    {
        KCategoryDrawerV3::mouseMoved(a0,a1,a2);
        return;
    }

    extern void sipVH_kdeui_90(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QRect&,QMouseEvent*);

    sipVH_kdeui_90(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipKCategoryDrawerV3::mouseButtonReleased(const QModelIndex& a0,const QRect& a1,QMouseEvent*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_mouseButtonReleased);

    if (!sipMeth)
    {
        KCategoryDrawerV3::mouseButtonReleased(a0,a1,a2);
        return;
    }

    extern void sipVH_kdeui_90(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QRect&,QMouseEvent*);

    sipVH_kdeui_90(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipKCategoryDrawerV3::mouseButtonPressed(const QModelIndex& a0,const QRect& a1,QMouseEvent*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_mouseButtonPressed);

    if (!sipMeth)
    {
        KCategoryDrawerV3::mouseButtonPressed(a0,a1,a2);
        return;
    }

    extern void sipVH_kdeui_90(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QRect&,QMouseEvent*);

    sipVH_kdeui_90(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}


extern "C" {static PyObject *meth_KCategoryDrawerV3_view(PyObject *, PyObject *);}
static PyObject *meth_KCategoryDrawerV3_view(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KCategoryDrawerV3 *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCategoryDrawerV3, &sipCpp))
        {
            KCategorizedView*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->view();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KCategorizedView,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategoryDrawerV3, sipName_view, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategoryDrawerV3_mouseButtonPressed(PyObject *, PyObject *);}
static PyObject *meth_KCategoryDrawerV3_mouseButtonPressed(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        const QRect* a1;
        QMouseEvent* a2;
        KCategoryDrawerV3 *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9J9J8", &sipSelf, sipType_KCategoryDrawerV3, &sipCpp, sipType_QModelIndex, &a0, sipType_QRect, &a1, sipType_QMouseEvent, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCategoryDrawerV3::mouseButtonPressed(*a0,*a1,a2) : sipCpp->mouseButtonPressed(*a0,*a1,a2));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategoryDrawerV3, sipName_mouseButtonPressed, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategoryDrawerV3_mouseButtonReleased(PyObject *, PyObject *);}
static PyObject *meth_KCategoryDrawerV3_mouseButtonReleased(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        const QRect* a1;
        QMouseEvent* a2;
        KCategoryDrawerV3 *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9J9J8", &sipSelf, sipType_KCategoryDrawerV3, &sipCpp, sipType_QModelIndex, &a0, sipType_QRect, &a1, sipType_QMouseEvent, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCategoryDrawerV3::mouseButtonReleased(*a0,*a1,a2) : sipCpp->mouseButtonReleased(*a0,*a1,a2));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategoryDrawerV3, sipName_mouseButtonReleased, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategoryDrawerV3_mouseMoved(PyObject *, PyObject *);}
static PyObject *meth_KCategoryDrawerV3_mouseMoved(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        const QRect* a1;
        QMouseEvent* a2;
        KCategoryDrawerV3 *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9J9J8", &sipSelf, sipType_KCategoryDrawerV3, &sipCpp, sipType_QModelIndex, &a0, sipType_QRect, &a1, sipType_QMouseEvent, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCategoryDrawerV3::mouseMoved(*a0,*a1,a2) : sipCpp->mouseMoved(*a0,*a1,a2));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategoryDrawerV3, sipName_mouseMoved, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategoryDrawerV3_mouseButtonDoubleClicked(PyObject *, PyObject *);}
static PyObject *meth_KCategoryDrawerV3_mouseButtonDoubleClicked(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        const QRect* a1;
        QMouseEvent* a2;
        KCategoryDrawerV3 *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9J9J8", &sipSelf, sipType_KCategoryDrawerV3, &sipCpp, sipType_QModelIndex, &a0, sipType_QRect, &a1, sipType_QMouseEvent, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCategoryDrawerV3::mouseButtonDoubleClicked(*a0,*a1,a2) : sipCpp->mouseButtonDoubleClicked(*a0,*a1,a2));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategoryDrawerV3, sipName_mouseButtonDoubleClicked, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategoryDrawerV3_mouseLeft(PyObject *, PyObject *);}
static PyObject *meth_KCategoryDrawerV3_mouseLeft(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        const QRect* a1;
        KCategoryDrawerV3 *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9J9", &sipSelf, sipType_KCategoryDrawerV3, &sipCpp, sipType_QModelIndex, &a0, sipType_QRect, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCategoryDrawerV3::mouseLeft(*a0,*a1) : sipCpp->mouseLeft(*a0,*a1));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategoryDrawerV3, sipName_mouseLeft, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KCategoryDrawerV3(void *, const sipTypeDef *);}
static void *cast_KCategoryDrawerV3(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KCategoryDrawerV3)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KCategoryDrawerV2)->ctd_cast((KCategoryDrawerV2 *)(KCategoryDrawerV3 *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KCategoryDrawerV3(void *, int);}
static void release_KCategoryDrawerV3(void *sipCppV,int)
{
    KCategoryDrawerV3 *sipCpp = reinterpret_cast<KCategoryDrawerV3 *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KCategoryDrawerV3(sipSimpleWrapper *);}
static void dealloc_KCategoryDrawerV3(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKCategoryDrawerV3 *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KCategoryDrawerV3(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KCategoryDrawerV3(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KCategoryDrawerV3(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipKCategoryDrawerV3 *sipCpp = 0;

    {
        KCategorizedView* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8", sipType_KCategorizedView, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKCategoryDrawerV3(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KCategoryDrawerV3[] = {{34, 255, 1}};


static PyMethodDef methods_KCategoryDrawerV3[] = {
    {SIP_MLNAME_CAST(sipName_mouseButtonDoubleClicked), meth_KCategoryDrawerV3_mouseButtonDoubleClicked, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseButtonPressed), meth_KCategoryDrawerV3_mouseButtonPressed, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseButtonReleased), meth_KCategoryDrawerV3_mouseButtonReleased, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseLeft), meth_KCategoryDrawerV3_mouseLeft, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoved), meth_KCategoryDrawerV3_mouseMoved, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_view), meth_KCategoryDrawerV3_view, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KCategoryDrawerV3 = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KCategoryDrawerV3,
        {0}
    },
    {
        sipNameNr_KCategoryDrawerV3,
        {0, 0, 1},
        6, methods_KCategoryDrawerV3,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KCategoryDrawerV3,
    0,
    init_type_KCategoryDrawerV3,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KCategoryDrawerV3,
    0,
    0,
    0,
    release_KCategoryDrawerV3,
    cast_KCategoryDrawerV3,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KCategoryDrawerV3::staticMetaObject,
    0,
    0
};

#line 44 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kcategorydrawer.sip"
#include <kcategorydrawer.h>
#line 13280 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"

#line 34 "/usr/share/python-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 13284 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 13287 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 261 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 13290 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13293 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 355 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13296 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 338 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13299 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 274 "/usr/share/python-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 13302 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 13305 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 37 "/usr/share/python-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 13308 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 13311 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 13314 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 13317 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 36 "/usr/share/python-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 13320 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 13323 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 13326 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 13329 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 13332 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"


class sipKCategoryDrawerV2 : public KCategoryDrawerV2
{
public:
    sipKCategoryDrawerV2(QObject*);
    virtual ~sipKCategoryDrawerV2();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    int categoryHeight(const QModelIndex&,const QStyleOption&) const;
    void drawCategory(const QModelIndex&,int,const QStyleOption&,QPainter*) const;
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    void mouseButtonDoubleClicked(const QModelIndex&,QMouseEvent*);
    void mouseButtonMoved(const QModelIndex&,QMouseEvent*);
    void mouseButtonReleased(const QModelIndex&,QMouseEvent*);
    void mouseButtonPressed(const QModelIndex&,QMouseEvent*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKCategoryDrawerV2(const sipKCategoryDrawerV2 &);
    sipKCategoryDrawerV2 &operator = (const sipKCategoryDrawerV2 &);

    char sipPyMethods[13];
};

sipKCategoryDrawerV2::sipKCategoryDrawerV2(QObject*a0): KCategoryDrawerV2(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKCategoryDrawerV2::~sipKCategoryDrawerV2()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKCategoryDrawerV2::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KCategoryDrawerV2);
}

int sipKCategoryDrawerV2::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KCategoryDrawerV2::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KCategoryDrawerV2,_c,_id,_a);

    return _id;
}

void *sipKCategoryDrawerV2::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KCategoryDrawerV2, _clname)) ? this : KCategoryDrawerV2::qt_metacast(_clname);
}

int sipKCategoryDrawerV2::categoryHeight(const QModelIndex& a0,const QStyleOption& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_categoryHeight);

    if (!sipMeth)
        return KCategoryDrawerV2::categoryHeight(a0,a1);

    extern int sipVH_kdeui_92(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QStyleOption&);

    return sipVH_kdeui_92(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKCategoryDrawerV2::drawCategory(const QModelIndex& a0,int a1,const QStyleOption& a2,QPainter*a3) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_drawCategory);

    if (!sipMeth)
    {
        KCategoryDrawerV2::drawCategory(a0,a1,a2,a3);
        return;
    }

    extern void sipVH_kdeui_93(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int,const QStyleOption&,QPainter*);

    sipVH_kdeui_93(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}

void sipKCategoryDrawerV2::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KCategoryDrawerV2::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCategoryDrawerV2::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KCategoryDrawerV2::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCategoryDrawerV2::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KCategoryDrawerV2::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCategoryDrawerV2::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KCategoryDrawerV2::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kdeui_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCategoryDrawerV2::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KCategoryDrawerV2::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kdeui_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKCategoryDrawerV2::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KCategoryDrawerV2::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKCategoryDrawerV2::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KCategoryDrawerV2::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCategoryDrawerV2::mouseButtonDoubleClicked(const QModelIndex& a0,QMouseEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_mouseButtonDoubleClicked);

    if (!sipMeth)
    {
        KCategoryDrawerV2::mouseButtonDoubleClicked(a0,a1);
        return;
    }

    extern void sipVH_kdeui_91(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,QMouseEvent*);

    sipVH_kdeui_91(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKCategoryDrawerV2::mouseButtonMoved(const QModelIndex& a0,QMouseEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_mouseButtonMoved);

    if (!sipMeth)
    {
        KCategoryDrawerV2::mouseButtonMoved(a0,a1);
        return;
    }

    extern void sipVH_kdeui_91(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,QMouseEvent*);

    sipVH_kdeui_91(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKCategoryDrawerV2::mouseButtonReleased(const QModelIndex& a0,QMouseEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_mouseButtonReleased);

    if (!sipMeth)
    {
        KCategoryDrawerV2::mouseButtonReleased(a0,a1);
        return;
    }

    extern void sipVH_kdeui_91(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,QMouseEvent*);

    sipVH_kdeui_91(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKCategoryDrawerV2::mouseButtonPressed(const QModelIndex& a0,QMouseEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_mouseButtonPressed);

    if (!sipMeth)
    {
        KCategoryDrawerV2::mouseButtonPressed(a0,a1);
        return;
    }

    extern void sipVH_kdeui_91(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,QMouseEvent*);

    sipVH_kdeui_91(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}


extern "C" {static PyObject *meth_KCategoryDrawerV2_mouseButtonPressed(PyObject *, PyObject *);}
static PyObject *meth_KCategoryDrawerV2_mouseButtonPressed(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        QMouseEvent* a1;
        KCategoryDrawerV2 *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J8", &sipSelf, sipType_KCategoryDrawerV2, &sipCpp, sipType_QModelIndex, &a0, sipType_QMouseEvent, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCategoryDrawerV2::mouseButtonPressed(*a0,a1) : sipCpp->mouseButtonPressed(*a0,a1));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategoryDrawerV2, sipName_mouseButtonPressed, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategoryDrawerV2_mouseButtonReleased(PyObject *, PyObject *);}
static PyObject *meth_KCategoryDrawerV2_mouseButtonReleased(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        QMouseEvent* a1;
        KCategoryDrawerV2 *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J8", &sipSelf, sipType_KCategoryDrawerV2, &sipCpp, sipType_QModelIndex, &a0, sipType_QMouseEvent, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCategoryDrawerV2::mouseButtonReleased(*a0,a1) : sipCpp->mouseButtonReleased(*a0,a1));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategoryDrawerV2, sipName_mouseButtonReleased, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategoryDrawerV2_mouseButtonMoved(PyObject *, PyObject *);}
static PyObject *meth_KCategoryDrawerV2_mouseButtonMoved(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        QMouseEvent* a1;
        KCategoryDrawerV2 *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J8", &sipSelf, sipType_KCategoryDrawerV2, &sipCpp, sipType_QModelIndex, &a0, sipType_QMouseEvent, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCategoryDrawerV2::mouseButtonMoved(*a0,a1) : sipCpp->mouseButtonMoved(*a0,a1));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategoryDrawerV2, sipName_mouseButtonMoved, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategoryDrawerV2_mouseButtonDoubleClicked(PyObject *, PyObject *);}
static PyObject *meth_KCategoryDrawerV2_mouseButtonDoubleClicked(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        QMouseEvent* a1;
        KCategoryDrawerV2 *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J8", &sipSelf, sipType_KCategoryDrawerV2, &sipCpp, sipType_QModelIndex, &a0, sipType_QMouseEvent, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCategoryDrawerV2::mouseButtonDoubleClicked(*a0,a1) : sipCpp->mouseButtonDoubleClicked(*a0,a1));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategoryDrawerV2, sipName_mouseButtonDoubleClicked, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KCategoryDrawerV2(void *, const sipTypeDef *);}
static void *cast_KCategoryDrawerV2(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KCategoryDrawerV2)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(KCategoryDrawerV2 *)ptr,targetType)) != NULL)
        return res;

    if ((res = ((const sipClassTypeDef *)sipType_KCategoryDrawer)->ctd_cast((KCategoryDrawer *)(KCategoryDrawerV2 *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KCategoryDrawerV2(void *, int);}
static void release_KCategoryDrawerV2(void *sipCppV,int)
{
    KCategoryDrawerV2 *sipCpp = reinterpret_cast<KCategoryDrawerV2 *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KCategoryDrawerV2(sipSimpleWrapper *);}
static void dealloc_KCategoryDrawerV2(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKCategoryDrawerV2 *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KCategoryDrawerV2(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KCategoryDrawerV2(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KCategoryDrawerV2(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKCategoryDrawerV2 *sipCpp = 0;

    {
        QObject* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKCategoryDrawerV2(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KCategoryDrawerV2[] = {{141, 0, 0}, {33, 255, 1}};


static PyMethodDef methods_KCategoryDrawerV2[] = {
    {SIP_MLNAME_CAST(sipName_mouseButtonDoubleClicked), meth_KCategoryDrawerV2_mouseButtonDoubleClicked, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseButtonMoved), meth_KCategoryDrawerV2_mouseButtonMoved, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseButtonPressed), meth_KCategoryDrawerV2_mouseButtonPressed, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseButtonReleased), meth_KCategoryDrawerV2_mouseButtonReleased, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KCategoryDrawerV2[] = {
    {"actionRequested(int,QModelIndex)", 0, 0, 0},
    {"collapseOrExpandClicked(QModelIndex)", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KCategoryDrawerV2 = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KCategoryDrawerV2,
        {0}
    },
    {
        sipNameNr_KCategoryDrawerV2,
        {0, 0, 1},
        4, methods_KCategoryDrawerV2,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KCategoryDrawerV2,
    0,
    init_type_KCategoryDrawerV2,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KCategoryDrawerV2,
    0,
    0,
    0,
    release_KCategoryDrawerV2,
    cast_KCategoryDrawerV2,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KCategoryDrawerV2::staticMetaObject,
    0,
    signals_KCategoryDrawerV2,
};

#line 25 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kcategorydrawer.sip"
#include <kcategorydrawer.h>
#line 13894 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"

#line 31 "/usr/share/python-sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 13898 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 13901 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 13904 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"


class sipKCategoryDrawer : public KCategoryDrawer
{
public:
    sipKCategoryDrawer();
    sipKCategoryDrawer(const KCategoryDrawer&);
    virtual ~sipKCategoryDrawer();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    int categoryHeight(const QModelIndex&,const QStyleOption&) const;
    void drawCategory(const QModelIndex&,int,const QStyleOption&,QPainter*) const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKCategoryDrawer(const sipKCategoryDrawer &);
    sipKCategoryDrawer &operator = (const sipKCategoryDrawer &);

    char sipPyMethods[2];
};

sipKCategoryDrawer::sipKCategoryDrawer(): KCategoryDrawer(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKCategoryDrawer::sipKCategoryDrawer(const KCategoryDrawer& a0): KCategoryDrawer(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKCategoryDrawer::~sipKCategoryDrawer()
{
    sipCommonDtor(sipPySelf);
}

int sipKCategoryDrawer::categoryHeight(const QModelIndex& a0,const QStyleOption& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_categoryHeight);

    if (!sipMeth)
        return KCategoryDrawer::categoryHeight(a0,a1);

    extern int sipVH_kdeui_92(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QStyleOption&);

    return sipVH_kdeui_92(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKCategoryDrawer::drawCategory(const QModelIndex& a0,int a1,const QStyleOption& a2,QPainter*a3) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_drawCategory);

    if (!sipMeth)
    {
        KCategoryDrawer::drawCategory(a0,a1,a2,a3);
        return;
    }

    extern void sipVH_kdeui_93(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int,const QStyleOption&,QPainter*);

    sipVH_kdeui_93(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}


extern "C" {static PyObject *meth_KCategoryDrawer_drawCategory(PyObject *, PyObject *);}
static PyObject *meth_KCategoryDrawer_drawCategory(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        int a1;
        const QStyleOption* a2;
        QPainter* a3;
        const KCategoryDrawer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9iJ9J8", &sipSelf, sipType_KCategoryDrawer, &sipCpp, sipType_QModelIndex, &a0, &a1, sipType_QStyleOption, &a2, sipType_QPainter, &a3))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCategoryDrawer::drawCategory(*a0,a1,*a2,a3) : sipCpp->drawCategory(*a0,a1,*a2,a3));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategoryDrawer, sipName_drawCategory, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategoryDrawer_categoryHeight(PyObject *, PyObject *);}
static PyObject *meth_KCategoryDrawer_categoryHeight(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        const QStyleOption* a1;
        const KCategoryDrawer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J9", &sipSelf, sipType_KCategoryDrawer, &sipCpp, sipType_QModelIndex, &a0, sipType_QStyleOption, &a1))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KCategoryDrawer::categoryHeight(*a0,*a1) : sipCpp->categoryHeight(*a0,*a1));
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategoryDrawer, sipName_categoryHeight, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategoryDrawer_leftMargin(PyObject *, PyObject *);}
static PyObject *meth_KCategoryDrawer_leftMargin(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KCategoryDrawer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCategoryDrawer, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->leftMargin();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategoryDrawer, sipName_leftMargin, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategoryDrawer_setLeftMargin(PyObject *, PyObject *);}
static PyObject *meth_KCategoryDrawer_setLeftMargin(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        KCategoryDrawer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KCategoryDrawer, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setLeftMargin(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategoryDrawer, sipName_setLeftMargin, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategoryDrawer_rightMargin(PyObject *, PyObject *);}
static PyObject *meth_KCategoryDrawer_rightMargin(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KCategoryDrawer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCategoryDrawer, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->rightMargin();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategoryDrawer, sipName_rightMargin, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategoryDrawer_setRightMargin(PyObject *, PyObject *);}
static PyObject *meth_KCategoryDrawer_setRightMargin(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        KCategoryDrawer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KCategoryDrawer, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setRightMargin(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategoryDrawer, sipName_setRightMargin, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KCategoryDrawer(void *, const sipTypeDef *);}
static void *cast_KCategoryDrawer(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_KCategoryDrawer)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KCategoryDrawer(void *, int);}
static void release_KCategoryDrawer(void *sipCppV,int sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKCategoryDrawer *>(sipCppV);
    else
        delete reinterpret_cast<KCategoryDrawer *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KCategoryDrawer(void *, SIP_SSIZE_T, const void *);}
static void assign_KCategoryDrawer(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<KCategoryDrawer *>(sipDst)[sipDstIdx] = *reinterpret_cast<const KCategoryDrawer *>(sipSrc);
}


extern "C" {static void *array_KCategoryDrawer(SIP_SSIZE_T);}
static void *array_KCategoryDrawer(SIP_SSIZE_T sipNrElem)
{
    return new KCategoryDrawer[sipNrElem];
}


extern "C" {static void *copy_KCategoryDrawer(const void *, SIP_SSIZE_T);}
static void *copy_KCategoryDrawer(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new KCategoryDrawer(reinterpret_cast<const KCategoryDrawer *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_KCategoryDrawer(sipSimpleWrapper *);}
static void dealloc_KCategoryDrawer(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKCategoryDrawer *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KCategoryDrawer(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KCategoryDrawer(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KCategoryDrawer(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipKCategoryDrawer *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKCategoryDrawer();
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const KCategoryDrawer* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_KCategoryDrawer, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKCategoryDrawer(*a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_KCategoryDrawer[] = {
    {SIP_MLNAME_CAST(sipName_categoryHeight), meth_KCategoryDrawer_categoryHeight, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_drawCategory), meth_KCategoryDrawer_drawCategory, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_leftMargin), meth_KCategoryDrawer_leftMargin, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_rightMargin), meth_KCategoryDrawer_rightMargin, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setLeftMargin), meth_KCategoryDrawer_setLeftMargin, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setRightMargin), meth_KCategoryDrawer_setRightMargin, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KCategoryDrawer = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KCategoryDrawer,
        {0}
    },
    {
        sipNameNr_KCategoryDrawer,
        {0, 0, 1},
        6, methods_KCategoryDrawer,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_type_KCategoryDrawer,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KCategoryDrawer,
    assign_KCategoryDrawer,
    array_KCategoryDrawer,
    copy_KCategoryDrawer,
    release_KCategoryDrawer,
    cast_KCategoryDrawer,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 25 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kcategorizedview.sip"
#include <kcategorizedview.h>
#line 14312 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"

#line 35 "/usr/share/python-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 14316 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 14319 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 14322 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 36 "/usr/share/python-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 14325 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 790 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 14328 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 14331 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 14334 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 14337 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 748 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 14340 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 801 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 14343 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 774 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 14346 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 14349 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 14352 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 261 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 14355 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 14358 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 94 "/usr/share/python-sip/PyQt4/QtGui/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 14361 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 570 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 14364 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 533 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 14367 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 14370 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 25 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kcategorydrawer.sip"
#include <kcategorydrawer.h>
#line 14373 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 127 "/usr/share/python-sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 14376 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 174 "/usr/share/python-sip/PyQt4/QtGui/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 14379 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 14382 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 1135 "/usr/share/python-sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 14385 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 338 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 14388 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qlistview.sip"
#include <qlistview.h>
#line 14391 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 14394 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 656 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 14397 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 274 "/usr/share/python-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 14400 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qabstractitemdelegate.sip"
#include <qabstractitemdelegate.h>
#line 14403 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 483 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 14406 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 514 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 14409 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 34 "/usr/share/python-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 14412 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 14415 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 94 "/usr/share/python-sip/PyQt4/QtGui/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 14418 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 14421 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 14424 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qscrollbar.sip"
#include <qscrollbar.h>
#line 14427 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 627 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 14430 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 356 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 14433 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 39 "/usr/share/python-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 14436 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 14439 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qframe.sip"
#include <qframe.h>
#line 14442 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 14445 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 14448 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 39 "/usr/share/python-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 14451 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 14454 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 14457 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 14460 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 14463 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 37 "/usr/share/python-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 14466 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 14469 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 14472 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 14475 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 14478 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 14481 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 616 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 14484 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 605 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 14487 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 863 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 14490 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 412 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 14493 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 583 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 14496 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 557 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 14499 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 14502 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 61 "/usr/share/python-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 14505 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 39 "/usr/share/python-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 14508 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 14511 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 14514 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 14517 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 14520 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 14523 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 14526 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 14529 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 14532 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 14535 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 14538 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 355 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 14541 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 14544 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 14547 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 14550 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 14553 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 14556 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"


class sipKCategorizedView : public KCategorizedView
{
public:
    sipKCategorizedView(QWidget*);
    virtual ~sipKCategorizedView();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    bool eventFilter(QObject*,QEvent*);
    void languageChange();
    void windowActivationChange(bool);
    void fontChange(const QFont&);
    void paletteChange(const QPalette&);
    void enabledChange(bool);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void closeEvent(QCloseEvent*);
    void moveEvent(QMoveEvent*);
    void enterEvent(QEvent*);
    void keyReleaseEvent(QKeyEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    void setVisible(bool);
    int devType() const;
    void changeEvent(QEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void wheelEvent(QWheelEvent*);
    QSize sizeHint() const;
    QSize minimumSizeHint() const;
    void inputMethodEvent(QInputMethodEvent*);
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void keyPressEvent(QKeyEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    bool viewportEvent(QEvent*);
    QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex&,const QEvent*) const;
    bool edit(const QModelIndex&,QAbstractItemView::EditTrigger,QEvent*);
    void editorDestroyed(QObject*);
    void commitData(QWidget*);
    void closeEditor(QWidget*,QAbstractItemDelegate::EndEditHint);
    void horizontalScrollbarValueChanged(int);
    void verticalScrollbarValueChanged(int);
    void horizontalScrollbarAction(int);
    void verticalScrollbarAction(int);
    void updateEditorGeometries();
    void updateEditorData();
    void selectAll();
    int sizeHintForColumn(int) const;
    int sizeHintForRow(int) const;
    void keyboardSearch(const QString&);
    void setSelectionModel(QItemSelectionModel*);
    void selectionChanged(const QItemSelection&,const QItemSelection&);
    bool isIndexHidden(const QModelIndex&) const;
    QModelIndexList selectedIndexes() const;
    QRegion visualRegionForSelection(const QItemSelection&) const;
    int verticalOffset() const;
    int horizontalOffset() const;
    QStyleOptionViewItem viewOptions() const;
    void timerEvent(QTimerEvent*);
    bool event(QEvent*);
    void scrollContentsBy(int,int);
    void setRootIndex(const QModelIndex&);
    void scrollTo(const QModelIndex&,QAbstractItemView::ScrollHint);
    void rowsAboutToBeRemoved(const QModelIndex&,int,int);
    void dragEnterEvent(QDragEnterEvent*);
    void dataChanged(const QModelIndex&,const QModelIndex&);
    void currentChanged(const QModelIndex&,const QModelIndex&);
    void slotLayoutChanged();
    void updateGeometries();
    void rowsRemoved(const QModelIndex&,int,int);
    void rowsInsertedArtifficial(const QModelIndex&,int,int);
    void rowsInserted(const QModelIndex&,int,int);
    QModelIndex moveCursor(QAbstractItemView::CursorAction,Qt::KeyboardModifiers);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void startDrag(Qt::DropActions);
    void leaveEvent(QEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void setSelection(const QRect&,QItemSelectionModel::SelectionFlags);
    void resizeEvent(QResizeEvent*);
    void paintEvent(QPaintEvent*);
    void reset();
    QModelIndex indexAt(const QPoint&) const;
    QRect visualRect(const QModelIndex&) const;
    void setModel(QAbstractItemModel*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKCategorizedView(const sipKCategorizedView &);
    sipKCategorizedView &operator = (const sipKCategorizedView &);

    char sipPyMethods[89];
};

sipKCategorizedView::sipKCategorizedView(QWidget*a0): KCategorizedView(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKCategorizedView::~sipKCategorizedView()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKCategorizedView::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KCategorizedView);
}

int sipKCategorizedView::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KCategorizedView::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KCategorizedView,_c,_id,_a);

    return _id;
}

void *sipKCategorizedView::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KCategorizedView, _clname)) ? this : KCategorizedView::qt_metacast(_clname);
}

void sipKCategorizedView::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KCategorizedView::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KCategorizedView::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KCategorizedView::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KCategorizedView::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kdeui_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKCategorizedView::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KCategorizedView::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKCategorizedView::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
        KCategorizedView::languageChange();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKCategorizedView::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
        KCategorizedView::windowActivationChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::fontChange(const QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
        KCategorizedView::fontChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QFont&);

    ((sipVH_QtGui_9)(sipModuleAPI_kdeui_QtGui->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::paletteChange(const QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
        KCategorizedView::paletteChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_10)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPalette&);

    ((sipVH_QtGui_10)(sipModuleAPI_kdeui_QtGui->em_virthandlers[10]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
        KCategorizedView::enabledChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKCategorizedView::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return KCategorizedView::metric(a0);

    typedef int (*sipVH_QtGui_14)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_14)(sipModuleAPI_kdeui_QtGui->em_virthandlers[14]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        KCategorizedView::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_kdeui_QtGui->em_virthandlers[0]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        KCategorizedView::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_1)(sipModuleAPI_kdeui_QtGui->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        KCategorizedView::actionEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_19)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    ((sipVH_QtGui_19)(sipModuleAPI_kdeui_QtGui->em_virthandlers[19]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        KCategorizedView::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_20)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_20)(sipModuleAPI_kdeui_QtGui->em_virthandlers[20]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        KCategorizedView::closeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_22)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    ((sipVH_QtGui_22)(sipModuleAPI_kdeui_QtGui->em_virthandlers[22]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        KCategorizedView::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_23)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_23)(sipModuleAPI_kdeui_QtGui->em_virthandlers[23]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        KCategorizedView::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        KCategorizedView::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QPaintEngine* sipKCategorizedView::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[19]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return KCategorizedView::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_27)(sipModuleAPI_kdeui_QtGui->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKCategorizedView::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[20]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return KCategorizedView::heightForWidth(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtGui_28)(sipModuleAPI_kdeui_QtGui->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        KCategorizedView::setVisible(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKCategorizedView::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[22]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return KCategorizedView::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_kdeui_QtCore->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKCategorizedView::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        KCategorizedView::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        KCategorizedView::contextMenuEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_21)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    ((sipVH_QtGui_21)(sipModuleAPI_kdeui_QtGui->em_virthandlers[21]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        KCategorizedView::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_kdeui_QtGui->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QSize sipKCategorizedView::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[26]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return KCategorizedView::sizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

QSize sipKCategorizedView::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[27]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return KCategorizedView::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKCategorizedView::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        KCategorizedView::inputMethodEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_13)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    ((sipVH_QtGui_13)(sipModuleAPI_kdeui_QtGui->em_virthandlers[13]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKCategorizedView::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return KCategorizedView::focusNextPrevChild(a0);

    typedef bool (*sipVH_QtGui_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return ((sipVH_QtGui_11)(sipModuleAPI_kdeui_QtGui->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QVariant sipKCategorizedView::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[30]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return KCategorizedView::inputMethodQuery(a0);

    typedef QVariant (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return ((sipVH_QtGui_12)(sipModuleAPI_kdeui_QtGui->em_virthandlers[12]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        KCategorizedView::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        KCategorizedView::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kdeui_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        KCategorizedView::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kdeui_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        KCategorizedView::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKCategorizedView::viewportEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_viewportEvent);

    if (!sipMeth)
        return KCategorizedView::viewportEvent(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QItemSelectionModel::SelectionFlags sipKCategorizedView::selectionCommand(const QModelIndex& a0,const QEvent*a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[36]),sipPySelf,NULL,sipName_selectionCommand);

    if (!sipMeth)
        return KCategorizedView::selectionCommand(a0,a1);

    typedef QItemSelectionModel::SelectionFlags (*sipVH_QtGui_233)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QEvent*);

    return ((sipVH_QtGui_233)(sipModuleAPI_kdeui_QtGui->em_virthandlers[233]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKCategorizedView::edit(const QModelIndex& a0,QAbstractItemView::EditTrigger a1,QEvent*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_edit);

    if (!sipMeth)
        return KCategorizedView::edit(a0,a1,a2);

    typedef bool (*sipVH_QtGui_234)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,QAbstractItemView::EditTrigger,QEvent*);

    return ((sipVH_QtGui_234)(sipModuleAPI_kdeui_QtGui->em_virthandlers[234]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipKCategorizedView::editorDestroyed(QObject*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_editorDestroyed);

    if (!sipMeth)
    {
        KCategorizedView::editorDestroyed(a0);
        return;
    }

    typedef void (*sipVH_QtGui_235)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*);

    ((sipVH_QtGui_235)(sipModuleAPI_kdeui_QtGui->em_virthandlers[235]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::commitData(QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_commitData);

    if (!sipMeth)
    {
        KCategorizedView::commitData(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*);

    ((sipVH_QtGui_7)(sipModuleAPI_kdeui_QtGui->em_virthandlers[7]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::closeEditor(QWidget*a0,QAbstractItemDelegate::EndEditHint a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_closeEditor);

    if (!sipMeth)
    {
        KCategorizedView::closeEditor(a0,a1);
        return;
    }

    typedef void (*sipVH_QtGui_236)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*,QAbstractItemDelegate::EndEditHint);

    ((sipVH_QtGui_236)(sipModuleAPI_kdeui_QtGui->em_virthandlers[236]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKCategorizedView::horizontalScrollbarValueChanged(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_horizontalScrollbarValueChanged);

    if (!sipMeth)
    {
        KCategorizedView::horizontalScrollbarValueChanged(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_kdeui_QtCore->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::verticalScrollbarValueChanged(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_verticalScrollbarValueChanged);

    if (!sipMeth)
    {
        KCategorizedView::verticalScrollbarValueChanged(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_kdeui_QtCore->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::horizontalScrollbarAction(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_horizontalScrollbarAction);

    if (!sipMeth)
    {
        KCategorizedView::horizontalScrollbarAction(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_kdeui_QtCore->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::verticalScrollbarAction(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_verticalScrollbarAction);

    if (!sipMeth)
    {
        KCategorizedView::verticalScrollbarAction(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_kdeui_QtCore->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::updateEditorGeometries()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_updateEditorGeometries);

    if (!sipMeth)
    {
        KCategorizedView::updateEditorGeometries();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKCategorizedView::updateEditorData()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_updateEditorData);

    if (!sipMeth)
    {
        KCategorizedView::updateEditorData();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKCategorizedView::selectAll()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_selectAll);

    if (!sipMeth)
    {
        KCategorizedView::selectAll();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKCategorizedView::sizeHintForColumn(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[48]),sipPySelf,NULL,sipName_sizeHintForColumn);

    if (!sipMeth)
        return KCategorizedView::sizeHintForColumn(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtGui_28)(sipModuleAPI_kdeui_QtGui->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKCategorizedView::sizeHintForRow(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[49]),sipPySelf,NULL,sipName_sizeHintForRow);

    if (!sipMeth)
        return KCategorizedView::sizeHintForRow(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtGui_28)(sipModuleAPI_kdeui_QtGui->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::keyboardSearch(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_keyboardSearch);

    if (!sipMeth)
    {
        KCategorizedView::keyboardSearch(a0);
        return;
    }

    typedef void (*sipVH_QtCore_33)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    ((sipVH_QtCore_33)(sipModuleAPI_kdeui_QtCore->em_virthandlers[33]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::setSelectionModel(QItemSelectionModel*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_setSelectionModel);

    if (!sipMeth)
    {
        KCategorizedView::setSelectionModel(a0);
        return;
    }

    typedef void (*sipVH_QtGui_37)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QItemSelectionModel*);

    ((sipVH_QtGui_37)(sipModuleAPI_kdeui_QtGui->em_virthandlers[37]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::selectionChanged(const QItemSelection& a0,const QItemSelection& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_selectionChanged);

    if (!sipMeth)
    {
        KCategorizedView::selectionChanged(a0,a1);
        return;
    }

    typedef void (*sipVH_QtGui_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QItemSelection&,const QItemSelection&);

    ((sipVH_QtGui_46)(sipModuleAPI_kdeui_QtGui->em_virthandlers[46]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKCategorizedView::isIndexHidden(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[53]),sipPySelf,NULL,sipName_isIndexHidden);

    if (!sipMeth)
        return KCategorizedView::isIndexHidden(a0);

    typedef bool (*sipVH_QtCore_42)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_42)(sipModuleAPI_kdeui_QtCore->em_virthandlers[42]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QModelIndexList sipKCategorizedView::selectedIndexes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[54]),sipPySelf,NULL,sipName_selectedIndexes);

    if (!sipMeth)
        return KCategorizedView::selectedIndexes();

    typedef QList<QModelIndex> (*sipVH_QtGui_49)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_49)(sipModuleAPI_kdeui_QtGui->em_virthandlers[49]))(sipGILState, 0, sipPySelf, sipMeth);
}

QRegion sipKCategorizedView::visualRegionForSelection(const QItemSelection& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[55]),sipPySelf,NULL,sipName_visualRegionForSelection);

    if (!sipMeth)
        return KCategorizedView::visualRegionForSelection(a0);

    typedef QRegion (*sipVH_QtGui_50)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QItemSelection&);

    return ((sipVH_QtGui_50)(sipModuleAPI_kdeui_QtGui->em_virthandlers[50]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKCategorizedView::verticalOffset() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[56]),sipPySelf,NULL,sipName_verticalOffset);

    if (!sipMeth)
        return KCategorizedView::verticalOffset();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_kdeui_QtCore->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKCategorizedView::horizontalOffset() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[57]),sipPySelf,NULL,sipName_horizontalOffset);

    if (!sipMeth)
        return KCategorizedView::horizontalOffset();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_kdeui_QtCore->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth);
}

QStyleOptionViewItem sipKCategorizedView::viewOptions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[58]),sipPySelf,NULL,sipName_viewOptions);

    if (!sipMeth)
        return KCategorizedView::viewOptions();

    typedef QStyleOptionViewItem (*sipVH_QtGui_71)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_71)(sipModuleAPI_kdeui_QtGui->em_virthandlers[71]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKCategorizedView::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[59],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KCategorizedView::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kdeui_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKCategorizedView::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[60],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KCategorizedView::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::scrollContentsBy(int a0,int a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[61],sipPySelf,NULL,sipName_scrollContentsBy);

    if (!sipMeth)
    {
        KCategorizedView::scrollContentsBy(a0,a1);
        return;
    }

    typedef void (*sipVH_QtGui_32)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int);

    ((sipVH_QtGui_32)(sipModuleAPI_kdeui_QtGui->em_virthandlers[32]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKCategorizedView::setRootIndex(const QModelIndex& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[62],sipPySelf,NULL,sipName_setRootIndex);

    if (!sipMeth)
    {
        KCategorizedView::setRootIndex(a0);
        return;
    }

    typedef void (*sipVH_QtCore_51)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    ((sipVH_QtCore_51)(sipModuleAPI_kdeui_QtCore->em_virthandlers[51]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::scrollTo(const QModelIndex& a0,QAbstractItemView::ScrollHint a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[63],sipPySelf,NULL,sipName_scrollTo);

    if (!sipMeth)
    {
        KCategorizedView::scrollTo(a0,a1);
        return;
    }

    typedef void (*sipVH_QtGui_55)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,QAbstractItemView::ScrollHint);

    ((sipVH_QtGui_55)(sipModuleAPI_kdeui_QtGui->em_virthandlers[55]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKCategorizedView::rowsAboutToBeRemoved(const QModelIndex& a0,int a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[64],sipPySelf,NULL,sipName_rowsAboutToBeRemoved);

    if (!sipMeth)
    {
        KCategorizedView::rowsAboutToBeRemoved(a0,a1,a2);
        return;
    }

    typedef void (*sipVH_QtGui_53)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int,int);

    ((sipVH_QtGui_53)(sipModuleAPI_kdeui_QtGui->em_virthandlers[53]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipKCategorizedView::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[65],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        KCategorizedView::dragEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    ((sipVH_QtGui_18)(sipModuleAPI_kdeui_QtGui->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::dataChanged(const QModelIndex& a0,const QModelIndex& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[66],sipPySelf,NULL,sipName_dataChanged);

    if (!sipMeth)
    {
        KCategorizedView::dataChanged(a0,a1);
        return;
    }

    typedef void (*sipVH_QtGui_45)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QModelIndex&);

    ((sipVH_QtGui_45)(sipModuleAPI_kdeui_QtGui->em_virthandlers[45]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKCategorizedView::currentChanged(const QModelIndex& a0,const QModelIndex& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[67],sipPySelf,NULL,sipName_currentChanged);

    if (!sipMeth)
    {
        KCategorizedView::currentChanged(a0,a1);
        return;
    }

    typedef void (*sipVH_QtGui_45)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QModelIndex&);

    ((sipVH_QtGui_45)(sipModuleAPI_kdeui_QtGui->em_virthandlers[45]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKCategorizedView::slotLayoutChanged()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[68],sipPySelf,NULL,sipName_slotLayoutChanged);

    if (!sipMeth)
    {
        KCategorizedView::slotLayoutChanged();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKCategorizedView::updateGeometries()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[69],sipPySelf,NULL,sipName_updateGeometries);

    if (!sipMeth)
    {
        KCategorizedView::updateGeometries();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKCategorizedView::rowsRemoved(const QModelIndex& a0,int a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[70],sipPySelf,NULL,sipName_rowsRemoved);

    if (!sipMeth)
    {
        KCategorizedView::rowsRemoved(a0,a1,a2);
        return;
    }

    typedef void (*sipVH_QtGui_53)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int,int);

    ((sipVH_QtGui_53)(sipModuleAPI_kdeui_QtGui->em_virthandlers[53]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipKCategorizedView::rowsInsertedArtifficial(const QModelIndex& a0,int a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[71],sipPySelf,NULL,sipName_rowsInsertedArtifficial);

    if (!sipMeth)
    {
        KCategorizedView::rowsInsertedArtifficial(a0,a1,a2);
        return;
    }

    typedef void (*sipVH_QtGui_53)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int,int);

    ((sipVH_QtGui_53)(sipModuleAPI_kdeui_QtGui->em_virthandlers[53]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipKCategorizedView::rowsInserted(const QModelIndex& a0,int a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[72],sipPySelf,NULL,sipName_rowsInserted);

    if (!sipMeth)
    {
        KCategorizedView::rowsInserted(a0,a1,a2);
        return;
    }

    typedef void (*sipVH_QtGui_53)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int,int);

    ((sipVH_QtGui_53)(sipModuleAPI_kdeui_QtGui->em_virthandlers[53]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

QModelIndex sipKCategorizedView::moveCursor(QAbstractItemView::CursorAction a0,Qt::KeyboardModifiers a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[73],sipPySelf,NULL,sipName_moveCursor);

    if (!sipMeth)
        return KCategorizedView::moveCursor(a0,a1);

    typedef QModelIndex (*sipVH_QtGui_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QAbstractItemView::CursorAction,Qt::KeyboardModifiers);

    return ((sipVH_QtGui_52)(sipModuleAPI_kdeui_QtGui->em_virthandlers[52]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKCategorizedView::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[74],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        KCategorizedView::dropEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_15)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    ((sipVH_QtGui_15)(sipModuleAPI_kdeui_QtGui->em_virthandlers[15]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[75],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        KCategorizedView::dragLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_16)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    ((sipVH_QtGui_16)(sipModuleAPI_kdeui_QtGui->em_virthandlers[16]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[76],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        KCategorizedView::dragMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    ((sipVH_QtGui_17)(sipModuleAPI_kdeui_QtGui->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::startDrag(Qt::DropActions a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[77],sipPySelf,NULL,sipName_startDrag);

    if (!sipMeth)
    {
        KCategorizedView::startDrag(a0);
        return;
    }

    typedef void (*sipVH_QtGui_153)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::DropActions);

    ((sipVH_QtGui_153)(sipModuleAPI_kdeui_QtGui->em_virthandlers[153]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[78],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        KCategorizedView::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[79],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        KCategorizedView::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[80],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        KCategorizedView::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[81],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        KCategorizedView::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::setSelection(const QRect& a0,QItemSelectionModel::SelectionFlags a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[82],sipPySelf,NULL,sipName_setSelection);

    if (!sipMeth)
    {
        KCategorizedView::setSelection(a0,a1);
        return;
    }

    typedef void (*sipVH_QtGui_51)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QRect&,QItemSelectionModel::SelectionFlags);

    ((sipVH_QtGui_51)(sipModuleAPI_kdeui_QtGui->em_virthandlers[51]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKCategorizedView::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[83],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        KCategorizedView::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_kdeui_QtGui->em_virthandlers[2]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[84],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        KCategorizedView::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_kdeui_QtGui->em_virthandlers[3]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::reset()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[85],sipPySelf,NULL,sipName_reset);

    if (!sipMeth)
    {
        KCategorizedView::reset();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

QModelIndex sipKCategorizedView::indexAt(const QPoint& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[86]),sipPySelf,NULL,sipName_indexAt);

    if (!sipMeth)
        return KCategorizedView::indexAt(a0);

    typedef QModelIndex (*sipVH_QtGui_54)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPoint&);

    return ((sipVH_QtGui_54)(sipModuleAPI_kdeui_QtGui->em_virthandlers[54]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QRect sipKCategorizedView::visualRect(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[87]),sipPySelf,NULL,sipName_visualRect);

    if (!sipMeth)
        return KCategorizedView::visualRect(a0);

    typedef QRect (*sipVH_QtGui_56)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtGui_56)(sipModuleAPI_kdeui_QtGui->em_virthandlers[56]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::setModel(QAbstractItemModel*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[88],sipPySelf,NULL,sipName_setModel);

    if (!sipMeth)
    {
        KCategorizedView::setModel(a0);
        return;
    }

    typedef void (*sipVH_QtGui_36)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QAbstractItemModel*);

    ((sipVH_QtGui_36)(sipModuleAPI_kdeui_QtGui->em_virthandlers[36]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_KCategorizedView_setModel(PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_setModel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QAbstractItemModel* a0;
        KCategorizedView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QAbstractItemModel, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCategorizedView::setModel(a0) : sipCpp->setModel(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_setModel, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_setGridSize(PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_setGridSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QSize* a0;
        KCategorizedView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QSize, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setGridSize(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_setGridSize, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_visualRect(PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_visualRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        const KCategorizedView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QModelIndex, &a0))
        {
            QRect*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QRect((sipSelfWasArg ? sipCpp->KCategorizedView::visualRect(*a0) : sipCpp->visualRect(*a0)));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_visualRect, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_categoryDrawer(PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_categoryDrawer(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KCategorizedView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCategorizedView, &sipCpp))
        {
            KCategoryDrawer*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->categoryDrawer();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KCategoryDrawer,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_categoryDrawer, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_setCategoryDrawer(PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_setCategoryDrawer(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KCategoryDrawer* a0;
        KCategorizedView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_KCategoryDrawer, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCategoryDrawer(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_setCategoryDrawer, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_indexAt(PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_indexAt(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QPoint* a0;
        const KCategorizedView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QPoint, &a0))
        {
            QModelIndex*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QModelIndex((sipSelfWasArg ? sipCpp->KCategorizedView::indexAt(*a0) : sipCpp->indexAt(*a0)));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_indexAt, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_reset(PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_reset(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KCategorizedView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCategorizedView, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCategorizedView::reset() : sipCpp->reset());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_reset, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_paintEvent(PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_paintEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent* a0;
        KCategorizedView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QPaintEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCategorizedView::paintEvent(a0) : sipCpp->paintEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_paintEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_resizeEvent(PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_resizeEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent* a0;
        KCategorizedView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QResizeEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCategorizedView::resizeEvent(a0) : sipCpp->resizeEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_resizeEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_setSelection(PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_setSelection(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QRect* a0;
        QItemSelectionModel::SelectionFlags* a1;
        int a1State = 0;
        KCategorizedView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9J1", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QRect, &a0, sipType_QItemSelectionModel_SelectionFlags, &a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCategorizedView::setSelection(*a0,*a1) : sipCpp->setSelection(*a0,*a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a1,sipType_QItemSelectionModel_SelectionFlags,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_setSelection, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_mouseMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        KCategorizedView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCategorizedView::mouseMoveEvent(a0) : sipCpp->mouseMoveEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_mouseMoveEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_mousePressEvent(PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        KCategorizedView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCategorizedView::mousePressEvent(a0) : sipCpp->mousePressEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_mousePressEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_mouseReleaseEvent(PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        KCategorizedView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCategorizedView::mouseReleaseEvent(a0) : sipCpp->mouseReleaseEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_mouseReleaseEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_leaveEvent(PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_leaveEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        KCategorizedView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCategorizedView::leaveEvent(a0) : sipCpp->leaveEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_leaveEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_startDrag(PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_startDrag(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Qt::DropActions* a0;
        int a0State = 0;
        KCategorizedView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_Qt_DropActions, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCategorizedView::startDrag(*a0) : sipCpp->startDrag(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_Qt_DropActions,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_startDrag, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_dragMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent* a0;
        KCategorizedView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCategorizedView::dragMoveEvent(a0) : sipCpp->dragMoveEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_dragMoveEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_dragLeaveEvent(PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent* a0;
        KCategorizedView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCategorizedView::dragLeaveEvent(a0) : sipCpp->dragLeaveEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_dragLeaveEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_dropEvent(PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_dropEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent* a0;
        KCategorizedView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QDropEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCategorizedView::dropEvent(a0) : sipCpp->dropEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_dropEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_moveCursor(PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_moveCursor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QAbstractItemView::CursorAction a0;
        Qt::KeyboardModifiers* a1;
        int a1State = 0;
        KCategorizedView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pEJ1", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QAbstractItemView_CursorAction, &a0, sipType_Qt_KeyboardModifiers, &a1, &a1State))
        {
            QModelIndex*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QModelIndex((sipSelfWasArg ? sipCpp->KCategorizedView::moveCursor(a0,*a1) : sipCpp->moveCursor(a0,*a1)));
            Py_END_ALLOW_THREADS
            sipReleaseType(a1,sipType_Qt_KeyboardModifiers,a1State);

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_moveCursor, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_rowsInserted(PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_rowsInserted(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        int a1;
        int a2;
        KCategorizedView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9ii", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCategorizedView::rowsInserted(*a0,a1,a2) : sipCpp->rowsInserted(*a0,a1,a2));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_rowsInserted, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_rowsInsertedArtifficial(PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_rowsInsertedArtifficial(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        int a1;
        int a2;
        KCategorizedView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9ii", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCategorizedView::rowsInsertedArtifficial(*a0,a1,a2) : sipCpp->rowsInsertedArtifficial(*a0,a1,a2));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_rowsInsertedArtifficial, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_rowsRemoved(PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_rowsRemoved(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        int a1;
        int a2;
        KCategorizedView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9ii", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCategorizedView::rowsRemoved(*a0,a1,a2) : sipCpp->rowsRemoved(*a0,a1,a2));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_rowsRemoved, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_updateGeometries(PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_updateGeometries(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KCategorizedView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KCategorizedView, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCategorizedView::updateGeometries() : sipCpp->updateGeometries());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_updateGeometries, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_slotLayoutChanged(PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_slotLayoutChanged(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KCategorizedView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KCategorizedView, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCategorizedView::slotLayoutChanged() : sipCpp->slotLayoutChanged());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_slotLayoutChanged, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_currentChanged(PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_currentChanged(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        const QModelIndex* a1;
        KCategorizedView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9J9", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QModelIndex, &a0, sipType_QModelIndex, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCategorizedView::currentChanged(*a0,*a1) : sipCpp->currentChanged(*a0,*a1));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_currentChanged, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_dataChanged(PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_dataChanged(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        const QModelIndex* a1;
        KCategorizedView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9J9", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QModelIndex, &a0, sipType_QModelIndex, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCategorizedView::dataChanged(*a0,*a1) : sipCpp->dataChanged(*a0,*a1));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_dataChanged, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_setGridSizeOwn(PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_setGridSizeOwn(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QSize* a0;
        KCategorizedView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QSize, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setGridSizeOwn(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_setGridSizeOwn, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_categorySpacing(PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_categorySpacing(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KCategorizedView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCategorizedView, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->categorySpacing();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_categorySpacing, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_setCategorySpacing(PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_setCategorySpacing(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        KCategorizedView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KCategorizedView, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCategorySpacing(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_setCategorySpacing, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_alternatingBlockColors(PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_alternatingBlockColors(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KCategorizedView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCategorizedView, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->alternatingBlockColors();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_alternatingBlockColors, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_setAlternatingBlockColors(PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_setAlternatingBlockColors(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KCategorizedView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KCategorizedView, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAlternatingBlockColors(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_setAlternatingBlockColors, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_collapsibleBlocks(PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_collapsibleBlocks(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KCategorizedView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCategorizedView, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->collapsibleBlocks();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_collapsibleBlocks, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_setCollapsibleBlocks(PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_setCollapsibleBlocks(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KCategorizedView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KCategorizedView, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCollapsibleBlocks(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_setCollapsibleBlocks, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_dragEnterEvent(PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent* a0;
        KCategorizedView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCategorizedView::dragEnterEvent(a0) : sipCpp->dragEnterEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_dragEnterEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_rowsAboutToBeRemoved(PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_rowsAboutToBeRemoved(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        int a1;
        int a2;
        KCategorizedView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9ii", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCategorizedView::rowsAboutToBeRemoved(*a0,a1,a2) : sipCpp->rowsAboutToBeRemoved(*a0,a1,a2));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_rowsAboutToBeRemoved, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_block(PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_block(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KCategorizedView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QString,&a0, &a0State))
        {
            QModelIndexList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QModelIndexList(sipCpp->block(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QList_0100QModelIndex,NULL);
        }
    }

    {
        const QModelIndex* a0;
        KCategorizedView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QModelIndex, &a0))
        {
            QModelIndexList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QModelIndexList(sipCpp->block(*a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QList_0100QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_block, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KCategorizedView(void *, const sipTypeDef *);}
static void *cast_KCategorizedView(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KCategorizedView)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QListView)->ctd_cast((QListView *)(KCategorizedView *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KCategorizedView(void *, int);}
static void release_KCategorizedView(void *sipCppV,int)
{
    KCategorizedView *sipCpp = reinterpret_cast<KCategorizedView *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KCategorizedView(sipSimpleWrapper *);}
static void dealloc_KCategorizedView(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKCategorizedView *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KCategorizedView(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KCategorizedView(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KCategorizedView(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKCategorizedView *sipCpp = 0;

    {
        QWidget* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKCategorizedView(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KCategorizedView[] = {{314, 2, 1}};


static PyMethodDef methods_KCategorizedView[] = {
    {SIP_MLNAME_CAST(sipName_alternatingBlockColors), meth_KCategorizedView_alternatingBlockColors, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_block), meth_KCategorizedView_block, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_categoryDrawer), meth_KCategorizedView_categoryDrawer, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_categorySpacing), meth_KCategorizedView_categorySpacing, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_collapsibleBlocks), meth_KCategorizedView_collapsibleBlocks, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_currentChanged), meth_KCategorizedView_currentChanged, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dataChanged), meth_KCategorizedView_dataChanged, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), meth_KCategorizedView_dragEnterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), meth_KCategorizedView_dragLeaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), meth_KCategorizedView_dragMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), meth_KCategorizedView_dropEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_indexAt), meth_KCategorizedView_indexAt, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), meth_KCategorizedView_leaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), meth_KCategorizedView_mouseMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), meth_KCategorizedView_mousePressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), meth_KCategorizedView_mouseReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_moveCursor), meth_KCategorizedView_moveCursor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), meth_KCategorizedView_paintEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_reset), meth_KCategorizedView_reset, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_KCategorizedView_resizeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_rowsAboutToBeRemoved), meth_KCategorizedView_rowsAboutToBeRemoved, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_rowsInserted), meth_KCategorizedView_rowsInserted, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_rowsInsertedArtifficial), meth_KCategorizedView_rowsInsertedArtifficial, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_rowsRemoved), meth_KCategorizedView_rowsRemoved, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAlternatingBlockColors), meth_KCategorizedView_setAlternatingBlockColors, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCategoryDrawer), meth_KCategorizedView_setCategoryDrawer, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCategorySpacing), meth_KCategorizedView_setCategorySpacing, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCollapsibleBlocks), meth_KCategorizedView_setCollapsibleBlocks, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setGridSize), meth_KCategorizedView_setGridSize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setGridSizeOwn), meth_KCategorizedView_setGridSizeOwn, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setModel), meth_KCategorizedView_setModel, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSelection), meth_KCategorizedView_setSelection, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotLayoutChanged), meth_KCategorizedView_slotLayoutChanged, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_startDrag), meth_KCategorizedView_startDrag, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateGeometries), meth_KCategorizedView_updateGeometries, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_visualRect), meth_KCategorizedView_visualRect, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KCategorizedView = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KCategorizedView,
        {0}
    },
    {
        sipNameNr_KCategorizedView,
        {0, 0, 1},
        36, methods_KCategorizedView,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KCategorizedView,
    0,
    init_type_KCategorizedView,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KCategorizedView,
    0,
    0,
    0,
    release_KCategorizedView,
    cast_KCategorizedView,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KCategorizedView::staticMetaObject,
    0,
    0
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kcategorizedsortfilterproxymodel.sip"
#include <kcategorizedsortfilterproxymodel.h>
#line 17438 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"

#line 34 "/usr/share/python-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 17442 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 17445 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 36 "/usr/share/python-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 17448 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 17451 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 17454 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 36 "/usr/share/python-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 17457 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 17460 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 274 "/usr/share/python-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 17463 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 17466 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 17469 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 17472 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 17475 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 17478 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 174 "/usr/share/python-sip/PyQt4/QtGui/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 17481 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 127 "/usr/share/python-sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 17484 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 144 "/usr/share/python-sip/PyQt4/QtCore/qmap.sip"
#include <qmap.h>
#line 17487 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 17490 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 144 "/usr/share/python-sip/PyQt4/QtCore/qhash.sip"
#include <qhash.h>
#line 17493 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 37 "/usr/share/python-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 17496 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qdatastream.sip"
#include <qdatastream.h>
#line 17499 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 17502 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 355 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 17505 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 338 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 17508 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 17511 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 17514 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 17517 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 17520 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"


class sipKCategorizedSortFilterProxyModel : public KCategorizedSortFilterProxyModel
{
public:
    sipKCategorizedSortFilterProxyModel(QObject*);
    virtual ~sipKCategorizedSortFilterProxyModel();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    bool setItemData(const QModelIndex&,const QMap<int,QVariant>&);
    QMap<int,QVariant> itemData(const QModelIndex&) const;
    void revert();
    bool submit();
    Qt::DropActions supportedDropActions() const;
    QStringList mimeTypes() const;
    QModelIndexList match(const QModelIndex&,int,const QVariant&,int,Qt::MatchFlags) const;
    QSize span(const QModelIndex&) const;
    QModelIndex buddy(const QModelIndex&) const;
    Qt::ItemFlags flags(const QModelIndex&) const;
    bool canFetchMore(const QModelIndex&) const;
    void fetchMore(const QModelIndex&);
    bool removeColumns(int,int,const QModelIndex&);
    bool removeRows(int,int,const QModelIndex&);
    bool insertColumns(int,int,const QModelIndex&);
    bool insertRows(int,int,const QModelIndex&);
    bool dropMimeData(const QMimeData*,Qt::DropAction,int,int,const QModelIndex&);
    QMimeData* mimeData(const QModelIndexList&) const;
    bool setHeaderData(int,Qt::Orientation,const QVariant&,int);
    QVariant headerData(int,Qt::Orientation,int) const;
    bool setData(const QModelIndex&,const QVariant&,int);
    QVariant data(const QModelIndex&,int) const;
    bool hasChildren(const QModelIndex&) const;
    int columnCount(const QModelIndex&) const;
    int rowCount(const QModelIndex&) const;
    QModelIndex parent(const QModelIndex&) const;
    QModelIndex index(int,int,const QModelIndex&) const;
    bool filterAcceptsColumn(int,const QModelIndex&) const;
    bool filterAcceptsRow(int,const QModelIndex&) const;
    QItemSelection mapSelectionFromSource(const QItemSelection&) const;
    QItemSelection mapSelectionToSource(const QItemSelection&) const;
    QModelIndex mapFromSource(const QModelIndex&) const;
    QModelIndex mapToSource(const QModelIndex&) const;
    void setSourceModel(QAbstractItemModel*);
    int compareCategories(const QModelIndex&,const QModelIndex&) const;
    bool subSortLessThan(const QModelIndex&,const QModelIndex&) const;
    bool lessThan(const QModelIndex&,const QModelIndex&) const;
    void sort(int,Qt::SortOrder);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKCategorizedSortFilterProxyModel(const sipKCategorizedSortFilterProxyModel &);
    sipKCategorizedSortFilterProxyModel &operator = (const sipKCategorizedSortFilterProxyModel &);

    char sipPyMethods[45];
};

sipKCategorizedSortFilterProxyModel::sipKCategorizedSortFilterProxyModel(QObject*a0): KCategorizedSortFilterProxyModel(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKCategorizedSortFilterProxyModel::~sipKCategorizedSortFilterProxyModel()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKCategorizedSortFilterProxyModel::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KCategorizedSortFilterProxyModel);
}

int sipKCategorizedSortFilterProxyModel::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KCategorizedSortFilterProxyModel::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KCategorizedSortFilterProxyModel,_c,_id,_a);

    return _id;
}

void *sipKCategorizedSortFilterProxyModel::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KCategorizedSortFilterProxyModel, _clname)) ? this : KCategorizedSortFilterProxyModel::qt_metacast(_clname);
}

void sipKCategorizedSortFilterProxyModel::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KCategorizedSortFilterProxyModel::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCategorizedSortFilterProxyModel::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KCategorizedSortFilterProxyModel::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCategorizedSortFilterProxyModel::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KCategorizedSortFilterProxyModel::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCategorizedSortFilterProxyModel::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KCategorizedSortFilterProxyModel::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kdeui_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCategorizedSortFilterProxyModel::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KCategorizedSortFilterProxyModel::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kdeui_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKCategorizedSortFilterProxyModel::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KCategorizedSortFilterProxyModel::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKCategorizedSortFilterProxyModel::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KCategorizedSortFilterProxyModel::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKCategorizedSortFilterProxyModel::setItemData(const QModelIndex& a0,const QMap<int,QVariant>& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_setItemData);

    if (!sipMeth)
        return KCategorizedSortFilterProxyModel::setItemData(a0,a1);

    typedef bool (*sipVH_QtCore_55)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QMap<int,QVariant>&);

    return ((sipVH_QtCore_55)(sipModuleAPI_kdeui_QtCore->em_virthandlers[55]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

QMap<int,QVariant> sipKCategorizedSortFilterProxyModel::itemData(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_itemData);

    if (!sipMeth)
        return KCategorizedSortFilterProxyModel::itemData(a0);

    typedef QMap<int,QVariant> (*sipVH_QtCore_56)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_56)(sipModuleAPI_kdeui_QtCore->em_virthandlers[56]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCategorizedSortFilterProxyModel::revert()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_revert);

    if (!sipMeth)
    {
        KCategorizedSortFilterProxyModel::revert();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipKCategorizedSortFilterProxyModel::submit()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_submit);

    if (!sipMeth)
        return KCategorizedSortFilterProxyModel::submit();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_kdeui_QtCore->em_virthandlers[7]))(sipGILState, 0, sipPySelf, sipMeth);
}

Qt::DropActions sipKCategorizedSortFilterProxyModel::supportedDropActions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_supportedDropActions);

    if (!sipMeth)
        return KCategorizedSortFilterProxyModel::supportedDropActions();

    typedef Qt::DropActions (*sipVH_QtCore_53)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_53)(sipModuleAPI_kdeui_QtCore->em_virthandlers[53]))(sipGILState, 0, sipPySelf, sipMeth);
}

QStringList sipKCategorizedSortFilterProxyModel::mimeTypes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_mimeTypes);

    if (!sipMeth)
        return KCategorizedSortFilterProxyModel::mimeTypes();

    typedef QStringList (*sipVH_QtCore_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_27)(sipModuleAPI_kdeui_QtCore->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth);
}

QModelIndexList sipKCategorizedSortFilterProxyModel::match(const QModelIndex& a0,int a1,const QVariant& a2,int a3,Qt::MatchFlags a4) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_match);

    if (!sipMeth)
        return KCategorizedSortFilterProxyModel::match(a0,a1,a2,a3,a4);

    typedef QList<QModelIndex> (*sipVH_QtCore_48)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int,const QVariant&,int,Qt::MatchFlags);

    return ((sipVH_QtCore_48)(sipModuleAPI_kdeui_QtCore->em_virthandlers[48]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

QSize sipKCategorizedSortFilterProxyModel::span(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_span);

    if (!sipMeth)
        return KCategorizedSortFilterProxyModel::span(a0);

    typedef QSize (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_47)(sipModuleAPI_kdeui_QtCore->em_virthandlers[47]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QModelIndex sipKCategorizedSortFilterProxyModel::buddy(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[15]),sipPySelf,NULL,sipName_buddy);

    if (!sipMeth)
        return KCategorizedSortFilterProxyModel::buddy(a0);

    typedef QModelIndex (*sipVH_QtCore_44)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_44)(sipModuleAPI_kdeui_QtCore->em_virthandlers[44]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

Qt::ItemFlags sipKCategorizedSortFilterProxyModel::flags(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[16]),sipPySelf,NULL,sipName_flags);

    if (!sipMeth)
        return KCategorizedSortFilterProxyModel::flags(a0);

    typedef Qt::ItemFlags (*sipVH_QtCore_50)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_50)(sipModuleAPI_kdeui_QtCore->em_virthandlers[50]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKCategorizedSortFilterProxyModel::canFetchMore(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[17]),sipPySelf,NULL,sipName_canFetchMore);

    if (!sipMeth)
        return KCategorizedSortFilterProxyModel::canFetchMore(a0);

    typedef bool (*sipVH_QtCore_42)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_42)(sipModuleAPI_kdeui_QtCore->em_virthandlers[42]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCategorizedSortFilterProxyModel::fetchMore(const QModelIndex& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_fetchMore);

    if (!sipMeth)
    {
        KCategorizedSortFilterProxyModel::fetchMore(a0);
        return;
    }

    typedef void (*sipVH_QtCore_51)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    ((sipVH_QtCore_51)(sipModuleAPI_kdeui_QtCore->em_virthandlers[51]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKCategorizedSortFilterProxyModel::removeColumns(int a0,int a1,const QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_removeColumns);

    if (!sipMeth)
        return KCategorizedSortFilterProxyModel::removeColumns(a0,a1,a2);

    typedef bool (*sipVH_QtCore_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);

    return ((sipVH_QtCore_52)(sipModuleAPI_kdeui_QtCore->em_virthandlers[52]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipKCategorizedSortFilterProxyModel::removeRows(int a0,int a1,const QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_removeRows);

    if (!sipMeth)
        return KCategorizedSortFilterProxyModel::removeRows(a0,a1,a2);

    typedef bool (*sipVH_QtCore_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);

    return ((sipVH_QtCore_52)(sipModuleAPI_kdeui_QtCore->em_virthandlers[52]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipKCategorizedSortFilterProxyModel::insertColumns(int a0,int a1,const QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_insertColumns);

    if (!sipMeth)
        return KCategorizedSortFilterProxyModel::insertColumns(a0,a1,a2);

    typedef bool (*sipVH_QtCore_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);

    return ((sipVH_QtCore_52)(sipModuleAPI_kdeui_QtCore->em_virthandlers[52]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipKCategorizedSortFilterProxyModel::insertRows(int a0,int a1,const QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_insertRows);

    if (!sipMeth)
        return KCategorizedSortFilterProxyModel::insertRows(a0,a1,a2);

    typedef bool (*sipVH_QtCore_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);

    return ((sipVH_QtCore_52)(sipModuleAPI_kdeui_QtCore->em_virthandlers[52]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipKCategorizedSortFilterProxyModel::dropMimeData(const QMimeData*a0,Qt::DropAction a1,int a2,int a3,const QModelIndex& a4)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_dropMimeData);

    if (!sipMeth)
        return KCategorizedSortFilterProxyModel::dropMimeData(a0,a1,a2,a3,a4);

    typedef bool (*sipVH_QtCore_45)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMimeData*,Qt::DropAction,int,int,const QModelIndex&);

    return ((sipVH_QtCore_45)(sipModuleAPI_kdeui_QtCore->em_virthandlers[45]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

QMimeData* sipKCategorizedSortFilterProxyModel::mimeData(const QModelIndexList& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[24]),sipPySelf,NULL,sipName_mimeData);

    if (!sipMeth)
        return KCategorizedSortFilterProxyModel::mimeData(a0);

    typedef QMimeData* (*sipVH_QtCore_54)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QList<QModelIndex>&);

    return ((sipVH_QtCore_54)(sipModuleAPI_kdeui_QtCore->em_virthandlers[54]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKCategorizedSortFilterProxyModel::setHeaderData(int a0,Qt::Orientation a1,const QVariant& a2,int a3)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_setHeaderData);

    if (!sipMeth)
        return KCategorizedSortFilterProxyModel::setHeaderData(a0,a1,a2,a3);

    typedef bool (*sipVH_QtCore_57)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,Qt::Orientation,const QVariant&,int);

    return ((sipVH_QtCore_57)(sipModuleAPI_kdeui_QtCore->em_virthandlers[57]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}

QVariant sipKCategorizedSortFilterProxyModel::headerData(int a0,Qt::Orientation a1,int a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[26]),sipPySelf,NULL,sipName_headerData);

    if (!sipMeth)
        return KCategorizedSortFilterProxyModel::headerData(a0,a1,a2);

    typedef QVariant (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,Qt::Orientation,int);

    return ((sipVH_QtCore_58)(sipModuleAPI_kdeui_QtCore->em_virthandlers[58]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipKCategorizedSortFilterProxyModel::setData(const QModelIndex& a0,const QVariant& a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_setData);

    if (!sipMeth)
        return KCategorizedSortFilterProxyModel::setData(a0,a1,a2);

    typedef bool (*sipVH_QtCore_59)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QVariant&,int);

    return ((sipVH_QtCore_59)(sipModuleAPI_kdeui_QtCore->em_virthandlers[59]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

QVariant sipKCategorizedSortFilterProxyModel::data(const QModelIndex& a0,int a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[28]),sipPySelf,NULL,sipName_data);

    if (!sipMeth)
        return KCategorizedSortFilterProxyModel::data(a0,a1);

    typedef QVariant (*sipVH_QtCore_60)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int);

    return ((sipVH_QtCore_60)(sipModuleAPI_kdeui_QtCore->em_virthandlers[60]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKCategorizedSortFilterProxyModel::hasChildren(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[29]),sipPySelf,NULL,sipName_hasChildren);

    if (!sipMeth)
        return KCategorizedSortFilterProxyModel::hasChildren(a0);

    typedef bool (*sipVH_QtCore_42)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_42)(sipModuleAPI_kdeui_QtCore->em_virthandlers[42]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKCategorizedSortFilterProxyModel::columnCount(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[30]),sipPySelf,NULL,sipName_columnCount);

    if (!sipMeth)
        return KCategorizedSortFilterProxyModel::columnCount(a0);

    typedef int (*sipVH_QtCore_43)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_43)(sipModuleAPI_kdeui_QtCore->em_virthandlers[43]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKCategorizedSortFilterProxyModel::rowCount(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[31]),sipPySelf,NULL,sipName_rowCount);

    if (!sipMeth)
        return KCategorizedSortFilterProxyModel::rowCount(a0);

    typedef int (*sipVH_QtCore_43)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_43)(sipModuleAPI_kdeui_QtCore->em_virthandlers[43]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QModelIndex sipKCategorizedSortFilterProxyModel::parent(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[32]),sipPySelf,NULL,sipName_parent);

    if (!sipMeth)
        return KCategorizedSortFilterProxyModel::parent(a0);

    typedef QModelIndex (*sipVH_QtCore_44)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_44)(sipModuleAPI_kdeui_QtCore->em_virthandlers[44]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QModelIndex sipKCategorizedSortFilterProxyModel::index(int a0,int a1,const QModelIndex& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[33]),sipPySelf,NULL,sipName_index);

    if (!sipMeth)
        return KCategorizedSortFilterProxyModel::index(a0,a1,a2);

    typedef QModelIndex (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);

    return ((sipVH_QtCore_46)(sipModuleAPI_kdeui_QtCore->em_virthandlers[46]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipKCategorizedSortFilterProxyModel::filterAcceptsColumn(int a0,const QModelIndex& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_filterAcceptsColumn);

    if (!sipMeth)
        return KCategorizedSortFilterProxyModel::filterAcceptsColumn(a0,a1);

    typedef bool (*sipVH_QtGui_114)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,const QModelIndex&);

    return ((sipVH_QtGui_114)(sipModuleAPI_kdeui_QtGui->em_virthandlers[114]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKCategorizedSortFilterProxyModel::filterAcceptsRow(int a0,const QModelIndex& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[35]),sipPySelf,NULL,sipName_filterAcceptsRow);

    if (!sipMeth)
        return KCategorizedSortFilterProxyModel::filterAcceptsRow(a0,a1);

    typedef bool (*sipVH_QtGui_114)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,const QModelIndex&);

    return ((sipVH_QtGui_114)(sipModuleAPI_kdeui_QtGui->em_virthandlers[114]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

QItemSelection sipKCategorizedSortFilterProxyModel::mapSelectionFromSource(const QItemSelection& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[36]),sipPySelf,NULL,sipName_mapSelectionFromSource);

    if (!sipMeth)
        return KCategorizedSortFilterProxyModel::mapSelectionFromSource(a0);

    typedef QItemSelection (*sipVH_QtGui_115)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QItemSelection&);

    return ((sipVH_QtGui_115)(sipModuleAPI_kdeui_QtGui->em_virthandlers[115]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QItemSelection sipKCategorizedSortFilterProxyModel::mapSelectionToSource(const QItemSelection& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_mapSelectionToSource);

    if (!sipMeth)
        return KCategorizedSortFilterProxyModel::mapSelectionToSource(a0);

    typedef QItemSelection (*sipVH_QtGui_115)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QItemSelection&);

    return ((sipVH_QtGui_115)(sipModuleAPI_kdeui_QtGui->em_virthandlers[115]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QModelIndex sipKCategorizedSortFilterProxyModel::mapFromSource(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,NULL,sipName_mapFromSource);

    if (!sipMeth)
        return KCategorizedSortFilterProxyModel::mapFromSource(a0);

    typedef QModelIndex (*sipVH_QtCore_44)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_44)(sipModuleAPI_kdeui_QtCore->em_virthandlers[44]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QModelIndex sipKCategorizedSortFilterProxyModel::mapToSource(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[39]),sipPySelf,NULL,sipName_mapToSource);

    if (!sipMeth)
        return KCategorizedSortFilterProxyModel::mapToSource(a0);

    typedef QModelIndex (*sipVH_QtCore_44)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_44)(sipModuleAPI_kdeui_QtCore->em_virthandlers[44]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCategorizedSortFilterProxyModel::setSourceModel(QAbstractItemModel*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_setSourceModel);

    if (!sipMeth)
    {
        KCategorizedSortFilterProxyModel::setSourceModel(a0);
        return;
    }

    typedef void (*sipVH_QtGui_36)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QAbstractItemModel*);

    ((sipVH_QtGui_36)(sipModuleAPI_kdeui_QtGui->em_virthandlers[36]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKCategorizedSortFilterProxyModel::compareCategories(const QModelIndex& a0,const QModelIndex& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[41]),sipPySelf,NULL,sipName_compareCategories);

    if (!sipMeth)
        return KCategorizedSortFilterProxyModel::compareCategories(a0,a1);

    extern int sipVH_kdeui_94(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QModelIndex&);

    return sipVH_kdeui_94(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKCategorizedSortFilterProxyModel::subSortLessThan(const QModelIndex& a0,const QModelIndex& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[42]),sipPySelf,NULL,sipName_subSortLessThan);

    if (!sipMeth)
        return KCategorizedSortFilterProxyModel::subSortLessThan(a0,a1);

    typedef bool (*sipVH_QtGui_113)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QModelIndex&);

    return ((sipVH_QtGui_113)(sipModuleAPI_kdeui_QtGui->em_virthandlers[113]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKCategorizedSortFilterProxyModel::lessThan(const QModelIndex& a0,const QModelIndex& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[43]),sipPySelf,NULL,sipName_lessThan);

    if (!sipMeth)
        return KCategorizedSortFilterProxyModel::lessThan(a0,a1);

    typedef bool (*sipVH_QtGui_113)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QModelIndex&);

    return ((sipVH_QtGui_113)(sipModuleAPI_kdeui_QtGui->em_virthandlers[113]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKCategorizedSortFilterProxyModel::sort(int a0,Qt::SortOrder a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_sort);

    if (!sipMeth)
    {
        KCategorizedSortFilterProxyModel::sort(a0,a1);
        return;
    }

    typedef void (*sipVH_QtCore_49)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,Qt::SortOrder);

    ((sipVH_QtCore_49)(sipModuleAPI_kdeui_QtCore->em_virthandlers[49]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}


extern "C" {static PyObject *meth_KCategorizedSortFilterProxyModel_sort(PyObject *, PyObject *);}
static PyObject *meth_KCategorizedSortFilterProxyModel_sort(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        Qt::SortOrder a1 = Qt::AscendingOrder;
        KCategorizedSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi|E", &sipSelf, sipType_KCategorizedSortFilterProxyModel, &sipCpp, &a0, sipType_Qt_SortOrder, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCategorizedSortFilterProxyModel::sort(a0,a1) : sipCpp->sort(a0,a1));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedSortFilterProxyModel, sipName_sort, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedSortFilterProxyModel_isCategorizedModel(PyObject *, PyObject *);}
static PyObject *meth_KCategorizedSortFilterProxyModel_isCategorizedModel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KCategorizedSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCategorizedSortFilterProxyModel, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isCategorizedModel();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedSortFilterProxyModel, sipName_isCategorizedModel, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedSortFilterProxyModel_setCategorizedModel(PyObject *, PyObject *);}
static PyObject *meth_KCategorizedSortFilterProxyModel_setCategorizedModel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KCategorizedSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KCategorizedSortFilterProxyModel, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCategorizedModel(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedSortFilterProxyModel, sipName_setCategorizedModel, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedSortFilterProxyModel_sortColumn(PyObject *, PyObject *);}
static PyObject *meth_KCategorizedSortFilterProxyModel_sortColumn(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KCategorizedSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCategorizedSortFilterProxyModel, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sortColumn();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedSortFilterProxyModel, sipName_sortColumn, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedSortFilterProxyModel_sortOrder(PyObject *, PyObject *);}
static PyObject *meth_KCategorizedSortFilterProxyModel_sortOrder(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KCategorizedSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCategorizedSortFilterProxyModel, &sipCpp))
        {
            Qt::SortOrder sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sortOrder();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_Qt_SortOrder);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedSortFilterProxyModel, sipName_sortOrder, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedSortFilterProxyModel_setSortCategoriesByNaturalComparison(PyObject *, PyObject *);}
static PyObject *meth_KCategorizedSortFilterProxyModel_setSortCategoriesByNaturalComparison(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KCategorizedSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KCategorizedSortFilterProxyModel, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSortCategoriesByNaturalComparison(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedSortFilterProxyModel, sipName_setSortCategoriesByNaturalComparison, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedSortFilterProxyModel_sortCategoriesByNaturalComparison(PyObject *, PyObject *);}
static PyObject *meth_KCategorizedSortFilterProxyModel_sortCategoriesByNaturalComparison(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KCategorizedSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCategorizedSortFilterProxyModel, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sortCategoriesByNaturalComparison();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedSortFilterProxyModel, sipName_sortCategoriesByNaturalComparison, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedSortFilterProxyModel_naturalCompare(PyObject *, PyObject *);}
static PyObject *meth_KCategorizedSortFilterProxyModel_naturalCompare(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1J1", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KCategorizedSortFilterProxyModel::naturalCompare(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedSortFilterProxyModel, sipName_naturalCompare, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedSortFilterProxyModel_lessThan(PyObject *, PyObject *);}
static PyObject *meth_KCategorizedSortFilterProxyModel_lessThan(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        const QModelIndex* a1;
        const KCategorizedSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9J9", &sipSelf, sipType_KCategorizedSortFilterProxyModel, &sipCpp, sipType_QModelIndex, &a0, sipType_QModelIndex, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KCategorizedSortFilterProxyModel::lessThan(*a0,*a1) : sipCpp->lessThan(*a0,*a1));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedSortFilterProxyModel, sipName_lessThan, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedSortFilterProxyModel_subSortLessThan(PyObject *, PyObject *);}
static PyObject *meth_KCategorizedSortFilterProxyModel_subSortLessThan(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        const QModelIndex* a1;
        const KCategorizedSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9J9", &sipSelf, sipType_KCategorizedSortFilterProxyModel, &sipCpp, sipType_QModelIndex, &a0, sipType_QModelIndex, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KCategorizedSortFilterProxyModel::subSortLessThan(*a0,*a1) : sipCpp->subSortLessThan(*a0,*a1));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedSortFilterProxyModel, sipName_subSortLessThan, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedSortFilterProxyModel_compareCategories(PyObject *, PyObject *);}
static PyObject *meth_KCategorizedSortFilterProxyModel_compareCategories(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        const QModelIndex* a1;
        const KCategorizedSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9J9", &sipSelf, sipType_KCategorizedSortFilterProxyModel, &sipCpp, sipType_QModelIndex, &a0, sipType_QModelIndex, &a1))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KCategorizedSortFilterProxyModel::compareCategories(*a0,*a1) : sipCpp->compareCategories(*a0,*a1));
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedSortFilterProxyModel, sipName_compareCategories, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KCategorizedSortFilterProxyModel(void *, const sipTypeDef *);}
static void *cast_KCategorizedSortFilterProxyModel(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KCategorizedSortFilterProxyModel)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QSortFilterProxyModel)->ctd_cast((QSortFilterProxyModel *)(KCategorizedSortFilterProxyModel *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KCategorizedSortFilterProxyModel(void *, int);}
static void release_KCategorizedSortFilterProxyModel(void *sipCppV,int)
{
    KCategorizedSortFilterProxyModel *sipCpp = reinterpret_cast<KCategorizedSortFilterProxyModel *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KCategorizedSortFilterProxyModel(sipSimpleWrapper *);}
static void dealloc_KCategorizedSortFilterProxyModel(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKCategorizedSortFilterProxyModel *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KCategorizedSortFilterProxyModel(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KCategorizedSortFilterProxyModel(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KCategorizedSortFilterProxyModel(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKCategorizedSortFilterProxyModel *sipCpp = 0;

    {
        QObject* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKCategorizedSortFilterProxyModel(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KCategorizedSortFilterProxyModel[] = {{455, 2, 1}};


static PyMethodDef methods_KCategorizedSortFilterProxyModel[] = {
    {SIP_MLNAME_CAST(sipName_compareCategories), meth_KCategorizedSortFilterProxyModel_compareCategories, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isCategorizedModel), meth_KCategorizedSortFilterProxyModel_isCategorizedModel, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_lessThan), meth_KCategorizedSortFilterProxyModel_lessThan, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_naturalCompare), meth_KCategorizedSortFilterProxyModel_naturalCompare, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCategorizedModel), meth_KCategorizedSortFilterProxyModel_setCategorizedModel, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSortCategoriesByNaturalComparison), meth_KCategorizedSortFilterProxyModel_setSortCategoriesByNaturalComparison, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sort), meth_KCategorizedSortFilterProxyModel_sort, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sortCategoriesByNaturalComparison), meth_KCategorizedSortFilterProxyModel_sortCategoriesByNaturalComparison, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sortColumn), meth_KCategorizedSortFilterProxyModel_sortColumn, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sortOrder), meth_KCategorizedSortFilterProxyModel_sortOrder, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_subSortLessThan), meth_KCategorizedSortFilterProxyModel_subSortLessThan, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KCategorizedSortFilterProxyModel[] = {
    {sipName_CategoryDisplayRole, static_cast<int>(KCategorizedSortFilterProxyModel::CategoryDisplayRole), 31},
    {sipName_CategorySortRole, static_cast<int>(KCategorizedSortFilterProxyModel::CategorySortRole), 31},
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KCategorizedSortFilterProxyModel = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KCategorizedSortFilterProxyModel,
        {0}
    },
    {
        sipNameNr_KCategorizedSortFilterProxyModel,
        {0, 0, 1},
        11, methods_KCategorizedSortFilterProxyModel,
        2, enummembers_KCategorizedSortFilterProxyModel,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KCategorizedSortFilterProxyModel,
    0,
    init_type_KCategorizedSortFilterProxyModel,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KCategorizedSortFilterProxyModel,
    0,
    0,
    0,
    release_KCategorizedSortFilterProxyModel,
    cast_KCategorizedSortFilterProxyModel,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KCategorizedSortFilterProxyModel::staticMetaObject,
    0,
    0
};

#line 24 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kcapacitybar.sip"
#include <kcapacitybar.h>
#line 18789 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"

#line 35 "/usr/share/python-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 18793 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 18796 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 533 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 18799 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 18802 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 18805 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 18808 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 18811 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 36 "/usr/share/python-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 18814 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 18817 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 39 "/usr/share/python-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 18820 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 18823 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 18826 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 39 "/usr/share/python-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 18829 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 18832 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 18835 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 18838 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 18841 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 18844 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 18847 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 37 "/usr/share/python-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 18850 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 18853 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 18856 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 18859 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 18862 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 18865 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 274 "/usr/share/python-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 18868 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 656 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 18871 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 616 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 18874 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 605 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 18877 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 748 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 18880 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 801 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 18883 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 774 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 18886 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 790 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 18889 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 863 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 18892 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 412 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 18895 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 627 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 18898 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 583 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 18901 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 570 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 18904 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 557 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 18907 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 514 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 18910 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 483 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 18913 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 356 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 18916 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 261 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 18919 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 18922 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 61 "/usr/share/python-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 18925 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 39 "/usr/share/python-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 18928 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 18931 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 18934 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 18937 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 18940 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 18943 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 18946 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 18949 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 18952 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 18955 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 18958 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 355 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 18961 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 338 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 18964 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 34 "/usr/share/python-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 18967 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 18970 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 18973 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 18976 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 18979 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 18982 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"


class sipKCapacityBar : public KCapacityBar
{
public:
    sipKCapacityBar(KCapacityBar::DrawTextMode,QWidget*);
    virtual ~sipKCapacityBar();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    void languageChange();
    void windowActivationChange(bool);
    void fontChange(const QFont&);
    void paletteChange(const QPalette&);
    void enabledChange(bool);
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void closeEvent(QCloseEvent*);
    void resizeEvent(QResizeEvent*);
    void moveEvent(QMoveEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    bool event(QEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    QSize sizeHint() const;
    void setVisible(bool);
    int devType() const;
    void changeEvent(QEvent*);
    void paintEvent(QPaintEvent*);
    QSize minimumSizeHint() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKCapacityBar(const sipKCapacityBar &);
    sipKCapacityBar &operator = (const sipKCapacityBar &);

    char sipPyMethods[47];
};

sipKCapacityBar::sipKCapacityBar(KCapacityBar::DrawTextMode a0,QWidget*a1): KCapacityBar(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKCapacityBar::~sipKCapacityBar()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKCapacityBar::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KCapacityBar);
}

int sipKCapacityBar::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KCapacityBar::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KCapacityBar,_c,_id,_a);

    return _id;
}

void *sipKCapacityBar::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KCapacityBar, _clname)) ? this : KCapacityBar::qt_metacast(_clname);
}

void sipKCapacityBar::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KCapacityBar::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCapacityBar::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KCapacityBar::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCapacityBar::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KCapacityBar::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCapacityBar::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KCapacityBar::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kdeui_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCapacityBar::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KCapacityBar::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kdeui_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKCapacityBar::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KCapacityBar::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKCapacityBar::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
        KCapacityBar::languageChange();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKCapacityBar::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
        KCapacityBar::windowActivationChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCapacityBar::fontChange(const QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
        KCapacityBar::fontChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QFont&);

    ((sipVH_QtGui_9)(sipModuleAPI_kdeui_QtGui->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCapacityBar::paletteChange(const QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
        KCapacityBar::paletteChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_10)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPalette&);

    ((sipVH_QtGui_10)(sipModuleAPI_kdeui_QtGui->em_virthandlers[10]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCapacityBar::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
        KCapacityBar::enabledChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKCapacityBar::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return KCapacityBar::focusNextPrevChild(a0);

    typedef bool (*sipVH_QtGui_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return ((sipVH_QtGui_11)(sipModuleAPI_kdeui_QtGui->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QVariant sipKCapacityBar::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return KCapacityBar::inputMethodQuery(a0);

    typedef QVariant (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return ((sipVH_QtGui_12)(sipModuleAPI_kdeui_QtGui->em_virthandlers[12]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCapacityBar::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        KCapacityBar::inputMethodEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_13)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    ((sipVH_QtGui_13)(sipModuleAPI_kdeui_QtGui->em_virthandlers[13]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKCapacityBar::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return KCapacityBar::metric(a0);

    typedef int (*sipVH_QtGui_14)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_14)(sipModuleAPI_kdeui_QtGui->em_virthandlers[14]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCapacityBar::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        KCapacityBar::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_kdeui_QtGui->em_virthandlers[0]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCapacityBar::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        KCapacityBar::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_1)(sipModuleAPI_kdeui_QtGui->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCapacityBar::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        KCapacityBar::dropEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_15)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    ((sipVH_QtGui_15)(sipModuleAPI_kdeui_QtGui->em_virthandlers[15]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCapacityBar::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        KCapacityBar::dragLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_16)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    ((sipVH_QtGui_16)(sipModuleAPI_kdeui_QtGui->em_virthandlers[16]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCapacityBar::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        KCapacityBar::dragMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    ((sipVH_QtGui_17)(sipModuleAPI_kdeui_QtGui->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCapacityBar::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        KCapacityBar::dragEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    ((sipVH_QtGui_18)(sipModuleAPI_kdeui_QtGui->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCapacityBar::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        KCapacityBar::actionEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_19)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    ((sipVH_QtGui_19)(sipModuleAPI_kdeui_QtGui->em_virthandlers[19]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCapacityBar::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        KCapacityBar::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_20)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_20)(sipModuleAPI_kdeui_QtGui->em_virthandlers[20]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCapacityBar::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        KCapacityBar::contextMenuEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_21)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    ((sipVH_QtGui_21)(sipModuleAPI_kdeui_QtGui->em_virthandlers[21]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCapacityBar::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        KCapacityBar::closeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_22)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    ((sipVH_QtGui_22)(sipModuleAPI_kdeui_QtGui->em_virthandlers[22]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCapacityBar::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        KCapacityBar::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_kdeui_QtGui->em_virthandlers[2]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCapacityBar::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        KCapacityBar::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_23)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_23)(sipModuleAPI_kdeui_QtGui->em_virthandlers[23]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCapacityBar::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        KCapacityBar::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCapacityBar::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        KCapacityBar::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCapacityBar::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        KCapacityBar::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kdeui_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCapacityBar::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        KCapacityBar::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kdeui_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCapacityBar::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        KCapacityBar::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCapacityBar::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        KCapacityBar::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCapacityBar::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        KCapacityBar::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_kdeui_QtGui->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCapacityBar::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        KCapacityBar::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCapacityBar::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        KCapacityBar::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCapacityBar::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        KCapacityBar::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCapacityBar::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        KCapacityBar::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKCapacityBar::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KCapacityBar::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QPaintEngine* sipKCapacityBar::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[39]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return KCapacityBar::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_27)(sipModuleAPI_kdeui_QtGui->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKCapacityBar::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[40]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return KCapacityBar::heightForWidth(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtGui_28)(sipModuleAPI_kdeui_QtGui->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QSize sipKCapacityBar::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[41]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return KCapacityBar::sizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKCapacityBar::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        KCapacityBar::setVisible(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKCapacityBar::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[43]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return KCapacityBar::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_kdeui_QtCore->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKCapacityBar::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        KCapacityBar::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCapacityBar::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        KCapacityBar::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_kdeui_QtGui->em_virthandlers[3]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QSize sipKCapacityBar::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[46]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return KCapacityBar::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}


extern "C" {static PyObject *meth_KCapacityBar_setValue(PyObject *, PyObject *);}
static PyObject *meth_KCapacityBar_setValue(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        KCapacityBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KCapacityBar, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setValue(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCapacityBar, sipName_setValue, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCapacityBar_value(PyObject *, PyObject *);}
static PyObject *meth_KCapacityBar_value(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KCapacityBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCapacityBar, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->value();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCapacityBar, sipName_value, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCapacityBar_setText(PyObject *, PyObject *);}
static PyObject *meth_KCapacityBar_setText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KCapacityBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KCapacityBar, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setText(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCapacityBar, sipName_setText, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCapacityBar_text(PyObject *, PyObject *);}
static PyObject *meth_KCapacityBar_text(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KCapacityBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCapacityBar, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->text());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCapacityBar, sipName_text, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCapacityBar_setFillFullBlocks(PyObject *, PyObject *);}
static PyObject *meth_KCapacityBar_setFillFullBlocks(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KCapacityBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KCapacityBar, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setFillFullBlocks(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCapacityBar, sipName_setFillFullBlocks, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCapacityBar_fillFullBlocks(PyObject *, PyObject *);}
static PyObject *meth_KCapacityBar_fillFullBlocks(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KCapacityBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCapacityBar, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->fillFullBlocks();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCapacityBar, sipName_fillFullBlocks, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCapacityBar_setContinuous(PyObject *, PyObject *);}
static PyObject *meth_KCapacityBar_setContinuous(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KCapacityBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KCapacityBar, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setContinuous(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCapacityBar, sipName_setContinuous, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCapacityBar_continuous(PyObject *, PyObject *);}
static PyObject *meth_KCapacityBar_continuous(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KCapacityBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCapacityBar, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->continuous();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCapacityBar, sipName_continuous, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCapacityBar_setBarHeight(PyObject *, PyObject *);}
static PyObject *meth_KCapacityBar_setBarHeight(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        KCapacityBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KCapacityBar, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setBarHeight(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCapacityBar, sipName_setBarHeight, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCapacityBar_barHeight(PyObject *, PyObject *);}
static PyObject *meth_KCapacityBar_barHeight(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KCapacityBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCapacityBar, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->barHeight();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCapacityBar, sipName_barHeight, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCapacityBar_setHorizontalTextAlignment(PyObject *, PyObject *);}
static PyObject *meth_KCapacityBar_setHorizontalTextAlignment(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::Alignment* a0;
        int a0State = 0;
        KCapacityBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KCapacityBar, &sipCpp, sipType_Qt_Alignment, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setHorizontalTextAlignment(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_Qt_Alignment,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCapacityBar, sipName_setHorizontalTextAlignment, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCapacityBar_horizontalTextAlignment(PyObject *, PyObject *);}
static PyObject *meth_KCapacityBar_horizontalTextAlignment(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KCapacityBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCapacityBar, &sipCpp))
        {
            Qt::Alignment*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::Alignment(sipCpp->horizontalTextAlignment());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_Qt_Alignment,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCapacityBar, sipName_horizontalTextAlignment, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCapacityBar_drawCapacityBar(PyObject *, PyObject *);}
static PyObject *meth_KCapacityBar_drawCapacityBar(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QPainter* a0;
        const QRect* a1;
        const KCapacityBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J9", &sipSelf, sipType_KCapacityBar, &sipCpp, sipType_QPainter, &a0, sipType_QRect, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->drawCapacityBar(a0,*a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCapacityBar, sipName_drawCapacityBar, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCapacityBar_minimumSizeHint(PyObject *, PyObject *);}
static PyObject *meth_KCapacityBar_minimumSizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KCapacityBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCapacityBar, &sipCpp))
        {
            QSize*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSize((sipSelfWasArg ? sipCpp->KCapacityBar::minimumSizeHint() : sipCpp->minimumSizeHint()));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCapacityBar, sipName_minimumSizeHint, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCapacityBar_paintEvent(PyObject *, PyObject *);}
static PyObject *meth_KCapacityBar_paintEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent* a0;
        KCapacityBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KCapacityBar, &sipCpp, sipType_QPaintEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCapacityBar::paintEvent(a0) : sipCpp->paintEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCapacityBar, sipName_paintEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCapacityBar_changeEvent(PyObject *, PyObject *);}
static PyObject *meth_KCapacityBar_changeEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        KCapacityBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KCapacityBar, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCapacityBar::changeEvent(a0) : sipCpp->changeEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCapacityBar, sipName_changeEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCapacityBar_setDrawTextMode(PyObject *, PyObject *);}
static PyObject *meth_KCapacityBar_setDrawTextMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KCapacityBar::DrawTextMode a0;
        KCapacityBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KCapacityBar, &sipCpp, sipType_KCapacityBar_DrawTextMode, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDrawTextMode(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCapacityBar, sipName_setDrawTextMode, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCapacityBar_drawTextMode(PyObject *, PyObject *);}
static PyObject *meth_KCapacityBar_drawTextMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KCapacityBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCapacityBar, &sipCpp))
        {
            KCapacityBar::DrawTextMode sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->drawTextMode();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KCapacityBar_DrawTextMode);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCapacityBar, sipName_drawTextMode, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KCapacityBar(void *, const sipTypeDef *);}
static void *cast_KCapacityBar(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KCapacityBar)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QWidget)->ctd_cast((QWidget *)(KCapacityBar *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KCapacityBar(void *, int);}
static void release_KCapacityBar(void *sipCppV,int)
{
    KCapacityBar *sipCpp = reinterpret_cast<KCapacityBar *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KCapacityBar(sipSimpleWrapper *);}
static void dealloc_KCapacityBar(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKCapacityBar *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KCapacityBar(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KCapacityBar(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KCapacityBar(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKCapacityBar *sipCpp = 0;

    {
        KCapacityBar::DrawTextMode a0 = KCapacityBar::DrawTextOutline;
        QWidget* a1 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|EJH", sipType_KCapacityBar_DrawTextMode, &a0, sipType_QWidget, &a1, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKCapacityBar(a0,a1);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KCapacityBar[] = {{755, 2, 1}};


static PyMethodDef methods_KCapacityBar[] = {
    {SIP_MLNAME_CAST(sipName_barHeight), meth_KCapacityBar_barHeight, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_changeEvent), meth_KCapacityBar_changeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_continuous), meth_KCapacityBar_continuous, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_drawCapacityBar), meth_KCapacityBar_drawCapacityBar, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_drawTextMode), meth_KCapacityBar_drawTextMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fillFullBlocks), meth_KCapacityBar_fillFullBlocks, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_horizontalTextAlignment), meth_KCapacityBar_horizontalTextAlignment, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_minimumSizeHint), meth_KCapacityBar_minimumSizeHint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), meth_KCapacityBar_paintEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setBarHeight), meth_KCapacityBar_setBarHeight, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setContinuous), meth_KCapacityBar_setContinuous, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDrawTextMode), meth_KCapacityBar_setDrawTextMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setFillFullBlocks), meth_KCapacityBar_setFillFullBlocks, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setHorizontalTextAlignment), meth_KCapacityBar_setHorizontalTextAlignment, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setText), meth_KCapacityBar_setText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setValue), meth_KCapacityBar_setValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_text), meth_KCapacityBar_text, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_value), meth_KCapacityBar_value, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KCapacityBar[] = {
    {sipName_DrawTextInline, static_cast<int>(KCapacityBar::DrawTextInline), 29},
    {sipName_DrawTextOutline, static_cast<int>(KCapacityBar::DrawTextOutline), 29},
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KCapacityBar = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KCapacityBar,
        {0}
    },
    {
        sipNameNr_KCapacityBar,
        {0, 0, 1},
        18, methods_KCapacityBar,
        2, enummembers_KCapacityBar,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KCapacityBar,
    0,
    init_type_KCapacityBar,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KCapacityBar,
    0,
    0,
    0,
    release_KCapacityBar,
    cast_KCapacityBar,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KCapacityBar::staticMetaObject,
    0,
    0
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kbuttongroup.sip"
#include <kbuttongroup.h>
#line 20556 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"

#line 35 "/usr/share/python-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 20560 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 355 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 20563 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qabstractbutton.sip"
#include <qabstractbutton.h>
#line 20566 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 261 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 20569 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 20572 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 514 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 20575 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 533 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 20578 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 570 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 20581 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 1853 "/usr/share/python-sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 20584 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 20587 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 20590 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 36 "/usr/share/python-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 20593 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 20596 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 39 "/usr/share/python-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 20599 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 20602 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 20605 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 39 "/usr/share/python-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 20608 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 20611 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 20614 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 20617 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 20620 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 20623 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 20626 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 20629 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 37 "/usr/share/python-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 20632 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 20635 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 20638 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 20641 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 20644 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 20647 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 20650 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 274 "/usr/share/python-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 20653 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 656 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 20656 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 616 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 20659 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 605 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 20662 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 748 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 20665 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 801 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 20668 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 774 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 20671 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 790 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 20674 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 863 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 20677 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 412 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 20680 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 627 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 20683 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 583 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 20686 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 557 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 20689 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 483 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 20692 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 356 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 20695 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 20698 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 61 "/usr/share/python-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 20701 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 39 "/usr/share/python-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 20704 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 20707 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 20710 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 20713 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 20716 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 20719 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 20722 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 20725 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 20728 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 20731 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 20734 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 338 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 20737 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 34 "/usr/share/python-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 20740 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 20743 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 20746 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 20749 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 20752 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 20755 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"


class sipKButtonGroup : public KButtonGroup
{
public:
    sipKButtonGroup(QWidget*);
    virtual ~sipKButtonGroup();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    void languageChange();
    void windowActivationChange(bool);
    void fontChange(const QFont&);
    void paletteChange(const QPalette&);
    void enabledChange(bool);
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void closeEvent(QCloseEvent*);
    void moveEvent(QMoveEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    QSize sizeHint() const;
    void setVisible(bool);
    int devType() const;
    void mouseReleaseEvent(QMouseEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    void changeEvent(QEvent*);
    void focusInEvent(QFocusEvent*);
    void paintEvent(QPaintEvent*);
    void resizeEvent(QResizeEvent*);
    bool event(QEvent*);
    QSize minimumSizeHint() const;
    void childEvent(QChildEvent*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKButtonGroup(const sipKButtonGroup &);
    sipKButtonGroup &operator = (const sipKButtonGroup &);

    char sipPyMethods[47];
};

sipKButtonGroup::sipKButtonGroup(QWidget*a0): KButtonGroup(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKButtonGroup::~sipKButtonGroup()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKButtonGroup::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KButtonGroup);
}

int sipKButtonGroup::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KButtonGroup::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KButtonGroup,_c,_id,_a);

    return _id;
}

void *sipKButtonGroup::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KButtonGroup, _clname)) ? this : KButtonGroup::qt_metacast(_clname);
}

void sipKButtonGroup::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KButtonGroup::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKButtonGroup::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KButtonGroup::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKButtonGroup::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KButtonGroup::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKButtonGroup::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KButtonGroup::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kdeui_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKButtonGroup::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KButtonGroup::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKButtonGroup::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
        KButtonGroup::languageChange();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKButtonGroup::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
        KButtonGroup::windowActivationChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKButtonGroup::fontChange(const QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
        KButtonGroup::fontChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QFont&);

    ((sipVH_QtGui_9)(sipModuleAPI_kdeui_QtGui->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKButtonGroup::paletteChange(const QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
        KButtonGroup::paletteChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_10)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPalette&);

    ((sipVH_QtGui_10)(sipModuleAPI_kdeui_QtGui->em_virthandlers[10]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKButtonGroup::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
        KButtonGroup::enabledChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKButtonGroup::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return KButtonGroup::focusNextPrevChild(a0);

    typedef bool (*sipVH_QtGui_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return ((sipVH_QtGui_11)(sipModuleAPI_kdeui_QtGui->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QVariant sipKButtonGroup::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return KButtonGroup::inputMethodQuery(a0);

    typedef QVariant (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return ((sipVH_QtGui_12)(sipModuleAPI_kdeui_QtGui->em_virthandlers[12]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKButtonGroup::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        KButtonGroup::inputMethodEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_13)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    ((sipVH_QtGui_13)(sipModuleAPI_kdeui_QtGui->em_virthandlers[13]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKButtonGroup::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return KButtonGroup::metric(a0);

    typedef int (*sipVH_QtGui_14)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_14)(sipModuleAPI_kdeui_QtGui->em_virthandlers[14]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKButtonGroup::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        KButtonGroup::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_kdeui_QtGui->em_virthandlers[0]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKButtonGroup::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        KButtonGroup::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_1)(sipModuleAPI_kdeui_QtGui->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKButtonGroup::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        KButtonGroup::dropEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_15)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    ((sipVH_QtGui_15)(sipModuleAPI_kdeui_QtGui->em_virthandlers[15]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKButtonGroup::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        KButtonGroup::dragLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_16)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    ((sipVH_QtGui_16)(sipModuleAPI_kdeui_QtGui->em_virthandlers[16]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKButtonGroup::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        KButtonGroup::dragMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    ((sipVH_QtGui_17)(sipModuleAPI_kdeui_QtGui->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKButtonGroup::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        KButtonGroup::dragEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    ((sipVH_QtGui_18)(sipModuleAPI_kdeui_QtGui->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKButtonGroup::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        KButtonGroup::actionEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_19)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    ((sipVH_QtGui_19)(sipModuleAPI_kdeui_QtGui->em_virthandlers[19]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKButtonGroup::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        KButtonGroup::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_20)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_20)(sipModuleAPI_kdeui_QtGui->em_virthandlers[20]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKButtonGroup::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        KButtonGroup::contextMenuEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_21)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    ((sipVH_QtGui_21)(sipModuleAPI_kdeui_QtGui->em_virthandlers[21]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKButtonGroup::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        KButtonGroup::closeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_22)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    ((sipVH_QtGui_22)(sipModuleAPI_kdeui_QtGui->em_virthandlers[22]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKButtonGroup::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        KButtonGroup::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_23)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_23)(sipModuleAPI_kdeui_QtGui->em_virthandlers[23]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKButtonGroup::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        KButtonGroup::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKButtonGroup::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        KButtonGroup::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKButtonGroup::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        KButtonGroup::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kdeui_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKButtonGroup::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        KButtonGroup::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKButtonGroup::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        KButtonGroup::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKButtonGroup::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        KButtonGroup::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_kdeui_QtGui->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKButtonGroup::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        KButtonGroup::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QPaintEngine* sipKButtonGroup::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[32]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return KButtonGroup::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_27)(sipModuleAPI_kdeui_QtGui->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKButtonGroup::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[33]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return KButtonGroup::heightForWidth(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtGui_28)(sipModuleAPI_kdeui_QtGui->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QSize sipKButtonGroup::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return KButtonGroup::sizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKButtonGroup::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        KButtonGroup::setVisible(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKButtonGroup::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[36]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return KButtonGroup::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_kdeui_QtCore->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKButtonGroup::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        KButtonGroup::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKButtonGroup::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        KButtonGroup::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKButtonGroup::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        KButtonGroup::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKButtonGroup::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        KButtonGroup::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKButtonGroup::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        KButtonGroup::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kdeui_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKButtonGroup::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        KButtonGroup::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_kdeui_QtGui->em_virthandlers[3]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKButtonGroup::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        KButtonGroup::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_kdeui_QtGui->em_virthandlers[2]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKButtonGroup::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KButtonGroup::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QSize sipKButtonGroup::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[45]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return KButtonGroup::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKButtonGroup::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KButtonGroup::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kdeui_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_KButtonGroup_selected(PyObject *, PyObject *);}
static PyObject *meth_KButtonGroup_selected(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KButtonGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KButtonGroup, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->selected();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KButtonGroup, sipName_selected, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KButtonGroup_id(PyObject *, PyObject *);}
static PyObject *meth_KButtonGroup_id(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAbstractButton* a0;
        const KButtonGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KButtonGroup, &sipCpp, sipType_QAbstractButton, &a0))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->id(a0);
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KButtonGroup, sipName_id, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KButtonGroup_setSelected(PyObject *, PyObject *);}
static PyObject *meth_KButtonGroup_setSelected(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        KButtonGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KButtonGroup, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSelected(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KButtonGroup, sipName_setSelected, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KButtonGroup_childEvent(PyObject *, PyObject *);}
static PyObject *meth_KButtonGroup_childEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        KButtonGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KButtonGroup, &sipCpp, sipType_QChildEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KButtonGroup::childEvent(a0) : sipCpp->childEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KButtonGroup, sipName_childEvent, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KButtonGroup(void *, const sipTypeDef *);}
static void *cast_KButtonGroup(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KButtonGroup)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QGroupBox)->ctd_cast((QGroupBox *)(KButtonGroup *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KButtonGroup(void *, int);}
static void release_KButtonGroup(void *sipCppV,int)
{
    KButtonGroup *sipCpp = reinterpret_cast<KButtonGroup *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KButtonGroup(sipSimpleWrapper *);}
static void dealloc_KButtonGroup(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKButtonGroup *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KButtonGroup(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KButtonGroup(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KButtonGroup(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKButtonGroup *sipCpp = 0;

    {
        QWidget* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKButtonGroup(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KButtonGroup[] = {{220, 2, 1}};


static PyMethodDef methods_KButtonGroup[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), meth_KButtonGroup_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_id), meth_KButtonGroup_id, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_selected), meth_KButtonGroup_selected, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSelected), meth_KButtonGroup_setSelected, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KButtonGroup[] = {
    {"changed(int)", 0, 0, 0},
    {"released(int)", 0, 0, 0},
    {"pressed(int)", 0, 0, 0},
    {"clicked(int)", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KButtonGroup = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KButtonGroup,
        {0}
    },
    {
        sipNameNr_KButtonGroup,
        {0, 0, 1},
        4, methods_KButtonGroup,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KButtonGroup,
    0,
    init_type_KButtonGroup,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KButtonGroup,
    0,
    0,
    0,
    release_KButtonGroup,
    cast_KButtonGroup,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KButtonGroup::staticMetaObject,
    0,
    signals_KButtonGroup,
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kbugreport.sip"
#include <kbugreport.h>
#line 21935 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"

#line 35 "/usr/share/python-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 21939 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 56 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdecore/kaboutdata.sip"
#include <kaboutdata.h>
#line 21942 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 583 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21945 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 36 "/usr/share/python-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 21948 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 483 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21951 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 616 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21954 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 21957 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 21960 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 21963 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 21966 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 21969 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kpushbutton.sip"
#include <kpushbutton.h>
#line 21972 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 32 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 21975 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdecore/kconfigbase.sip"
#include <kconfigbase.h>
#line 21978 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qmenu.sip"
#include <qmenu.h>
#line 21981 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kguiitem.sip"
#include <kguiitem.h>
#line 21984 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 33 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kicon.sip"
#include <kicon.h>
#line 21987 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 21990 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 21993 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 34 "/usr/share/python-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 21996 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 21999 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 627 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22002 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 570 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22005 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 605 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22008 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 22011 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 39 "/usr/share/python-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 22014 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 22017 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 39 "/usr/share/python-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 22020 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 22023 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 22026 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 22029 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 22032 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 22035 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 22038 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 22041 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 37 "/usr/share/python-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 22044 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 22047 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 22050 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 22053 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 22056 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 22059 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 274 "/usr/share/python-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 22062 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 656 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22065 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 748 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22068 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 801 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22071 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 774 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22074 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 790 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22077 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 863 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22080 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 412 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22083 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 557 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22086 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 533 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22089 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 514 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22092 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 356 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22095 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 261 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22098 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 22101 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 61 "/usr/share/python-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 22104 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 39 "/usr/share/python-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 22107 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 22110 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 22113 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 22116 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 22119 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 22122 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 22125 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 22128 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 22131 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 22134 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 355 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 22137 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 338 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 22140 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 22143 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 22146 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 22149 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 22152 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 22155 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"


class sipKBugReport : public KBugReport
{
public:
    sipKBugReport(QWidget*,bool,const KAboutData*);
    virtual ~sipKBugReport();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    void languageChange();
    void windowActivationChange(bool);
    void fontChange(const QFont&);
    void paletteChange(const QPalette&);
    void enabledChange(bool);
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void changeEvent(QEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void moveEvent(QMoveEvent*);
    void paintEvent(QPaintEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    bool event(QEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    int devType() const;
    bool eventFilter(QObject*,QEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void resizeEvent(QResizeEvent*);
    void showEvent(QShowEvent*);
    void reject();
    void done(int);
    void setVisible(bool);
    void slotButtonClicked(int);
    void keyPressEvent(QKeyEvent*);
    void hideEvent(QHideEvent*);
    void setPlainCaption(const QString&);
    void setCaption(const QString&,bool);
    void setCaption(const QString&);
    QSize minimumSizeHint() const;
    QSize sizeHint() const;
    void closeEvent(QCloseEvent*);
    void accept();

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKBugReport(const sipKBugReport &);
    sipKBugReport &operator = (const sipKBugReport &);

    char sipPyMethods[54];
};

sipKBugReport::sipKBugReport(QWidget*a0,bool a1,const KAboutData*a2): KBugReport(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKBugReport::~sipKBugReport()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKBugReport::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KBugReport);
}

int sipKBugReport::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KBugReport::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KBugReport,_c,_id,_a);

    return _id;
}

void *sipKBugReport::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KBugReport, _clname)) ? this : KBugReport::qt_metacast(_clname);
}

void sipKBugReport::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KBugReport::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBugReport::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KBugReport::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBugReport::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KBugReport::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBugReport::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KBugReport::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kdeui_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBugReport::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KBugReport::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kdeui_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBugReport::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
        KBugReport::languageChange();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKBugReport::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
        KBugReport::windowActivationChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBugReport::fontChange(const QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
        KBugReport::fontChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QFont&);

    ((sipVH_QtGui_9)(sipModuleAPI_kdeui_QtGui->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBugReport::paletteChange(const QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
        KBugReport::paletteChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_10)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPalette&);

    ((sipVH_QtGui_10)(sipModuleAPI_kdeui_QtGui->em_virthandlers[10]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBugReport::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
        KBugReport::enabledChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKBugReport::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return KBugReport::focusNextPrevChild(a0);

    typedef bool (*sipVH_QtGui_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return ((sipVH_QtGui_11)(sipModuleAPI_kdeui_QtGui->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QVariant sipKBugReport::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return KBugReport::inputMethodQuery(a0);

    typedef QVariant (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return ((sipVH_QtGui_12)(sipModuleAPI_kdeui_QtGui->em_virthandlers[12]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBugReport::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        KBugReport::inputMethodEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_13)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    ((sipVH_QtGui_13)(sipModuleAPI_kdeui_QtGui->em_virthandlers[13]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKBugReport::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return KBugReport::metric(a0);

    typedef int (*sipVH_QtGui_14)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_14)(sipModuleAPI_kdeui_QtGui->em_virthandlers[14]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBugReport::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        KBugReport::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBugReport::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        KBugReport::dropEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_15)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    ((sipVH_QtGui_15)(sipModuleAPI_kdeui_QtGui->em_virthandlers[15]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBugReport::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        KBugReport::dragLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_16)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    ((sipVH_QtGui_16)(sipModuleAPI_kdeui_QtGui->em_virthandlers[16]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBugReport::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        KBugReport::dragMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    ((sipVH_QtGui_17)(sipModuleAPI_kdeui_QtGui->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBugReport::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        KBugReport::dragEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    ((sipVH_QtGui_18)(sipModuleAPI_kdeui_QtGui->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBugReport::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        KBugReport::actionEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_19)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    ((sipVH_QtGui_19)(sipModuleAPI_kdeui_QtGui->em_virthandlers[19]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBugReport::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        KBugReport::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_20)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_20)(sipModuleAPI_kdeui_QtGui->em_virthandlers[20]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBugReport::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        KBugReport::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_23)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_23)(sipModuleAPI_kdeui_QtGui->em_virthandlers[23]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBugReport::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        KBugReport::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_kdeui_QtGui->em_virthandlers[3]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBugReport::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        KBugReport::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBugReport::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        KBugReport::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBugReport::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        KBugReport::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kdeui_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBugReport::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        KBugReport::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kdeui_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBugReport::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        KBugReport::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBugReport::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        KBugReport::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_kdeui_QtGui->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBugReport::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        KBugReport::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBugReport::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        KBugReport::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBugReport::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        KBugReport::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBugReport::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        KBugReport::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKBugReport::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KBugReport::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QPaintEngine* sipKBugReport::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return KBugReport::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_27)(sipModuleAPI_kdeui_QtGui->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKBugReport::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[35]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return KBugReport::heightForWidth(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtGui_28)(sipModuleAPI_kdeui_QtGui->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKBugReport::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[36]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return KBugReport::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_kdeui_QtCore->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipKBugReport::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KBugReport::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKBugReport::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        KBugReport::contextMenuEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_21)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    ((sipVH_QtGui_21)(sipModuleAPI_kdeui_QtGui->em_virthandlers[21]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBugReport::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        KBugReport::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_kdeui_QtGui->em_virthandlers[2]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBugReport::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        KBugReport::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_1)(sipModuleAPI_kdeui_QtGui->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBugReport::reject()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_reject);

    if (!sipMeth)
    {
        KBugReport::reject();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKBugReport::done(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_done);

    if (!sipMeth)
    {
        KBugReport::done(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_kdeui_QtCore->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBugReport::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        KBugReport::setVisible(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBugReport::slotButtonClicked(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_slotButtonClicked);

    if (!sipMeth)
    {
        KBugReport::slotButtonClicked(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_kdeui_QtCore->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBugReport::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        KBugReport::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBugReport::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        KBugReport::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_kdeui_QtGui->em_virthandlers[0]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBugReport::setPlainCaption(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_setPlainCaption);

    if (!sipMeth)
    {
        KBugReport::setPlainCaption(a0);
        return;
    }

    typedef void (*sipVH_QtCore_33)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    ((sipVH_QtCore_33)(sipModuleAPI_kdeui_QtCore->em_virthandlers[33]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBugReport::setCaption(const QString& a0,bool a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_setCaption);

    if (!sipMeth)
    {
        KBugReport::setCaption(a0,a1);
        return;
    }

    typedef void (*sipVH_QtXml_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&,bool);

    ((sipVH_QtXml_24)(sipModuleAPI_kdeui_QtXml->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKBugReport::setCaption(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_setCaption);

    if (!sipMeth)
    {
        KBugReport::setCaption(a0);
        return;
    }

    typedef void (*sipVH_QtCore_33)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    ((sipVH_QtCore_33)(sipModuleAPI_kdeui_QtCore->em_virthandlers[33]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QSize sipKBugReport::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[50]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return KBugReport::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

QSize sipKBugReport::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[51]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return KBugReport::sizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKBugReport::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        KBugReport::closeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_22)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    ((sipVH_QtGui_22)(sipModuleAPI_kdeui_QtGui->em_virthandlers[22]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBugReport::accept()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_accept);

    if (!sipMeth)
    {
        KBugReport::accept();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}


extern "C" {static PyObject *meth_KBugReport_messageBody(PyObject *, PyObject *);}
static PyObject *meth_KBugReport_messageBody(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KBugReport *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KBugReport, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->messageBody());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBugReport, sipName_messageBody, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBugReport_setMessageBody(PyObject *, PyObject *);}
static PyObject *meth_KBugReport_setMessageBody(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KBugReport *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KBugReport, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMessageBody(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBugReport, sipName_setMessageBody, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBugReport_accept(PyObject *, PyObject *);}
static PyObject *meth_KBugReport_accept(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KBugReport *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KBugReport, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KBugReport::accept() : sipCpp->accept());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBugReport, sipName_accept, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBugReport_text(PyObject *, PyObject *);}
static PyObject *meth_KBugReport_text(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KBugReport *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KBugReport, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->text());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBugReport, sipName_text, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBugReport_sendBugReport(PyObject *, PyObject *);}
static PyObject *meth_KBugReport_sendBugReport(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KBugReport *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KBugReport, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sendBugReport();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBugReport, sipName_sendBugReport, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBugReport_closeEvent(PyObject *, PyObject *);}
static PyObject *meth_KBugReport_closeEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent* a0;
        KBugReport *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KBugReport, &sipCpp, sipType_QCloseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KBugReport::closeEvent(a0) : sipCpp->closeEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBugReport, sipName_closeEvent, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KBugReport(void *, const sipTypeDef *);}
static void *cast_KBugReport(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KBugReport)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KDialog)->ctd_cast((KDialog *)(KBugReport *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KBugReport(void *, int);}
static void release_KBugReport(void *sipCppV,int)
{
    KBugReport *sipCpp = reinterpret_cast<KBugReport *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KBugReport(sipSimpleWrapper *);}
static void dealloc_KBugReport(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKBugReport *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KBugReport(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KBugReport(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KBugReport(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKBugReport *sipCpp = 0;

    {
        QWidget* a0 = 0;
        bool a1 = 1;
        const KAboutData* a2 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JHbJ8", sipType_QWidget, &a0, sipOwner, &a1, sipType_KAboutData, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKBugReport(a0,a1,a2);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KBugReport[] = {{86, 255, 1}};


static PyMethodDef methods_KBugReport[] = {
    {SIP_MLNAME_CAST(sipName_accept), meth_KBugReport_accept, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), meth_KBugReport_closeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_messageBody), meth_KBugReport_messageBody, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sendBugReport), meth_KBugReport_sendBugReport, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMessageBody), meth_KBugReport_setMessageBody, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_text), meth_KBugReport_text, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KBugReport = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KBugReport,
        {0}
    },
    {
        sipNameNr_KBugReport,
        {0, 0, 1},
        6, methods_KBugReport,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KBugReport,
    0,
    init_type_KBugReport,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KBugReport,
    0,
    0,
    0,
    release_KBugReport,
    cast_KBugReport,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KBugReport::staticMetaObject,
    0,
    0
};

#line 23 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kbreadcrumbselectionmodel.sip"
#include <kbreadcrumbselectionmodel.h>
#line 23517 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"

#line 94 "/usr/share/python-sip/PyQt4/QtGui/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 23521 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 34 "/usr/share/python-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 23524 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 23527 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 94 "/usr/share/python-sip/PyQt4/QtGui/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 23530 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 174 "/usr/share/python-sip/PyQt4/QtGui/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 23533 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 23536 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 127 "/usr/share/python-sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 23539 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 23542 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 355 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 23545 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 338 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 23548 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 274 "/usr/share/python-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 23551 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 23554 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 37 "/usr/share/python-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 23557 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 23560 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 23563 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 23566 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 36 "/usr/share/python-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 23569 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 23572 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 23575 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"


class sipKBreadcrumbSelectionModel : public KBreadcrumbSelectionModel
{
public:
    sipKBreadcrumbSelectionModel(QItemSelectionModel*,QObject*);
    sipKBreadcrumbSelectionModel(QItemSelectionModel*,KBreadcrumbSelectionModel::BreadcrumbTarget,QObject*);
    virtual ~sipKBreadcrumbSelectionModel();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    void select(const QModelIndex&,QItemSelectionModel::SelectionFlags);
    void reset();
    void clear();

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKBreadcrumbSelectionModel(const sipKBreadcrumbSelectionModel &);
    sipKBreadcrumbSelectionModel &operator = (const sipKBreadcrumbSelectionModel &);

    char sipPyMethods[10];
};

sipKBreadcrumbSelectionModel::sipKBreadcrumbSelectionModel(QItemSelectionModel*a0,QObject*a1): KBreadcrumbSelectionModel(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKBreadcrumbSelectionModel::sipKBreadcrumbSelectionModel(QItemSelectionModel*a0,KBreadcrumbSelectionModel::BreadcrumbTarget a1,QObject*a2): KBreadcrumbSelectionModel(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKBreadcrumbSelectionModel::~sipKBreadcrumbSelectionModel()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKBreadcrumbSelectionModel::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KBreadcrumbSelectionModel);
}

int sipKBreadcrumbSelectionModel::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KBreadcrumbSelectionModel::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KBreadcrumbSelectionModel,_c,_id,_a);

    return _id;
}

void *sipKBreadcrumbSelectionModel::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KBreadcrumbSelectionModel, _clname)) ? this : KBreadcrumbSelectionModel::qt_metacast(_clname);
}

void sipKBreadcrumbSelectionModel::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KBreadcrumbSelectionModel::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBreadcrumbSelectionModel::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KBreadcrumbSelectionModel::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBreadcrumbSelectionModel::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KBreadcrumbSelectionModel::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBreadcrumbSelectionModel::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KBreadcrumbSelectionModel::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kdeui_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBreadcrumbSelectionModel::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KBreadcrumbSelectionModel::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kdeui_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKBreadcrumbSelectionModel::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KBreadcrumbSelectionModel::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKBreadcrumbSelectionModel::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KBreadcrumbSelectionModel::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKBreadcrumbSelectionModel::select(const QModelIndex& a0,QItemSelectionModel::SelectionFlags a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_select);

    if (!sipMeth)
    {
        KBreadcrumbSelectionModel::select(a0,a1);
        return;
    }

    typedef void (*sipVH_QtGui_160)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,QItemSelectionModel::SelectionFlags);

    ((sipVH_QtGui_160)(sipModuleAPI_kdeui_QtGui->em_virthandlers[160]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKBreadcrumbSelectionModel::reset()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_reset);

    if (!sipMeth)
    {
        KBreadcrumbSelectionModel::reset();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKBreadcrumbSelectionModel::clear()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_clear);

    if (!sipMeth)
    {
        KBreadcrumbSelectionModel::clear();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}


extern "C" {static PyObject *meth_KBreadcrumbSelectionModel_isActualSelectionIncluded(PyObject *, PyObject *);}
static PyObject *meth_KBreadcrumbSelectionModel_isActualSelectionIncluded(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KBreadcrumbSelectionModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KBreadcrumbSelectionModel, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isActualSelectionIncluded();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBreadcrumbSelectionModel, sipName_isActualSelectionIncluded, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBreadcrumbSelectionModel_setActualSelectionIncluded(PyObject *, PyObject *);}
static PyObject *meth_KBreadcrumbSelectionModel_setActualSelectionIncluded(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KBreadcrumbSelectionModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KBreadcrumbSelectionModel, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setActualSelectionIncluded(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBreadcrumbSelectionModel, sipName_setActualSelectionIncluded, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBreadcrumbSelectionModel_breadcrumbLength(PyObject *, PyObject *);}
static PyObject *meth_KBreadcrumbSelectionModel_breadcrumbLength(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KBreadcrumbSelectionModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KBreadcrumbSelectionModel, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->breadcrumbLength();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBreadcrumbSelectionModel, sipName_breadcrumbLength, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBreadcrumbSelectionModel_setBreadcrumbLength(PyObject *, PyObject *);}
static PyObject *meth_KBreadcrumbSelectionModel_setBreadcrumbLength(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        KBreadcrumbSelectionModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KBreadcrumbSelectionModel, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setBreadcrumbLength(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBreadcrumbSelectionModel, sipName_setBreadcrumbLength, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KBreadcrumbSelectionModel_select(PyObject *, PyObject *);}
static PyObject *meth_KBreadcrumbSelectionModel_select(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        QItemSelectionModel::SelectionFlags* a1;
        int a1State = 0;
        KBreadcrumbSelectionModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J1", &sipSelf, sipType_KBreadcrumbSelectionModel, &sipCpp, sipType_QModelIndex, &a0, sipType_QItemSelectionModel_SelectionFlags, &a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KBreadcrumbSelectionModel::select(*a0,*a1) : sipCpp->select(*a0,*a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a1,sipType_QItemSelectionModel_SelectionFlags,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QItemSelection* a0;
        QItemSelectionModel::SelectionFlags* a1;
        int a1State = 0;
        KBreadcrumbSelectionModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J1", &sipSelf, sipType_KBreadcrumbSelectionModel, &sipCpp, sipType_QItemSelection, &a0, sipType_QItemSelectionModel_SelectionFlags, &a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->select(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(a1,sipType_QItemSelectionModel_SelectionFlags,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KBreadcrumbSelectionModel, sipName_select, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KBreadcrumbSelectionModel(void *, const sipTypeDef *);}
static void *cast_KBreadcrumbSelectionModel(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KBreadcrumbSelectionModel)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QItemSelectionModel)->ctd_cast((QItemSelectionModel *)(KBreadcrumbSelectionModel *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KBreadcrumbSelectionModel(void *, int);}
static void release_KBreadcrumbSelectionModel(void *sipCppV,int)
{
    KBreadcrumbSelectionModel *sipCpp = reinterpret_cast<KBreadcrumbSelectionModel *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KBreadcrumbSelectionModel(sipSimpleWrapper *);}
static void dealloc_KBreadcrumbSelectionModel(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKBreadcrumbSelectionModel *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KBreadcrumbSelectionModel(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KBreadcrumbSelectionModel(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KBreadcrumbSelectionModel(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKBreadcrumbSelectionModel *sipCpp = 0;

    {
        QItemSelectionModel* a0;
        QObject* a1 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8|JH", sipType_QItemSelectionModel, &a0, sipType_QObject, &a1, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKBreadcrumbSelectionModel(a0,a1);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        QItemSelectionModel* a0;
        KBreadcrumbSelectionModel::BreadcrumbTarget a1;
        QObject* a2 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8E|JH", sipType_QItemSelectionModel, &a0, sipType_KBreadcrumbSelectionModel_BreadcrumbTarget, &a1, sipType_QObject, &a2, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKBreadcrumbSelectionModel(a0,a1,a2);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KBreadcrumbSelectionModel[] = {{261, 2, 1}};


static PyMethodDef methods_KBreadcrumbSelectionModel[] = {
    {SIP_MLNAME_CAST(sipName_breadcrumbLength), meth_KBreadcrumbSelectionModel_breadcrumbLength, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isActualSelectionIncluded), meth_KBreadcrumbSelectionModel_isActualSelectionIncluded, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_select), meth_KBreadcrumbSelectionModel_select, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setActualSelectionIncluded), meth_KBreadcrumbSelectionModel_setActualSelectionIncluded, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setBreadcrumbLength), meth_KBreadcrumbSelectionModel_setBreadcrumbLength, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KBreadcrumbSelectionModel[] = {
    {sipName_MakeBreadcrumbSelectionInOther, static_cast<int>(KBreadcrumbSelectionModel::MakeBreadcrumbSelectionInOther), 22},
    {sipName_MakeBreadcrumbSelectionInSelf, static_cast<int>(KBreadcrumbSelectionModel::MakeBreadcrumbSelectionInSelf), 22},
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KBreadcrumbSelectionModel = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KBreadcrumbSelectionModel,
        {0}
    },
    {
        sipNameNr_KBreadcrumbSelectionModel,
        {0, 0, 1},
        5, methods_KBreadcrumbSelectionModel,
        2, enummembers_KBreadcrumbSelectionModel,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KBreadcrumbSelectionModel,
    0,
    init_type_KBreadcrumbSelectionModel,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KBreadcrumbSelectionModel,
    0,
    0,
    0,
    release_KBreadcrumbSelectionModel,
    cast_KBreadcrumbSelectionModel,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KBreadcrumbSelectionModel::staticMetaObject,
    0,
    0
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kassistantdialog.sip"
#include <kassistantdialog.h>
#line 24143 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"

#line 35 "/usr/share/python-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 24147 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 24150 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kpagewidget.sip"
#include <kpagewidget.h>
#line 24153 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 605 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24156 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kpagewidgetmodel.sip"
#include <kpagewidgetmodel.h>
#line 24159 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 36 "/usr/share/python-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 24162 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kpagedialog.sip"
#include <kpagedialog.h>
#line 24165 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 483 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24168 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 583 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24171 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 616 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24174 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 24177 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 24180 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 24183 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 24186 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 24189 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kpushbutton.sip"
#include <kpushbutton.h>
#line 24192 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 32 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 24195 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdecore/kconfigbase.sip"
#include <kconfigbase.h>
#line 24198 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qmenu.sip"
#include <qmenu.h>
#line 24201 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kguiitem.sip"
#include <kguiitem.h>
#line 24204 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 33 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kicon.sip"
#include <kicon.h>
#line 24207 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 24210 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 24213 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 34 "/usr/share/python-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 24216 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 24219 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 627 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24222 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 570 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24225 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 24228 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 39 "/usr/share/python-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 24231 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 24234 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 39 "/usr/share/python-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 24237 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 24240 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 24243 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 24246 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 24249 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 24252 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 24255 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 24258 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 37 "/usr/share/python-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 24261 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 24264 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 24267 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 24270 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 24273 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 274 "/usr/share/python-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 24276 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 656 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24279 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 748 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24282 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 801 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24285 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 774 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24288 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 790 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24291 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 863 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24294 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 412 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24297 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 557 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24300 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 533 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24303 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 514 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24306 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 356 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24309 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 261 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24312 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 24315 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 61 "/usr/share/python-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 24318 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 39 "/usr/share/python-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 24321 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 24324 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 24327 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 24330 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 24333 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 24336 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 24339 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 24342 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 24345 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 24348 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 355 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 24351 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 338 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 24354 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 24357 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 24360 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 24363 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 24366 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 24369 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"


class sipKAssistantDialog : public KAssistantDialog
{
public:
    sipKAssistantDialog(QWidget*,Qt::WFlags);
    sipKAssistantDialog(KPageWidget*,QWidget*,Qt::WFlags);
    virtual ~sipKAssistantDialog();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    void languageChange();
    void windowActivationChange(bool);
    void fontChange(const QFont&);
    void paletteChange(const QPalette&);
    void enabledChange(bool);
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void changeEvent(QEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void moveEvent(QMoveEvent*);
    void paintEvent(QPaintEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    bool event(QEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    int devType() const;
    bool eventFilter(QObject*,QEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void resizeEvent(QResizeEvent*);
    void reject();
    void accept();
    void done(int);
    void setVisible(bool);
    void slotButtonClicked(int);
    void keyPressEvent(QKeyEvent*);
    void closeEvent(QCloseEvent*);
    void hideEvent(QHideEvent*);
    void setPlainCaption(const QString&);
    void setCaption(const QString&,bool);
    void setCaption(const QString&);
    QSize minimumSizeHint() const;
    QSize sizeHint() const;
    void showEvent(QShowEvent*);
    void next();
    void back();

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKAssistantDialog(const sipKAssistantDialog &);
    sipKAssistantDialog &operator = (const sipKAssistantDialog &);

    char sipPyMethods[56];
};

sipKAssistantDialog::sipKAssistantDialog(QWidget*a0,Qt::WFlags a1): KAssistantDialog(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKAssistantDialog::sipKAssistantDialog(KPageWidget*a0,QWidget*a1,Qt::WFlags a2): KAssistantDialog(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKAssistantDialog::~sipKAssistantDialog()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKAssistantDialog::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KAssistantDialog);
}

int sipKAssistantDialog::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KAssistantDialog::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KAssistantDialog,_c,_id,_a);

    return _id;
}

void *sipKAssistantDialog::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KAssistantDialog, _clname)) ? this : KAssistantDialog::qt_metacast(_clname);
}

void sipKAssistantDialog::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KAssistantDialog::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAssistantDialog::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KAssistantDialog::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAssistantDialog::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KAssistantDialog::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAssistantDialog::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KAssistantDialog::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kdeui_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAssistantDialog::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KAssistantDialog::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kdeui_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAssistantDialog::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
        KAssistantDialog::languageChange();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKAssistantDialog::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
        KAssistantDialog::windowActivationChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAssistantDialog::fontChange(const QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
        KAssistantDialog::fontChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QFont&);

    ((sipVH_QtGui_9)(sipModuleAPI_kdeui_QtGui->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAssistantDialog::paletteChange(const QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
        KAssistantDialog::paletteChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_10)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPalette&);

    ((sipVH_QtGui_10)(sipModuleAPI_kdeui_QtGui->em_virthandlers[10]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAssistantDialog::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
        KAssistantDialog::enabledChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKAssistantDialog::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return KAssistantDialog::focusNextPrevChild(a0);

    typedef bool (*sipVH_QtGui_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return ((sipVH_QtGui_11)(sipModuleAPI_kdeui_QtGui->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QVariant sipKAssistantDialog::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return KAssistantDialog::inputMethodQuery(a0);

    typedef QVariant (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return ((sipVH_QtGui_12)(sipModuleAPI_kdeui_QtGui->em_virthandlers[12]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAssistantDialog::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        KAssistantDialog::inputMethodEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_13)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    ((sipVH_QtGui_13)(sipModuleAPI_kdeui_QtGui->em_virthandlers[13]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKAssistantDialog::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return KAssistantDialog::metric(a0);

    typedef int (*sipVH_QtGui_14)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_14)(sipModuleAPI_kdeui_QtGui->em_virthandlers[14]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAssistantDialog::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        KAssistantDialog::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAssistantDialog::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        KAssistantDialog::dropEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_15)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    ((sipVH_QtGui_15)(sipModuleAPI_kdeui_QtGui->em_virthandlers[15]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAssistantDialog::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        KAssistantDialog::dragLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_16)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    ((sipVH_QtGui_16)(sipModuleAPI_kdeui_QtGui->em_virthandlers[16]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAssistantDialog::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        KAssistantDialog::dragMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    ((sipVH_QtGui_17)(sipModuleAPI_kdeui_QtGui->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAssistantDialog::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        KAssistantDialog::dragEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    ((sipVH_QtGui_18)(sipModuleAPI_kdeui_QtGui->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAssistantDialog::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        KAssistantDialog::actionEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_19)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    ((sipVH_QtGui_19)(sipModuleAPI_kdeui_QtGui->em_virthandlers[19]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAssistantDialog::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        KAssistantDialog::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_20)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_20)(sipModuleAPI_kdeui_QtGui->em_virthandlers[20]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAssistantDialog::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        KAssistantDialog::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_23)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_23)(sipModuleAPI_kdeui_QtGui->em_virthandlers[23]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAssistantDialog::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        KAssistantDialog::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_kdeui_QtGui->em_virthandlers[3]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAssistantDialog::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        KAssistantDialog::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAssistantDialog::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        KAssistantDialog::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAssistantDialog::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        KAssistantDialog::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kdeui_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAssistantDialog::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        KAssistantDialog::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kdeui_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAssistantDialog::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        KAssistantDialog::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAssistantDialog::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        KAssistantDialog::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_kdeui_QtGui->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAssistantDialog::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        KAssistantDialog::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAssistantDialog::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        KAssistantDialog::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAssistantDialog::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        KAssistantDialog::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAssistantDialog::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        KAssistantDialog::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKAssistantDialog::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KAssistantDialog::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QPaintEngine* sipKAssistantDialog::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return KAssistantDialog::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_27)(sipModuleAPI_kdeui_QtGui->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKAssistantDialog::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[35]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return KAssistantDialog::heightForWidth(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtGui_28)(sipModuleAPI_kdeui_QtGui->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKAssistantDialog::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[36]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return KAssistantDialog::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_kdeui_QtCore->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipKAssistantDialog::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KAssistantDialog::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKAssistantDialog::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        KAssistantDialog::contextMenuEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_21)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    ((sipVH_QtGui_21)(sipModuleAPI_kdeui_QtGui->em_virthandlers[21]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAssistantDialog::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        KAssistantDialog::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_kdeui_QtGui->em_virthandlers[2]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAssistantDialog::reject()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_reject);

    if (!sipMeth)
    {
        KAssistantDialog::reject();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKAssistantDialog::accept()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_accept);

    if (!sipMeth)
    {
        KAssistantDialog::accept();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKAssistantDialog::done(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_done);

    if (!sipMeth)
    {
        KAssistantDialog::done(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_kdeui_QtCore->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAssistantDialog::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        KAssistantDialog::setVisible(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAssistantDialog::slotButtonClicked(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_slotButtonClicked);

    if (!sipMeth)
    {
        KAssistantDialog::slotButtonClicked(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_kdeui_QtCore->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAssistantDialog::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        KAssistantDialog::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAssistantDialog::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        KAssistantDialog::closeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_22)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    ((sipVH_QtGui_22)(sipModuleAPI_kdeui_QtGui->em_virthandlers[22]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAssistantDialog::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        KAssistantDialog::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_kdeui_QtGui->em_virthandlers[0]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAssistantDialog::setPlainCaption(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_setPlainCaption);

    if (!sipMeth)
    {
        KAssistantDialog::setPlainCaption(a0);
        return;
    }

    typedef void (*sipVH_QtCore_33)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    ((sipVH_QtCore_33)(sipModuleAPI_kdeui_QtCore->em_virthandlers[33]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAssistantDialog::setCaption(const QString& a0,bool a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_setCaption);

    if (!sipMeth)
    {
        KAssistantDialog::setCaption(a0,a1);
        return;
    }

    typedef void (*sipVH_QtXml_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&,bool);

    ((sipVH_QtXml_24)(sipModuleAPI_kdeui_QtXml->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKAssistantDialog::setCaption(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_setCaption);

    if (!sipMeth)
    {
        KAssistantDialog::setCaption(a0);
        return;
    }

    typedef void (*sipVH_QtCore_33)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    ((sipVH_QtCore_33)(sipModuleAPI_kdeui_QtCore->em_virthandlers[33]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QSize sipKAssistantDialog::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[51]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return KAssistantDialog::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

QSize sipKAssistantDialog::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[52]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return KAssistantDialog::sizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKAssistantDialog::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        KAssistantDialog::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_1)(sipModuleAPI_kdeui_QtGui->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAssistantDialog::next()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_next);

    if (!sipMeth)
    {
        KAssistantDialog::next();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKAssistantDialog::back()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[55],sipPySelf,NULL,sipName_back);

    if (!sipMeth)
    {
        KAssistantDialog::back();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}


extern "C" {static PyObject *meth_KAssistantDialog_setValid(PyObject *, PyObject *);}
static PyObject *meth_KAssistantDialog_setValid(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KPageWidgetItem* a0;
        bool a1;
        KAssistantDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8b", &sipSelf, sipType_KAssistantDialog, &sipCpp, sipType_KPageWidgetItem, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setValid(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KAssistantDialog, sipName_setValid, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KAssistantDialog_isValid(PyObject *, PyObject *);}
static PyObject *meth_KAssistantDialog_isValid(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KPageWidgetItem* a0;
        const KAssistantDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KAssistantDialog, &sipCpp, sipType_KPageWidgetItem, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isValid(a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KAssistantDialog, sipName_isValid, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KAssistantDialog_setAppropriate(PyObject *, PyObject *);}
static PyObject *meth_KAssistantDialog_setAppropriate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KPageWidgetItem* a0;
        bool a1;
        KAssistantDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8b", &sipSelf, sipType_KAssistantDialog, &sipCpp, sipType_KPageWidgetItem, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAppropriate(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KAssistantDialog, sipName_setAppropriate, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KAssistantDialog_isAppropriate(PyObject *, PyObject *);}
static PyObject *meth_KAssistantDialog_isAppropriate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KPageWidgetItem* a0;
        const KAssistantDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KAssistantDialog, &sipCpp, sipType_KPageWidgetItem, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isAppropriate(a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KAssistantDialog, sipName_isAppropriate, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KAssistantDialog_back(PyObject *, PyObject *);}
static PyObject *meth_KAssistantDialog_back(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KAssistantDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KAssistantDialog, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KAssistantDialog::back() : sipCpp->back());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KAssistantDialog, sipName_back, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KAssistantDialog_next(PyObject *, PyObject *);}
static PyObject *meth_KAssistantDialog_next(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KAssistantDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KAssistantDialog, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KAssistantDialog::next() : sipCpp->next());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KAssistantDialog, sipName_next, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KAssistantDialog_showEvent(PyObject *, PyObject *);}
static PyObject *meth_KAssistantDialog_showEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent* a0;
        KAssistantDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KAssistantDialog, &sipCpp, sipType_QShowEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KAssistantDialog::showEvent(a0) : sipCpp->showEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KAssistantDialog, sipName_showEvent, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KAssistantDialog(void *, const sipTypeDef *);}
static void *cast_KAssistantDialog(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KAssistantDialog)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KPageDialog)->ctd_cast((KPageDialog *)(KAssistantDialog *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KAssistantDialog(void *, int);}
static void release_KAssistantDialog(void *sipCppV,int)
{
    KAssistantDialog *sipCpp = reinterpret_cast<KAssistantDialog *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KAssistantDialog(sipSimpleWrapper *);}
static void dealloc_KAssistantDialog(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKAssistantDialog *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KAssistantDialog(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KAssistantDialog(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KAssistantDialog(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKAssistantDialog *sipCpp = 0;

    {
        QWidget* a0 = 0;
        Qt::WFlags a1def = 0;
        Qt::WFlags* a1 = &a1def;
        int a1State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JHJ1", sipType_QWidget, &a0, sipOwner, sipType_Qt_WindowFlags, &a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKAssistantDialog(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(a1,sipType_Qt_WindowFlags,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        KPageWidget* a0;
        QWidget* a1 = 0;
        Qt::WFlags a2def = 0;
        Qt::WFlags* a2 = &a2def;
        int a2State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8|JHJ1", sipType_KPageWidget, &a0, sipType_QWidget, &a1, sipOwner, sipType_Qt_WindowFlags, &a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKAssistantDialog(a0,a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(a2,sipType_Qt_WindowFlags,a2State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KAssistantDialog[] = {{212, 255, 1}};


static PyMethodDef methods_KAssistantDialog[] = {
    {SIP_MLNAME_CAST(sipName_back), meth_KAssistantDialog_back, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isAppropriate), meth_KAssistantDialog_isAppropriate, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isValid), meth_KAssistantDialog_isValid, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_next), meth_KAssistantDialog_next, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAppropriate), meth_KAssistantDialog_setAppropriate, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setValid), meth_KAssistantDialog_setValid, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), meth_KAssistantDialog_showEvent, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KAssistantDialog = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KAssistantDialog,
        {0}
    },
    {
        sipNameNr_KAssistantDialog,
        {0, 0, 1},
        7, methods_KAssistantDialog,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KAssistantDialog,
    0,
    init_type_KAssistantDialog,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KAssistantDialog,
    0,
    0,
    0,
    release_KAssistantDialog,
    cast_KAssistantDialog,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KAssistantDialog::staticMetaObject,
    0,
    0
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kpagedialog.sip"
#include <kpagedialog.h>
#line 25827 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"

#line 35 "/usr/share/python-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 25831 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 25834 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kpagewidget.sip"
#include <kpagewidget.h>
#line 25837 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kpagewidgetmodel.sip"
#include <kpagewidgetmodel.h>
#line 25840 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 36 "/usr/share/python-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 25843 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 483 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 25846 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 583 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 25849 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 616 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 25852 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 25855 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 25858 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 25861 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 25864 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 25867 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kpushbutton.sip"
#include <kpushbutton.h>
#line 25870 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 32 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 25873 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdecore/kconfigbase.sip"
#include <kconfigbase.h>
#line 25876 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qmenu.sip"
#include <qmenu.h>
#line 25879 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kguiitem.sip"
#include <kguiitem.h>
#line 25882 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 33 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kicon.sip"
#include <kicon.h>
#line 25885 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 25888 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 25891 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 34 "/usr/share/python-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 25894 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 25897 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 627 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 25900 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 570 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 25903 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 605 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 25906 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 25909 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 39 "/usr/share/python-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 25912 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 25915 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 39 "/usr/share/python-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 25918 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 25921 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 25924 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 25927 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 25930 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 25933 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 25936 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 25939 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 37 "/usr/share/python-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 25942 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 25945 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 25948 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 25951 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 25954 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 274 "/usr/share/python-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 25957 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 656 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 25960 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 748 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 25963 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 801 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 25966 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 774 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 25969 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 790 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 25972 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 863 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 25975 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 412 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 25978 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 557 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 25981 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 533 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 25984 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 514 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 25987 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 356 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 25990 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 261 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 25993 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 25996 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 61 "/usr/share/python-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 25999 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 39 "/usr/share/python-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 26002 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 26005 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 26008 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 26011 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 26014 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 26017 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 26020 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 26023 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 26026 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 26029 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 355 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 26032 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 338 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 26035 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 26038 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 26041 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 26044 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 26047 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 26050 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"


class sipKPageDialog : public KPageDialog
{
public:
    sipKPageDialog(QWidget*,Qt::WFlags);
    sipKPageDialog(KPageWidget*,QWidget*,Qt::WFlags);
    virtual ~sipKPageDialog();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    void languageChange();
    void windowActivationChange(bool);
    void fontChange(const QFont&);
    void paletteChange(const QPalette&);
    void enabledChange(bool);
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void changeEvent(QEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void moveEvent(QMoveEvent*);
    void paintEvent(QPaintEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    bool event(QEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    int devType() const;
    bool eventFilter(QObject*,QEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void resizeEvent(QResizeEvent*);
    void showEvent(QShowEvent*);
    void reject();
    void accept();
    void done(int);
    void setVisible(bool);
    void slotButtonClicked(int);
    void keyPressEvent(QKeyEvent*);
    void closeEvent(QCloseEvent*);
    void hideEvent(QHideEvent*);
    void setPlainCaption(const QString&);
    void setCaption(const QString&,bool);
    void setCaption(const QString&);
    QSize minimumSizeHint() const;
    QSize sizeHint() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKPageDialog(const sipKPageDialog &);
    sipKPageDialog &operator = (const sipKPageDialog &);

    char sipPyMethods[54];
};

sipKPageDialog::sipKPageDialog(QWidget*a0,Qt::WFlags a1): KPageDialog(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKPageDialog::sipKPageDialog(KPageWidget*a0,QWidget*a1,Qt::WFlags a2): KPageDialog(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKPageDialog::~sipKPageDialog()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKPageDialog::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KPageDialog);
}

int sipKPageDialog::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KPageDialog::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KPageDialog,_c,_id,_a);

    return _id;
}

void *sipKPageDialog::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KPageDialog, _clname)) ? this : KPageDialog::qt_metacast(_clname);
}

void sipKPageDialog::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KPageDialog::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageDialog::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KPageDialog::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageDialog::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KPageDialog::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageDialog::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KPageDialog::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kdeui_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageDialog::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KPageDialog::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kdeui_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageDialog::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
        KPageDialog::languageChange();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKPageDialog::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
        KPageDialog::windowActivationChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageDialog::fontChange(const QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
        KPageDialog::fontChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QFont&);

    ((sipVH_QtGui_9)(sipModuleAPI_kdeui_QtGui->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageDialog::paletteChange(const QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
        KPageDialog::paletteChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_10)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPalette&);

    ((sipVH_QtGui_10)(sipModuleAPI_kdeui_QtGui->em_virthandlers[10]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageDialog::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
        KPageDialog::enabledChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKPageDialog::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return KPageDialog::focusNextPrevChild(a0);

    typedef bool (*sipVH_QtGui_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return ((sipVH_QtGui_11)(sipModuleAPI_kdeui_QtGui->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QVariant sipKPageDialog::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return KPageDialog::inputMethodQuery(a0);

    typedef QVariant (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return ((sipVH_QtGui_12)(sipModuleAPI_kdeui_QtGui->em_virthandlers[12]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageDialog::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        KPageDialog::inputMethodEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_13)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    ((sipVH_QtGui_13)(sipModuleAPI_kdeui_QtGui->em_virthandlers[13]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKPageDialog::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return KPageDialog::metric(a0);

    typedef int (*sipVH_QtGui_14)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_14)(sipModuleAPI_kdeui_QtGui->em_virthandlers[14]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageDialog::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        KPageDialog::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageDialog::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        KPageDialog::dropEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_15)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    ((sipVH_QtGui_15)(sipModuleAPI_kdeui_QtGui->em_virthandlers[15]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageDialog::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        KPageDialog::dragLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_16)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    ((sipVH_QtGui_16)(sipModuleAPI_kdeui_QtGui->em_virthandlers[16]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageDialog::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        KPageDialog::dragMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    ((sipVH_QtGui_17)(sipModuleAPI_kdeui_QtGui->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageDialog::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        KPageDialog::dragEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    ((sipVH_QtGui_18)(sipModuleAPI_kdeui_QtGui->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageDialog::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        KPageDialog::actionEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_19)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    ((sipVH_QtGui_19)(sipModuleAPI_kdeui_QtGui->em_virthandlers[19]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageDialog::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        KPageDialog::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_20)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_20)(sipModuleAPI_kdeui_QtGui->em_virthandlers[20]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageDialog::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        KPageDialog::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_23)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_23)(sipModuleAPI_kdeui_QtGui->em_virthandlers[23]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageDialog::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        KPageDialog::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_kdeui_QtGui->em_virthandlers[3]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageDialog::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        KPageDialog::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageDialog::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        KPageDialog::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageDialog::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        KPageDialog::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kdeui_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageDialog::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        KPageDialog::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kdeui_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageDialog::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        KPageDialog::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageDialog::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        KPageDialog::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_kdeui_QtGui->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageDialog::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        KPageDialog::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageDialog::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        KPageDialog::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageDialog::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        KPageDialog::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageDialog::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        KPageDialog::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKPageDialog::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KPageDialog::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QPaintEngine* sipKPageDialog::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return KPageDialog::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_27)(sipModuleAPI_kdeui_QtGui->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKPageDialog::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[35]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return KPageDialog::heightForWidth(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtGui_28)(sipModuleAPI_kdeui_QtGui->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKPageDialog::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[36]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return KPageDialog::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_kdeui_QtCore->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipKPageDialog::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KPageDialog::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKPageDialog::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        KPageDialog::contextMenuEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_21)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    ((sipVH_QtGui_21)(sipModuleAPI_kdeui_QtGui->em_virthandlers[21]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageDialog::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        KPageDialog::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_kdeui_QtGui->em_virthandlers[2]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageDialog::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        KPageDialog::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_1)(sipModuleAPI_kdeui_QtGui->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageDialog::reject()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_reject);

    if (!sipMeth)
    {
        KPageDialog::reject();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKPageDialog::accept()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_accept);

    if (!sipMeth)
    {
        KPageDialog::accept();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKPageDialog::done(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_done);

    if (!sipMeth)
    {
        KPageDialog::done(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_kdeui_QtCore->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageDialog::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        KPageDialog::setVisible(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageDialog::slotButtonClicked(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_slotButtonClicked);

    if (!sipMeth)
    {
        KPageDialog::slotButtonClicked(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_kdeui_QtCore->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageDialog::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        KPageDialog::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageDialog::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        KPageDialog::closeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_22)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    ((sipVH_QtGui_22)(sipModuleAPI_kdeui_QtGui->em_virthandlers[22]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageDialog::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        KPageDialog::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_kdeui_QtGui->em_virthandlers[0]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageDialog::setPlainCaption(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_setPlainCaption);

    if (!sipMeth)
    {
        KPageDialog::setPlainCaption(a0);
        return;
    }

    typedef void (*sipVH_QtCore_33)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    ((sipVH_QtCore_33)(sipModuleAPI_kdeui_QtCore->em_virthandlers[33]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageDialog::setCaption(const QString& a0,bool a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_setCaption);

    if (!sipMeth)
    {
        KPageDialog::setCaption(a0,a1);
        return;
    }

    typedef void (*sipVH_QtXml_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&,bool);

    ((sipVH_QtXml_24)(sipModuleAPI_kdeui_QtXml->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKPageDialog::setCaption(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_setCaption);

    if (!sipMeth)
    {
        KPageDialog::setCaption(a0);
        return;
    }

    typedef void (*sipVH_QtCore_33)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    ((sipVH_QtCore_33)(sipModuleAPI_kdeui_QtCore->em_virthandlers[33]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QSize sipKPageDialog::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[52]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return KPageDialog::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

QSize sipKPageDialog::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[53]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return KPageDialog::sizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}


extern "C" {static PyObject *meth_KPageDialog_setFaceType(PyObject *, PyObject *);}
static PyObject *meth_KPageDialog_setFaceType(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KPageDialog::FaceType a0;
        KPageDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KPageDialog, &sipCpp, sipType_KPageDialog_FaceType, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setFaceType(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPageDialog, sipName_setFaceType, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPageDialog_addPage(PyObject *, PyObject *);}
static PyObject *meth_KPageDialog_addPage(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        const QString* a1;
        int a1State = 0;
        KPageDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J1", &sipSelf, sipType_KPageDialog, &sipCpp, sipType_QWidget, &a0, sipType_QString,&a1, &a1State))
        {
            KPageWidgetItem*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->addPage(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return sipConvertFromType(sipRes,sipType_KPageWidgetItem,NULL);
        }
    }

    {
        KPageWidgetItem* a0;
        KPageDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KPageDialog, &sipCpp, sipType_KPageWidgetItem, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addPage(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPageDialog, sipName_addPage, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPageDialog_insertPage(PyObject *, PyObject *);}
static PyObject *meth_KPageDialog_insertPage(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KPageWidgetItem* a0;
        QWidget* a1;
        const QString* a2;
        int a2State = 0;
        KPageDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J8J1", &sipSelf, sipType_KPageDialog, &sipCpp, sipType_KPageWidgetItem, &a0, sipType_QWidget, &a1, sipType_QString,&a2, &a2State))
        {
            KPageWidgetItem*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->insertPage(a0,a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

            return sipConvertFromType(sipRes,sipType_KPageWidgetItem,NULL);
        }
    }

    {
        KPageWidgetItem* a0;
        KPageWidgetItem* a1;
        KPageDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J8", &sipSelf, sipType_KPageDialog, &sipCpp, sipType_KPageWidgetItem, &a0, sipType_KPageWidgetItem, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->insertPage(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPageDialog, sipName_insertPage, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPageDialog_addSubPage(PyObject *, PyObject *);}
static PyObject *meth_KPageDialog_addSubPage(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KPageWidgetItem* a0;
        QWidget* a1;
        const QString* a2;
        int a2State = 0;
        KPageDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:J8J1", &sipSelf, sipType_KPageDialog, &sipCpp, sipType_KPageWidgetItem, &a0, sipType_QWidget, &a1, sipType_QString,&a2, &a2State))
        {
            KPageWidgetItem*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->addSubPage(a0,a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

            return sipConvertFromType(sipRes,sipType_KPageWidgetItem,NULL);
        }
    }

    {
        KPageWidgetItem* a0;
        KPageWidgetItem* a1;
        KPageDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:J8", &sipSelf, sipType_KPageDialog, &sipCpp, sipType_KPageWidgetItem, &a0, sipType_KPageWidgetItem, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addSubPage(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPageDialog, sipName_addSubPage, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPageDialog_removePage(PyObject *, PyObject *);}
static PyObject *meth_KPageDialog_removePage(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KPageWidgetItem* a0;
        KPageDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KPageDialog, &sipCpp, sipType_KPageWidgetItem, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->removePage(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPageDialog, sipName_removePage, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPageDialog_setCurrentPage(PyObject *, PyObject *);}
static PyObject *meth_KPageDialog_setCurrentPage(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KPageWidgetItem* a0;
        KPageDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KPageDialog, &sipCpp, sipType_KPageWidgetItem, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCurrentPage(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPageDialog, sipName_setCurrentPage, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPageDialog_currentPage(PyObject *, PyObject *);}
static PyObject *meth_KPageDialog_currentPage(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPageDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPageDialog, &sipCpp))
        {
            KPageWidgetItem*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->currentPage();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KPageWidgetItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPageDialog, sipName_currentPage, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPageDialog_pageWidget(PyObject *, PyObject *);}
static PyObject *meth_KPageDialog_pageWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KPageDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KPageDialog, &sipCpp))
        {
            KPageWidget*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->pageWidget();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KPageWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPageDialog, sipName_pageWidget, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPageDialog_setPageWidget(PyObject *, PyObject *);}
static PyObject *meth_KPageDialog_setPageWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KPageWidget* a0;
        KPageDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KPageDialog, &sipCpp, sipType_KPageWidget, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPageWidget(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPageDialog, sipName_setPageWidget, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KPageDialog(void *, const sipTypeDef *);}
static void *cast_KPageDialog(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KPageDialog)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KDialog)->ctd_cast((KDialog *)(KPageDialog *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KPageDialog(void *, int);}
static void release_KPageDialog(void *sipCppV,int)
{
    KPageDialog *sipCpp = reinterpret_cast<KPageDialog *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KPageDialog(sipSimpleWrapper *);}
static void dealloc_KPageDialog(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKPageDialog *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KPageDialog(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KPageDialog(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KPageDialog(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKPageDialog *sipCpp = 0;

    {
        QWidget* a0 = 0;
        Qt::WFlags a1def = 0;
        Qt::WFlags* a1 = &a1def;
        int a1State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JHJ1", sipType_QWidget, &a0, sipOwner, sipType_Qt_WindowFlags, &a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKPageDialog(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(a1,sipType_Qt_WindowFlags,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        KPageWidget* a0;
        QWidget* a1;
        Qt::WFlags a2def = 0;
        Qt::WFlags* a2 = &a2def;
        int a2State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8JH|J1", sipType_KPageWidget, &a0, sipType_QWidget, &a1, sipOwner, sipType_Qt_WindowFlags, &a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKPageDialog(a0,a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(a2,sipType_Qt_WindowFlags,a2State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KPageDialog[] = {{86, 255, 1}};


static PyMethodDef methods_KPageDialog[] = {
    {SIP_MLNAME_CAST(sipName_addPage), meth_KPageDialog_addPage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addSubPage), meth_KPageDialog_addSubPage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_currentPage), meth_KPageDialog_currentPage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_insertPage), meth_KPageDialog_insertPage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_pageWidget), meth_KPageDialog_pageWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_removePage), meth_KPageDialog_removePage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCurrentPage), meth_KPageDialog_setCurrentPage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setFaceType), meth_KPageDialog_setFaceType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPageWidget), meth_KPageDialog_setPageWidget, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KPageDialog[] = {
    {sipName_Auto, static_cast<int>(KPageDialog::Auto), 213},
    {sipName_List, static_cast<int>(KPageDialog::List), 213},
    {sipName_Plain, static_cast<int>(KPageDialog::Plain), 213},
    {sipName_Tabbed, static_cast<int>(KPageDialog::Tabbed), 213},
    {sipName_Tree, static_cast<int>(KPageDialog::Tree), 213},
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KPageDialog[] = {
    {"pageRemoved(KPageWidgetItem*)", 0, 0, 0},
    {"currentPageChanged(KPageWidgetItem*,KPageWidgetItem*)", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KPageDialog = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KPageDialog,
        {0}
    },
    {
        sipNameNr_KPageDialog,
        {0, 0, 1},
        9, methods_KPageDialog,
        5, enummembers_KPageDialog,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KPageDialog,
    0,
    init_type_KPageDialog,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KPageDialog,
    0,
    0,
    0,
    release_KPageDialog,
    cast_KPageDialog,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KPageDialog::staticMetaObject,
    0,
    signals_KPageDialog,
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/karrowbutton.sip"
#include <karrowbutton.h>
#line 27598 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"

#line 35 "/usr/share/python-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 27602 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 27605 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 533 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 27608 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 27611 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 514 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 27614 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 483 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 27617 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 27620 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 705 "/usr/share/python-sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 27623 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qmenu.sip"
#include <qmenu.h>
#line 27626 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 338 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 27629 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 261 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 27632 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 27635 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qbuttongroup.sip"
#include <qbuttongroup.h>
#line 27638 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 27641 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 27644 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 36 "/usr/share/python-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 27647 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 27650 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 39 "/usr/share/python-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 27653 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 27656 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 39 "/usr/share/python-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 27659 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 27662 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 27665 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 27668 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 27671 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 27674 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 27677 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 37 "/usr/share/python-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 27680 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 27683 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 27686 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 27689 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 27692 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 27695 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 27698 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 274 "/usr/share/python-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 27701 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 656 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 27704 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 616 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 27707 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 605 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 27710 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 748 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 27713 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 801 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 27716 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 774 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 27719 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 790 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 27722 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 863 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 27725 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 412 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 27728 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 627 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 27731 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 583 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 27734 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 570 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 27737 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 557 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 27740 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 356 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 27743 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 27746 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 61 "/usr/share/python-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 27749 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 39 "/usr/share/python-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 27752 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 27755 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 27758 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 27761 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 27764 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 27767 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 27770 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 27773 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 27776 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 355 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 27779 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 34 "/usr/share/python-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 27782 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 27785 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 27788 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 27791 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 27794 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 27797 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"


class sipKArrowButton : public KArrowButton
{
public:
    sipKArrowButton(QWidget*,Qt::ArrowType);
    virtual ~sipKArrowButton();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    bool eventFilter(QObject*,QEvent*);
    void languageChange();
    void windowActivationChange(bool);
    void fontChange(const QFont&);
    void paletteChange(const QPalette&);
    void enabledChange(bool);
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void closeEvent(QCloseEvent*);
    void resizeEvent(QResizeEvent*);
    void moveEvent(QMoveEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    void setVisible(bool);
    int devType() const;
    void timerEvent(QTimerEvent*);
    void changeEvent(QEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void nextCheckState();
    void checkStateSet();
    bool hitButton(const QPoint&) const;
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyPressEvent(QKeyEvent*);
    bool event(QEvent*);
    QSize minimumSizeHint() const;
    void paintEvent(QPaintEvent*);
    QSize sizeHint() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKArrowButton(const sipKArrowButton &);
    sipKArrowButton &operator = (const sipKArrowButton &);

    char sipPyMethods[50];
};

sipKArrowButton::sipKArrowButton(QWidget*a0,Qt::ArrowType a1): KArrowButton(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKArrowButton::~sipKArrowButton()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKArrowButton::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KArrowButton);
}

int sipKArrowButton::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KArrowButton::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KArrowButton,_c,_id,_a);

    return _id;
}

void *sipKArrowButton::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KArrowButton, _clname)) ? this : KArrowButton::qt_metacast(_clname);
}

void sipKArrowButton::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KArrowButton::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKArrowButton::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KArrowButton::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKArrowButton::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KArrowButton::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKArrowButton::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KArrowButton::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kdeui_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKArrowButton::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KArrowButton::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKArrowButton::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
        KArrowButton::languageChange();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKArrowButton::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
        KArrowButton::windowActivationChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKArrowButton::fontChange(const QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
        KArrowButton::fontChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QFont&);

    ((sipVH_QtGui_9)(sipModuleAPI_kdeui_QtGui->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKArrowButton::paletteChange(const QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
        KArrowButton::paletteChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_10)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPalette&);

    ((sipVH_QtGui_10)(sipModuleAPI_kdeui_QtGui->em_virthandlers[10]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKArrowButton::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
        KArrowButton::enabledChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKArrowButton::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return KArrowButton::focusNextPrevChild(a0);

    typedef bool (*sipVH_QtGui_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return ((sipVH_QtGui_11)(sipModuleAPI_kdeui_QtGui->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QVariant sipKArrowButton::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return KArrowButton::inputMethodQuery(a0);

    typedef QVariant (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return ((sipVH_QtGui_12)(sipModuleAPI_kdeui_QtGui->em_virthandlers[12]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKArrowButton::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        KArrowButton::inputMethodEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_13)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    ((sipVH_QtGui_13)(sipModuleAPI_kdeui_QtGui->em_virthandlers[13]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKArrowButton::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return KArrowButton::metric(a0);

    typedef int (*sipVH_QtGui_14)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_14)(sipModuleAPI_kdeui_QtGui->em_virthandlers[14]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKArrowButton::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        KArrowButton::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_kdeui_QtGui->em_virthandlers[0]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKArrowButton::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        KArrowButton::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_1)(sipModuleAPI_kdeui_QtGui->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKArrowButton::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        KArrowButton::dropEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_15)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    ((sipVH_QtGui_15)(sipModuleAPI_kdeui_QtGui->em_virthandlers[15]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKArrowButton::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        KArrowButton::dragLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_16)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    ((sipVH_QtGui_16)(sipModuleAPI_kdeui_QtGui->em_virthandlers[16]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKArrowButton::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        KArrowButton::dragMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    ((sipVH_QtGui_17)(sipModuleAPI_kdeui_QtGui->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKArrowButton::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        KArrowButton::dragEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    ((sipVH_QtGui_18)(sipModuleAPI_kdeui_QtGui->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKArrowButton::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        KArrowButton::actionEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_19)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    ((sipVH_QtGui_19)(sipModuleAPI_kdeui_QtGui->em_virthandlers[19]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKArrowButton::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        KArrowButton::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_20)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_20)(sipModuleAPI_kdeui_QtGui->em_virthandlers[20]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKArrowButton::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        KArrowButton::contextMenuEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_21)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    ((sipVH_QtGui_21)(sipModuleAPI_kdeui_QtGui->em_virthandlers[21]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKArrowButton::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        KArrowButton::closeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_22)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    ((sipVH_QtGui_22)(sipModuleAPI_kdeui_QtGui->em_virthandlers[22]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKArrowButton::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        KArrowButton::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_kdeui_QtGui->em_virthandlers[2]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKArrowButton::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        KArrowButton::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_23)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_23)(sipModuleAPI_kdeui_QtGui->em_virthandlers[23]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKArrowButton::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        KArrowButton::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKArrowButton::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        KArrowButton::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKArrowButton::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        KArrowButton::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_kdeui_QtGui->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKArrowButton::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        KArrowButton::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QPaintEngine* sipKArrowButton::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[30]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return KArrowButton::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_27)(sipModuleAPI_kdeui_QtGui->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKArrowButton::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[31]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return KArrowButton::heightForWidth(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtGui_28)(sipModuleAPI_kdeui_QtGui->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKArrowButton::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        KArrowButton::setVisible(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKArrowButton::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[33]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return KArrowButton::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_kdeui_QtCore->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKArrowButton::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KArrowButton::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kdeui_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKArrowButton::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        KArrowButton::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKArrowButton::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        KArrowButton::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKArrowButton::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        KArrowButton::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKArrowButton::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        KArrowButton::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKArrowButton::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        KArrowButton::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKArrowButton::nextCheckState()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_nextCheckState);

    if (!sipMeth)
    {
        KArrowButton::nextCheckState();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKArrowButton::checkStateSet()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_checkStateSet);

    if (!sipMeth)
    {
        KArrowButton::checkStateSet();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipKArrowButton::hitButton(const QPoint& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[42]),sipPySelf,NULL,sipName_hitButton);

    if (!sipMeth)
        return KArrowButton::hitButton(a0);

    typedef bool (*sipVH_QtGui_57)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPoint&);

    return ((sipVH_QtGui_57)(sipModuleAPI_kdeui_QtGui->em_virthandlers[57]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKArrowButton::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        KArrowButton::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kdeui_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKArrowButton::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        KArrowButton::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kdeui_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKArrowButton::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        KArrowButton::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKArrowButton::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KArrowButton::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QSize sipKArrowButton::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[47]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return KArrowButton::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKArrowButton::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        KArrowButton::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_kdeui_QtGui->em_virthandlers[3]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QSize sipKArrowButton::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[49]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return KArrowButton::sizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}


extern "C" {static PyObject *meth_KArrowButton_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_KArrowButton_sizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KArrowButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KArrowButton, &sipCpp))
        {
            QSize*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSize((sipSelfWasArg ? sipCpp->KArrowButton::sizeHint() : sipCpp->sizeHint()));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KArrowButton, sipName_sizeHint, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KArrowButton_arrowType(PyObject *, PyObject *);}
static PyObject *meth_KArrowButton_arrowType(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KArrowButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KArrowButton, &sipCpp))
        {
            Qt::ArrowType sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->arrowType();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_Qt_ArrowType);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KArrowButton, sipName_arrowType, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KArrowButton_arrowTp(PyObject *, PyObject *);}
static PyObject *meth_KArrowButton_arrowTp(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KArrowButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KArrowButton, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->arrowTp();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KArrowButton, sipName_arrowTp, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KArrowButton_setArrowTp(PyObject *, PyObject *);}
static PyObject *meth_KArrowButton_setArrowTp(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        KArrowButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KArrowButton, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setArrowTp(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KArrowButton, sipName_setArrowTp, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KArrowButton_setArrowType(PyObject *, PyObject *);}
static PyObject *meth_KArrowButton_setArrowType(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::ArrowType a0;
        KArrowButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KArrowButton, &sipCpp, sipType_Qt_ArrowType, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setArrowType(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KArrowButton, sipName_setArrowType, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KArrowButton_paintEvent(PyObject *, PyObject *);}
static PyObject *meth_KArrowButton_paintEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent* a0;
        KArrowButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KArrowButton, &sipCpp, sipType_QPaintEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KArrowButton::paintEvent(a0) : sipCpp->paintEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KArrowButton, sipName_paintEvent, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KArrowButton(void *, const sipTypeDef *);}
static void *cast_KArrowButton(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KArrowButton)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QPushButton)->ctd_cast((QPushButton *)(KArrowButton *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KArrowButton(void *, int);}
static void release_KArrowButton(void *sipCppV,int)
{
    KArrowButton *sipCpp = reinterpret_cast<KArrowButton *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KArrowButton(sipSimpleWrapper *);}
static void dealloc_KArrowButton(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKArrowButton *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KArrowButton(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KArrowButton(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KArrowButton(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKArrowButton *sipCpp = 0;

    {
        QWidget* a0 = 0;
        Qt::ArrowType a1 = Qt::UpArrow;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JHE", sipType_QWidget, &a0, sipOwner, sipType_Qt_ArrowType, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKArrowButton(a0,a1);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KArrowButton[] = {{427, 2, 1}};


static PyMethodDef methods_KArrowButton[] = {
    {SIP_MLNAME_CAST(sipName_arrowTp), meth_KArrowButton_arrowTp, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_arrowType), meth_KArrowButton_arrowType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), meth_KArrowButton_paintEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setArrowTp), meth_KArrowButton_setArrowTp, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setArrowType), meth_KArrowButton_setArrowType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_KArrowButton_sizeHint, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KArrowButton = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KArrowButton,
        {0}
    },
    {
        sipNameNr_KArrowButton,
        {0, 0, 1},
        6, methods_KArrowButton,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KArrowButton,
    0,
    init_type_KArrowButton,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KArrowButton,
    0,
    0,
    0,
    release_KArrowButton,
    cast_KArrowButton,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KArrowButton::staticMetaObject,
    0,
    0
};

#line 32 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kapplication.sip"
#include <kapplication.h>
#line 29078 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"

#line 37 "/usr/share/python-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 29082 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdecore/kcomponentdata.sip"
#include <kcomponentdata.h>
#line 29085 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 34 "/usr/share/python-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 29088 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 29091 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 36 "/usr/share/python-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 29094 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 29097 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtGui/qsessionmanager.sip"
#include <qsessionmanager.h>
#line 29100 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 36 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdecore/kconfig.sip"
#include <kconfig.h>
#line 29103 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 29106 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 29109 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 29112 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 29115 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 29118 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 36 "/usr/share/python-sip/PyQt4/QtGui/qapplication.sip"
#include <qapplication.h>
#line 29121 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 29124 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 29127 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 29130 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qclipboard.sip"
#include <qclipboard.h>
#line 29133 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qdesktopwidget.sip"
#include <qdesktopwidget.h>
#line 29136 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 29139 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 29142 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 29145 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 29148 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 29151 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 29154 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 478 "/usr/share/python-sip/PyQt4/QtGui/qapplication.sip"
#include <qapplication.h>
#line 29157 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 73 "/usr/share/python-sip/PyQt4/QtCore/qcoreapplication.sip"
#include <qcoreapplication.h>
#line 29160 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qtranslator.sip"
#include <qtranslator.h>
#line 29163 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 36 "/usr/share/python-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 29166 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qeventloop.sip"
#include <qeventloop.h>
#line 29169 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 355 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 29172 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 338 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 29175 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 274 "/usr/share/python-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 29178 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 29181 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 29184 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 29187 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 29190 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 29193 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 36 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kapplication.sip"
// Convert a Python argv list to a conventional C argc count and argv array.
static char **kdeui_ArgvToC(PyObject *argvlist, int &argc)
{
    char **argv;

    argc = PyList_GET_SIZE(argvlist);

    // Allocate space for two copies of the argument pointers, plus the
    // terminating NULL.
    if ((argv = (char **)sipMalloc(2 * (argc + 1) * sizeof (char *))) == NULL)
        return NULL;

    // Convert the list.
    for (int a = 0; a < argc; ++a)
    {
        char *arg;
#if PY_MAJOR_VERSION >= 3
        PyObject *utf8bytes = PyUnicode_AsUTF8String(PyList_GetItem(argvlist,a));
        arg = PyBytes_AsString(utf8bytes);
#else
        arg = PyString_AsString(PyList_GetItem(argvlist,a));
#endif
        // Get the argument and allocate memory for it.
        if (arg == NULL ||
            (argv[a] = (char *)sipMalloc(strlen(arg) + 1)) == NULL)
            return NULL;

        // Copy the argument and save a pointer to it.
        strcpy(argv[a], arg);
        argv[a + argc + 1] = argv[a];
#if PY_MAJOR_VERSION >= 3
        Py_DECREF(utf8bytes);
#endif
    }

    argv[argc + argc + 1] = argv[argc] = NULL;

    return argv;
}


// Remove arguments from the Python argv list that have been removed from the
// C argv array.
static void kdeui_UpdatePyArgv(PyObject *argvlist, int argc, char **argv)
{
    for (int a = 0, na = 0; a < argc; ++a)
    {
        // See if it was removed.
        if (argv[na] == argv[a + argc + 1])
            ++na;
        else
            PyList_SetSlice(argvlist, na, na + 1, NULL);
    }
}
#line 29249 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"


class sipKApplication : public KApplication
{
public:
    sipKApplication(bool);
    sipKApplication(Display*,Qt::HANDLE,Qt::HANDLE);
    sipKApplication(Display*,int&,char**,const QByteArray&,bool);
    sipKApplication(bool,const KComponentData&);
    sipKApplication(Display*,Qt::HANDLE,Qt::HANDLE,const KComponentData&);
    virtual ~sipKApplication();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool notify(QObject*,QEvent*);
    bool event(QEvent*);
    void saveState(QSessionManager&);
    void commitData(QSessionManager&);
    bool x11EventFilter(XEvent*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKApplication(const sipKApplication &);
    sipKApplication &operator = (const sipKApplication &);

    char sipPyMethods[12];
};

sipKApplication::sipKApplication(bool a0): KApplication(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKApplication::sipKApplication(Display*a0,Qt::HANDLE a1,Qt::HANDLE a2): KApplication(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKApplication::sipKApplication(Display*a0,int& a1,char**a2,const QByteArray& a3,bool a4): KApplication(a0,a1,a2,a3,a4), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKApplication::sipKApplication(bool a0,const KComponentData& a1): KApplication(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKApplication::sipKApplication(Display*a0,Qt::HANDLE a1,Qt::HANDLE a2,const KComponentData& a3): KApplication(a0,a1,a2,a3), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKApplication::~sipKApplication()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKApplication::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KApplication);
}

int sipKApplication::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KApplication::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KApplication,_c,_id,_a);

    return _id;
}

void *sipKApplication::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KApplication, _clname)) ? this : KApplication::qt_metacast(_clname);
}

void sipKApplication::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KApplication::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKApplication::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KApplication::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKApplication::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KApplication::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKApplication::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KApplication::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kdeui_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKApplication::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KApplication::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kdeui_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKApplication::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KApplication::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKApplication::notify(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_notify);

    if (!sipMeth)
        return KApplication::notify(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKApplication::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KApplication::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKApplication::saveState(QSessionManager& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_saveState);

    if (!sipMeth)
    {
        KApplication::saveState(a0);
        return;
    }

    typedef void (*sipVH_QtGui_227)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QSessionManager&);

    ((sipVH_QtGui_227)(sipModuleAPI_kdeui_QtGui->em_virthandlers[227]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKApplication::commitData(QSessionManager& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_commitData);

    if (!sipMeth)
    {
        KApplication::commitData(a0);
        return;
    }

    typedef void (*sipVH_QtGui_227)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QSessionManager&);

    ((sipVH_QtGui_227)(sipModuleAPI_kdeui_QtGui->em_virthandlers[227]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKApplication::x11EventFilter(XEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_x11EventFilter);

    if (!sipMeth)
        return KApplication::x11EventFilter(a0);

    typedef bool (*sipVH_QtGui_228)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, XEvent*);

    return ((sipVH_QtGui_228)(sipModuleAPI_kdeui_QtGui->em_virthandlers[228]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_KApplication_kApplication(PyObject *, PyObject *);}
static PyObject *meth_KApplication_kApplication(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KApplication*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KApplication::kApplication();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KApplication,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KApplication, sipName_kApplication, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KApplication_sessionConfig(PyObject *, PyObject *);}
static PyObject *meth_KApplication_sessionConfig(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KApplication *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KApplication, &sipCpp))
        {
            KConfig*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sessionConfig();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KConfig,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KApplication, sipName_sessionConfig, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KApplication_disableSessionManagement(PyObject *, PyObject *);}
static PyObject *meth_KApplication_disableSessionManagement(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KApplication *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KApplication, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->disableSessionManagement();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KApplication, sipName_disableSessionManagement, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KApplication_enableSessionManagement(PyObject *, PyObject *);}
static PyObject *meth_KApplication_enableSessionManagement(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KApplication *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KApplication, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->enableSessionManagement();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KApplication, sipName_enableSessionManagement, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KApplication_commitData(PyObject *, PyObject *);}
static PyObject *meth_KApplication_commitData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QSessionManager* a0;
        KApplication *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KApplication, &sipCpp, sipType_QSessionManager, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KApplication::commitData(*a0) : sipCpp->commitData(*a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KApplication, sipName_commitData, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KApplication_saveState(PyObject *, PyObject *);}
static PyObject *meth_KApplication_saveState(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QSessionManager* a0;
        KApplication *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KApplication, &sipCpp, sipType_QSessionManager, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KApplication::saveState(*a0) : sipCpp->saveState(*a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KApplication, sipName_saveState, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KApplication_sessionSaving(PyObject *, PyObject *);}
static PyObject *meth_KApplication_sessionSaving(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KApplication *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KApplication, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sessionSaving();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KApplication, sipName_sessionSaving, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KApplication_setTopWidget(PyObject *, PyObject *);}
static PyObject *meth_KApplication_setTopWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        KApplication *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KApplication, &sipCpp, sipType_QWidget, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTopWidget(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KApplication, sipName_setTopWidget, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KApplication_tempSaveName(PyObject *, PyObject *);}
static PyObject *meth_KApplication_tempSaveName(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KApplication::tempSaveName(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KApplication, sipName_tempSaveName, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KApplication_checkRecoverFile(PyObject *, PyObject *);}
static PyObject *meth_KApplication_checkRecoverFile(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        bool a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KApplication::checkRecoverFile(*a0,a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            PyObject *sipResObj = sipConvertFromNewType(sipRes,sipType_QString,NULL);
            return sipBuildResult(0,"(Rb)",sipResObj,a1);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KApplication, sipName_checkRecoverFile, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KApplication_installX11EventFilter(PyObject *, PyObject *);}
static PyObject *meth_KApplication_installX11EventFilter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        KApplication *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KApplication, &sipCpp, sipType_QWidget, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->installX11EventFilter(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KApplication, sipName_installX11EventFilter, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KApplication_removeX11EventFilter(PyObject *, PyObject *);}
static PyObject *meth_KApplication_removeX11EventFilter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget* a0;
        KApplication *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KApplication, &sipCpp, sipType_QWidget, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->removeX11EventFilter(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KApplication, sipName_removeX11EventFilter, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KApplication_startupId(PyObject *, PyObject *);}
static PyObject *meth_KApplication_startupId(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KApplication *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KApplication, &sipCpp))
        {
            QByteArray*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray(sipCpp->startupId());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KApplication, sipName_startupId, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KApplication_setStartupId(PyObject *, PyObject *);}
static PyObject *meth_KApplication_setStartupId(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QByteArray* a0;
        int a0State = 0;
        KApplication *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KApplication, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setStartupId(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KApplication, sipName_setStartupId, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KApplication_clearStartupId(PyObject *, PyObject *);}
static PyObject *meth_KApplication_clearStartupId(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KApplication *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KApplication, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->clearStartupId();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KApplication, sipName_clearStartupId, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KApplication_setSynchronizeClipboard(PyObject *, PyObject *);}
static PyObject *meth_KApplication_setSynchronizeClipboard(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KApplication *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KApplication, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSynchronizeClipboard(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KApplication, sipName_setSynchronizeClipboard, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KApplication_userTimestamp(PyObject *, PyObject *);}
static PyObject *meth_KApplication_userTimestamp(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KApplication *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KApplication, &sipCpp))
        {
            unsigned long sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->userTimestamp();
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KApplication, sipName_userTimestamp, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KApplication_updateRemoteUserTimestamp(PyObject *, PyObject *);}
static PyObject *meth_KApplication_updateRemoteUserTimestamp(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        int a1 = 0;
        KApplication *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|i", &sipSelf, sipType_KApplication, &sipCpp, sipType_QString,&a0, &a0State, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->updateRemoteUserTimestamp(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KApplication, sipName_updateRemoteUserTimestamp, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KApplication_notify(PyObject *, PyObject *);}
static PyObject *meth_KApplication_notify(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QObject* a0;
        QEvent* a1;
        KApplication *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J8", &sipSelf, sipType_KApplication, &sipCpp, sipType_QObject, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KApplication::notify(a0,a1) : sipCpp->notify(a0,a1));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KApplication, sipName_notify, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KApplication_xioErrhandler(PyObject *, PyObject *);}
static PyObject *meth_KApplication_xioErrhandler(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Display* a0;
        KApplication *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KApplication, &sipCpp, sipType_Display, &a0))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->xioErrhandler(a0);
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KApplication, sipName_xioErrhandler, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KApplication_updateUserTimestamp(PyObject *, PyObject *);}
static PyObject *meth_KApplication_updateUserTimestamp(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0 = 0;
        KApplication *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|i", &sipSelf, sipType_KApplication, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->updateUserTimestamp(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KApplication, sipName_updateUserTimestamp, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KApplication_reparseConfiguration(PyObject *, PyObject *);}
static PyObject *meth_KApplication_reparseConfiguration(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KApplication *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KApplication, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->reparseConfiguration();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KApplication, sipName_reparseConfiguration, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KApplication_quit(PyObject *, PyObject *);}
static PyObject *meth_KApplication_quit(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KApplication *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KApplication, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->quit();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KApplication, sipName_quit, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KApplication(void *, const sipTypeDef *);}
static void *cast_KApplication(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KApplication)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QApplication)->ctd_cast((QApplication *)(KApplication *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KApplication(void *, int);}
static void release_KApplication(void *sipCppV,int)
{
    KApplication *sipCpp = reinterpret_cast<KApplication *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KApplication(sipSimpleWrapper *);}
static void dealloc_KApplication(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKApplication *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KApplication(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KApplication(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KApplication(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipKApplication *sipCpp = 0;

    {
        bool a0 = 1;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|b", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKApplication(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        Display* a0;
        Qt::HANDLE a1 = 0;
        Qt::HANDLE a2 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8|mm", sipType_Display, &a0, &a1, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKApplication(a0,a1,a2);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        Display* a0;
        PyObject * a1;
        const QByteArray* a2;
        int a2State = 0;
        bool a3 = 1;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8TJ1|b", sipType_Display, &a0, &PyList_Type, &a1, sipType_QByteArray, &a2, &a2State, &a3))
        {
            int sipIsErr = 0;

#line 99 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kapplication.sip"
// The Python interface is a list of argument strings that is modified.

        int argc;
        char **argv;
        
        // Convert the list.
        if ((argv = kdeui_ArgvToC(a1, argc)) == NULL)
            sipIsErr = 1;
        else
        {
            // Create it now the arguments are right.
            static int nargc;
            nargc = argc;
        
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKApplication(a0, nargc, argv, *a2, a3);
            Py_END_ALLOW_THREADS
        
            // Now modify the original list.
            kdeui_UpdatePyArgv(a1, argc, argv);
        }
#line 30277 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
            sipReleaseType(const_cast<QByteArray *>(a2),sipType_QByteArray,a2State);

            if (sipIsErr)
            {
                if (sipUnused)
                {
                    Py_XDECREF(*sipUnused);
                }

                sipAddException(sipErrorFail, sipParseErr);
                return NULL;
            }

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        bool a0;
        const KComponentData* a1;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "bJ9", &a0, sipType_KComponentData, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKApplication(a0,*a1);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        Display* a0;
        Qt::HANDLE a1;
        Qt::HANDLE a2;
        const KComponentData* a3;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8mmJ9", sipType_Display, &a0, &a1, &a2, sipType_KComponentData, &a3))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKApplication(a0,a1,a2,*a3);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KApplication[] = {{40, 2, 1}};


static PyMethodDef methods_KApplication[] = {
    {SIP_MLNAME_CAST(sipName_checkRecoverFile), meth_KApplication_checkRecoverFile, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_clearStartupId), meth_KApplication_clearStartupId, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_commitData), meth_KApplication_commitData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disableSessionManagement), meth_KApplication_disableSessionManagement, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enableSessionManagement), meth_KApplication_enableSessionManagement, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_installX11EventFilter), meth_KApplication_installX11EventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_kApplication), meth_KApplication_kApplication, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_notify), meth_KApplication_notify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_quit), meth_KApplication_quit, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_removeX11EventFilter), meth_KApplication_removeX11EventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_reparseConfiguration), meth_KApplication_reparseConfiguration, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_saveState), meth_KApplication_saveState, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sessionConfig), meth_KApplication_sessionConfig, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sessionSaving), meth_KApplication_sessionSaving, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setStartupId), meth_KApplication_setStartupId, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSynchronizeClipboard), meth_KApplication_setSynchronizeClipboard, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTopWidget), meth_KApplication_setTopWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_startupId), meth_KApplication_startupId, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_tempSaveName), meth_KApplication_tempSaveName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateRemoteUserTimestamp), meth_KApplication_updateRemoteUserTimestamp, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateUserTimestamp), meth_KApplication_updateUserTimestamp, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_userTimestamp), meth_KApplication_userTimestamp, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_xioErrhandler), meth_KApplication_xioErrhandler, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KApplication[] = {
    {"saveYourself()", 0, 0, 0},
    {0, 0, 0, 0}
};


extern "C" {static PyObject *varget_KApplication_loadedByKdeinit(void *, PyObject *, PyObject *);}
static PyObject *varget_KApplication_loadedByKdeinit(void *sipSelf, PyObject *, PyObject *)
{
    bool sipVal;
    KApplication *sipCpp = reinterpret_cast<KApplication *>(sipSelf);

    sipVal = sipCpp->loadedByKdeinit;

    return PyBool_FromLong(sipVal);
}


extern "C" {static int varset_KApplication_loadedByKdeinit(void *, PyObject *, PyObject *);}
static int varset_KApplication_loadedByKdeinit(void *sipSelf, PyObject *sipPy, PyObject *)
{
    bool sipVal;
    KApplication *sipCpp = reinterpret_cast<KApplication *>(sipSelf);

    sipVal = (bool)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->loadedByKdeinit = sipVal;

    return 0;
}

sipVariableDef variables_KApplication[] = {
    {InstanceVariable, sipName_loadedByKdeinit, (PyMethodDef *)varget_KApplication_loadedByKdeinit, (PyMethodDef *)varset_KApplication_loadedByKdeinit, NULL, NULL},
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KApplication = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KApplication,
        {0}
    },
    {
        sipNameNr_KApplication,
        {0, 0, 1},
        23, methods_KApplication,
        0, 0,
        1, variables_KApplication,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KApplication,
    0,
    init_type_KApplication,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KApplication,
    0,
    0,
    0,
    release_KApplication,
    cast_KApplication,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KApplication::staticMetaObject,
    0,
    signals_KApplication,
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kanimatedbutton.sip"
#include <kanimatedbutton.h>
#line 30461 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"

#line 35 "/usr/share/python-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 30465 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 36 "/usr/share/python-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 30468 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 30471 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 261 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 30474 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 30477 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 338 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 30480 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 863 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 30483 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 533 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 30486 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 1516 "/usr/share/python-sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 30489 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 30492 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 30495 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qtoolbutton.sip"
#include <qtoolbutton.h>
#line 30498 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qmenu.sip"
#include <qmenu.h>
#line 30501 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 30504 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 514 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 30507 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 483 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 30510 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qbuttongroup.sip"
#include <qbuttongroup.h>
#line 30513 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 30516 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 30519 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 30522 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 39 "/usr/share/python-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 30525 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 30528 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 39 "/usr/share/python-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 30531 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 30534 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 30537 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 30540 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 30543 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 30546 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 30549 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 37 "/usr/share/python-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 30552 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 30555 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 30558 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 30561 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 30564 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 30567 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 30570 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 274 "/usr/share/python-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 30573 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 656 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 30576 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 616 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 30579 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 605 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 30582 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 748 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 30585 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 801 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 30588 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 774 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 30591 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 790 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 30594 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 412 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 30597 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 627 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 30600 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 583 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 30603 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 570 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 30606 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 557 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 30609 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 356 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 30612 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 30615 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 61 "/usr/share/python-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 30618 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 39 "/usr/share/python-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 30621 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 30624 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 30627 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 30630 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 30633 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 30636 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 30639 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 30642 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 355 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 30645 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 34 "/usr/share/python-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 30648 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 30651 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 30654 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 30657 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 30660 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 30663 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"


class sipKAnimatedButton : public KAnimatedButton
{
public:
    sipKAnimatedButton(QWidget*);
    virtual ~sipKAnimatedButton();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    bool eventFilter(QObject*,QEvent*);
    void languageChange();
    void windowActivationChange(bool);
    void fontChange(const QFont&);
    void paletteChange(const QPalette&);
    void enabledChange(bool);
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void tabletEvent(QTabletEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void closeEvent(QCloseEvent*);
    void resizeEvent(QResizeEvent*);
    void moveEvent(QMoveEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    void setVisible(bool);
    int devType() const;
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    void checkStateSet();
    bool hitButton(const QPoint&) const;
    void nextCheckState();
    void mouseReleaseEvent(QMouseEvent*);
    void changeEvent(QEvent*);
    void timerEvent(QTimerEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void actionEvent(QActionEvent*);
    void paintEvent(QPaintEvent*);
    void mousePressEvent(QMouseEvent*);
    bool event(QEvent*);
    QSize minimumSizeHint() const;
    QSize sizeHint() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKAnimatedButton(const sipKAnimatedButton &);
    sipKAnimatedButton &operator = (const sipKAnimatedButton &);

    char sipPyMethods[50];
};

sipKAnimatedButton::sipKAnimatedButton(QWidget*a0): KAnimatedButton(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKAnimatedButton::~sipKAnimatedButton()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKAnimatedButton::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KAnimatedButton);
}

int sipKAnimatedButton::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KAnimatedButton::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KAnimatedButton,_c,_id,_a);

    return _id;
}

void *sipKAnimatedButton::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KAnimatedButton, _clname)) ? this : KAnimatedButton::qt_metacast(_clname);
}

void sipKAnimatedButton::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KAnimatedButton::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAnimatedButton::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KAnimatedButton::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAnimatedButton::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KAnimatedButton::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAnimatedButton::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KAnimatedButton::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kdeui_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKAnimatedButton::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KAnimatedButton::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKAnimatedButton::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
        KAnimatedButton::languageChange();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKAnimatedButton::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
        KAnimatedButton::windowActivationChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAnimatedButton::fontChange(const QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
        KAnimatedButton::fontChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QFont&);

    ((sipVH_QtGui_9)(sipModuleAPI_kdeui_QtGui->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAnimatedButton::paletteChange(const QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
        KAnimatedButton::paletteChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_10)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPalette&);

    ((sipVH_QtGui_10)(sipModuleAPI_kdeui_QtGui->em_virthandlers[10]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAnimatedButton::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
        KAnimatedButton::enabledChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKAnimatedButton::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return KAnimatedButton::focusNextPrevChild(a0);

    typedef bool (*sipVH_QtGui_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return ((sipVH_QtGui_11)(sipModuleAPI_kdeui_QtGui->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QVariant sipKAnimatedButton::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return KAnimatedButton::inputMethodQuery(a0);

    typedef QVariant (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return ((sipVH_QtGui_12)(sipModuleAPI_kdeui_QtGui->em_virthandlers[12]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAnimatedButton::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        KAnimatedButton::inputMethodEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_13)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    ((sipVH_QtGui_13)(sipModuleAPI_kdeui_QtGui->em_virthandlers[13]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKAnimatedButton::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return KAnimatedButton::metric(a0);

    typedef int (*sipVH_QtGui_14)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_14)(sipModuleAPI_kdeui_QtGui->em_virthandlers[14]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAnimatedButton::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        KAnimatedButton::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_kdeui_QtGui->em_virthandlers[0]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAnimatedButton::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        KAnimatedButton::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_1)(sipModuleAPI_kdeui_QtGui->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAnimatedButton::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        KAnimatedButton::dropEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_15)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    ((sipVH_QtGui_15)(sipModuleAPI_kdeui_QtGui->em_virthandlers[15]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAnimatedButton::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        KAnimatedButton::dragLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_16)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    ((sipVH_QtGui_16)(sipModuleAPI_kdeui_QtGui->em_virthandlers[16]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAnimatedButton::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        KAnimatedButton::dragMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    ((sipVH_QtGui_17)(sipModuleAPI_kdeui_QtGui->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAnimatedButton::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        KAnimatedButton::dragEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    ((sipVH_QtGui_18)(sipModuleAPI_kdeui_QtGui->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAnimatedButton::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        KAnimatedButton::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_20)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_20)(sipModuleAPI_kdeui_QtGui->em_virthandlers[20]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAnimatedButton::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        KAnimatedButton::contextMenuEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_21)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    ((sipVH_QtGui_21)(sipModuleAPI_kdeui_QtGui->em_virthandlers[21]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAnimatedButton::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        KAnimatedButton::closeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_22)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    ((sipVH_QtGui_22)(sipModuleAPI_kdeui_QtGui->em_virthandlers[22]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAnimatedButton::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        KAnimatedButton::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_kdeui_QtGui->em_virthandlers[2]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAnimatedButton::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        KAnimatedButton::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_23)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_23)(sipModuleAPI_kdeui_QtGui->em_virthandlers[23]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAnimatedButton::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        KAnimatedButton::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_kdeui_QtGui->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAnimatedButton::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        KAnimatedButton::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QPaintEngine* sipKAnimatedButton::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[27]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return KAnimatedButton::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_27)(sipModuleAPI_kdeui_QtGui->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKAnimatedButton::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[28]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return KAnimatedButton::heightForWidth(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtGui_28)(sipModuleAPI_kdeui_QtGui->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAnimatedButton::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        KAnimatedButton::setVisible(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKAnimatedButton::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[30]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return KAnimatedButton::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_kdeui_QtCore->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKAnimatedButton::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        KAnimatedButton::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kdeui_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAnimatedButton::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        KAnimatedButton::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kdeui_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAnimatedButton::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        KAnimatedButton::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAnimatedButton::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        KAnimatedButton::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAnimatedButton::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        KAnimatedButton::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAnimatedButton::checkStateSet()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_checkStateSet);

    if (!sipMeth)
    {
        KAnimatedButton::checkStateSet();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipKAnimatedButton::hitButton(const QPoint& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_hitButton);

    if (!sipMeth)
        return KAnimatedButton::hitButton(a0);

    typedef bool (*sipVH_QtGui_57)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPoint&);

    return ((sipVH_QtGui_57)(sipModuleAPI_kdeui_QtGui->em_virthandlers[57]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAnimatedButton::nextCheckState()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_nextCheckState);

    if (!sipMeth)
    {
        KAnimatedButton::nextCheckState();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKAnimatedButton::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        KAnimatedButton::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAnimatedButton::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        KAnimatedButton::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAnimatedButton::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KAnimatedButton::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kdeui_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAnimatedButton::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        KAnimatedButton::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAnimatedButton::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        KAnimatedButton::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAnimatedButton::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        KAnimatedButton::actionEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_19)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    ((sipVH_QtGui_19)(sipModuleAPI_kdeui_QtGui->em_virthandlers[19]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAnimatedButton::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        KAnimatedButton::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_kdeui_QtGui->em_virthandlers[3]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAnimatedButton::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        KAnimatedButton::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKAnimatedButton::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KAnimatedButton::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QSize sipKAnimatedButton::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[48]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return KAnimatedButton::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

QSize sipKAnimatedButton::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[49]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return KAnimatedButton::sizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}


extern "C" {static PyObject *meth_KAnimatedButton_iconDimensions(PyObject *, PyObject *);}
static PyObject *meth_KAnimatedButton_iconDimensions(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KAnimatedButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KAnimatedButton, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->iconDimensions();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KAnimatedButton, sipName_iconDimensions, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KAnimatedButton_icons(PyObject *, PyObject *);}
static PyObject *meth_KAnimatedButton_icons(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KAnimatedButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KAnimatedButton, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->icons());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KAnimatedButton, sipName_icons, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KAnimatedButton_setIcons(PyObject *, PyObject *);}
static PyObject *meth_KAnimatedButton_setIcons(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KAnimatedButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KAnimatedButton, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setIcons(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KAnimatedButton, sipName_setIcons, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KAnimatedButton_start(PyObject *, PyObject *);}
static PyObject *meth_KAnimatedButton_start(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KAnimatedButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KAnimatedButton, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->start();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KAnimatedButton, sipName_start, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KAnimatedButton_stop(PyObject *, PyObject *);}
static PyObject *meth_KAnimatedButton_stop(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KAnimatedButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KAnimatedButton, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->stop();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KAnimatedButton, sipName_stop, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KAnimatedButton_updateIcons(PyObject *, PyObject *);}
static PyObject *meth_KAnimatedButton_updateIcons(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KAnimatedButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KAnimatedButton, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->updateIcons();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KAnimatedButton, sipName_updateIcons, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KAnimatedButton_slotTimerUpdate(PyObject *, PyObject *);}
static PyObject *meth_KAnimatedButton_slotTimerUpdate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KAnimatedButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KAnimatedButton, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->slotTimerUpdate();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KAnimatedButton, sipName_slotTimerUpdate, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KAnimatedButton(void *, const sipTypeDef *);}
static void *cast_KAnimatedButton(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KAnimatedButton)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QToolButton)->ctd_cast((QToolButton *)(KAnimatedButton *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KAnimatedButton(void *, int);}
static void release_KAnimatedButton(void *sipCppV,int)
{
    KAnimatedButton *sipCpp = reinterpret_cast<KAnimatedButton *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KAnimatedButton(sipSimpleWrapper *);}
static void dealloc_KAnimatedButton(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKAnimatedButton *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KAnimatedButton(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KAnimatedButton(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KAnimatedButton(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKAnimatedButton *sipCpp = 0;

    {
        QWidget* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKAnimatedButton(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KAnimatedButton[] = {{715, 2, 1}};


static PyMethodDef methods_KAnimatedButton[] = {
    {SIP_MLNAME_CAST(sipName_iconDimensions), meth_KAnimatedButton_iconDimensions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_icons), meth_KAnimatedButton_icons, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setIcons), meth_KAnimatedButton_setIcons, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotTimerUpdate), meth_KAnimatedButton_slotTimerUpdate, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_start), meth_KAnimatedButton_start, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_stop), meth_KAnimatedButton_stop, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateIcons), meth_KAnimatedButton_updateIcons, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KAnimatedButton[] = {
    {"clicked()", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KAnimatedButton = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KAnimatedButton,
        {0}
    },
    {
        sipNameNr_KAnimatedButton,
        {0, 0, 1},
        7, methods_KAnimatedButton,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KAnimatedButton,
    0,
    init_type_KAnimatedButton,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KAnimatedButton,
    0,
    0,
    0,
    release_KAnimatedButton,
    cast_KAnimatedButton,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KAnimatedButton::staticMetaObject,
    0,
    signals_KAnimatedButton,
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kactionselector.sip"
#include <kactionselector.h>
#line 31974 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"

#line 35 "/usr/share/python-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 31978 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 34 "/usr/share/python-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 31981 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 31984 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 483 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 31987 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qlistwidget.sip"
#include <qlistwidget.h>
#line 31990 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 36 "/usr/share/python-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 31993 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 31996 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 137 "/usr/share/python-sip/PyQt4/QtGui/qlistwidget.sip"
#include <qlistwidget.h>
#line 31999 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 32002 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 39 "/usr/share/python-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 32005 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 32008 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 32011 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 39 "/usr/share/python-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 32014 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 32017 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 32020 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 32023 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 32026 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 32029 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 32032 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 32035 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 37 "/usr/share/python-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 32038 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 32041 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 32044 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 32047 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 32050 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 32053 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 32056 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 32059 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 274 "/usr/share/python-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 32062 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 656 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 32065 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 616 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 32068 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 605 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 32071 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 748 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 32074 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 801 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 32077 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 774 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 32080 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 790 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 32083 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 863 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 32086 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 412 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 32089 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 627 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 32092 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 583 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 32095 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 570 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 32098 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 557 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 32101 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 533 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 32104 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 514 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 32107 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 356 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 32110 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 261 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 32113 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 32116 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 61 "/usr/share/python-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 32119 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 39 "/usr/share/python-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 32122 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 32125 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 32128 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 32131 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 32134 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 32137 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 32140 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 32143 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 32146 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 32149 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 355 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 32152 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 338 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 32155 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 32158 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 32161 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 32164 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 32167 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 32170 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"


class sipKActionSelector : public KActionSelector
{
public:
    sipKActionSelector(QWidget*);
    virtual ~sipKActionSelector();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    void languageChange();
    void windowActivationChange(bool);
    void fontChange(const QFont&);
    void paletteChange(const QPalette&);
    void enabledChange(bool);
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void changeEvent(QEvent*);
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void closeEvent(QCloseEvent*);
    void resizeEvent(QResizeEvent*);
    void moveEvent(QMoveEvent*);
    void paintEvent(QPaintEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    bool event(QEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    QSize minimumSizeHint() const;
    QSize sizeHint() const;
    void setVisible(bool);
    int devType() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKActionSelector(const sipKActionSelector &);
    sipKActionSelector &operator = (const sipKActionSelector &);

    char sipPyMethods[47];
};

sipKActionSelector::sipKActionSelector(QWidget*a0): KActionSelector(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKActionSelector::~sipKActionSelector()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKActionSelector::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KActionSelector);
}

int sipKActionSelector::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KActionSelector::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KActionSelector,_c,_id,_a);

    return _id;
}

void *sipKActionSelector::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KActionSelector, _clname)) ? this : KActionSelector::qt_metacast(_clname);
}

void sipKActionSelector::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KActionSelector::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKActionSelector::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KActionSelector::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKActionSelector::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KActionSelector::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKActionSelector::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KActionSelector::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kdeui_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKActionSelector::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KActionSelector::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kdeui_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKActionSelector::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KActionSelector::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKActionSelector::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
        KActionSelector::languageChange();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKActionSelector::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
        KActionSelector::windowActivationChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKActionSelector::fontChange(const QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
        KActionSelector::fontChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QFont&);

    ((sipVH_QtGui_9)(sipModuleAPI_kdeui_QtGui->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKActionSelector::paletteChange(const QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
        KActionSelector::paletteChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_10)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPalette&);

    ((sipVH_QtGui_10)(sipModuleAPI_kdeui_QtGui->em_virthandlers[10]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKActionSelector::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
        KActionSelector::enabledChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKActionSelector::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return KActionSelector::focusNextPrevChild(a0);

    typedef bool (*sipVH_QtGui_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return ((sipVH_QtGui_11)(sipModuleAPI_kdeui_QtGui->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QVariant sipKActionSelector::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return KActionSelector::inputMethodQuery(a0);

    typedef QVariant (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return ((sipVH_QtGui_12)(sipModuleAPI_kdeui_QtGui->em_virthandlers[12]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKActionSelector::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        KActionSelector::inputMethodEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_13)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    ((sipVH_QtGui_13)(sipModuleAPI_kdeui_QtGui->em_virthandlers[13]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKActionSelector::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return KActionSelector::metric(a0);

    typedef int (*sipVH_QtGui_14)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_14)(sipModuleAPI_kdeui_QtGui->em_virthandlers[14]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKActionSelector::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        KActionSelector::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKActionSelector::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        KActionSelector::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_kdeui_QtGui->em_virthandlers[0]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKActionSelector::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        KActionSelector::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_1)(sipModuleAPI_kdeui_QtGui->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKActionSelector::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        KActionSelector::dropEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_15)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    ((sipVH_QtGui_15)(sipModuleAPI_kdeui_QtGui->em_virthandlers[15]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKActionSelector::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        KActionSelector::dragLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_16)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    ((sipVH_QtGui_16)(sipModuleAPI_kdeui_QtGui->em_virthandlers[16]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKActionSelector::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        KActionSelector::dragMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    ((sipVH_QtGui_17)(sipModuleAPI_kdeui_QtGui->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKActionSelector::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        KActionSelector::dragEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    ((sipVH_QtGui_18)(sipModuleAPI_kdeui_QtGui->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKActionSelector::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        KActionSelector::actionEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_19)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    ((sipVH_QtGui_19)(sipModuleAPI_kdeui_QtGui->em_virthandlers[19]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKActionSelector::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        KActionSelector::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_20)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_20)(sipModuleAPI_kdeui_QtGui->em_virthandlers[20]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKActionSelector::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        KActionSelector::contextMenuEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_21)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    ((sipVH_QtGui_21)(sipModuleAPI_kdeui_QtGui->em_virthandlers[21]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKActionSelector::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        KActionSelector::closeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_22)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    ((sipVH_QtGui_22)(sipModuleAPI_kdeui_QtGui->em_virthandlers[22]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKActionSelector::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        KActionSelector::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_kdeui_QtGui->em_virthandlers[2]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKActionSelector::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        KActionSelector::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_23)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_23)(sipModuleAPI_kdeui_QtGui->em_virthandlers[23]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKActionSelector::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        KActionSelector::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_kdeui_QtGui->em_virthandlers[3]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKActionSelector::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        KActionSelector::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKActionSelector::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        KActionSelector::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKActionSelector::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        KActionSelector::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kdeui_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKActionSelector::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        KActionSelector::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kdeui_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKActionSelector::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        KActionSelector::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKActionSelector::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        KActionSelector::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKActionSelector::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        KActionSelector::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_kdeui_QtGui->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKActionSelector::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        KActionSelector::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKActionSelector::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        KActionSelector::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKActionSelector::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        KActionSelector::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKActionSelector::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        KActionSelector::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKActionSelector::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KActionSelector::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QPaintEngine* sipKActionSelector::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[41]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return KActionSelector::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_27)(sipModuleAPI_kdeui_QtGui->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKActionSelector::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[42]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return KActionSelector::heightForWidth(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtGui_28)(sipModuleAPI_kdeui_QtGui->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QSize sipKActionSelector::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[43]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return KActionSelector::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

QSize sipKActionSelector::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[44]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return KActionSelector::sizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKActionSelector::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        KActionSelector::setVisible(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKActionSelector::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[46]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return KActionSelector::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_kdeui_QtCore->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth);
}


extern "C" {static PyObject *meth_KActionSelector_availableListWidget(PyObject *, PyObject *);}
static PyObject *meth_KActionSelector_availableListWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KActionSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KActionSelector, &sipCpp))
        {
            QListWidget*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->availableListWidget();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QListWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KActionSelector, sipName_availableListWidget, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KActionSelector_selectedListWidget(PyObject *, PyObject *);}
static PyObject *meth_KActionSelector_selectedListWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KActionSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KActionSelector, &sipCpp))
        {
            QListWidget*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->selectedListWidget();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QListWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KActionSelector, sipName_selectedListWidget, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KActionSelector_moveOnDoubleClick(PyObject *, PyObject *);}
static PyObject *meth_KActionSelector_moveOnDoubleClick(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KActionSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KActionSelector, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->moveOnDoubleClick();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KActionSelector, sipName_moveOnDoubleClick, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KActionSelector_setMoveOnDoubleClick(PyObject *, PyObject *);}
static PyObject *meth_KActionSelector_setMoveOnDoubleClick(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KActionSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KActionSelector, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMoveOnDoubleClick(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KActionSelector, sipName_setMoveOnDoubleClick, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KActionSelector_keyboardEnabled(PyObject *, PyObject *);}
static PyObject *meth_KActionSelector_keyboardEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KActionSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KActionSelector, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->keyboardEnabled();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KActionSelector, sipName_keyboardEnabled, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KActionSelector_setKeyboardEnabled(PyObject *, PyObject *);}
static PyObject *meth_KActionSelector_setKeyboardEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KActionSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KActionSelector, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setKeyboardEnabled(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KActionSelector, sipName_setKeyboardEnabled, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KActionSelector_availableLabel(PyObject *, PyObject *);}
static PyObject *meth_KActionSelector_availableLabel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KActionSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KActionSelector, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->availableLabel());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KActionSelector, sipName_availableLabel, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KActionSelector_setAvailableLabel(PyObject *, PyObject *);}
static PyObject *meth_KActionSelector_setAvailableLabel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KActionSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KActionSelector, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAvailableLabel(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KActionSelector, sipName_setAvailableLabel, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KActionSelector_selectedLabel(PyObject *, PyObject *);}
static PyObject *meth_KActionSelector_selectedLabel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KActionSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KActionSelector, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->selectedLabel());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KActionSelector, sipName_selectedLabel, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KActionSelector_setSelectedLabel(PyObject *, PyObject *);}
static PyObject *meth_KActionSelector_setSelectedLabel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KActionSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KActionSelector, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSelectedLabel(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KActionSelector, sipName_setSelectedLabel, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KActionSelector_availableInsertionPolicy(PyObject *, PyObject *);}
static PyObject *meth_KActionSelector_availableInsertionPolicy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KActionSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KActionSelector, &sipCpp))
        {
            KActionSelector::InsertionPolicy sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->availableInsertionPolicy();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KActionSelector_InsertionPolicy);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KActionSelector, sipName_availableInsertionPolicy, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KActionSelector_setAvailableInsertionPolicy(PyObject *, PyObject *);}
static PyObject *meth_KActionSelector_setAvailableInsertionPolicy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KActionSelector::InsertionPolicy a0;
        KActionSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KActionSelector, &sipCpp, sipType_KActionSelector_InsertionPolicy, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAvailableInsertionPolicy(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KActionSelector, sipName_setAvailableInsertionPolicy, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KActionSelector_selectedInsertionPolicy(PyObject *, PyObject *);}
static PyObject *meth_KActionSelector_selectedInsertionPolicy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KActionSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KActionSelector, &sipCpp))
        {
            KActionSelector::InsertionPolicy sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->selectedInsertionPolicy();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KActionSelector_InsertionPolicy);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KActionSelector, sipName_selectedInsertionPolicy, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KActionSelector_setSelectedInsertionPolicy(PyObject *, PyObject *);}
static PyObject *meth_KActionSelector_setSelectedInsertionPolicy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KActionSelector::InsertionPolicy a0;
        KActionSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KActionSelector, &sipCpp, sipType_KActionSelector_InsertionPolicy, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSelectedInsertionPolicy(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KActionSelector, sipName_setSelectedInsertionPolicy, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KActionSelector_showUpDownButtons(PyObject *, PyObject *);}
static PyObject *meth_KActionSelector_showUpDownButtons(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KActionSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KActionSelector, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->showUpDownButtons();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KActionSelector, sipName_showUpDownButtons, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KActionSelector_setShowUpDownButtons(PyObject *, PyObject *);}
static PyObject *meth_KActionSelector_setShowUpDownButtons(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KActionSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KActionSelector, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setShowUpDownButtons(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KActionSelector, sipName_setShowUpDownButtons, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KActionSelector_setButtonIcon(PyObject *, PyObject *);}
static PyObject *meth_KActionSelector_setButtonIcon(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KActionSelector::MoveButton a1;
        KActionSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1E", &sipSelf, sipType_KActionSelector, &sipCpp, sipType_QString,&a0, &a0State, sipType_KActionSelector_MoveButton, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setButtonIcon(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KActionSelector, sipName_setButtonIcon, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KActionSelector_setButtonIconSet(PyObject *, PyObject *);}
static PyObject *meth_KActionSelector_setButtonIconSet(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QIcon* a0;
        KActionSelector::MoveButton a1;
        KActionSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9E", &sipSelf, sipType_KActionSelector, &sipCpp, sipType_QIcon, &a0, sipType_KActionSelector_MoveButton, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setButtonIconSet(*a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KActionSelector, sipName_setButtonIconSet, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KActionSelector_setButtonTooltip(PyObject *, PyObject *);}
static PyObject *meth_KActionSelector_setButtonTooltip(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KActionSelector::MoveButton a1;
        KActionSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1E", &sipSelf, sipType_KActionSelector, &sipCpp, sipType_QString,&a0, &a0State, sipType_KActionSelector_MoveButton, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setButtonTooltip(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KActionSelector, sipName_setButtonTooltip, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KActionSelector_setButtonWhatsThis(PyObject *, PyObject *);}
static PyObject *meth_KActionSelector_setButtonWhatsThis(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KActionSelector::MoveButton a1;
        KActionSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1E", &sipSelf, sipType_KActionSelector, &sipCpp, sipType_QString,&a0, &a0State, sipType_KActionSelector_MoveButton, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setButtonWhatsThis(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KActionSelector, sipName_setButtonWhatsThis, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KActionSelector_setButtonsEnabled(PyObject *, PyObject *);}
static PyObject *meth_KActionSelector_setButtonsEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KActionSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KActionSelector, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setButtonsEnabled();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KActionSelector, sipName_setButtonsEnabled, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KActionSelector_polish(PyObject *, PyObject *);}
static PyObject *meth_KActionSelector_polish(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KActionSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KActionSelector, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->polish();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KActionSelector, sipName_polish, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KActionSelector_keyPressEvent(PyObject *, PyObject *);}
static PyObject *meth_KActionSelector_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        KActionSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KActionSelector, &sipCpp, sipType_QKeyEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KActionSelector::keyPressEvent(a0) : sipCpp->keyPressEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KActionSelector, sipName_keyPressEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KActionSelector_eventFilter(PyObject *, PyObject *);}
static PyObject *meth_KActionSelector_eventFilter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QObject* a0;
        QEvent* a1;
        KActionSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8J8", &sipSelf, sipType_KActionSelector, &sipCpp, sipType_QObject, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KActionSelector::eventFilter(a0,a1) : sipCpp->eventFilter(a0,a1));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KActionSelector, sipName_eventFilter, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KActionSelector(void *, const sipTypeDef *);}
static void *cast_KActionSelector(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KActionSelector)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QWidget)->ctd_cast((QWidget *)(KActionSelector *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KActionSelector(void *, int);}
static void release_KActionSelector(void *sipCppV,int)
{
    KActionSelector *sipCpp = reinterpret_cast<KActionSelector *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KActionSelector(sipSimpleWrapper *);}
static void dealloc_KActionSelector(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKActionSelector *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KActionSelector(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KActionSelector(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KActionSelector(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKActionSelector *sipCpp = 0;

    {
        QWidget* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKActionSelector(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KActionSelector[] = {{755, 2, 1}};


static PyMethodDef methods_KActionSelector[] = {
    {SIP_MLNAME_CAST(sipName_availableInsertionPolicy), meth_KActionSelector_availableInsertionPolicy, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_availableLabel), meth_KActionSelector_availableLabel, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_availableListWidget), meth_KActionSelector_availableListWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_eventFilter), meth_KActionSelector_eventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), meth_KActionSelector_keyPressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyboardEnabled), meth_KActionSelector_keyboardEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_moveOnDoubleClick), meth_KActionSelector_moveOnDoubleClick, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_polish), meth_KActionSelector_polish, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_selectedInsertionPolicy), meth_KActionSelector_selectedInsertionPolicy, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_selectedLabel), meth_KActionSelector_selectedLabel, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_selectedListWidget), meth_KActionSelector_selectedListWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAvailableInsertionPolicy), meth_KActionSelector_setAvailableInsertionPolicy, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAvailableLabel), meth_KActionSelector_setAvailableLabel, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setButtonIcon), meth_KActionSelector_setButtonIcon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setButtonIconSet), meth_KActionSelector_setButtonIconSet, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setButtonTooltip), meth_KActionSelector_setButtonTooltip, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setButtonWhatsThis), meth_KActionSelector_setButtonWhatsThis, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setButtonsEnabled), meth_KActionSelector_setButtonsEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setKeyboardEnabled), meth_KActionSelector_setKeyboardEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMoveOnDoubleClick), meth_KActionSelector_setMoveOnDoubleClick, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSelectedInsertionPolicy), meth_KActionSelector_setSelectedInsertionPolicy, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSelectedLabel), meth_KActionSelector_setSelectedLabel, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setShowUpDownButtons), meth_KActionSelector_setShowUpDownButtons, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showUpDownButtons), meth_KActionSelector_showUpDownButtons, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KActionSelector[] = {
    {sipName_AtBottom, static_cast<int>(KActionSelector::AtBottom), 15},
    {sipName_AtTop, static_cast<int>(KActionSelector::AtTop), 15},
    {sipName_BelowCurrent, static_cast<int>(KActionSelector::BelowCurrent), 15},
    {sipName_ButtonAdd, static_cast<int>(KActionSelector::ButtonAdd), 16},
    {sipName_ButtonDown, static_cast<int>(KActionSelector::ButtonDown), 16},
    {sipName_ButtonRemove, static_cast<int>(KActionSelector::ButtonRemove), 16},
    {sipName_ButtonUp, static_cast<int>(KActionSelector::ButtonUp), 16},
    {sipName_Sorted, static_cast<int>(KActionSelector::Sorted), 15},
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KActionSelector[] = {
    {"movedDown(QListWidgetItem*)", 0, 0, 0},
    {"movedUp(QListWidgetItem*)", 0, 0, 0},
    {"removed(QListWidgetItem*)", 0, 0, 0},
    {"added(QListWidgetItem*)", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KActionSelector = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KActionSelector,
        {0}
    },
    {
        sipNameNr_KActionSelector,
        {0, 0, 1},
        24, methods_KActionSelector,
        8, enummembers_KActionSelector,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KActionSelector,
    0,
    init_type_KActionSelector,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KActionSelector,
    0,
    0,
    0,
    release_KActionSelector,
    cast_KActionSelector,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KActionSelector::staticMetaObject,
    0,
    signals_KActionSelector,
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kactionmenu.sip"
#include <kactionmenu.h>
#line 33935 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"

#line 34 "/usr/share/python-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 33939 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 36 "/usr/share/python-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 33942 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 33 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kicon.sip"
#include <kicon.h>
#line 33945 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 33948 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kmenu.sip"
#include <kmenu.h>
#line 33951 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 33954 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kaction.sip"
#include <kaction.h>
#line 33957 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 25 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdecore/kauthaction.sip"
#include <kauthaction.h>
#line 33960 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 33963 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 33966 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 33969 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 33972 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 55 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kgesture.sip"
#include <kgesture.h>
#line 33975 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kaction.sip"
#include <kaction.h>
#line 33978 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kgesture.sip"
#include <kgesture.h>
#line 33981 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kshortcut.sip"
#include <kshortcut.h>
#line 33984 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 33987 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 33990 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 33993 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 187 "/usr/share/python-sip/PyQt4/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 33996 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 274 "/usr/share/python-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 33999 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 34002 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 34005 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 34008 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qactiongroup.sip"
#include <qactiongroup.h>
#line 34011 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 355 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 34014 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 338 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 34017 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 34020 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 37 "/usr/share/python-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 34023 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 34026 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 34029 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 34032 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 34035 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"


class sipKActionMenu : public KActionMenu
{
public:
    sipKActionMenu(QObject*);
    sipKActionMenu(const QString&,QObject*);
    sipKActionMenu(const KIcon&,const QString&,QObject*);
    virtual ~sipKActionMenu();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool event(QEvent*);
    void deleteWidget(QWidget*);
    bool eventFilter(QObject*,QEvent*);
    QWidget* createWidget(QWidget*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKActionMenu(const sipKActionMenu &);
    sipKActionMenu &operator = (const sipKActionMenu &);

    char sipPyMethods[11];
};

sipKActionMenu::sipKActionMenu(QObject*a0): KActionMenu(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKActionMenu::sipKActionMenu(const QString& a0,QObject*a1): KActionMenu(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKActionMenu::sipKActionMenu(const KIcon& a0,const QString& a1,QObject*a2): KActionMenu(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKActionMenu::~sipKActionMenu()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKActionMenu::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KActionMenu);
}

int sipKActionMenu::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KActionMenu::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KActionMenu,_c,_id,_a);

    return _id;
}

void *sipKActionMenu::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KActionMenu, _clname)) ? this : KActionMenu::qt_metacast(_clname);
}

void sipKActionMenu::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KActionMenu::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKActionMenu::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KActionMenu::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKActionMenu::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KActionMenu::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKActionMenu::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KActionMenu::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kdeui_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKActionMenu::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KActionMenu::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kdeui_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKActionMenu::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KActionMenu::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKActionMenu::deleteWidget(QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_deleteWidget);

    if (!sipMeth)
    {
        KActionMenu::deleteWidget(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*);

    ((sipVH_QtGui_7)(sipModuleAPI_kdeui_QtGui->em_virthandlers[7]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKActionMenu::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KActionMenu::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

QWidget* sipKActionMenu::createWidget(QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_createWidget);

    if (!sipMeth)
        return KActionMenu::createWidget(a0);

    extern QWidget* sipVH_kdeui_42(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*);

    return sipVH_kdeui_42(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_KActionMenu_remove(PyObject *, PyObject *);}
static PyObject *meth_KActionMenu_remove(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KAction* a0;
        KActionMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KActionMenu, &sipCpp, sipType_KAction, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->remove(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KActionMenu, sipName_remove, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KActionMenu_addAction(PyObject *, PyObject *);}
static PyObject *meth_KActionMenu_addAction(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAction* a0;
        KActionMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KActionMenu, &sipCpp, sipType_QAction, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addAction(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KActionMenu, sipName_addAction, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KActionMenu_addSeparator(PyObject *, PyObject *);}
static PyObject *meth_KActionMenu_addSeparator(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KActionMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KActionMenu, &sipCpp))
        {
            QAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->addSeparator();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KActionMenu, sipName_addSeparator, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KActionMenu_insertAction(PyObject *, PyObject *);}
static PyObject *meth_KActionMenu_insertAction(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAction* a0;
        QAction* a1;
        KActionMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J8", &sipSelf, sipType_KActionMenu, &sipCpp, sipType_QAction, &a0, sipType_QAction, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->insertAction(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KActionMenu, sipName_insertAction, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KActionMenu_insertSeparator(PyObject *, PyObject *);}
static PyObject *meth_KActionMenu_insertSeparator(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAction* a0;
        KActionMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KActionMenu, &sipCpp, sipType_QAction, &a0))
        {
            QAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->insertSeparator(a0);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KActionMenu, sipName_insertSeparator, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KActionMenu_removeAction(PyObject *, PyObject *);}
static PyObject *meth_KActionMenu_removeAction(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAction* a0;
        KActionMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KActionMenu, &sipCpp, sipType_QAction, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->removeAction(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KActionMenu, sipName_removeAction, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KActionMenu_popupMenu(PyObject *, PyObject *);}
static PyObject *meth_KActionMenu_popupMenu(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KActionMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KActionMenu, &sipCpp))
        {
            KMenu*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->popupMenu();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KMenu,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KActionMenu, sipName_popupMenu, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KActionMenu_menu(PyObject *, PyObject *);}
static PyObject *meth_KActionMenu_menu(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KActionMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KActionMenu, &sipCpp))
        {
            KMenu*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->menu();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KMenu,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KActionMenu, sipName_menu, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KActionMenu_setMenu(PyObject *, PyObject *);}
static PyObject *meth_KActionMenu_setMenu(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KMenu* a0;
        KActionMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KActionMenu, &sipCpp, sipType_KMenu, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMenu(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KActionMenu, sipName_setMenu, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KActionMenu_delayed(PyObject *, PyObject *);}
static PyObject *meth_KActionMenu_delayed(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KActionMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KActionMenu, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->delayed();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KActionMenu, sipName_delayed, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KActionMenu_setDelayed(PyObject *, PyObject *);}
static PyObject *meth_KActionMenu_setDelayed(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KActionMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KActionMenu, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDelayed(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KActionMenu, sipName_setDelayed, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KActionMenu_stickyMenu(PyObject *, PyObject *);}
static PyObject *meth_KActionMenu_stickyMenu(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KActionMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KActionMenu, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->stickyMenu();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KActionMenu, sipName_stickyMenu, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KActionMenu_setStickyMenu(PyObject *, PyObject *);}
static PyObject *meth_KActionMenu_setStickyMenu(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KActionMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KActionMenu, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setStickyMenu(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KActionMenu, sipName_setStickyMenu, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KActionMenu_createWidget(PyObject *, PyObject *);}
static PyObject *meth_KActionMenu_createWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWidget* a0;
        KActionMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:", &sipSelf, sipType_KActionMenu, &sipCpp, sipType_QWidget, &a0))
        {
            QWidget*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KActionMenu::createWidget(a0) : sipCpp->createWidget(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KActionMenu, sipName_createWidget, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KActionMenu(void *, const sipTypeDef *);}
static void *cast_KActionMenu(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KActionMenu)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KAction)->ctd_cast((KAction *)(KActionMenu *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KActionMenu(void *, int);}
static void release_KActionMenu(void *sipCppV,int)
{
    KActionMenu *sipCpp = reinterpret_cast<KActionMenu *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KActionMenu(sipSimpleWrapper *);}
static void dealloc_KActionMenu(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKActionMenu *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KActionMenu(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KActionMenu(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KActionMenu(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKActionMenu *sipCpp = 0;

    {
        QObject* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "JH", sipType_QObject, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKActionMenu(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        QObject* a1;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1JH", sipType_QString,&a0, &a0State, sipType_QObject, &a1, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKActionMenu(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const KIcon* a0;
        const QString* a1;
        int a1State = 0;
        QObject* a2;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9J1JH", sipType_KIcon, &a0, sipType_QString,&a1, &a1State, sipType_QObject, &a2, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKActionMenu(*a0,*a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KActionMenu[] = {{7, 255, 1}};


static PyMethodDef methods_KActionMenu[] = {
    {SIP_MLNAME_CAST(sipName_addAction), meth_KActionMenu_addAction, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addSeparator), meth_KActionMenu_addSeparator, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_createWidget), meth_KActionMenu_createWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_delayed), meth_KActionMenu_delayed, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_insertAction), meth_KActionMenu_insertAction, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_insertSeparator), meth_KActionMenu_insertSeparator, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_menu), meth_KActionMenu_menu, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_popupMenu), meth_KActionMenu_popupMenu, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_remove), meth_KActionMenu_remove, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_removeAction), meth_KActionMenu_removeAction, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDelayed), meth_KActionMenu_setDelayed, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMenu), meth_KActionMenu_setMenu, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setStickyMenu), meth_KActionMenu_setStickyMenu, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_stickyMenu), meth_KActionMenu_stickyMenu, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KActionMenu = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KActionMenu,
        {0}
    },
    {
        sipNameNr_KActionMenu,
        {0, 0, 1},
        14, methods_KActionMenu,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KActionMenu,
    0,
    init_type_KActionMenu,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KActionMenu,
    0,
    0,
    0,
    release_KActionMenu,
    cast_KActionMenu,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KActionMenu::staticMetaObject,
    0,
    0
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kactioncollection.sip"
#include <kactioncollection.h>
#line 34835 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"

#line 34 "/usr/share/python-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 34839 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdecore/kcomponentdata.sip"
#include <kcomponentdata.h>
#line 34842 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kxmlguiclient.sip"
#include <kxmlguiclient.h>
#line 34845 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 34848 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 36 "/usr/share/python-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 34851 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kaction.sip"
#include <kaction.h>
#line 34854 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 34857 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qactiongroup.sip"
#include <qactiongroup.h>
#line 34860 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 34863 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 32 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 34866 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 34869 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 34872 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 34875 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 34878 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 355 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 34881 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 338 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 34884 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 274 "/usr/share/python-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 34887 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 34890 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 37 "/usr/share/python-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 34893 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 34896 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 34899 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 34902 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 34905 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 34908 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"


class sipKActionCollection : public KActionCollection
{
public:
    sipKActionCollection(QObject*,const KComponentData&);
    virtual ~sipKActionCollection();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    void slotActionHighlighted();
    void slotActionTriggered();
    void connectNotify(const char*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKActionCollection(const sipKActionCollection &);
    sipKActionCollection &operator = (const sipKActionCollection &);

    char sipPyMethods[9];
};

sipKActionCollection::sipKActionCollection(QObject*a0,const KComponentData& a1): KActionCollection(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKActionCollection::~sipKActionCollection()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKActionCollection::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KActionCollection);
}

int sipKActionCollection::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KActionCollection::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KActionCollection,_c,_id,_a);

    return _id;
}

void *sipKActionCollection::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KActionCollection, _clname)) ? this : KActionCollection::qt_metacast(_clname);
}

void sipKActionCollection::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KActionCollection::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKActionCollection::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KActionCollection::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKActionCollection::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KActionCollection::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kdeui_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKActionCollection::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KActionCollection::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kdeui_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKActionCollection::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KActionCollection::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKActionCollection::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KActionCollection::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKActionCollection::slotActionHighlighted()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_slotActionHighlighted);

    if (!sipMeth)
    {
        KActionCollection::slotActionHighlighted();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKActionCollection::slotActionTriggered()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_slotActionTriggered);

    if (!sipMeth)
    {
        KActionCollection::slotActionTriggered();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKActionCollection::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KActionCollection::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_KActionCollection_allCollections(PyObject *, PyObject *);}
static PyObject *meth_KActionCollection_allCollections(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            QList<KActionCollection*>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<KActionCollection*>(KActionCollection::allCollections());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QList_0101KActionCollection,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KActionCollection, sipName_allCollections, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KActionCollection_clear(PyObject *, PyObject *);}
static PyObject *meth_KActionCollection_clear(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KActionCollection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KActionCollection, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->clear();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KActionCollection, sipName_clear, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KActionCollection_associateWidget(PyObject *, PyObject *);}
static PyObject *meth_KActionCollection_associateWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        const KActionCollection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KActionCollection, &sipCpp, sipType_QWidget, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->associateWidget(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KActionCollection, sipName_associateWidget, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KActionCollection_addAssociatedWidget(PyObject *, PyObject *);}
static PyObject *meth_KActionCollection_addAssociatedWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        KActionCollection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KActionCollection, &sipCpp, sipType_QWidget, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addAssociatedWidget(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KActionCollection, sipName_addAssociatedWidget, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KActionCollection_removeAssociatedWidget(PyObject *, PyObject *);}
static PyObject *meth_KActionCollection_removeAssociatedWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        KActionCollection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KActionCollection, &sipCpp, sipType_QWidget, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->removeAssociatedWidget(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KActionCollection, sipName_removeAssociatedWidget, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KActionCollection_associatedWidgets(PyObject *, PyObject *);}
static PyObject *meth_KActionCollection_associatedWidgets(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KActionCollection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KActionCollection, &sipCpp))
        {
            QList<QWidget*>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<QWidget*>(sipCpp->associatedWidgets());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QList_0101QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KActionCollection, sipName_associatedWidgets, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KActionCollection_clearAssociatedWidgets(PyObject *, PyObject *);}
static PyObject *meth_KActionCollection_clearAssociatedWidgets(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KActionCollection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KActionCollection, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->clearAssociatedWidgets();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KActionCollection, sipName_clearAssociatedWidgets, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KActionCollection_configGroup(PyObject *, PyObject *);}
static PyObject *meth_KActionCollection_configGroup(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KActionCollection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KActionCollection, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->configGroup());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KActionCollection, sipName_configGroup, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KActionCollection_configIsGlobal(PyObject *, PyObject *);}
static PyObject *meth_KActionCollection_configIsGlobal(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KActionCollection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KActionCollection, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->configIsGlobal();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KActionCollection, sipName_configIsGlobal, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KActionCollection_setConfigGroup(PyObject *, PyObject *);}
static PyObject *meth_KActionCollection_setConfigGroup(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KActionCollection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KActionCollection, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setConfigGroup(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KActionCollection, sipName_setConfigGroup, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KActionCollection_setConfigGlobal(PyObject *, PyObject *);}
static PyObject *meth_KActionCollection_setConfigGlobal(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KActionCollection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KActionCollection, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setConfigGlobal(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KActionCollection, sipName_setConfigGlobal, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KActionCollection_readSettings(PyObject *, PyObject *);}
static PyObject *meth_KActionCollection_readSettings(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KConfigGroup* a0 = 0;
        KActionCollection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|J8", &sipSelf, sipType_KActionCollection, &sipCpp, sipType_KConfigGroup, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->readSettings(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KActionCollection, sipName_readSettings, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KActionCollection_importGlobalShortcuts(PyObject *, PyObject *);}
static PyObject *meth_KActionCollection_importGlobalShortcuts(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KConfigGroup* a0;
        KActionCollection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KActionCollection, &sipCpp, sipType_KConfigGroup, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->importGlobalShortcuts(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KActionCollection, sipName_importGlobalShortcuts, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KActionCollection_exportGlobalShortcuts(PyObject *, PyObject *);}
static PyObject *meth_KActionCollection_exportGlobalShortcuts(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KConfigGroup* a0;
        bool a1 = 0;
        const KActionCollection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8|b", &sipSelf, sipType_KActionCollection, &sipCpp, sipType_KConfigGroup, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->exportGlobalShortcuts(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KActionCollection, sipName_exportGlobalShortcuts, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KActionCollection_writeSettings(PyObject *, PyObject *);}
static PyObject *meth_KActionCollection_writeSettings(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KConfigGroup* a0 = 0;
        bool a1 = 0;
        QAction* a2 = 0;
        const KActionCollection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|J8bJ8", &sipSelf, sipType_KActionCollection, &sipCpp, sipType_KConfigGroup, &a0, &a1, sipType_QAction, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->writeSettings(a0,a1,a2);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KActionCollection, sipName_writeSettings, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KActionCollection_count(PyObject *, PyObject *);}
static PyObject *meth_KActionCollection_count(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KActionCollection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KActionCollection, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->count();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KActionCollection, sipName_count, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KActionCollection_isEmpty(PyObject *, PyObject *);}
static PyObject *meth_KActionCollection_isEmpty(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KActionCollection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KActionCollection, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isEmpty();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KActionCollection, sipName_isEmpty, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KActionCollection_action(PyObject *, PyObject *);}
static PyObject *meth_KActionCollection_action(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const KActionCollection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KActionCollection, &sipCpp, &a0))
        {
            QAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->action(a0);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QAction,NULL);
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        const KActionCollection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KActionCollection, &sipCpp, sipType_QString,&a0, &a0State))
        {
            QAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->action(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromType(sipRes,sipType_QAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KActionCollection, sipName_action, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KActionCollection_actions(PyObject *, PyObject *);}
static PyObject *meth_KActionCollection_actions(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KActionCollection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KActionCollection, &sipCpp))
        {
            QList<QAction*>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<QAction*>(sipCpp->actions());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QList_0101QAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KActionCollection, sipName_actions, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KActionCollection_actionsWithoutGroup(PyObject *, PyObject *);}
static PyObject *meth_KActionCollection_actionsWithoutGroup(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KActionCollection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KActionCollection, &sipCpp))
        {
            QList<QAction*>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<QAction*>(sipCpp->actionsWithoutGroup());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QList_0101QAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KActionCollection, sipName_actionsWithoutGroup, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KActionCollection_actionGroups(PyObject *, PyObject *);}
static PyObject *meth_KActionCollection_actionGroups(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KActionCollection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KActionCollection, &sipCpp))
        {
            QList<QActionGroup*>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<QActionGroup*>(sipCpp->actionGroups());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QList_0101QActionGroup,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KActionCollection, sipName_actionGroups, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KActionCollection_setComponentData(PyObject *, PyObject *);}
static PyObject *meth_KActionCollection_setComponentData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KComponentData* a0;
        KActionCollection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KActionCollection, &sipCpp, sipType_KComponentData, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setComponentData(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KActionCollection, sipName_setComponentData, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KActionCollection_componentData(PyObject *, PyObject *);}
static PyObject *meth_KActionCollection_componentData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KActionCollection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KActionCollection, &sipCpp))
        {
            KComponentData*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KComponentData(sipCpp->componentData());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KComponentData,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KActionCollection, sipName_componentData, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KActionCollection_parentGUIClient(PyObject *, PyObject *);}
static PyObject *meth_KActionCollection_parentGUIClient(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KActionCollection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KActionCollection, &sipCpp))
        {
            const KXMLGUIClient*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->parentGUIClient();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(const_cast<KXMLGUIClient *>(sipRes),sipType_KXMLGUIClient,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KActionCollection, sipName_parentGUIClient, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KActionCollection_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_KActionCollection_connectNotify(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char* a0;
        KActionCollection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pG", &sipSelf, sipType_KActionCollection, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KActionCollection::connectNotify(a0) : sipCpp->connectNotify(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KActionCollection, sipName_connectNotify, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KActionCollection_slotActionTriggered(PyObject *, PyObject *);}
static PyObject *meth_KActionCollection_slotActionTriggered(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KActionCollection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KActionCollection, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KActionCollection::slotActionTriggered() : sipCpp->slotActionTriggered());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KActionCollection, sipName_slotActionTriggered, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KActionCollection_slotActionHighlighted(PyObject *, PyObject *);}
static PyObject *meth_KActionCollection_slotActionHighlighted(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KActionCollection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KActionCollection, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KActionCollection::slotActionHighlighted() : sipCpp->slotActionHighlighted());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KActionCollection, sipName_slotActionHighlighted, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KActionCollection_addAction(PyObject *, PyObject *);}
static PyObject *meth_KActionCollection_addAction(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QAction* a1;
        KActionCollection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J8", &sipSelf, sipType_KActionCollection, &sipCpp, sipType_QString,&a0, &a0State, sipType_QAction, &a1))
        {
            QAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->addAction(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromType(sipRes,sipType_QAction,NULL);
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        KAction* a1;
        KActionCollection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J8", &sipSelf, sipType_KActionCollection, &sipCpp, sipType_QString,&a0, &a0State, sipType_KAction, &a1))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->addAction(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    {
        KStandardAction::StandardAction a0;
        const QObject* a1 = 0;
        const char* a2 = 0;
        KActionCollection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE|J8s", &sipSelf, sipType_KActionCollection, &sipCpp, sipType_KStandardAction_StandardAction, &a0, sipType_QObject, &a1, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->addAction(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    {
        KStandardAction::StandardAction a0;
        const QString* a1;
        int a1State = 0;
        const QObject* a2 = 0;
        const char* a3 = 0;
        KActionCollection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEJ1|J8s", &sipSelf, sipType_KActionCollection, &sipCpp, sipType_KStandardAction_StandardAction, &a0, sipType_QString,&a1, &a1State, sipType_QObject, &a2, &a3))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->addAction(a0,*a1,a2,a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        const QObject* a1 = 0;
        const char* a2 = 0;
        KActionCollection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|J8s", &sipSelf, sipType_KActionCollection, &sipCpp, sipType_QString,&a0, &a0State, sipType_QObject, &a1, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->addAction(*a0,a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KActionCollection, sipName_addAction, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KActionCollection_removeAction(PyObject *, PyObject *);}
static PyObject *meth_KActionCollection_removeAction(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAction* a0;
        KActionCollection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KActionCollection, &sipCpp, sipType_QAction, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->removeAction(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KActionCollection, sipName_removeAction, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KActionCollection_takeAction(PyObject *, PyObject *);}
static PyObject *meth_KActionCollection_takeAction(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAction* a0;
        KActionCollection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KActionCollection, &sipCpp, sipType_QAction, &a0))
        {
            QAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->takeAction(a0);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KActionCollection, sipName_takeAction, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KActionCollection(void *, const sipTypeDef *);}
static void *cast_KActionCollection(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KActionCollection)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(KActionCollection *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KActionCollection(void *, int);}
static void release_KActionCollection(void *sipCppV,int)
{
    KActionCollection *sipCpp = reinterpret_cast<KActionCollection *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KActionCollection(sipSimpleWrapper *);}
static void dealloc_KActionCollection(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKActionCollection *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KActionCollection(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KActionCollection(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KActionCollection(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKActionCollection *sipCpp = 0;

    {
        QObject* a0;
        const KComponentData& a1def = KComponentData();
        const KComponentData* a1 = &a1def;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "JH|J9", sipType_QObject, &a0, sipOwner, sipType_KComponentData, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKActionCollection(a0,*a1);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KActionCollection[] = {{141, 0, 1}};


static PyMethodDef methods_KActionCollection[] = {
    {SIP_MLNAME_CAST(sipName_action), meth_KActionCollection_action, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_actionGroups), meth_KActionCollection_actionGroups, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_actions), meth_KActionCollection_actions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_actionsWithoutGroup), meth_KActionCollection_actionsWithoutGroup, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addAction), meth_KActionCollection_addAction, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addAssociatedWidget), meth_KActionCollection_addAssociatedWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_allCollections), meth_KActionCollection_allCollections, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_associateWidget), meth_KActionCollection_associateWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_associatedWidgets), meth_KActionCollection_associatedWidgets, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_clear), meth_KActionCollection_clear, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_clearAssociatedWidgets), meth_KActionCollection_clearAssociatedWidgets, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_componentData), meth_KActionCollection_componentData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_configGroup), meth_KActionCollection_configGroup, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_configIsGlobal), meth_KActionCollection_configIsGlobal, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KActionCollection_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_count), meth_KActionCollection_count, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_exportGlobalShortcuts), meth_KActionCollection_exportGlobalShortcuts, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_importGlobalShortcuts), meth_KActionCollection_importGlobalShortcuts, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isEmpty), meth_KActionCollection_isEmpty, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_parentGUIClient), meth_KActionCollection_parentGUIClient, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readSettings), meth_KActionCollection_readSettings, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_removeAction), meth_KActionCollection_removeAction, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_removeAssociatedWidget), meth_KActionCollection_removeAssociatedWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setComponentData), meth_KActionCollection_setComponentData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setConfigGlobal), meth_KActionCollection_setConfigGlobal, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setConfigGroup), meth_KActionCollection_setConfigGroup, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotActionHighlighted), meth_KActionCollection_slotActionHighlighted, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotActionTriggered), meth_KActionCollection_slotActionTriggered, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_takeAction), meth_KActionCollection_takeAction, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_writeSettings), meth_KActionCollection_writeSettings, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KActionCollection[] = {
    {"actionTriggered(QAction*)", 0, 0, 0},
    {"actionHovered(QAction*)", 0, 0, 0},
    {"actionHighlighted(QAction*)", 0, 0, 0},
    {"removed(QAction*)", 0, 0, 0},
    {"inserted(QAction*)", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KActionCollection = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KActionCollection,
        {0}
    },
    {
        sipNameNr_KActionCollection,
        {0, 0, 1},
        30, methods_KActionCollection,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KActionCollection,
    0,
    init_type_KActionCollection,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KActionCollection,
    0,
    0,
    0,
    release_KActionCollection,
    cast_KActionCollection,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KActionCollection::staticMetaObject,
    0,
    signals_KActionCollection,
};

#line 24 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kactioncategory.sip"
#include <kactioncategory.h>
#line 36223 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"

#line 36 "/usr/share/python-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 36227 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kactioncollection.sip"
#include <kactioncollection.h>
#line 36230 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 36233 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 36236 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kaction.sip"
#include <kaction.h>
#line 36239 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 34 "/usr/share/python-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 36242 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 36245 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 355 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 36248 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 338 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 36251 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 274 "/usr/share/python-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 36254 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 36257 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 37 "/usr/share/python-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 36260 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 36263 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 36266 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 36269 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 36272 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 36275 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"


class sipKActionCategory : public KActionCategory
{
public:
    sipKActionCategory(const QString&,KActionCollection*);
    virtual ~sipKActionCategory();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKActionCategory(const sipKActionCategory &);
    sipKActionCategory &operator = (const sipKActionCategory &);

    char sipPyMethods[7];
};

sipKActionCategory::sipKActionCategory(const QString& a0,KActionCollection*a1): KActionCategory(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKActionCategory::~sipKActionCategory()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKActionCategory::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KActionCategory);
}

int sipKActionCategory::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KActionCategory::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KActionCategory,_c,_id,_a);

    return _id;
}

void *sipKActionCategory::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KActionCategory, _clname)) ? this : KActionCategory::qt_metacast(_clname);
}

void sipKActionCategory::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KActionCategory::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKActionCategory::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KActionCategory::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKActionCategory::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KActionCategory::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKActionCategory::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KActionCategory::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kdeui_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKActionCategory::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KActionCategory::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kdeui_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKActionCategory::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KActionCategory::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKActionCategory::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KActionCategory::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_KActionCategory_addAction(PyObject *, PyObject *);}
static PyObject *meth_KActionCategory_addAction(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QAction* a1;
        KActionCategory *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J8", &sipSelf, sipType_KActionCategory, &sipCpp, sipType_QString,&a0, &a0State, sipType_QAction, &a1))
        {
            QAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->addAction(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromType(sipRes,sipType_QAction,NULL);
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        KAction* a1;
        KActionCategory *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J8", &sipSelf, sipType_KActionCategory, &sipCpp, sipType_QString,&a0, &a0State, sipType_KAction, &a1))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->addAction(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    {
        KStandardAction::StandardAction a0;
        const QObject* a1 = 0;
        const char* a2 = 0;
        KActionCategory *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE|J8s", &sipSelf, sipType_KActionCategory, &sipCpp, sipType_KStandardAction_StandardAction, &a0, sipType_QObject, &a1, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->addAction(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    {
        KStandardAction::StandardAction a0;
        const QString* a1;
        int a1State = 0;
        const QObject* a2 = 0;
        const char* a3 = 0;
        KActionCategory *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEJ1|J8s", &sipSelf, sipType_KActionCategory, &sipCpp, sipType_KStandardAction_StandardAction, &a0, sipType_QString,&a1, &a1State, sipType_QObject, &a2, &a3))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->addAction(a0,*a1,a2,a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        const QObject* a1 = 0;
        const char* a2 = 0;
        KActionCategory *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|J8s", &sipSelf, sipType_KActionCategory, &sipCpp, sipType_QString,&a0, &a0State, sipType_QObject, &a1, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->addAction(*a0,a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KActionCategory, sipName_addAction, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KActionCategory_actions(PyObject *, PyObject *);}
static PyObject *meth_KActionCategory_actions(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KActionCategory *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KActionCategory, &sipCpp))
        {
            QList<QAction*>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<QAction*>(sipCpp->actions());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QList_0101QAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KActionCategory, sipName_actions, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KActionCategory_collection(PyObject *, PyObject *);}
static PyObject *meth_KActionCategory_collection(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KActionCategory *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KActionCategory, &sipCpp))
        {
            KActionCollection*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->collection();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KActionCollection,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KActionCategory, sipName_collection, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KActionCategory_text(PyObject *, PyObject *);}
static PyObject *meth_KActionCategory_text(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KActionCategory *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KActionCategory, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->text());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KActionCategory, sipName_text, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KActionCategory_setText(PyObject *, PyObject *);}
static PyObject *meth_KActionCategory_setText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KActionCategory *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KActionCategory, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setText(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KActionCategory, sipName_setText, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KActionCategory(void *, const sipTypeDef *);}
static void *cast_KActionCategory(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KActionCategory)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(KActionCategory *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KActionCategory(void *, int);}
static void release_KActionCategory(void *sipCppV,int)
{
    KActionCategory *sipCpp = reinterpret_cast<KActionCategory *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KActionCategory(sipSimpleWrapper *);}
static void dealloc_KActionCategory(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKActionCategory *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KActionCategory(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KActionCategory(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KActionCategory(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipKActionCategory *sipCpp = 0;

    {
        const QString* a0;
        int a0State = 0;
        KActionCollection* a1 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1|J8", sipType_QString,&a0, &a0State, sipType_KActionCollection, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKActionCategory(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KActionCategory[] = {{141, 0, 1}};


static PyMethodDef methods_KActionCategory[] = {
    {SIP_MLNAME_CAST(sipName_actions), meth_KActionCategory_actions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addAction), meth_KActionCategory_addAction, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_collection), meth_KActionCategory_collection, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setText), meth_KActionCategory_setText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_text), meth_KActionCategory_text, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KActionCategory = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KActionCategory,
        {0}
    },
    {
        sipNameNr_KActionCategory,
        {0, 0, 1},
        5, methods_KActionCategory,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KActionCategory,
    0,
    init_type_KActionCategory,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KActionCategory,
    0,
    0,
    0,
    release_KActionCategory,
    cast_KActionCategory,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KActionCategory::staticMetaObject,
    0,
    0
};

#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kaction.sip"
#include <kaction.h>
#line 36822 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"

#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kaction.sip"
#include <kaction.h>
#line 36826 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"


extern "C" {static int slot_KAction_ShortcutTypes___bool__(PyObject *);}
static int slot_KAction_ShortcutTypes___bool__(PyObject *sipSelf)
{
    KAction::ShortcutTypes *sipCpp = reinterpret_cast<KAction::ShortcutTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KAction_ShortcutTypes));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 370 "/usr/share/python-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KAction::ShortcutTypes::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 36848 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KAction_ShortcutTypes___ne__(PyObject *,PyObject *);}
static PyObject *slot_KAction_ShortcutTypes___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    KAction::ShortcutTypes *sipCpp = reinterpret_cast<KAction::ShortcutTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KAction_ShortcutTypes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KAction::ShortcutTypes* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KAction_ShortcutTypes, &a0, &a0State))
        {
            bool sipRes = 0;

#line 361 "/usr/share/python-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KAction::ShortcutTypes::Int() != a0->operator KAction::ShortcutTypes::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 36882 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
            sipReleaseType(const_cast<KAction::ShortcutTypes *>(a0),sipType_KAction_ShortcutTypes,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui,ne_slot,sipType_KAction_ShortcutTypes,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KAction_ShortcutTypes___eq__(PyObject *,PyObject *);}
static PyObject *slot_KAction_ShortcutTypes___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    KAction::ShortcutTypes *sipCpp = reinterpret_cast<KAction::ShortcutTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KAction_ShortcutTypes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KAction::ShortcutTypes* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KAction_ShortcutTypes, &a0, &a0State))
        {
            bool sipRes = 0;

#line 352 "/usr/share/python-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KAction::ShortcutTypes::Int() == a0->operator KAction::ShortcutTypes::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 36922 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
            sipReleaseType(const_cast<KAction::ShortcutTypes *>(a0),sipType_KAction_ShortcutTypes,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui,eq_slot,sipType_KAction_ShortcutTypes,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KAction_ShortcutTypes___invert__(PyObject *);}
static PyObject *slot_KAction_ShortcutTypes___invert__(PyObject *sipSelf)
{
    KAction::ShortcutTypes *sipCpp = reinterpret_cast<KAction::ShortcutTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KAction_ShortcutTypes));

    if (!sipCpp)
        return 0;


    {
        {
            KAction::ShortcutTypes*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KAction::ShortcutTypes(~(*sipCpp));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KAction_ShortcutTypes,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KAction_ShortcutTypes___and__(PyObject *,PyObject *);}
static PyObject *slot_KAction_ShortcutTypes___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KAction::ShortcutTypes* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KAction_ShortcutTypes, &a0, &a0State, &a1))
        {
            KAction::ShortcutTypes*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KAction::ShortcutTypes((*a0 & a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KAction_ShortcutTypes,a0State);

            return sipConvertFromNewType(sipRes,sipType_KAction_ShortcutTypes,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui,and_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KAction_ShortcutTypes___xor__(PyObject *,PyObject *);}
static PyObject *slot_KAction_ShortcutTypes___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KAction::ShortcutTypes* a0;
        int a0State = 0;
        KAction::ShortcutTypes* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_KAction_ShortcutTypes, &a0, &a0State, sipType_KAction_ShortcutTypes, &a1, &a1State))
        {
            KAction::ShortcutTypes*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KAction::ShortcutTypes((*a0 ^ *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KAction_ShortcutTypes,a0State);
            sipReleaseType(a1,sipType_KAction_ShortcutTypes,a1State);

            return sipConvertFromNewType(sipRes,sipType_KAction_ShortcutTypes,NULL);
        }
    }

    {
        KAction::ShortcutTypes* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KAction_ShortcutTypes, &a0, &a0State, &a1))
        {
            KAction::ShortcutTypes*sipRes = 0;

#line 346 "/usr/share/python-sip/PyQt4/QtCore/qglobal.sip"
        sipRes = new KAction::ShortcutTypes(*a0 ^ a1);
#line 37031 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
            sipReleaseType(a0,sipType_KAction_ShortcutTypes,a0State);

            return sipConvertFromNewType(sipRes,sipType_KAction_ShortcutTypes,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui,xor_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KAction_ShortcutTypes___or__(PyObject *,PyObject *);}
static PyObject *slot_KAction_ShortcutTypes___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KAction::ShortcutTypes* a0;
        int a0State = 0;
        KAction::ShortcutTypes* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_KAction_ShortcutTypes, &a0, &a0State, sipType_KAction_ShortcutTypes, &a1, &a1State))
        {
            KAction::ShortcutTypes*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KAction::ShortcutTypes((*a0 | *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KAction_ShortcutTypes,a0State);
            sipReleaseType(a1,sipType_KAction_ShortcutTypes,a1State);

            return sipConvertFromNewType(sipRes,sipType_KAction_ShortcutTypes,NULL);
        }
    }

    {
        KAction::ShortcutTypes* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KAction_ShortcutTypes, &a0, &a0State, &a1))
        {
            KAction::ShortcutTypes*sipRes = 0;

#line 341 "/usr/share/python-sip/PyQt4/QtCore/qglobal.sip"
        sipRes = new KAction::ShortcutTypes(*a0 | a1);
#line 37083 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
            sipReleaseType(a0,sipType_KAction_ShortcutTypes,a0State);

            return sipConvertFromNewType(sipRes,sipType_KAction_ShortcutTypes,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui,or_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KAction_ShortcutTypes___int__(PyObject *);}
static PyObject *slot_KAction_ShortcutTypes___int__(PyObject *sipSelf)
{
    KAction::ShortcutTypes *sipCpp = reinterpret_cast<KAction::ShortcutTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KAction_ShortcutTypes));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KAction_ShortcutTypes___ixor__(PyObject *,PyObject *);}
static PyObject *slot_KAction_ShortcutTypes___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KAction_ShortcutTypes)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KAction::ShortcutTypes *sipCpp = reinterpret_cast<KAction::ShortcutTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KAction_ShortcutTypes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        KAction::ShortcutTypes* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KAction_ShortcutTypes, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KAction::ShortcutTypes::operator^=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KAction_ShortcutTypes,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_KAction_ShortcutTypes___ior__(PyObject *,PyObject *);}
static PyObject *slot_KAction_ShortcutTypes___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KAction_ShortcutTypes)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KAction::ShortcutTypes *sipCpp = reinterpret_cast<KAction::ShortcutTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KAction_ShortcutTypes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        KAction::ShortcutTypes* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KAction_ShortcutTypes, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KAction::ShortcutTypes::operator|=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KAction_ShortcutTypes,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_KAction_ShortcutTypes___iand__(PyObject *,PyObject *);}
static PyObject *slot_KAction_ShortcutTypes___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KAction_ShortcutTypes)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KAction::ShortcutTypes *sipCpp = reinterpret_cast<KAction::ShortcutTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KAction_ShortcutTypes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KAction::ShortcutTypes::operator&=(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KAction_ShortcutTypes(void *, const sipTypeDef *);}
static void *cast_KAction_ShortcutTypes(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_KAction_ShortcutTypes)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KAction_ShortcutTypes(void *, int);}
static void release_KAction_ShortcutTypes(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<KAction::ShortcutTypes *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KAction_ShortcutTypes(void *, SIP_SSIZE_T, const void *);}
static void assign_KAction_ShortcutTypes(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<KAction::ShortcutTypes *>(sipDst)[sipDstIdx] = *reinterpret_cast<const KAction::ShortcutTypes *>(sipSrc);
}


extern "C" {static void *array_KAction_ShortcutTypes(SIP_SSIZE_T);}
static void *array_KAction_ShortcutTypes(SIP_SSIZE_T sipNrElem)
{
    return new KAction::ShortcutTypes[sipNrElem];
}


extern "C" {static void *copy_KAction_ShortcutTypes(const void *, SIP_SSIZE_T);}
static void *copy_KAction_ShortcutTypes(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new KAction::ShortcutTypes(reinterpret_cast<const KAction::ShortcutTypes *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_KAction_ShortcutTypes(sipSimpleWrapper *);}
static void dealloc_KAction_ShortcutTypes(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KAction_ShortcutTypes(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_KAction_ShortcutTypes(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KAction_ShortcutTypes(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    KAction::ShortcutTypes *sipCpp = 0;

    {
        const KAction::ShortcutTypes* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_KAction_ShortcutTypes, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KAction::ShortcutTypes(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<KAction::ShortcutTypes *>(a0),sipType_KAction_ShortcutTypes,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KAction::ShortcutTypes(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KAction::ShortcutTypes();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_KAction_ShortcutTypes(PyObject *, void **, int *, PyObject *);}
static int convertTo_KAction_ShortcutTypes(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    KAction::ShortcutTypes **sipCppPtr = reinterpret_cast<KAction::ShortcutTypes **>(sipCppPtrV);

#line 379 "/usr/share/python-sip/PyQt4/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a KAction::ShortcutTypes is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KAction_ShortcutType)) ||
            sipCanConvertToType(sipPy, sipType_KAction_ShortcutTypes, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KAction_ShortcutType)))
{
    *sipCppPtr = new KAction::ShortcutTypes(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<KAction::ShortcutTypes *>(sipConvertToType(sipPy, sipType_KAction_ShortcutTypes, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 37378 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_KAction_ShortcutTypes[] = {
    {(void *)slot_KAction_ShortcutTypes___bool__, bool_slot},
    {(void *)slot_KAction_ShortcutTypes___ne__, ne_slot},
    {(void *)slot_KAction_ShortcutTypes___eq__, eq_slot},
    {(void *)slot_KAction_ShortcutTypes___invert__, invert_slot},
    {(void *)slot_KAction_ShortcutTypes___and__, and_slot},
    {(void *)slot_KAction_ShortcutTypes___xor__, xor_slot},
    {(void *)slot_KAction_ShortcutTypes___or__, or_slot},
    {(void *)slot_KAction_ShortcutTypes___int__, int_slot},
    {(void *)slot_KAction_ShortcutTypes___ixor__, ixor_slot},
    {(void *)slot_KAction_ShortcutTypes___ior__, ior_slot},
    {(void *)slot_KAction_ShortcutTypes___iand__, iand_slot},
    {0, (sipPySlotType)0}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KAction_ShortcutTypes = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KAction__ShortcutTypes,
        {0}
    },
    {
        sipNameNr_ShortcutTypes,
        {7, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    slots_KAction_ShortcutTypes,
    init_type_KAction_ShortcutTypes,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KAction_ShortcutTypes,
    assign_KAction_ShortcutTypes,
    array_KAction_ShortcutTypes,
    copy_KAction_ShortcutTypes,
    release_KAction_ShortcutTypes,
    cast_KAction_ShortcutTypes,
    convertTo_KAction_ShortcutTypes,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0
};

#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kaction.sip"
#include <kaction.h>
#line 37454 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"

#line 34 "/usr/share/python-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 37458 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 36 "/usr/share/python-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 37461 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 33 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kicon.sip"
#include <kicon.h>
#line 37464 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 25 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdecore/kauthaction.sip"
#include <kauthaction.h>
#line 37467 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 37470 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 37473 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 37476 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 37479 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 55 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kgesture.sip"
#include <kgesture.h>
#line 37482 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kaction.sip"
#include <kaction.h>
#line 37485 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kgesture.sip"
#include <kgesture.h>
#line 37488 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kshortcut.sip"
#include <kshortcut.h>
#line 37491 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 37494 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 37497 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 37500 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 37503 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 37506 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 187 "/usr/share/python-sip/PyQt4/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 37509 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 274 "/usr/share/python-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 37512 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 37515 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 37518 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qmenu.sip"
#include <qmenu.h>
#line 37521 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 37524 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qactiongroup.sip"
#include <qactiongroup.h>
#line 37527 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 355 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 37530 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 338 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 37533 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 37536 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 37 "/usr/share/python-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 37539 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 37542 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 37545 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 37548 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 37551 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"


class sipKAction : public KAction
{
public:
    sipKAction(QObject*);
    sipKAction(const QString&,QObject*);
    sipKAction(const KIcon&,const QString&,QObject*);
    virtual ~sipKAction();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool event(QEvent*);
    void deleteWidget(QWidget*);
    QWidget* createWidget(QWidget*);
    bool eventFilter(QObject*,QEvent*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKAction(const sipKAction &);
    sipKAction &operator = (const sipKAction &);

    char sipPyMethods[11];
};

sipKAction::sipKAction(QObject*a0): KAction(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKAction::sipKAction(const QString& a0,QObject*a1): KAction(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKAction::sipKAction(const KIcon& a0,const QString& a1,QObject*a2): KAction(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKAction::~sipKAction()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKAction::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KAction);
}

int sipKAction::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KAction::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KAction,_c,_id,_a);

    return _id;
}

void *sipKAction::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KAction, _clname)) ? this : KAction::qt_metacast(_clname);
}

void sipKAction::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KAction::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAction::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KAction::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAction::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KAction::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAction::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KAction::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kdeui_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAction::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KAction::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kdeui_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKAction::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KAction::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAction::deleteWidget(QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_deleteWidget);

    if (!sipMeth)
    {
        KAction::deleteWidget(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*);

    ((sipVH_QtGui_7)(sipModuleAPI_kdeui_QtGui->em_virthandlers[7]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QWidget* sipKAction::createWidget(QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_createWidget);

    if (!sipMeth)
        return KAction::createWidget(a0);

    typedef QWidget* (*sipVH_QtGui_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*);

    return ((sipVH_QtGui_8)(sipModuleAPI_kdeui_QtGui->em_virthandlers[8]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKAction::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KAction::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}


extern "C" {static PyObject *meth_KAction_setHelpText(PyObject *, PyObject *);}
static PyObject *meth_KAction_setHelpText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KAction, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setHelpText(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KAction, sipName_setHelpText, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KAction_shortcut(PyObject *, PyObject *);}
static PyObject *meth_KAction_shortcut(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KAction::ShortcutTypes a0def = KAction::ActiveShortcut;
        KAction::ShortcutTypes* a0 = &a0def;
        int a0State = 0;
        const KAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|J1", &sipSelf, sipType_KAction, &sipCpp, sipType_KAction_ShortcutTypes, &a0, &a0State))
        {
            KShortcut*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(sipCpp->shortcut(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KAction_ShortcutTypes,a0State);

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KAction, sipName_shortcut, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KAction_setShortcut(PyObject *, PyObject *);}
static PyObject *meth_KAction_setShortcut(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KShortcut* a0;
        KAction::ShortcutTypes a1def = KAction::ShortcutTypes(KAction::ActiveShortcut|KAction::DefaultShortcut);
        KAction::ShortcutTypes* a1 = &a1def;
        int a1State = 0;
        KAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9|J1", &sipSelf, sipType_KAction, &sipCpp, sipType_KShortcut, &a0, sipType_KAction_ShortcutTypes, &a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setShortcut(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(a1,sipType_KAction_ShortcutTypes,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QKeySequence* a0;
        int a0State = 0;
        KAction::ShortcutTypes a1def = KAction::ShortcutTypes(KAction::ActiveShortcut|KAction::DefaultShortcut);
        KAction::ShortcutTypes* a1 = &a1def;
        int a1State = 0;
        KAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|J1", &sipSelf, sipType_KAction, &sipCpp, sipType_QKeySequence, &a0, &a0State, sipType_KAction_ShortcutTypes, &a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setShortcut(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QKeySequence *>(a0),sipType_QKeySequence,a0State);
            sipReleaseType(a1,sipType_KAction_ShortcutTypes,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KAction, sipName_setShortcut, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KAction_setShortcuts(PyObject *, PyObject *);}
static PyObject *meth_KAction_setShortcuts(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QList<QKeySequence>* a0;
        int a0State = 0;
        KAction::ShortcutTypes a1def = KAction::ShortcutTypes(KAction::ActiveShortcut|KAction::DefaultShortcut);
        KAction::ShortcutTypes* a1 = &a1def;
        int a1State = 0;
        KAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|J1", &sipSelf, sipType_KAction, &sipCpp, sipType_QList_0100QKeySequence,&a0, &a0State, sipType_KAction_ShortcutTypes, &a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setShortcuts(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QList<QKeySequence> *>(a0),sipType_QList_0100QKeySequence,a0State);
            sipReleaseType(a1,sipType_KAction_ShortcutTypes,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KAction, sipName_setShortcuts, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KAction_isShortcutConfigurable(PyObject *, PyObject *);}
static PyObject *meth_KAction_isShortcutConfigurable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KAction, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isShortcutConfigurable();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KAction, sipName_isShortcutConfigurable, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KAction_setShortcutConfigurable(PyObject *, PyObject *);}
static PyObject *meth_KAction_setShortcutConfigurable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KAction, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setShortcutConfigurable(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KAction, sipName_setShortcutConfigurable, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KAction_globalShortcut(PyObject *, PyObject *);}
static PyObject *meth_KAction_globalShortcut(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KAction::ShortcutTypes a0def = KAction::ActiveShortcut;
        KAction::ShortcutTypes* a0 = &a0def;
        int a0State = 0;
        const KAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|J1", &sipSelf, sipType_KAction, &sipCpp, sipType_KAction_ShortcutTypes, &a0, &a0State))
        {
            KShortcut*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(sipCpp->globalShortcut(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KAction_ShortcutTypes,a0State);

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KAction, sipName_globalShortcut, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KAction_setGlobalShortcut(PyObject *, PyObject *);}
static PyObject *meth_KAction_setGlobalShortcut(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KShortcut* a0;
        KAction::ShortcutTypes a1def = KAction::ShortcutTypes(KAction::ActiveShortcut|KAction::DefaultShortcut);
        KAction::ShortcutTypes* a1 = &a1def;
        int a1State = 0;
        KAction::GlobalShortcutLoading a2 = KAction::Autoloading;
        KAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9|J1E", &sipSelf, sipType_KAction, &sipCpp, sipType_KShortcut, &a0, sipType_KAction_ShortcutTypes, &a1, &a1State, sipType_KAction_GlobalShortcutLoading, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setGlobalShortcut(*a0,*a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(a1,sipType_KAction_ShortcutTypes,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KAction, sipName_setGlobalShortcut, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KAction_globalShortcutAllowed(PyObject *, PyObject *);}
static PyObject *meth_KAction_globalShortcutAllowed(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KAction, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->globalShortcutAllowed();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KAction, sipName_globalShortcutAllowed, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KAction_setGlobalShortcutAllowed(PyObject *, PyObject *);}
static PyObject *meth_KAction_setGlobalShortcutAllowed(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KAction::GlobalShortcutLoading a1 = KAction::Autoloading;
        KAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb|E", &sipSelf, sipType_KAction, &sipCpp, &a0, sipType_KAction_GlobalShortcutLoading, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setGlobalShortcutAllowed(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KAction, sipName_setGlobalShortcutAllowed, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KAction_isGlobalShortcutEnabled(PyObject *, PyObject *);}
static PyObject *meth_KAction_isGlobalShortcutEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KAction, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isGlobalShortcutEnabled();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KAction, sipName_isGlobalShortcutEnabled, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KAction_forgetGlobalShortcut(PyObject *, PyObject *);}
static PyObject *meth_KAction_forgetGlobalShortcut(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KAction, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->forgetGlobalShortcut();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KAction, sipName_forgetGlobalShortcut, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KAction_shapeGesture(PyObject *, PyObject *);}
static PyObject *meth_KAction_shapeGesture(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KAction::ShortcutTypes a0def = KAction::ActiveShortcut;
        KAction::ShortcutTypes* a0 = &a0def;
        int a0State = 0;
        const KAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|J1", &sipSelf, sipType_KAction, &sipCpp, sipType_KAction_ShortcutTypes, &a0, &a0State))
        {
            KShapeGesture*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShapeGesture(sipCpp->shapeGesture(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KAction_ShortcutTypes,a0State);

            return sipConvertFromNewType(sipRes,sipType_KShapeGesture,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KAction, sipName_shapeGesture, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KAction_rockerGesture(PyObject *, PyObject *);}
static PyObject *meth_KAction_rockerGesture(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KAction::ShortcutTypes a0def = KAction::ActiveShortcut;
        KAction::ShortcutTypes* a0 = &a0def;
        int a0State = 0;
        const KAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|J1", &sipSelf, sipType_KAction, &sipCpp, sipType_KAction_ShortcutTypes, &a0, &a0State))
        {
            KRockerGesture*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KRockerGesture(sipCpp->rockerGesture(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KAction_ShortcutTypes,a0State);

            return sipConvertFromNewType(sipRes,sipType_KRockerGesture,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KAction, sipName_rockerGesture, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KAction_setShapeGesture(PyObject *, PyObject *);}
static PyObject *meth_KAction_setShapeGesture(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KShapeGesture* a0;
        KAction::ShortcutTypes a1def = KAction::ShortcutTypes(KAction::ActiveShortcut|KAction::DefaultShortcut);
        KAction::ShortcutTypes* a1 = &a1def;
        int a1State = 0;
        KAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9|J1", &sipSelf, sipType_KAction, &sipCpp, sipType_KShapeGesture, &a0, sipType_KAction_ShortcutTypes, &a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setShapeGesture(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(a1,sipType_KAction_ShortcutTypes,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KAction, sipName_setShapeGesture, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KAction_setRockerGesture(PyObject *, PyObject *);}
static PyObject *meth_KAction_setRockerGesture(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KRockerGesture* a0;
        KAction::ShortcutTypes a1def = KAction::ShortcutTypes(KAction::ActiveShortcut|KAction::DefaultShortcut);
        KAction::ShortcutTypes* a1 = &a1def;
        int a1State = 0;
        KAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9|J1", &sipSelf, sipType_KAction, &sipCpp, sipType_KRockerGesture, &a0, sipType_KAction_ShortcutTypes, &a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setRockerGesture(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(a1,sipType_KAction_ShortcutTypes,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KAction, sipName_setRockerGesture, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KAction_event(PyObject *, PyObject *);}
static PyObject *meth_KAction_event(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        KAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KAction, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KAction::event(a0) : sipCpp->event(a0));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KAction, sipName_event, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KAction_authAction(PyObject *, PyObject *);}
static PyObject *meth_KAction_authAction(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KAction, &sipCpp))
        {
            KAuth::Action*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->authAction();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAuth_Action,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KAction, sipName_authAction, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KAction_setAuthAction(PyObject *, PyObject *);}
static PyObject *meth_KAction_setAuthAction(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KAuth::Action* a0;
        KAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KAction, &sipCpp, sipType_KAuth_Action, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAuthAction(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        KAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KAction, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAuthAction(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KAction, sipName_setAuthAction, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KAction(void *, const sipTypeDef *);}
static void *cast_KAction(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KAction)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QWidgetAction)->ctd_cast((QWidgetAction *)(KAction *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KAction(void *, int);}
static void release_KAction(void *sipCppV,int)
{
    KAction *sipCpp = reinterpret_cast<KAction *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KAction(sipSimpleWrapper *);}
static void dealloc_KAction(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKAction *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KAction(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KAction(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KAction(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKAction *sipCpp = 0;

    {
        QObject* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "JH", sipType_QObject, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKAction(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        QObject* a1;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1JH", sipType_QString,&a0, &a0State, sipType_QObject, &a1, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKAction(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const KIcon* a0;
        const QString* a1;
        int a1State = 0;
        QObject* a2;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9J1JH", sipType_KIcon, &a0, sipType_QString,&a1, &a1State, sipType_QObject, &a2, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKAction(*a0,*a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KAction[] = {{758, 2, 1}};


static PyMethodDef methods_KAction[] = {
    {SIP_MLNAME_CAST(sipName_authAction), meth_KAction_authAction, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_event), meth_KAction_event, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_forgetGlobalShortcut), meth_KAction_forgetGlobalShortcut, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_globalShortcut), meth_KAction_globalShortcut, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_globalShortcutAllowed), meth_KAction_globalShortcutAllowed, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isGlobalShortcutEnabled), meth_KAction_isGlobalShortcutEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isShortcutConfigurable), meth_KAction_isShortcutConfigurable, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_rockerGesture), meth_KAction_rockerGesture, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAuthAction), meth_KAction_setAuthAction, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setGlobalShortcut), meth_KAction_setGlobalShortcut, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setGlobalShortcutAllowed), meth_KAction_setGlobalShortcutAllowed, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setHelpText), meth_KAction_setHelpText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setRockerGesture), meth_KAction_setRockerGesture, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setShapeGesture), meth_KAction_setShapeGesture, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setShortcut), meth_KAction_setShortcut, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setShortcutConfigurable), meth_KAction_setShortcutConfigurable, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setShortcuts), meth_KAction_setShortcuts, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_shapeGesture), meth_KAction_shapeGesture, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_shortcut), meth_KAction_shortcut, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KAction[] = {
    {sipName_ActiveShortcut, static_cast<int>(KAction::ActiveShortcut), 9},
    {sipName_Autoloading, static_cast<int>(KAction::Autoloading), 8},
    {sipName_DefaultShortcut, static_cast<int>(KAction::DefaultShortcut), 9},
    {sipName_NoAutoloading, static_cast<int>(KAction::NoAutoloading), 8},
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KAction[] = {
    {"authorized(KAuth::Action*)", 0, 0, 0},
    {"globalShortcutChanged(QKeySequence)", 0, 0, 0},
    {"triggered(Qt::MouseButtons,Qt::KeyboardModifiers)", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KAction = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KAction,
        {0}
    },
    {
        sipNameNr_KAction,
        {0, 0, 1},
        19, methods_KAction,
        4, enummembers_KAction,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KAction,
    0,
    init_type_KAction,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KAction,
    0,
    0,
    0,
    release_KAction,
    cast_KAction,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KAction::staticMetaObject,
    0,
    signals_KAction,
};


#line 36 "/usr/share/python-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 38585 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 36 "/usr/share/python-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 38588 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"


extern "C" {static PyObject *meth_KAccelGen_generate(PyObject *, PyObject *);}
static PyObject *meth_KAccelGen_generate(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QStringList* a0;
        int a0State = 0;
        QStringList* a1;
        int a1State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1J1", sipType_QStringList,&a0, &a0State, sipType_QStringList,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            KAccelGen::generate(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QStringList *>(a0),sipType_QStringList,a0State);
            sipReleaseType(a1,sipType_QStringList,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_generate, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KAccelGen_isLegalAccelerator(PyObject *, PyObject *);}
static PyObject *meth_KAccelGen_isLegalAccelerator(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        int a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1i", sipType_QString,&a0, &a0State, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KAccelGen::isLegalAccelerator(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_isLegalAccelerator, NULL);

    return NULL;
}


static PyMethodDef methods_KAccelGen[] = {
    {SIP_MLNAME_CAST(sipName_generate), meth_KAccelGen_generate, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isLegalAccelerator), meth_KAccelGen_isLegalAccelerator, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KAccelGen = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_NAMESPACE,
        sipNameNr_KAccelGen,
        {0}
    },
    {
        sipNameNr_KAccelGen,
        {0, 0, 1},
        2, methods_KAccelGen,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    0,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kacceleratormanager.sip"
#include <kacceleratormanager.h>
#line 38713 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"

#line 35 "/usr/share/python-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 38717 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 36 "/usr/share/python-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 38720 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"


extern "C" {static PyObject *meth_KAcceleratorManager_manage(PyObject *, PyObject *);}
static PyObject *meth_KAcceleratorManager_manage(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        bool a1 = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J8|b", sipType_QWidget, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            KAcceleratorManager::manage(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KAcceleratorManager, sipName_manage, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KAcceleratorManager_last_manage(PyObject *, PyObject *);}
static PyObject *meth_KAcceleratorManager_last_manage(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QString* a0;
        int a0State = 0;
        QString* a1;
        int a1State = 0;
        QString* a2;
        int a2State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1J1J1", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            KAcceleratorManager::last_manage(*a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QString,a0State);
            sipReleaseType(a1,sipType_QString,a1State);
            sipReleaseType(a2,sipType_QString,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KAcceleratorManager, sipName_last_manage, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KAcceleratorManager_setNoAccel(PyObject *, PyObject *);}
static PyObject *meth_KAcceleratorManager_setNoAccel(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J8", sipType_QWidget, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            KAcceleratorManager::setNoAccel(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KAcceleratorManager, sipName_setNoAccel, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KAcceleratorManager(void *, const sipTypeDef *);}
static void *cast_KAcceleratorManager(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_KAcceleratorManager)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KAcceleratorManager(void *, int);}
static void release_KAcceleratorManager(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<KAcceleratorManager *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KAcceleratorManager(void *, SIP_SSIZE_T, const void *);}
static void assign_KAcceleratorManager(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<KAcceleratorManager *>(sipDst)[sipDstIdx] = *reinterpret_cast<const KAcceleratorManager *>(sipSrc);
}


extern "C" {static void *array_KAcceleratorManager(SIP_SSIZE_T);}
static void *array_KAcceleratorManager(SIP_SSIZE_T sipNrElem)
{
    return new KAcceleratorManager[sipNrElem];
}


extern "C" {static void *copy_KAcceleratorManager(const void *, SIP_SSIZE_T);}
static void *copy_KAcceleratorManager(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new KAcceleratorManager(reinterpret_cast<const KAcceleratorManager *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_KAcceleratorManager(sipSimpleWrapper *);}
static void dealloc_KAcceleratorManager(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KAcceleratorManager(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_KAcceleratorManager(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KAcceleratorManager(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    KAcceleratorManager *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KAcceleratorManager();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const KAcceleratorManager* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_KAcceleratorManager, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KAcceleratorManager(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_KAcceleratorManager[] = {
    {SIP_MLNAME_CAST(sipName_last_manage), meth_KAcceleratorManager_last_manage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_manage), meth_KAcceleratorManager_manage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setNoAccel), meth_KAcceleratorManager_setNoAccel, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KAcceleratorManager = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KAcceleratorManager,
        {0}
    },
    {
        sipNameNr_KAcceleratorManager,
        {0, 0, 1},
        3, methods_KAcceleratorManager,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_type_KAcceleratorManager,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KAcceleratorManager,
    assign_KAcceleratorManager,
    array_KAcceleratorManager,
    copy_KAcceleratorManager,
    release_KAcceleratorManager,
    cast_KAcceleratorManager,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 197 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kabstractwidgetjobtracker.sip"
#include <kabstractwidgetjobtracker.h>
#line 38959 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"

#line 35 "/usr/share/python-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 38963 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 38966 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 36 "/usr/share/python-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 38969 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 589 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdecore/typedefs.sip"
#include <qpair.h>
#line 38972 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 77 "/usr/share/python-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 38975 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 38978 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 355 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 38981 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 338 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 38984 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 34 "/usr/share/python-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 38987 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 274 "/usr/share/python-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 38990 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 38993 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 37 "/usr/share/python-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 38996 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 38999 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 39002 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 39005 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 39008 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 39011 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"


class sipKAbstractWidgetJobTracker : public KAbstractWidgetJobTracker
{
public:
    sipKAbstractWidgetJobTracker(QWidget*);
    virtual ~sipKAbstractWidgetJobTracker();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    void speed(KJob*,unsigned long);
    void percent(KJob*,unsigned long);
    void processedAmount(KJob*,KJob::Unit,qulonglong);
    void totalAmount(KJob*,KJob::Unit,qulonglong);
    void warning(KJob*,const QString&,const QString&);
    void infoMessage(KJob*,const QString&,const QString&);
    void description(KJob*,const QString&,const QPair<QString,QString>&,const QPair<QString,QString>&);
    void resumed(KJob*);
    void suspended(KJob*);
    void slotClean(KJob*);
    void slotResume(KJob*);
    void slotSuspend(KJob*);
    void slotStop(KJob*);
    void finished(KJob*);
    QWidget* widget(KJob*);
    void unregisterJob(KJob*);
    void registerJob(KJob*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKAbstractWidgetJobTracker(const sipKAbstractWidgetJobTracker &);
    sipKAbstractWidgetJobTracker &operator = (const sipKAbstractWidgetJobTracker &);

    char sipPyMethods[24];
};

sipKAbstractWidgetJobTracker::sipKAbstractWidgetJobTracker(QWidget*a0): KAbstractWidgetJobTracker(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKAbstractWidgetJobTracker::~sipKAbstractWidgetJobTracker()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKAbstractWidgetJobTracker::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KAbstractWidgetJobTracker);
}

int sipKAbstractWidgetJobTracker::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KAbstractWidgetJobTracker::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KAbstractWidgetJobTracker,_c,_id,_a);

    return _id;
}

void *sipKAbstractWidgetJobTracker::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KAbstractWidgetJobTracker, _clname)) ? this : KAbstractWidgetJobTracker::qt_metacast(_clname);
}

void sipKAbstractWidgetJobTracker::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KAbstractWidgetJobTracker::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAbstractWidgetJobTracker::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KAbstractWidgetJobTracker::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAbstractWidgetJobTracker::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KAbstractWidgetJobTracker::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAbstractWidgetJobTracker::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KAbstractWidgetJobTracker::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kdeui_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAbstractWidgetJobTracker::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KAbstractWidgetJobTracker::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kdeui_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKAbstractWidgetJobTracker::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KAbstractWidgetJobTracker::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKAbstractWidgetJobTracker::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KAbstractWidgetJobTracker::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAbstractWidgetJobTracker::speed(KJob*a0,unsigned long a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_speed);

    if (!sipMeth)
    {
        KAbstractWidgetJobTracker::speed(a0,a1);
        return;
    }

    typedef void (*sipVH_kdecore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KJob*,unsigned long);

    ((sipVH_kdecore_24)(sipModuleAPI_kdeui_kdecore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKAbstractWidgetJobTracker::percent(KJob*a0,unsigned long a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_percent);

    if (!sipMeth)
    {
        KAbstractWidgetJobTracker::percent(a0,a1);
        return;
    }

    typedef void (*sipVH_kdecore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KJob*,unsigned long);

    ((sipVH_kdecore_24)(sipModuleAPI_kdeui_kdecore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKAbstractWidgetJobTracker::processedAmount(KJob*a0,KJob::Unit a1,qulonglong a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_processedAmount);

    if (!sipMeth)
    {
        KAbstractWidgetJobTracker::processedAmount(a0,a1,a2);
        return;
    }

    typedef void (*sipVH_kdecore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KJob*,KJob::Unit,unsigned PY_LONG_LONG);

    ((sipVH_kdecore_25)(sipModuleAPI_kdeui_kdecore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipKAbstractWidgetJobTracker::totalAmount(KJob*a0,KJob::Unit a1,qulonglong a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_totalAmount);

    if (!sipMeth)
    {
        KAbstractWidgetJobTracker::totalAmount(a0,a1,a2);
        return;
    }

    typedef void (*sipVH_kdecore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KJob*,KJob::Unit,unsigned PY_LONG_LONG);

    ((sipVH_kdecore_25)(sipModuleAPI_kdeui_kdecore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipKAbstractWidgetJobTracker::warning(KJob*a0,const QString& a1,const QString& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_warning);

    if (!sipMeth)
    {
        KAbstractWidgetJobTracker::warning(a0,a1,a2);
        return;
    }

    typedef void (*sipVH_kdecore_23)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KJob*,const QString&,const QString&);

    ((sipVH_kdecore_23)(sipModuleAPI_kdeui_kdecore->em_virthandlers[23]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipKAbstractWidgetJobTracker::infoMessage(KJob*a0,const QString& a1,const QString& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_infoMessage);

    if (!sipMeth)
    {
        KAbstractWidgetJobTracker::infoMessage(a0,a1,a2);
        return;
    }

    typedef void (*sipVH_kdecore_23)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KJob*,const QString&,const QString&);

    ((sipVH_kdecore_23)(sipModuleAPI_kdeui_kdecore->em_virthandlers[23]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipKAbstractWidgetJobTracker::description(KJob*a0,const QString& a1,const QPair<QString,QString>& a2,const QPair<QString,QString>& a3)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_description);

    if (!sipMeth)
    {
        KAbstractWidgetJobTracker::description(a0,a1,a2,a3);
        return;
    }

    typedef void (*sipVH_kdecore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KJob*,const QString&,const QPair<QString,QString>&,const QPair<QString,QString>&);

    ((sipVH_kdecore_26)(sipModuleAPI_kdeui_kdecore->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}

void sipKAbstractWidgetJobTracker::resumed(KJob*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_resumed);

    if (!sipMeth)
    {
        KAbstractWidgetJobTracker::resumed(a0);
        return;
    }

    typedef void (*sipVH_kdecore_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KJob*);

    ((sipVH_kdecore_27)(sipModuleAPI_kdeui_kdecore->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAbstractWidgetJobTracker::suspended(KJob*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_suspended);

    if (!sipMeth)
    {
        KAbstractWidgetJobTracker::suspended(a0);
        return;
    }

    typedef void (*sipVH_kdecore_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KJob*);

    ((sipVH_kdecore_27)(sipModuleAPI_kdeui_kdecore->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAbstractWidgetJobTracker::slotClean(KJob*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_slotClean);

    if (!sipMeth)
    {
        KAbstractWidgetJobTracker::slotClean(a0);
        return;
    }

    typedef void (*sipVH_kdecore_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KJob*);

    ((sipVH_kdecore_27)(sipModuleAPI_kdeui_kdecore->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAbstractWidgetJobTracker::slotResume(KJob*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_slotResume);

    if (!sipMeth)
    {
        KAbstractWidgetJobTracker::slotResume(a0);
        return;
    }

    typedef void (*sipVH_kdecore_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KJob*);

    ((sipVH_kdecore_27)(sipModuleAPI_kdeui_kdecore->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAbstractWidgetJobTracker::slotSuspend(KJob*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_slotSuspend);

    if (!sipMeth)
    {
        KAbstractWidgetJobTracker::slotSuspend(a0);
        return;
    }

    typedef void (*sipVH_kdecore_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KJob*);

    ((sipVH_kdecore_27)(sipModuleAPI_kdeui_kdecore->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAbstractWidgetJobTracker::slotStop(KJob*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_slotStop);

    if (!sipMeth)
    {
        KAbstractWidgetJobTracker::slotStop(a0);
        return;
    }

    typedef void (*sipVH_kdecore_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KJob*);

    ((sipVH_kdecore_27)(sipModuleAPI_kdeui_kdecore->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAbstractWidgetJobTracker::finished(KJob*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_finished);

    if (!sipMeth)
    {
        KAbstractWidgetJobTracker::finished(a0);
        return;
    }

    typedef void (*sipVH_kdecore_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KJob*);

    ((sipVH_kdecore_27)(sipModuleAPI_kdeui_kdecore->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QWidget* sipKAbstractWidgetJobTracker::widget(KJob*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,sipName_KAbstractWidgetJobTracker,sipName_widget);

    if (!sipMeth)
        return 0;

    extern QWidget* sipVH_kdeui_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KJob*);

    return sipVH_kdeui_26(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAbstractWidgetJobTracker::unregisterJob(KJob*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_unregisterJob);

    if (!sipMeth)
    {
        KAbstractWidgetJobTracker::unregisterJob(a0);
        return;
    }

    typedef void (*sipVH_kdecore_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KJob*);

    ((sipVH_kdecore_27)(sipModuleAPI_kdeui_kdecore->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAbstractWidgetJobTracker::registerJob(KJob*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_registerJob);

    if (!sipMeth)
    {
        KAbstractWidgetJobTracker::registerJob(a0);
        return;
    }

    typedef void (*sipVH_kdecore_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KJob*);

    ((sipVH_kdecore_27)(sipModuleAPI_kdeui_kdecore->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_KAbstractWidgetJobTracker_registerJob(PyObject *, PyObject *);}
static PyObject *meth_KAbstractWidgetJobTracker_registerJob(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KJob* a0;
        KAbstractWidgetJobTracker *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KAbstractWidgetJobTracker, &sipCpp, sipType_KJob, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KAbstractWidgetJobTracker::registerJob(a0) : sipCpp->registerJob(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KAbstractWidgetJobTracker, sipName_registerJob, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KAbstractWidgetJobTracker_unregisterJob(PyObject *, PyObject *);}
static PyObject *meth_KAbstractWidgetJobTracker_unregisterJob(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KJob* a0;
        KAbstractWidgetJobTracker *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KAbstractWidgetJobTracker, &sipCpp, sipType_KJob, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KAbstractWidgetJobTracker::unregisterJob(a0) : sipCpp->unregisterJob(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KAbstractWidgetJobTracker, sipName_unregisterJob, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KAbstractWidgetJobTracker_widget(PyObject *, PyObject *);}
static PyObject *meth_KAbstractWidgetJobTracker_widget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        KJob* a0;
        KAbstractWidgetJobTracker *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KAbstractWidgetJobTracker, &sipCpp, sipType_KJob, &a0))
        {
            QWidget*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KAbstractWidgetJobTracker, sipName_widget);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->widget(a0);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KAbstractWidgetJobTracker, sipName_widget, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KAbstractWidgetJobTracker_setStopOnClose(PyObject *, PyObject *);}
static PyObject *meth_KAbstractWidgetJobTracker_setStopOnClose(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KJob* a0;
        bool a1;
        KAbstractWidgetJobTracker *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8b", &sipSelf, sipType_KAbstractWidgetJobTracker, &sipCpp, sipType_KJob, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setStopOnClose(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KAbstractWidgetJobTracker, sipName_setStopOnClose, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KAbstractWidgetJobTracker_stopOnClose(PyObject *, PyObject *);}
static PyObject *meth_KAbstractWidgetJobTracker_stopOnClose(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KJob* a0;
        const KAbstractWidgetJobTracker *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KAbstractWidgetJobTracker, &sipCpp, sipType_KJob, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->stopOnClose(a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KAbstractWidgetJobTracker, sipName_stopOnClose, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KAbstractWidgetJobTracker_setAutoDelete(PyObject *, PyObject *);}
static PyObject *meth_KAbstractWidgetJobTracker_setAutoDelete(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KJob* a0;
        bool a1;
        KAbstractWidgetJobTracker *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8b", &sipSelf, sipType_KAbstractWidgetJobTracker, &sipCpp, sipType_KJob, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAutoDelete(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KAbstractWidgetJobTracker, sipName_setAutoDelete, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KAbstractWidgetJobTracker_autoDelete(PyObject *, PyObject *);}
static PyObject *meth_KAbstractWidgetJobTracker_autoDelete(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KJob* a0;
        const KAbstractWidgetJobTracker *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KAbstractWidgetJobTracker, &sipCpp, sipType_KJob, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->autoDelete(a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KAbstractWidgetJobTracker, sipName_autoDelete, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KAbstractWidgetJobTracker_finished(PyObject *, PyObject *);}
static PyObject *meth_KAbstractWidgetJobTracker_finished(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KJob* a0;
        KAbstractWidgetJobTracker *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KAbstractWidgetJobTracker, &sipCpp, sipType_KJob, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KAbstractWidgetJobTracker::finished(a0) : sipCpp->finished(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KAbstractWidgetJobTracker, sipName_finished, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KAbstractWidgetJobTracker_slotStop(PyObject *, PyObject *);}
static PyObject *meth_KAbstractWidgetJobTracker_slotStop(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KJob* a0;
        KAbstractWidgetJobTracker *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KAbstractWidgetJobTracker, &sipCpp, sipType_KJob, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KAbstractWidgetJobTracker::slotStop(a0) : sipCpp->slotStop(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KAbstractWidgetJobTracker, sipName_slotStop, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KAbstractWidgetJobTracker_slotSuspend(PyObject *, PyObject *);}
static PyObject *meth_KAbstractWidgetJobTracker_slotSuspend(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KJob* a0;
        KAbstractWidgetJobTracker *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KAbstractWidgetJobTracker, &sipCpp, sipType_KJob, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KAbstractWidgetJobTracker::slotSuspend(a0) : sipCpp->slotSuspend(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KAbstractWidgetJobTracker, sipName_slotSuspend, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KAbstractWidgetJobTracker_slotResume(PyObject *, PyObject *);}
static PyObject *meth_KAbstractWidgetJobTracker_slotResume(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KJob* a0;
        KAbstractWidgetJobTracker *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KAbstractWidgetJobTracker, &sipCpp, sipType_KJob, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KAbstractWidgetJobTracker::slotResume(a0) : sipCpp->slotResume(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KAbstractWidgetJobTracker, sipName_slotResume, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KAbstractWidgetJobTracker_slotClean(PyObject *, PyObject *);}
static PyObject *meth_KAbstractWidgetJobTracker_slotClean(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KJob* a0;
        KAbstractWidgetJobTracker *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KAbstractWidgetJobTracker, &sipCpp, sipType_KJob, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KAbstractWidgetJobTracker::slotClean(a0) : sipCpp->slotClean(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KAbstractWidgetJobTracker, sipName_slotClean, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KAbstractWidgetJobTracker(void *, const sipTypeDef *);}
static void *cast_KAbstractWidgetJobTracker(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KAbstractWidgetJobTracker)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KJobTrackerInterface)->ctd_cast((KJobTrackerInterface *)(KAbstractWidgetJobTracker *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KAbstractWidgetJobTracker(void *, int);}
static void release_KAbstractWidgetJobTracker(void *sipCppV,int)
{
    KAbstractWidgetJobTracker *sipCpp = reinterpret_cast<KAbstractWidgetJobTracker *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KAbstractWidgetJobTracker(sipSimpleWrapper *);}
static void dealloc_KAbstractWidgetJobTracker(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKAbstractWidgetJobTracker *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KAbstractWidgetJobTracker(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KAbstractWidgetJobTracker(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KAbstractWidgetJobTracker(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKAbstractWidgetJobTracker *sipCpp = 0;

    {
        QWidget* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKAbstractWidgetJobTracker(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KAbstractWidgetJobTracker[] = {{94, 3, 1}};


static PyMethodDef methods_KAbstractWidgetJobTracker[] = {
    {SIP_MLNAME_CAST(sipName_autoDelete), meth_KAbstractWidgetJobTracker_autoDelete, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_finished), meth_KAbstractWidgetJobTracker_finished, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_registerJob), meth_KAbstractWidgetJobTracker_registerJob, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAutoDelete), meth_KAbstractWidgetJobTracker_setAutoDelete, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setStopOnClose), meth_KAbstractWidgetJobTracker_setStopOnClose, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotClean), meth_KAbstractWidgetJobTracker_slotClean, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotResume), meth_KAbstractWidgetJobTracker_slotResume, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotStop), meth_KAbstractWidgetJobTracker_slotStop, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotSuspend), meth_KAbstractWidgetJobTracker_slotSuspend, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_stopOnClose), meth_KAbstractWidgetJobTracker_stopOnClose, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_unregisterJob), meth_KAbstractWidgetJobTracker_unregisterJob, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_widget), meth_KAbstractWidgetJobTracker_widget, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KAbstractWidgetJobTracker[] = {
    {"resume(KJob*)", 0, 0, 0},
    {"suspend(KJob*)", 0, 0, 0},
    {"stopped(KJob*)", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KAbstractWidgetJobTracker = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KAbstractWidgetJobTracker,
        {0}
    },
    {
        sipNameNr_KAbstractWidgetJobTracker,
        {0, 0, 1},
        12, methods_KAbstractWidgetJobTracker,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KAbstractWidgetJobTracker,
    0,
    init_type_KAbstractWidgetJobTracker,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KAbstractWidgetJobTracker,
    0,
    0,
    0,
    release_KAbstractWidgetJobTracker,
    cast_KAbstractWidgetJobTracker,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KAbstractWidgetJobTracker::staticMetaObject,
    0,
    signals_KAbstractWidgetJobTracker,
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kaboutapplicationdialog.sip"
#include <kaboutapplicationdialog.h>
#line 40015 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kaboutapplicationdialog.sip"
#include <kaboutapplicationdialog.h>
#line 40019 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"


extern "C" {static int slot_KAboutApplicationDialog_Options___bool__(PyObject *);}
static int slot_KAboutApplicationDialog_Options___bool__(PyObject *sipSelf)
{
    KAboutApplicationDialog::Options *sipCpp = reinterpret_cast<KAboutApplicationDialog::Options *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KAboutApplicationDialog_Options));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 370 "/usr/share/python-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KAboutApplicationDialog::Options::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 40041 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KAboutApplicationDialog_Options___ne__(PyObject *,PyObject *);}
static PyObject *slot_KAboutApplicationDialog_Options___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    KAboutApplicationDialog::Options *sipCpp = reinterpret_cast<KAboutApplicationDialog::Options *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KAboutApplicationDialog_Options));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KAboutApplicationDialog::Options* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KAboutApplicationDialog_Options, &a0, &a0State))
        {
            bool sipRes = 0;

#line 361 "/usr/share/python-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KAboutApplicationDialog::Options::Int() != a0->operator KAboutApplicationDialog::Options::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 40075 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
            sipReleaseType(const_cast<KAboutApplicationDialog::Options *>(a0),sipType_KAboutApplicationDialog_Options,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui,ne_slot,sipType_KAboutApplicationDialog_Options,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KAboutApplicationDialog_Options___eq__(PyObject *,PyObject *);}
static PyObject *slot_KAboutApplicationDialog_Options___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    KAboutApplicationDialog::Options *sipCpp = reinterpret_cast<KAboutApplicationDialog::Options *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KAboutApplicationDialog_Options));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KAboutApplicationDialog::Options* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KAboutApplicationDialog_Options, &a0, &a0State))
        {
            bool sipRes = 0;

#line 352 "/usr/share/python-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KAboutApplicationDialog::Options::Int() == a0->operator KAboutApplicationDialog::Options::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 40115 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
            sipReleaseType(const_cast<KAboutApplicationDialog::Options *>(a0),sipType_KAboutApplicationDialog_Options,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui,eq_slot,sipType_KAboutApplicationDialog_Options,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KAboutApplicationDialog_Options___invert__(PyObject *);}
static PyObject *slot_KAboutApplicationDialog_Options___invert__(PyObject *sipSelf)
{
    KAboutApplicationDialog::Options *sipCpp = reinterpret_cast<KAboutApplicationDialog::Options *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KAboutApplicationDialog_Options));

    if (!sipCpp)
        return 0;


    {
        {
            KAboutApplicationDialog::Options*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KAboutApplicationDialog::Options(~(*sipCpp));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KAboutApplicationDialog_Options,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KAboutApplicationDialog_Options___and__(PyObject *,PyObject *);}
static PyObject *slot_KAboutApplicationDialog_Options___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KAboutApplicationDialog::Options* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KAboutApplicationDialog_Options, &a0, &a0State, &a1))
        {
            KAboutApplicationDialog::Options*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KAboutApplicationDialog::Options((*a0 & a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KAboutApplicationDialog_Options,a0State);

            return sipConvertFromNewType(sipRes,sipType_KAboutApplicationDialog_Options,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui,and_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KAboutApplicationDialog_Options___xor__(PyObject *,PyObject *);}
static PyObject *slot_KAboutApplicationDialog_Options___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KAboutApplicationDialog::Options* a0;
        int a0State = 0;
        KAboutApplicationDialog::Options* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_KAboutApplicationDialog_Options, &a0, &a0State, sipType_KAboutApplicationDialog_Options, &a1, &a1State))
        {
            KAboutApplicationDialog::Options*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KAboutApplicationDialog::Options((*a0 ^ *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KAboutApplicationDialog_Options,a0State);
            sipReleaseType(a1,sipType_KAboutApplicationDialog_Options,a1State);

            return sipConvertFromNewType(sipRes,sipType_KAboutApplicationDialog_Options,NULL);
        }
    }

    {
        KAboutApplicationDialog::Options* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KAboutApplicationDialog_Options, &a0, &a0State, &a1))
        {
            KAboutApplicationDialog::Options*sipRes = 0;

#line 346 "/usr/share/python-sip/PyQt4/QtCore/qglobal.sip"
        sipRes = new KAboutApplicationDialog::Options(*a0 ^ a1);
#line 40224 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
            sipReleaseType(a0,sipType_KAboutApplicationDialog_Options,a0State);

            return sipConvertFromNewType(sipRes,sipType_KAboutApplicationDialog_Options,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui,xor_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KAboutApplicationDialog_Options___or__(PyObject *,PyObject *);}
static PyObject *slot_KAboutApplicationDialog_Options___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KAboutApplicationDialog::Options* a0;
        int a0State = 0;
        KAboutApplicationDialog::Options* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_KAboutApplicationDialog_Options, &a0, &a0State, sipType_KAboutApplicationDialog_Options, &a1, &a1State))
        {
            KAboutApplicationDialog::Options*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KAboutApplicationDialog::Options((*a0 | *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KAboutApplicationDialog_Options,a0State);
            sipReleaseType(a1,sipType_KAboutApplicationDialog_Options,a1State);

            return sipConvertFromNewType(sipRes,sipType_KAboutApplicationDialog_Options,NULL);
        }
    }

    {
        KAboutApplicationDialog::Options* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KAboutApplicationDialog_Options, &a0, &a0State, &a1))
        {
            KAboutApplicationDialog::Options*sipRes = 0;

#line 341 "/usr/share/python-sip/PyQt4/QtCore/qglobal.sip"
        sipRes = new KAboutApplicationDialog::Options(*a0 | a1);
#line 40276 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
            sipReleaseType(a0,sipType_KAboutApplicationDialog_Options,a0State);

            return sipConvertFromNewType(sipRes,sipType_KAboutApplicationDialog_Options,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui,or_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KAboutApplicationDialog_Options___int__(PyObject *);}
static PyObject *slot_KAboutApplicationDialog_Options___int__(PyObject *sipSelf)
{
    KAboutApplicationDialog::Options *sipCpp = reinterpret_cast<KAboutApplicationDialog::Options *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KAboutApplicationDialog_Options));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KAboutApplicationDialog_Options___ixor__(PyObject *,PyObject *);}
static PyObject *slot_KAboutApplicationDialog_Options___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KAboutApplicationDialog_Options)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KAboutApplicationDialog::Options *sipCpp = reinterpret_cast<KAboutApplicationDialog::Options *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KAboutApplicationDialog_Options));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        KAboutApplicationDialog::Options* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KAboutApplicationDialog_Options, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KAboutApplicationDialog::Options::operator^=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KAboutApplicationDialog_Options,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_KAboutApplicationDialog_Options___ior__(PyObject *,PyObject *);}
static PyObject *slot_KAboutApplicationDialog_Options___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KAboutApplicationDialog_Options)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KAboutApplicationDialog::Options *sipCpp = reinterpret_cast<KAboutApplicationDialog::Options *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KAboutApplicationDialog_Options));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        KAboutApplicationDialog::Options* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KAboutApplicationDialog_Options, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KAboutApplicationDialog::Options::operator|=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KAboutApplicationDialog_Options,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_KAboutApplicationDialog_Options___iand__(PyObject *,PyObject *);}
static PyObject *slot_KAboutApplicationDialog_Options___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KAboutApplicationDialog_Options)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KAboutApplicationDialog::Options *sipCpp = reinterpret_cast<KAboutApplicationDialog::Options *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KAboutApplicationDialog_Options));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KAboutApplicationDialog::Options::operator&=(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KAboutApplicationDialog_Options(void *, const sipTypeDef *);}
static void *cast_KAboutApplicationDialog_Options(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_KAboutApplicationDialog_Options)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KAboutApplicationDialog_Options(void *, int);}
static void release_KAboutApplicationDialog_Options(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<KAboutApplicationDialog::Options *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KAboutApplicationDialog_Options(void *, SIP_SSIZE_T, const void *);}
static void assign_KAboutApplicationDialog_Options(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<KAboutApplicationDialog::Options *>(sipDst)[sipDstIdx] = *reinterpret_cast<const KAboutApplicationDialog::Options *>(sipSrc);
}


extern "C" {static void *array_KAboutApplicationDialog_Options(SIP_SSIZE_T);}
static void *array_KAboutApplicationDialog_Options(SIP_SSIZE_T sipNrElem)
{
    return new KAboutApplicationDialog::Options[sipNrElem];
}


extern "C" {static void *copy_KAboutApplicationDialog_Options(const void *, SIP_SSIZE_T);}
static void *copy_KAboutApplicationDialog_Options(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new KAboutApplicationDialog::Options(reinterpret_cast<const KAboutApplicationDialog::Options *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_KAboutApplicationDialog_Options(sipSimpleWrapper *);}
static void dealloc_KAboutApplicationDialog_Options(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KAboutApplicationDialog_Options(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_KAboutApplicationDialog_Options(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KAboutApplicationDialog_Options(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    KAboutApplicationDialog::Options *sipCpp = 0;

    {
        const KAboutApplicationDialog::Options* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_KAboutApplicationDialog_Options, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KAboutApplicationDialog::Options(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<KAboutApplicationDialog::Options *>(a0),sipType_KAboutApplicationDialog_Options,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KAboutApplicationDialog::Options(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KAboutApplicationDialog::Options();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_KAboutApplicationDialog_Options(PyObject *, void **, int *, PyObject *);}
static int convertTo_KAboutApplicationDialog_Options(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    KAboutApplicationDialog::Options **sipCppPtr = reinterpret_cast<KAboutApplicationDialog::Options **>(sipCppPtrV);

#line 379 "/usr/share/python-sip/PyQt4/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a KAboutApplicationDialog::Options is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KAboutApplicationDialog_Option)) ||
            sipCanConvertToType(sipPy, sipType_KAboutApplicationDialog_Options, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KAboutApplicationDialog_Option)))
{
    *sipCppPtr = new KAboutApplicationDialog::Options(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<KAboutApplicationDialog::Options *>(sipConvertToType(sipPy, sipType_KAboutApplicationDialog_Options, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 40571 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_KAboutApplicationDialog_Options[] = {
    {(void *)slot_KAboutApplicationDialog_Options___bool__, bool_slot},
    {(void *)slot_KAboutApplicationDialog_Options___ne__, ne_slot},
    {(void *)slot_KAboutApplicationDialog_Options___eq__, eq_slot},
    {(void *)slot_KAboutApplicationDialog_Options___invert__, invert_slot},
    {(void *)slot_KAboutApplicationDialog_Options___and__, and_slot},
    {(void *)slot_KAboutApplicationDialog_Options___xor__, xor_slot},
    {(void *)slot_KAboutApplicationDialog_Options___or__, or_slot},
    {(void *)slot_KAboutApplicationDialog_Options___int__, int_slot},
    {(void *)slot_KAboutApplicationDialog_Options___ixor__, ixor_slot},
    {(void *)slot_KAboutApplicationDialog_Options___ior__, ior_slot},
    {(void *)slot_KAboutApplicationDialog_Options___iand__, iand_slot},
    {0, (sipPySlotType)0}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KAboutApplicationDialog_Options = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KAboutApplicationDialog__Options,
        {0}
    },
    {
        sipNameNr_Options,
        {1, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    slots_KAboutApplicationDialog_Options,
    init_type_KAboutApplicationDialog_Options,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KAboutApplicationDialog_Options,
    assign_KAboutApplicationDialog_Options,
    array_KAboutApplicationDialog_Options,
    copy_KAboutApplicationDialog_Options,
    release_KAboutApplicationDialog_Options,
    cast_KAboutApplicationDialog_Options,
    convertTo_KAboutApplicationDialog_Options,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kaboutapplicationdialog.sip"
#include <kaboutapplicationdialog.h>
#line 40647 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"

#line 56 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdecore/kaboutdata.sip"
#include <kaboutdata.h>
#line 40651 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 40654 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kaboutapplicationdialog.sip"
#include <kaboutapplicationdialog.h>
#line 40657 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 483 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40660 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 583 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40663 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 616 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40666 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 40669 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 36 "/usr/share/python-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 40672 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 40675 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 40678 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 40681 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 40684 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kpushbutton.sip"
#include <kpushbutton.h>
#line 40687 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 32 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 40690 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdecore/kconfigbase.sip"
#include <kconfigbase.h>
#line 40693 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qmenu.sip"
#include <qmenu.h>
#line 40696 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kguiitem.sip"
#include <kguiitem.h>
#line 40699 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 33 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kicon.sip"
#include <kicon.h>
#line 40702 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 40705 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 40708 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 34 "/usr/share/python-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 40711 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 40714 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 627 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40717 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 570 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40720 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 605 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40723 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 40726 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 39 "/usr/share/python-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 40729 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 40732 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 39 "/usr/share/python-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 40735 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 40738 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 40741 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 40744 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 40747 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 40750 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 40753 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 40756 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 37 "/usr/share/python-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 40759 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 40762 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 40765 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 40768 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 40771 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 40774 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 274 "/usr/share/python-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 40777 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 656 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40780 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 748 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40783 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 801 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40786 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 774 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40789 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 790 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40792 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 863 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40795 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 412 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40798 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 557 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40801 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 533 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40804 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 514 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40807 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 356 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40810 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 261 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40813 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 40816 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 61 "/usr/share/python-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 40819 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 39 "/usr/share/python-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 40822 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 40825 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 40828 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 40831 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 40834 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 40837 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 40840 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 40843 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 40846 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 40849 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 355 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 40852 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 338 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 40855 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 40858 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 40861 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 40864 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 40867 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 40870 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"


class sipKAboutApplicationDialog : public KAboutApplicationDialog
{
public:
    sipKAboutApplicationDialog(const KAboutData*,QWidget*);
    sipKAboutApplicationDialog(const KAboutData*,KAboutApplicationDialog::Options,QWidget*);
    virtual ~sipKAboutApplicationDialog();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    void languageChange();
    void windowActivationChange(bool);
    void fontChange(const QFont&);
    void paletteChange(const QPalette&);
    void enabledChange(bool);
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void changeEvent(QEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void moveEvent(QMoveEvent*);
    void paintEvent(QPaintEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    bool event(QEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    int devType() const;
    bool eventFilter(QObject*,QEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void resizeEvent(QResizeEvent*);
    void showEvent(QShowEvent*);
    void reject();
    void accept();
    void done(int);
    void setVisible(bool);
    void slotButtonClicked(int);
    void keyPressEvent(QKeyEvent*);
    void closeEvent(QCloseEvent*);
    void hideEvent(QHideEvent*);
    void setPlainCaption(const QString&);
    void setCaption(const QString&,bool);
    void setCaption(const QString&);
    QSize minimumSizeHint() const;
    QSize sizeHint() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKAboutApplicationDialog(const sipKAboutApplicationDialog &);
    sipKAboutApplicationDialog &operator = (const sipKAboutApplicationDialog &);

    char sipPyMethods[54];
};

sipKAboutApplicationDialog::sipKAboutApplicationDialog(const KAboutData*a0,QWidget*a1): KAboutApplicationDialog(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKAboutApplicationDialog::sipKAboutApplicationDialog(const KAboutData*a0,KAboutApplicationDialog::Options a1,QWidget*a2): KAboutApplicationDialog(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKAboutApplicationDialog::~sipKAboutApplicationDialog()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKAboutApplicationDialog::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KAboutApplicationDialog);
}

int sipKAboutApplicationDialog::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KAboutApplicationDialog::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KAboutApplicationDialog,_c,_id,_a);

    return _id;
}

void *sipKAboutApplicationDialog::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KAboutApplicationDialog, _clname)) ? this : KAboutApplicationDialog::qt_metacast(_clname);
}

void sipKAboutApplicationDialog::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KAboutApplicationDialog::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAboutApplicationDialog::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KAboutApplicationDialog::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAboutApplicationDialog::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KAboutApplicationDialog::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAboutApplicationDialog::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KAboutApplicationDialog::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kdeui_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAboutApplicationDialog::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KAboutApplicationDialog::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kdeui_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAboutApplicationDialog::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
        KAboutApplicationDialog::languageChange();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKAboutApplicationDialog::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
        KAboutApplicationDialog::windowActivationChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAboutApplicationDialog::fontChange(const QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
        KAboutApplicationDialog::fontChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QFont&);

    ((sipVH_QtGui_9)(sipModuleAPI_kdeui_QtGui->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAboutApplicationDialog::paletteChange(const QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
        KAboutApplicationDialog::paletteChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_10)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPalette&);

    ((sipVH_QtGui_10)(sipModuleAPI_kdeui_QtGui->em_virthandlers[10]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAboutApplicationDialog::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
        KAboutApplicationDialog::enabledChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKAboutApplicationDialog::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return KAboutApplicationDialog::focusNextPrevChild(a0);

    typedef bool (*sipVH_QtGui_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return ((sipVH_QtGui_11)(sipModuleAPI_kdeui_QtGui->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QVariant sipKAboutApplicationDialog::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return KAboutApplicationDialog::inputMethodQuery(a0);

    typedef QVariant (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return ((sipVH_QtGui_12)(sipModuleAPI_kdeui_QtGui->em_virthandlers[12]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAboutApplicationDialog::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        KAboutApplicationDialog::inputMethodEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_13)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    ((sipVH_QtGui_13)(sipModuleAPI_kdeui_QtGui->em_virthandlers[13]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKAboutApplicationDialog::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return KAboutApplicationDialog::metric(a0);

    typedef int (*sipVH_QtGui_14)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_14)(sipModuleAPI_kdeui_QtGui->em_virthandlers[14]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAboutApplicationDialog::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        KAboutApplicationDialog::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAboutApplicationDialog::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        KAboutApplicationDialog::dropEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_15)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    ((sipVH_QtGui_15)(sipModuleAPI_kdeui_QtGui->em_virthandlers[15]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAboutApplicationDialog::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        KAboutApplicationDialog::dragLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_16)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    ((sipVH_QtGui_16)(sipModuleAPI_kdeui_QtGui->em_virthandlers[16]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAboutApplicationDialog::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        KAboutApplicationDialog::dragMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    ((sipVH_QtGui_17)(sipModuleAPI_kdeui_QtGui->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAboutApplicationDialog::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        KAboutApplicationDialog::dragEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    ((sipVH_QtGui_18)(sipModuleAPI_kdeui_QtGui->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAboutApplicationDialog::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        KAboutApplicationDialog::actionEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_19)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    ((sipVH_QtGui_19)(sipModuleAPI_kdeui_QtGui->em_virthandlers[19]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAboutApplicationDialog::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        KAboutApplicationDialog::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_20)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_20)(sipModuleAPI_kdeui_QtGui->em_virthandlers[20]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAboutApplicationDialog::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        KAboutApplicationDialog::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_23)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_23)(sipModuleAPI_kdeui_QtGui->em_virthandlers[23]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAboutApplicationDialog::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        KAboutApplicationDialog::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_kdeui_QtGui->em_virthandlers[3]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAboutApplicationDialog::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        KAboutApplicationDialog::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAboutApplicationDialog::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        KAboutApplicationDialog::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAboutApplicationDialog::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        KAboutApplicationDialog::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kdeui_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAboutApplicationDialog::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        KAboutApplicationDialog::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kdeui_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAboutApplicationDialog::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        KAboutApplicationDialog::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAboutApplicationDialog::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        KAboutApplicationDialog::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_kdeui_QtGui->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAboutApplicationDialog::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        KAboutApplicationDialog::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAboutApplicationDialog::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        KAboutApplicationDialog::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAboutApplicationDialog::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        KAboutApplicationDialog::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAboutApplicationDialog::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        KAboutApplicationDialog::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKAboutApplicationDialog::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KAboutApplicationDialog::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QPaintEngine* sipKAboutApplicationDialog::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return KAboutApplicationDialog::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_27)(sipModuleAPI_kdeui_QtGui->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKAboutApplicationDialog::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[35]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return KAboutApplicationDialog::heightForWidth(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtGui_28)(sipModuleAPI_kdeui_QtGui->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKAboutApplicationDialog::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[36]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return KAboutApplicationDialog::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_kdeui_QtCore->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipKAboutApplicationDialog::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KAboutApplicationDialog::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKAboutApplicationDialog::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        KAboutApplicationDialog::contextMenuEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_21)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    ((sipVH_QtGui_21)(sipModuleAPI_kdeui_QtGui->em_virthandlers[21]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAboutApplicationDialog::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        KAboutApplicationDialog::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_kdeui_QtGui->em_virthandlers[2]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAboutApplicationDialog::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        KAboutApplicationDialog::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_1)(sipModuleAPI_kdeui_QtGui->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAboutApplicationDialog::reject()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_reject);

    if (!sipMeth)
    {
        KAboutApplicationDialog::reject();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKAboutApplicationDialog::accept()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_accept);

    if (!sipMeth)
    {
        KAboutApplicationDialog::accept();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKAboutApplicationDialog::done(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_done);

    if (!sipMeth)
    {
        KAboutApplicationDialog::done(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_kdeui_QtCore->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAboutApplicationDialog::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        KAboutApplicationDialog::setVisible(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAboutApplicationDialog::slotButtonClicked(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_slotButtonClicked);

    if (!sipMeth)
    {
        KAboutApplicationDialog::slotButtonClicked(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_kdeui_QtCore->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAboutApplicationDialog::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        KAboutApplicationDialog::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAboutApplicationDialog::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        KAboutApplicationDialog::closeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_22)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    ((sipVH_QtGui_22)(sipModuleAPI_kdeui_QtGui->em_virthandlers[22]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAboutApplicationDialog::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        KAboutApplicationDialog::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_kdeui_QtGui->em_virthandlers[0]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAboutApplicationDialog::setPlainCaption(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_setPlainCaption);

    if (!sipMeth)
    {
        KAboutApplicationDialog::setPlainCaption(a0);
        return;
    }

    typedef void (*sipVH_QtCore_33)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    ((sipVH_QtCore_33)(sipModuleAPI_kdeui_QtCore->em_virthandlers[33]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKAboutApplicationDialog::setCaption(const QString& a0,bool a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_setCaption);

    if (!sipMeth)
    {
        KAboutApplicationDialog::setCaption(a0,a1);
        return;
    }

    typedef void (*sipVH_QtXml_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&,bool);

    ((sipVH_QtXml_24)(sipModuleAPI_kdeui_QtXml->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKAboutApplicationDialog::setCaption(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_setCaption);

    if (!sipMeth)
    {
        KAboutApplicationDialog::setCaption(a0);
        return;
    }

    typedef void (*sipVH_QtCore_33)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    ((sipVH_QtCore_33)(sipModuleAPI_kdeui_QtCore->em_virthandlers[33]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QSize sipKAboutApplicationDialog::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[52]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return KAboutApplicationDialog::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

QSize sipKAboutApplicationDialog::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[53]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return KAboutApplicationDialog::sizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KAboutApplicationDialog(void *, const sipTypeDef *);}
static void *cast_KAboutApplicationDialog(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KAboutApplicationDialog)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KDialog)->ctd_cast((KDialog *)(KAboutApplicationDialog *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KAboutApplicationDialog(void *, int);}
static void release_KAboutApplicationDialog(void *sipCppV,int)
{
    KAboutApplicationDialog *sipCpp = reinterpret_cast<KAboutApplicationDialog *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KAboutApplicationDialog(sipSimpleWrapper *);}
static void dealloc_KAboutApplicationDialog(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKAboutApplicationDialog *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KAboutApplicationDialog(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KAboutApplicationDialog(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KAboutApplicationDialog(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKAboutApplicationDialog *sipCpp = 0;

    {
        const KAboutData* a0;
        QWidget* a1 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8|JH", sipType_KAboutData, &a0, sipType_QWidget, &a1, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKAboutApplicationDialog(a0,a1);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const KAboutData* a0;
        KAboutApplicationDialog::Options* a1;
        int a1State = 0;
        QWidget* a2 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8J1|JH", sipType_KAboutData, &a0, sipType_KAboutApplicationDialog_Options, &a1, &a1State, sipType_QWidget, &a2, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKAboutApplicationDialog(a0,*a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(a1,sipType_KAboutApplicationDialog_Options,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KAboutApplicationDialog[] = {{86, 255, 1}};

static sipEnumMemberDef enummembers_KAboutApplicationDialog[] = {
    {sipName_HideKdeVersion, static_cast<int>(KAboutApplicationDialog::HideKdeVersion), 2},
    {sipName_HideTranslators, static_cast<int>(KAboutApplicationDialog::HideTranslators), 2},
    {sipName_NoOptions, static_cast<int>(KAboutApplicationDialog::NoOptions), 2},
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KAboutApplicationDialog = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KAboutApplicationDialog,
        {0}
    },
    {
        sipNameNr_KAboutApplicationDialog,
        {0, 0, 1},
        0, 0,
        3, enummembers_KAboutApplicationDialog,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KAboutApplicationDialog,
    0,
    init_type_KAboutApplicationDialog,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KAboutApplicationDialog,
    0,
    0,
    0,
    release_KAboutApplicationDialog,
    cast_KAboutApplicationDialog,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KAboutApplicationDialog::staticMetaObject,
    0,
    0
};

#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 42087 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"

#line 35 "/usr/share/python-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 42091 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 42094 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 483 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 42097 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 583 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 42100 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 616 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 42103 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 36 "/usr/share/python-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 42106 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 42109 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 42112 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 42115 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 42118 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kpushbutton.sip"
#include <kpushbutton.h>
#line 42121 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 32 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 42124 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdecore/kconfigbase.sip"
#include <kconfigbase.h>
#line 42127 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qmenu.sip"
#include <qmenu.h>
#line 42130 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kguiitem.sip"
#include <kguiitem.h>
#line 42133 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 33 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kicon.sip"
#include <kicon.h>
#line 42136 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 42139 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 42142 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 34 "/usr/share/python-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 42145 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 42148 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 627 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 42151 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 570 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 42154 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 605 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 42157 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 42160 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 39 "/usr/share/python-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 42163 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 42166 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 39 "/usr/share/python-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 42169 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 42172 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 42175 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 42178 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 42181 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 42184 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 42187 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 42190 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 37 "/usr/share/python-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 42193 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 42196 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 42199 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 42202 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 42205 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 274 "/usr/share/python-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 42208 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 656 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 42211 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 748 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 42214 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 801 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 42217 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 774 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 42220 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 790 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 42223 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 863 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 42226 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 412 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 42229 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 557 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 42232 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 533 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 42235 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 514 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 42238 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 356 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 42241 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 261 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 42244 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 42247 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 61 "/usr/share/python-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 42250 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 39 "/usr/share/python-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 42253 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 42256 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 42259 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 42262 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 42265 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 42268 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 42271 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 42274 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 42277 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 42280 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 355 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 42283 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 338 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 42286 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 42289 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 42292 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 42295 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 42298 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 42301 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"


class sipKDialog : public KDialog
{
public:
    sipKDialog(QWidget*,Qt::WFlags);
    virtual ~sipKDialog();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    void languageChange();
    void windowActivationChange(bool);
    void fontChange(const QFont&);
    void paletteChange(const QPalette&);
    void enabledChange(bool);
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void changeEvent(QEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void moveEvent(QMoveEvent*);
    void paintEvent(QPaintEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    bool event(QEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    int devType() const;
    bool eventFilter(QObject*,QEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void resizeEvent(QResizeEvent*);
    void showEvent(QShowEvent*);
    void reject();
    void accept();
    void done(int);
    void setVisible(bool);
    void slotButtonClicked(int);
    void keyPressEvent(QKeyEvent*);
    void closeEvent(QCloseEvent*);
    void hideEvent(QHideEvent*);
    void setPlainCaption(const QString&);
    void setCaption(const QString&,bool);
    void setCaption(const QString&);
    QSize minimumSizeHint() const;
    QSize sizeHint() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKDialog(const sipKDialog &);
    sipKDialog &operator = (const sipKDialog &);

    char sipPyMethods[54];
};

sipKDialog::sipKDialog(QWidget*a0,Qt::WFlags a1): KDialog(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKDialog::~sipKDialog()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKDialog::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KDialog);
}

int sipKDialog::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KDialog::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KDialog,_c,_id,_a);

    return _id;
}

void *sipKDialog::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KDialog, _clname)) ? this : KDialog::qt_metacast(_clname);
}

void sipKDialog::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KDialog::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDialog::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KDialog::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDialog::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KDialog::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDialog::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KDialog::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kdeui_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDialog::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KDialog::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kdeui_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDialog::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
        KDialog::languageChange();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKDialog::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
        KDialog::windowActivationChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDialog::fontChange(const QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
        KDialog::fontChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QFont&);

    ((sipVH_QtGui_9)(sipModuleAPI_kdeui_QtGui->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDialog::paletteChange(const QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
        KDialog::paletteChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_10)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPalette&);

    ((sipVH_QtGui_10)(sipModuleAPI_kdeui_QtGui->em_virthandlers[10]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDialog::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
        KDialog::enabledChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKDialog::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return KDialog::focusNextPrevChild(a0);

    typedef bool (*sipVH_QtGui_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return ((sipVH_QtGui_11)(sipModuleAPI_kdeui_QtGui->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QVariant sipKDialog::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return KDialog::inputMethodQuery(a0);

    typedef QVariant (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return ((sipVH_QtGui_12)(sipModuleAPI_kdeui_QtGui->em_virthandlers[12]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDialog::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        KDialog::inputMethodEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_13)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    ((sipVH_QtGui_13)(sipModuleAPI_kdeui_QtGui->em_virthandlers[13]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKDialog::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return KDialog::metric(a0);

    typedef int (*sipVH_QtGui_14)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_14)(sipModuleAPI_kdeui_QtGui->em_virthandlers[14]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDialog::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        KDialog::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDialog::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        KDialog::dropEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_15)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    ((sipVH_QtGui_15)(sipModuleAPI_kdeui_QtGui->em_virthandlers[15]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDialog::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        KDialog::dragLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_16)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    ((sipVH_QtGui_16)(sipModuleAPI_kdeui_QtGui->em_virthandlers[16]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDialog::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        KDialog::dragMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    ((sipVH_QtGui_17)(sipModuleAPI_kdeui_QtGui->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDialog::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        KDialog::dragEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    ((sipVH_QtGui_18)(sipModuleAPI_kdeui_QtGui->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDialog::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        KDialog::actionEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_19)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    ((sipVH_QtGui_19)(sipModuleAPI_kdeui_QtGui->em_virthandlers[19]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDialog::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        KDialog::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_20)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_20)(sipModuleAPI_kdeui_QtGui->em_virthandlers[20]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDialog::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        KDialog::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_23)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_23)(sipModuleAPI_kdeui_QtGui->em_virthandlers[23]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDialog::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        KDialog::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_kdeui_QtGui->em_virthandlers[3]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDialog::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        KDialog::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDialog::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        KDialog::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDialog::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        KDialog::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kdeui_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDialog::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        KDialog::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kdeui_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDialog::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        KDialog::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDialog::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        KDialog::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_kdeui_QtGui->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDialog::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        KDialog::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDialog::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        KDialog::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDialog::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        KDialog::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDialog::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        KDialog::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKDialog::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KDialog::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QPaintEngine* sipKDialog::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return KDialog::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_27)(sipModuleAPI_kdeui_QtGui->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKDialog::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[35]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return KDialog::heightForWidth(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtGui_28)(sipModuleAPI_kdeui_QtGui->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKDialog::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[36]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return KDialog::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_kdeui_QtCore->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipKDialog::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KDialog::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKDialog::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        KDialog::contextMenuEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_21)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    ((sipVH_QtGui_21)(sipModuleAPI_kdeui_QtGui->em_virthandlers[21]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDialog::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        KDialog::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_kdeui_QtGui->em_virthandlers[2]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDialog::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        KDialog::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_1)(sipModuleAPI_kdeui_QtGui->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDialog::reject()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_reject);

    if (!sipMeth)
    {
        KDialog::reject();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKDialog::accept()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_accept);

    if (!sipMeth)
    {
        KDialog::accept();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKDialog::done(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_done);

    if (!sipMeth)
    {
        KDialog::done(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_kdeui_QtCore->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDialog::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        KDialog::setVisible(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDialog::slotButtonClicked(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_slotButtonClicked);

    if (!sipMeth)
    {
        KDialog::slotButtonClicked(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_kdeui_QtCore->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDialog::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        KDialog::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDialog::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        KDialog::closeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_22)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    ((sipVH_QtGui_22)(sipModuleAPI_kdeui_QtGui->em_virthandlers[22]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDialog::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        KDialog::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_kdeui_QtGui->em_virthandlers[0]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDialog::setPlainCaption(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_setPlainCaption);

    if (!sipMeth)
    {
        KDialog::setPlainCaption(a0);
        return;
    }

    typedef void (*sipVH_QtCore_33)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    ((sipVH_QtCore_33)(sipModuleAPI_kdeui_QtCore->em_virthandlers[33]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDialog::setCaption(const QString& a0,bool a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_setCaption);

    if (!sipMeth)
    {
        KDialog::setCaption(a0,a1);
        return;
    }

    typedef void (*sipVH_QtXml_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&,bool);

    ((sipVH_QtXml_24)(sipModuleAPI_kdeui_QtXml->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKDialog::setCaption(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_setCaption);

    if (!sipMeth)
    {
        KDialog::setCaption(a0);
        return;
    }

    typedef void (*sipVH_QtCore_33)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    ((sipVH_QtCore_33)(sipModuleAPI_kdeui_QtCore->em_virthandlers[33]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QSize sipKDialog::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[52]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return KDialog::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

QSize sipKDialog::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[53]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return KDialog::sizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}


extern "C" {static PyObject *meth_KDialog_setButtons(PyObject *, PyObject *);}
static PyObject *meth_KDialog_setButtons(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KDialog::ButtonCodes* a0;
        int a0State = 0;
        KDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KDialog, &sipCpp, sipType_KDialog_ButtonCodes, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setButtons(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KDialog_ButtonCodes,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDialog, sipName_setButtons, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDialog_setButtonsOrientation(PyObject *, PyObject *);}
static PyObject *meth_KDialog_setButtonsOrientation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::Orientation a0;
        KDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KDialog, &sipCpp, sipType_Qt_Orientation, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setButtonsOrientation(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDialog, sipName_setButtonsOrientation, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDialog_setEscapeButton(PyObject *, PyObject *);}
static PyObject *meth_KDialog_setEscapeButton(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KDialog::ButtonCode a0;
        KDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KDialog, &sipCpp, sipType_KDialog_ButtonCode, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setEscapeButton(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDialog, sipName_setEscapeButton, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDialog_setDefaultButton(PyObject *, PyObject *);}
static PyObject *meth_KDialog_setDefaultButton(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KDialog::ButtonCode a0;
        KDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KDialog, &sipCpp, sipType_KDialog_ButtonCode, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDefaultButton(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDialog, sipName_setDefaultButton, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDialog_defaultButton(PyObject *, PyObject *);}
static PyObject *meth_KDialog_defaultButton(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDialog, &sipCpp))
        {
            KDialog::ButtonCode sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->defaultButton();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KDialog_ButtonCode);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDialog, sipName_defaultButton, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDialog_showButtonSeparator(PyObject *, PyObject *);}
static PyObject *meth_KDialog_showButtonSeparator(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KDialog, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->showButtonSeparator(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDialog, sipName_showButtonSeparator, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDialog_showButton(PyObject *, PyObject *);}
static PyObject *meth_KDialog_showButton(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KDialog::ButtonCode a0;
        bool a1;
        KDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEb", &sipSelf, sipType_KDialog, &sipCpp, sipType_KDialog_ButtonCode, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->showButton(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDialog, sipName_showButton, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDialog_setButtonText(PyObject *, PyObject *);}
static PyObject *meth_KDialog_setButtonText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KDialog::ButtonCode a0;
        const QString* a1;
        int a1State = 0;
        KDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEJ1", &sipSelf, sipType_KDialog, &sipCpp, sipType_KDialog_ButtonCode, &a0, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setButtonText(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDialog, sipName_setButtonText, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDialog_buttonText(PyObject *, PyObject *);}
static PyObject *meth_KDialog_buttonText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KDialog::ButtonCode a0;
        const KDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KDialog, &sipCpp, sipType_KDialog_ButtonCode, &a0))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->buttonText(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDialog, sipName_buttonText, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDialog_setButtonIcon(PyObject *, PyObject *);}
static PyObject *meth_KDialog_setButtonIcon(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KDialog::ButtonCode a0;
        const KIcon* a1;
        KDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEJ9", &sipSelf, sipType_KDialog, &sipCpp, sipType_KDialog_ButtonCode, &a0, sipType_KIcon, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setButtonIcon(a0,*a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDialog, sipName_setButtonIcon, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDialog_buttonIcon(PyObject *, PyObject *);}
static PyObject *meth_KDialog_buttonIcon(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KDialog::ButtonCode a0;
        const KDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KDialog, &sipCpp, sipType_KDialog_ButtonCode, &a0))
        {
            KIcon*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KIcon(sipCpp->buttonIcon(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KIcon,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDialog, sipName_buttonIcon, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDialog_setButtonToolTip(PyObject *, PyObject *);}
static PyObject *meth_KDialog_setButtonToolTip(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KDialog::ButtonCode a0;
        const QString* a1;
        int a1State = 0;
        KDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEJ1", &sipSelf, sipType_KDialog, &sipCpp, sipType_KDialog_ButtonCode, &a0, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setButtonToolTip(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDialog, sipName_setButtonToolTip, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDialog_buttonToolTip(PyObject *, PyObject *);}
static PyObject *meth_KDialog_buttonToolTip(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KDialog::ButtonCode a0;
        const KDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KDialog, &sipCpp, sipType_KDialog_ButtonCode, &a0))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->buttonToolTip(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDialog, sipName_buttonToolTip, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDialog_setButtonWhatsThis(PyObject *, PyObject *);}
static PyObject *meth_KDialog_setButtonWhatsThis(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KDialog::ButtonCode a0;
        const QString* a1;
        int a1State = 0;
        KDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEJ1", &sipSelf, sipType_KDialog, &sipCpp, sipType_KDialog_ButtonCode, &a0, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setButtonWhatsThis(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDialog, sipName_setButtonWhatsThis, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDialog_buttonWhatsThis(PyObject *, PyObject *);}
static PyObject *meth_KDialog_buttonWhatsThis(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KDialog::ButtonCode a0;
        const KDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KDialog, &sipCpp, sipType_KDialog_ButtonCode, &a0))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->buttonWhatsThis(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDialog, sipName_buttonWhatsThis, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDialog_setButtonGuiItem(PyObject *, PyObject *);}
static PyObject *meth_KDialog_setButtonGuiItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KDialog::ButtonCode a0;
        const KGuiItem* a1;
        KDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEJ9", &sipSelf, sipType_KDialog, &sipCpp, sipType_KDialog_ButtonCode, &a0, sipType_KGuiItem, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setButtonGuiItem(a0,*a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDialog, sipName_setButtonGuiItem, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDialog_setButtonMenu(PyObject *, PyObject *);}
static PyObject *meth_KDialog_setButtonMenu(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KDialog::ButtonCode a0;
        QMenu* a1;
        KDialog::ButtonPopupMode a2 = KDialog::InstantPopup;
        KDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEJ8|E", &sipSelf, sipType_KDialog, &sipCpp, sipType_KDialog_ButtonCode, &a0, sipType_QMenu, &a1, sipType_KDialog_ButtonPopupMode, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setButtonMenu(a0,a1,a2);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDialog, sipName_setButtonMenu, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDialog_setButtonFocus(PyObject *, PyObject *);}
static PyObject *meth_KDialog_setButtonFocus(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KDialog::ButtonCode a0;
        KDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KDialog, &sipCpp, sipType_KDialog_ButtonCode, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setButtonFocus(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDialog, sipName_setButtonFocus, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDialog_setInitialSize(PyObject *, PyObject *);}
static PyObject *meth_KDialog_setInitialSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QSize* a0;
        KDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KDialog, &sipCpp, sipType_QSize, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setInitialSize(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDialog, sipName_setInitialSize, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDialog_incrementInitialSize(PyObject *, PyObject *);}
static PyObject *meth_KDialog_incrementInitialSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QSize* a0;
        KDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KDialog, &sipCpp, sipType_QSize, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->incrementInitialSize(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDialog, sipName_incrementInitialSize, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDialog_restoreDialogSize(PyObject *, PyObject *);}
static PyObject *meth_KDialog_restoreDialogSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KConfigGroup* a0;
        KDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KDialog, &sipCpp, sipType_KConfigGroup, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->restoreDialogSize(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDialog, sipName_restoreDialogSize, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDialog_saveDialogSize(PyObject *, PyObject *);}
static PyObject *meth_KDialog_saveDialogSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KConfigGroup* a0;
        KConfigBase::WriteConfigFlags a1def = KConfigGroup::Normal;
        KConfigBase::WriteConfigFlags* a1 = &a1def;
        int a1State = 0;
        const KDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9|J1", &sipSelf, sipType_KDialog, &sipCpp, sipType_KConfigGroup, &a0, sipType_KConfigBase_WriteConfigFlags, &a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->saveDialogSize(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(a1,sipType_KConfigBase_WriteConfigFlags,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDialog, sipName_saveDialogSize, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDialog_helpLinkText(PyObject *, PyObject *);}
static PyObject *meth_KDialog_helpLinkText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDialog, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->helpLinkText());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDialog, sipName_helpLinkText, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDialog_isButtonEnabled(PyObject *, PyObject *);}
static PyObject *meth_KDialog_isButtonEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KDialog::ButtonCode a0;
        const KDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KDialog, &sipCpp, sipType_KDialog_ButtonCode, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isButtonEnabled(a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDialog, sipName_isButtonEnabled, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDialog_button(PyObject *, PyObject *);}
static PyObject *meth_KDialog_button(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KDialog::ButtonCode a0;
        const KDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KDialog, &sipCpp, sipType_KDialog_ButtonCode, &a0))
        {
            KPushButton*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->button(a0);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KPushButton,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDialog, sipName_button, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDialog_marginHint(PyObject *, PyObject *);}
static PyObject *meth_KDialog_marginHint(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KDialog::marginHint();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDialog, sipName_marginHint, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDialog_spacingHint(PyObject *, PyObject *);}
static PyObject *meth_KDialog_spacingHint(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KDialog::spacingHint();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDialog, sipName_spacingHint, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDialog_groupSpacingHint(PyObject *, PyObject *);}
static PyObject *meth_KDialog_groupSpacingHint(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KDialog::groupSpacingHint();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDialog, sipName_groupSpacingHint, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDialog_makeStandardCaption(PyObject *, PyObject *);}
static PyObject *meth_KDialog_makeStandardCaption(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QWidget* a1 = 0;
        KDialog::CaptionFlags a2def = KDialog::HIGCompliantCaption;
        KDialog::CaptionFlags* a2 = &a2def;
        int a2State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1|J8J1", sipType_QString,&a0, &a0State, sipType_QWidget, &a1, sipType_KDialog_CaptionFlags, &a2, &a2State))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KDialog::makeStandardCaption(*a0,a1,*a2));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(a2,sipType_KDialog_CaptionFlags,a2State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDialog, sipName_makeStandardCaption, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDialog_resizeLayout(PyObject *, PyObject *);}
static PyObject *meth_KDialog_resizeLayout(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        int a1;
        int a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "J8ii", sipType_QWidget, &a0, &a1, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            KDialog::resizeLayout(a0,a1,a2);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        QLayout* a0;
        int a1;
        int a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "J8ii", sipType_QLayout, &a0, &a1, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            KDialog::resizeLayout(a0,a1,a2);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDialog, sipName_resizeLayout, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDialog_centerOnScreen(PyObject *, PyObject *);}
static PyObject *meth_KDialog_centerOnScreen(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        int a1 = -1;

        if (sipParseArgs(&sipParseErr, sipArgs, "J8|i", sipType_QWidget, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            KDialog::centerOnScreen(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDialog, sipName_centerOnScreen, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDialog_avoidArea(PyObject *, PyObject *);}
static PyObject *meth_KDialog_avoidArea(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        const QRect* a1;
        int a2 = -1;

        if (sipParseArgs(&sipParseErr, sipArgs, "J8J9|i", sipType_QWidget, &a0, sipType_QRect, &a1, &a2))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KDialog::avoidArea(a0,*a1,a2);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDialog, sipName_avoidArea, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDialog_setMainWidget(PyObject *, PyObject *);}
static PyObject *meth_KDialog_setMainWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        KDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KDialog, &sipCpp, sipType_QWidget, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMainWidget(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDialog, sipName_setMainWidget, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDialog_mainWidget(PyObject *, PyObject *);}
static PyObject *meth_KDialog_mainWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDialog, &sipCpp))
        {
            QWidget*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->mainWidget();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDialog, sipName_mainWidget, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDialog_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_KDialog_sizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDialog, &sipCpp))
        {
            QSize*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSize((sipSelfWasArg ? sipCpp->KDialog::sizeHint() : sipCpp->sizeHint()));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDialog, sipName_sizeHint, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDialog_minimumSizeHint(PyObject *, PyObject *);}
static PyObject *meth_KDialog_minimumSizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDialog, &sipCpp))
        {
            QSize*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSize((sipSelfWasArg ? sipCpp->KDialog::minimumSizeHint() : sipCpp->minimumSizeHint()));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDialog, sipName_minimumSizeHint, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDialog_setCaption(PyObject *, PyObject *);}
static PyObject *meth_KDialog_setCaption(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString* a0;
        int a0State = 0;
        KDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KDialog, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KDialog::setCaption(*a0) : sipCpp->setCaption(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        bool a1;
        KDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1b", &sipSelf, sipType_KDialog, &sipCpp, sipType_QString,&a0, &a0State, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KDialog::setCaption(*a0,a1) : sipCpp->setCaption(*a0,a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDialog, sipName_setCaption, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDialog_setPlainCaption(PyObject *, PyObject *);}
static PyObject *meth_KDialog_setPlainCaption(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString* a0;
        int a0State = 0;
        KDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KDialog, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KDialog::setPlainCaption(*a0) : sipCpp->setPlainCaption(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDialog, sipName_setPlainCaption, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDialog_enableButton(PyObject *, PyObject *);}
static PyObject *meth_KDialog_enableButton(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KDialog::ButtonCode a0;
        bool a1;
        KDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEb", &sipSelf, sipType_KDialog, &sipCpp, sipType_KDialog_ButtonCode, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->enableButton(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDialog, sipName_enableButton, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDialog_enableButtonOk(PyObject *, PyObject *);}
static PyObject *meth_KDialog_enableButtonOk(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KDialog, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->enableButtonOk(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDialog, sipName_enableButtonOk, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDialog_enableButtonApply(PyObject *, PyObject *);}
static PyObject *meth_KDialog_enableButtonApply(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KDialog, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->enableButtonApply(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDialog, sipName_enableButtonApply, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDialog_enableButtonCancel(PyObject *, PyObject *);}
static PyObject *meth_KDialog_enableButtonCancel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KDialog, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->enableButtonCancel(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDialog, sipName_enableButtonCancel, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDialog_enableLinkedHelp(PyObject *, PyObject *);}
static PyObject *meth_KDialog_enableLinkedHelp(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KDialog, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->enableLinkedHelp(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDialog, sipName_enableLinkedHelp, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDialog_setHelpLinkText(PyObject *, PyObject *);}
static PyObject *meth_KDialog_setHelpLinkText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KDialog, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setHelpLinkText(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDialog, sipName_setHelpLinkText, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDialog_setHelp(PyObject *, PyObject *);}
static PyObject *meth_KDialog_setHelp(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        const QString& a1def = QString();
        const QString* a1 = &a1def;
        int a1State = 0;
        KDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|J1", &sipSelf, sipType_KDialog, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setHelp(*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(sipParseErr, sipName_KDialog, sipName_setHelp, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDialog_isDetailsWidgetVisible(PyObject *, PyObject *);}
static PyObject *meth_KDialog_isDetailsWidgetVisible(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDialog, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isDetailsWidgetVisible();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDialog, sipName_isDetailsWidgetVisible, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDialog_setDetailsWidgetVisible(PyObject *, PyObject *);}
static PyObject *meth_KDialog_setDetailsWidgetVisible(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KDialog, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDetailsWidgetVisible(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDialog, sipName_setDetailsWidgetVisible, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDialog_setDetailsWidget(PyObject *, PyObject *);}
static PyObject *meth_KDialog_setDetailsWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        KDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KDialog, &sipCpp, sipType_QWidget, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDetailsWidget(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDialog, sipName_setDetailsWidget, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDialog_delayedDestruct(PyObject *, PyObject *);}
static PyObject *meth_KDialog_delayedDestruct(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDialog, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->delayedDestruct();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDialog, sipName_delayedDestruct, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDialog_hideEvent(PyObject *, PyObject *);}
static PyObject *meth_KDialog_hideEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent* a0;
        KDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KDialog, &sipCpp, sipType_QHideEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KDialog::hideEvent(a0) : sipCpp->hideEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDialog, sipName_hideEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDialog_closeEvent(PyObject *, PyObject *);}
static PyObject *meth_KDialog_closeEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent* a0;
        KDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KDialog, &sipCpp, sipType_QCloseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KDialog::closeEvent(a0) : sipCpp->closeEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDialog, sipName_closeEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDialog_keyPressEvent(PyObject *, PyObject *);}
static PyObject *meth_KDialog_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        KDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KDialog, &sipCpp, sipType_QKeyEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KDialog::keyPressEvent(a0) : sipCpp->keyPressEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDialog, sipName_keyPressEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDialog_slotButtonClicked(PyObject *, PyObject *);}
static PyObject *meth_KDialog_slotButtonClicked(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        KDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pi", &sipSelf, sipType_KDialog, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KDialog::slotButtonClicked(a0) : sipCpp->slotButtonClicked(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDialog, sipName_slotButtonClicked, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDialog_updateGeometry(PyObject *, PyObject *);}
static PyObject *meth_KDialog_updateGeometry(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KDialog, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->updateGeometry();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDialog, sipName_updateGeometry, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDialog_setAllowEmbeddingInGraphicsView(PyObject *, PyObject *);}
static PyObject *meth_KDialog_setAllowEmbeddingInGraphicsView(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "b", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            KDialog::setAllowEmbeddingInGraphicsView(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDialog, sipName_setAllowEmbeddingInGraphicsView, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KDialog(void *, const sipTypeDef *);}
static void *cast_KDialog(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KDialog)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QDialog)->ctd_cast((QDialog *)(KDialog *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KDialog(void *, int);}
static void release_KDialog(void *sipCppV,int)
{
    KDialog *sipCpp = reinterpret_cast<KDialog *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KDialog(sipSimpleWrapper *);}
static void dealloc_KDialog(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKDialog *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KDialog(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KDialog(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KDialog(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKDialog *sipCpp = 0;

    {
        QWidget* a0 = 0;
        Qt::WFlags a1def = 0;
        Qt::WFlags* a1 = &a1def;
        int a1State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JHJ1", sipType_QWidget, &a0, sipOwner, sipType_Qt_WindowFlags, &a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKDialog(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(a1,sipType_Qt_WindowFlags,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KDialog[] = {{84, 2, 1}};


static PyMethodDef methods_KDialog[] = {
    {SIP_MLNAME_CAST(sipName_avoidArea), meth_KDialog_avoidArea, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_button), meth_KDialog_button, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_buttonIcon), meth_KDialog_buttonIcon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_buttonText), meth_KDialog_buttonText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_buttonToolTip), meth_KDialog_buttonToolTip, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_buttonWhatsThis), meth_KDialog_buttonWhatsThis, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_centerOnScreen), meth_KDialog_centerOnScreen, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), meth_KDialog_closeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_defaultButton), meth_KDialog_defaultButton, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_delayedDestruct), meth_KDialog_delayedDestruct, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enableButton), meth_KDialog_enableButton, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enableButtonApply), meth_KDialog_enableButtonApply, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enableButtonCancel), meth_KDialog_enableButtonCancel, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enableButtonOk), meth_KDialog_enableButtonOk, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enableLinkedHelp), meth_KDialog_enableLinkedHelp, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_groupSpacingHint), meth_KDialog_groupSpacingHint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_helpLinkText), meth_KDialog_helpLinkText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), meth_KDialog_hideEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_incrementInitialSize), meth_KDialog_incrementInitialSize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isButtonEnabled), meth_KDialog_isButtonEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isDetailsWidgetVisible), meth_KDialog_isDetailsWidgetVisible, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), meth_KDialog_keyPressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mainWidget), meth_KDialog_mainWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_makeStandardCaption), meth_KDialog_makeStandardCaption, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_marginHint), meth_KDialog_marginHint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_minimumSizeHint), meth_KDialog_minimumSizeHint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeLayout), meth_KDialog_resizeLayout, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_restoreDialogSize), meth_KDialog_restoreDialogSize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_saveDialogSize), meth_KDialog_saveDialogSize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAllowEmbeddingInGraphicsView), meth_KDialog_setAllowEmbeddingInGraphicsView, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setButtonFocus), meth_KDialog_setButtonFocus, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setButtonGuiItem), meth_KDialog_setButtonGuiItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setButtonIcon), meth_KDialog_setButtonIcon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setButtonMenu), meth_KDialog_setButtonMenu, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setButtonText), meth_KDialog_setButtonText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setButtonToolTip), meth_KDialog_setButtonToolTip, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setButtonWhatsThis), meth_KDialog_setButtonWhatsThis, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setButtons), meth_KDialog_setButtons, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setButtonsOrientation), meth_KDialog_setButtonsOrientation, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCaption), meth_KDialog_setCaption, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDefaultButton), meth_KDialog_setDefaultButton, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDetailsWidget), meth_KDialog_setDetailsWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDetailsWidgetVisible), meth_KDialog_setDetailsWidgetVisible, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setEscapeButton), meth_KDialog_setEscapeButton, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setHelp), meth_KDialog_setHelp, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setHelpLinkText), meth_KDialog_setHelpLinkText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setInitialSize), meth_KDialog_setInitialSize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMainWidget), meth_KDialog_setMainWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPlainCaption), meth_KDialog_setPlainCaption, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showButton), meth_KDialog_showButton, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showButtonSeparator), meth_KDialog_showButtonSeparator, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_KDialog_sizeHint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotButtonClicked), meth_KDialog_slotButtonClicked, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_spacingHint), meth_KDialog_spacingHint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateGeometry), meth_KDialog_updateGeometry, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KDialog[] = {
    {sipName_AppNameCaption, static_cast<int>(KDialog::AppNameCaption), 91},
    {sipName_Apply, static_cast<int>(KDialog::Apply), 87},
    {sipName_Cancel, static_cast<int>(KDialog::Cancel), 87},
    {sipName_Close, static_cast<int>(KDialog::Close), 87},
    {sipName_Default, static_cast<int>(KDialog::Default), 87},
    {sipName_DelayedPopup, static_cast<int>(KDialog::DelayedPopup), 89},
    {sipName_Details, static_cast<int>(KDialog::Details), 87},
    {sipName_HIGCompliantCaption, static_cast<int>(KDialog::HIGCompliantCaption), 91},
    {sipName_Help, static_cast<int>(KDialog::Help), 87},
    {sipName_InstantPopup, static_cast<int>(KDialog::InstantPopup), 89},
    {sipName_ModifiedCaption, static_cast<int>(KDialog::ModifiedCaption), 91},
    {sipName_No, static_cast<int>(KDialog::No), 87},
    {sipName_NoCaptionFlags, static_cast<int>(KDialog::NoCaptionFlags), 91},
    {sipName_NoDefault, static_cast<int>(KDialog::NoDefault), 87},
    {sipName_None, static_cast<int>(KDialog::None), 87},
    {sipName_Ok, static_cast<int>(KDialog::Ok), 87},
    {sipName_Reset, static_cast<int>(KDialog::Reset), 87},
    {sipName_Try, static_cast<int>(KDialog::Try), 87},
    {sipName_User1, static_cast<int>(KDialog::User1), 87},
    {sipName_User2, static_cast<int>(KDialog::User2), 87},
    {sipName_User3, static_cast<int>(KDialog::User3), 87},
    {sipName_Yes, static_cast<int>(KDialog::Yes), 87},
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KDialog[] = {
    {"aboutToShowDetails()", 0, 0, 0},
    {"finished()", 0, 0, 0},
    {"hidden()", 0, 0, 0},
    {"buttonClicked(KDialog::ButtonCode)", 0, 0, 0},
    {"closeClicked()", 0, 0, 0},
    {"cancelClicked()", 0, 0, 0},
    {"noClicked()", 0, 0, 0},
    {"yesClicked()", 0, 0, 0},
    {"okClicked()", 0, 0, 0},
    {"tryClicked()", 0, 0, 0},
    {"applyClicked()", 0, 0, 0},
    {"user1Clicked()", 0, 0, 0},
    {"user2Clicked()", 0, 0, 0},
    {"user3Clicked()", 0, 0, 0},
    {"resetClicked()", 0, 0, 0},
    {"defaultClicked()", 0, 0, 0},
    {"helpClicked()", 0, 0, 0},
    {"layoutHintChanged()", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KDialog = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KDialog,
        {0}
    },
    {
        sipNameNr_KDialog,
        {0, 0, 1},
        55, methods_KDialog,
        22, enummembers_KDialog,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KDialog,
    0,
    init_type_KDialog,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KDialog,
    0,
    0,
    0,
    release_KDialog,
    cast_KDialog,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KDialog::staticMetaObject,
    0,
    signals_KDialog,
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/k3icon_p.sip"
#include <k3icon_p.h>
#line 45165 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kiconloader.sip"
#include <kiconloader.h>
#line 45169 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"
#line 36 "/usr/share/python-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 45172 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kdeui/sipkdeuipart7.cpp"


extern "C" {static PyObject *meth_K3Icon_isValid(PyObject *, PyObject *);}
static PyObject *meth_K3Icon_isValid(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const K3Icon *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_K3Icon, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isValid();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_K3Icon, sipName_isValid, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_K3Icon(void *, const sipTypeDef *);}
static void *cast_K3Icon(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_K3Icon)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_K3Icon(void *, int);}
static void release_K3Icon(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<K3Icon *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_K3Icon(void *, SIP_SSIZE_T, const void *);}
static void assign_K3Icon(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<K3Icon *>(sipDst)[sipDstIdx] = *reinterpret_cast<const K3Icon *>(sipSrc);
}


extern "C" {static void *array_K3Icon(SIP_SSIZE_T);}
static void *array_K3Icon(SIP_SSIZE_T sipNrElem)
{
    return new K3Icon[sipNrElem];
}


extern "C" {static void *copy_K3Icon(const void *, SIP_SSIZE_T);}
static void *copy_K3Icon(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new K3Icon(reinterpret_cast<const K3Icon *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_K3Icon(sipSimpleWrapper *);}
static void dealloc_K3Icon(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_K3Icon(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_K3Icon(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_K3Icon(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    K3Icon *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new K3Icon();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const K3Icon* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_K3Icon, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new K3Icon(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_K3Icon[] = {
    {SIP_MLNAME_CAST(sipName_isValid), meth_K3Icon_isValid, METH_VARARGS, NULL}
};


extern "C" {static PyObject *varget_K3Icon_context(void *, PyObject *, PyObject *);}
static PyObject *varget_K3Icon_context(void *sipSelf, PyObject *, PyObject *)
{
    KIconLoader::Context sipVal;
    K3Icon *sipCpp = reinterpret_cast<K3Icon *>(sipSelf);

    sipVal = sipCpp->context;

    return sipConvertFromEnum(sipVal, sipType_KIconLoader_Context);
}


extern "C" {static int varset_K3Icon_context(void *, PyObject *, PyObject *);}
static int varset_K3Icon_context(void *sipSelf, PyObject *sipPy, PyObject *)
{
    KIconLoader::Context sipVal;
    K3Icon *sipCpp = reinterpret_cast<K3Icon *>(sipSelf);

    sipVal = (KIconLoader::Context)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->context = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_K3Icon_path(void *, PyObject *, PyObject *);}
static PyObject *varget_K3Icon_path(void *sipSelf, PyObject *, PyObject *)
{
    QString*sipVal;
    K3Icon *sipCpp = reinterpret_cast<K3Icon *>(sipSelf);

    sipVal = &sipCpp->path;

    return sipConvertFromType(sipVal, sipType_QString, NULL);
}


extern "C" {static int varset_K3Icon_path(void *, PyObject *, PyObject *);}
static int varset_K3Icon_path(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QString*sipVal;
    K3Icon *sipCpp = reinterpret_cast<K3Icon *>(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->path = *sipVal;

    sipReleaseType(sipVal, sipType_QString, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_K3Icon_size(void *, PyObject *, PyObject *);}
static PyObject *varget_K3Icon_size(void *sipSelf, PyObject *, PyObject *)
{
    int sipVal;
    K3Icon *sipCpp = reinterpret_cast<K3Icon *>(sipSelf);

    sipVal = sipCpp->size;

    return SIPLong_FromLong(sipVal);
}


extern "C" {static int varset_K3Icon_size(void *, PyObject *, PyObject *);}
static int varset_K3Icon_size(void *sipSelf, PyObject *sipPy, PyObject *)
{
    int sipVal;
    K3Icon *sipCpp = reinterpret_cast<K3Icon *>(sipSelf);

    sipVal = (int)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->size = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_K3Icon_threshold(void *, PyObject *, PyObject *);}
static PyObject *varget_K3Icon_threshold(void *sipSelf, PyObject *, PyObject *)
{
    int sipVal;
    K3Icon *sipCpp = reinterpret_cast<K3Icon *>(sipSelf);

    sipVal = sipCpp->threshold;

    return SIPLong_FromLong(sipVal);
}


extern "C" {static int varset_K3Icon_threshold(void *, PyObject *, PyObject *);}
static int varset_K3Icon_threshold(void *sipSelf, PyObject *sipPy, PyObject *)
{
    int sipVal;
    K3Icon *sipCpp = reinterpret_cast<K3Icon *>(sipSelf);

    sipVal = (int)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->threshold = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_K3Icon_type(void *, PyObject *, PyObject *);}
static PyObject *varget_K3Icon_type(void *sipSelf, PyObject *, PyObject *)
{
    KIconLoader::Type sipVal;
    K3Icon *sipCpp = reinterpret_cast<K3Icon *>(sipSelf);

    sipVal = sipCpp->type;

    return sipConvertFromEnum(sipVal, sipType_KIconLoader_Type);
}


extern "C" {static int varset_K3Icon_type(void *, PyObject *, PyObject *);}
static int varset_K3Icon_type(void *sipSelf, PyObject *sipPy, PyObject *)
{
    KIconLoader::Type sipVal;
    K3Icon *sipCpp = reinterpret_cast<K3Icon *>(sipSelf);

    sipVal = (KIconLoader::Type)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->type = sipVal;

    return 0;
}

sipVariableDef variables_K3Icon[] = {
    {InstanceVariable, sipName_context, (PyMethodDef *)varget_K3Icon_context, (PyMethodDef *)varset_K3Icon_context, NULL, NULL},
    {InstanceVariable, sipName_path, (PyMethodDef *)varget_K3Icon_path, (PyMethodDef *)varset_K3Icon_path, NULL, NULL},
    {InstanceVariable, sipName_size, (PyMethodDef *)varget_K3Icon_size, (PyMethodDef *)varset_K3Icon_size, NULL, NULL},
    {InstanceVariable, sipName_threshold, (PyMethodDef *)varget_K3Icon_threshold, (PyMethodDef *)varset_K3Icon_threshold, NULL, NULL},
    {InstanceVariable, sipName_type, (PyMethodDef *)varget_K3Icon_type, (PyMethodDef *)varset_K3Icon_type, NULL, NULL},
};


pyqt4ClassTypeDef sipTypeDef_kdeui_K3Icon = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_K3Icon,
        {0}
    },
    {
        sipNameNr_K3Icon,
        {0, 0, 1},
        1, methods_K3Icon,
        0, 0,
        5, variables_K3Icon,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_type_K3Icon,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_K3Icon,
    assign_K3Icon,
    array_K3Icon,
    copy_K3Icon,
    release_K3Icon,
    cast_K3Icon,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};
